| Package | Description |
|---|---|
| org.finra.herd.dao | |
| org.finra.herd.dao.impl | |
| org.finra.herd.model.jpa | |
| org.finra.herd.service.helper | |
| org.finra.herd.service.impl |
| Modifier and Type | Method and Description |
|---|---|
StorageUnitEntity |
StorageUnitDao.getStorageUnitByBusinessObjectDataAndStorage(BusinessObjectDataEntity businessObjectDataEntity,
StorageEntity storageEntity)
Gets a storage unit identified by the given business object data entity and storage entity.
|
StorageUnitEntity |
StorageUnitDao.getStorageUnitByBusinessObjectDataAndStorageName(BusinessObjectDataEntity businessObjectDataEntity,
String storageName)
Gets a storage unit identified by the given business object data entity and storage name.
|
StorageUnitEntity |
StorageUnitDao.getStorageUnitByKey(BusinessObjectDataStorageUnitKey businessObjectDataStorageUnitKey)
Gets a storage unit identified by the given business object data storage unit key.
|
StorageUnitEntity |
StorageUnitDao.getStorageUnitByStorageAndDirectoryPath(StorageEntity storageEntity,
String directoryPath)
Returns a first discovered storage unit in the specified storage that overlaps with the directory path.
|
| Modifier and Type | Method and Description |
|---|---|
List<StorageUnitEntity> |
StorageUnitDao.getLatestVersionStorageUnitsByStoragePlatformAndFileType(String storagePlatform,
String businessObjectFormatFileType)
Retrieves a list of storage units that belong to storage of the specified storage platform type and to business object format of the specified file type.
|
List<StorageUnitEntity> |
StorageUnitDao.getS3StorageUnitsToCleanup(int maxResult)
Retrieves a list of storage units that belong to S3 storage, and has a final destroy on timestamp < current time, has a DISABLED status, and associated
BData has a DELETED status.
|
List<StorageUnitEntity> |
StorageUnitDao.getS3StorageUnitsToExpire(int maxResult)
Retrieves a list of storage units that belong to S3 storage, have RESTORED status, and ready to be expired.
|
List<StorageUnitEntity> |
StorageUnitDao.getS3StorageUnitsToRestore(int maxResult)
Retrieves a list of storage units that belong to S3 storage and have the relative S3 storage unit in RESTORING state.
|
List<StorageUnitEntity> |
StorageUnitDao.getStorageUnitsByStorageAndBusinessObjectData(StorageEntity storageEntity,
List<BusinessObjectDataEntity> businessObjectDataEntities)
Retrieves a list of storage units that belong to the specified storage for the specified business object data.
|
List<StorageUnitEntity> |
StorageUnitDao.getStorageUnitsByStoragePlatformAndBusinessObjectData(String storagePlatform,
BusinessObjectDataEntity businessObjectDataEntity)
Retrieves a list of storage units that belong to storage of the specified storage platform for the specified business object data.
|
| Modifier and Type | Method and Description |
|---|---|
StorageFileEntity |
StorageFileDao.getStorageFileByStorageUnitEntityAndFilePath(StorageUnitEntity storageUnitEntity,
String filePath)
Retrieves storage file by storage unit entity and file path.
|
| Modifier and Type | Method and Description |
|---|---|
StorageUnitEntity |
StorageUnitDaoImpl.getStorageUnitByBusinessObjectDataAndStorage(BusinessObjectDataEntity businessObjectDataEntity,
StorageEntity storageEntity) |
StorageUnitEntity |
StorageUnitDaoImpl.getStorageUnitByBusinessObjectDataAndStorageName(BusinessObjectDataEntity businessObjectDataEntity,
String storageName) |
StorageUnitEntity |
StorageUnitDaoImpl.getStorageUnitByKey(BusinessObjectDataStorageUnitKey businessObjectDataStorageUnitKey) |
StorageUnitEntity |
StorageUnitDaoImpl.getStorageUnitByStorageAndDirectoryPath(StorageEntity storageEntity,
String directoryPath) |
| Modifier and Type | Method and Description |
|---|---|
List<StorageUnitEntity> |
StorageUnitDaoImpl.getLatestVersionStorageUnitsByStoragePlatformAndFileType(String storagePlatform,
String businessObjectFormatFileType) |
List<StorageUnitEntity> |
StorageUnitDaoImpl.getS3StorageUnitsToCleanup(int maxResult) |
List<StorageUnitEntity> |
StorageUnitDaoImpl.getS3StorageUnitsToExpire(int maxResult) |
List<StorageUnitEntity> |
StorageUnitDaoImpl.getS3StorageUnitsToRestore(int maxResult) |
List<StorageUnitEntity> |
StorageUnitDaoImpl.getStorageUnitsByStorageAndBusinessObjectData(StorageEntity storageEntity,
List<BusinessObjectDataEntity> businessObjectDataEntities) |
List<StorageUnitEntity> |
StorageUnitDaoImpl.getStorageUnitsByStoragePlatformAndBusinessObjectData(String storagePlatform,
BusinessObjectDataEntity businessObjectDataEntity) |
| Modifier and Type | Method and Description |
|---|---|
StorageFileEntity |
StorageFileDaoImpl.getStorageFileByStorageUnitEntityAndFilePath(StorageUnitEntity storageUnitEntity,
String filePath) |
| Modifier and Type | Field and Description |
|---|---|
static javax.persistence.metamodel.SingularAttribute<StorageUnitEntity,BusinessObjectDataEntity> |
StorageUnitEntity_.businessObjectData |
static javax.persistence.metamodel.SingularAttribute<StorageUnitEntity,String> |
StorageUnitEntity_.directoryPath |
static javax.persistence.metamodel.SingularAttribute<StorageUnitEntity,Timestamp> |
StorageUnitEntity_.finalDestroyOn |
static javax.persistence.metamodel.CollectionAttribute<StorageUnitEntity,StorageUnitStatusHistoryEntity> |
StorageUnitEntity_.historicalStatuses |
static javax.persistence.metamodel.SingularAttribute<StorageUnitEntity,Integer> |
StorageUnitEntity_.id |
static javax.persistence.metamodel.SingularAttribute<StorageUnitEntity,Timestamp> |
StorageUnitEntity_.restoreExpirationOn |
static javax.persistence.metamodel.SingularAttribute<StorageUnitEntity,StorageUnitStatusEntity> |
StorageUnitEntity_.status |
static javax.persistence.metamodel.SingularAttribute<StorageUnitEntity,String> |
StorageUnitEntity_.statusCode |
static javax.persistence.metamodel.SingularAttribute<StorageUnitEntity,StorageEntity> |
StorageUnitEntity_.storage |
static javax.persistence.metamodel.CollectionAttribute<StorageUnitEntity,StorageFileEntity> |
StorageUnitEntity_.storageFiles |
static javax.persistence.metamodel.SingularAttribute<StorageUnitEntity,String> |
StorageUnitEntity_.storageName |
static javax.persistence.metamodel.SingularAttribute<StorageUnitEntity,Integer> |
StorageUnitEntity_.storagePolicyTransitionFailedAttempts |
static javax.persistence.metamodel.SingularAttribute<StorageFileEntity,StorageUnitEntity> |
StorageFileEntity_.storageUnit |
static javax.persistence.metamodel.SingularAttribute<StorageUnitStatusHistoryEntity,StorageUnitEntity> |
StorageUnitStatusHistoryEntity_.storageUnit |
static javax.persistence.metamodel.CollectionAttribute<BusinessObjectDataEntity,StorageUnitEntity> |
BusinessObjectDataEntity_.storageUnits |
| Modifier and Type | Method and Description |
|---|---|
StorageUnitEntity |
StorageFileEntity.getStorageUnit() |
StorageUnitEntity |
StorageUnitStatusHistoryEntity.getStorageUnit() |
| Modifier and Type | Method and Description |
|---|---|
Collection<StorageUnitEntity> |
BusinessObjectDataEntity.getStorageUnits() |
| Modifier and Type | Method and Description |
|---|---|
void |
StorageFileEntity.setStorageUnit(StorageUnitEntity storageUnit) |
void |
StorageUnitStatusHistoryEntity.setStorageUnit(StorageUnitEntity storageUnit) |
| Modifier and Type | Method and Description |
|---|---|
void |
BusinessObjectDataEntity.setStorageUnits(Collection<StorageUnitEntity> storageUnits) |
| Modifier and Type | Method and Description |
|---|---|
StorageUnitEntity |
BusinessObjectDataDaoHelper.createStorageUnitEntity(BusinessObjectDataEntity businessObjectDataEntity,
StorageEntity storageEntity,
StorageDirectory storageDirectory,
List<StorageFile> storageFiles,
Boolean isDiscoverStorageFiles)
Creates a storage unit entity per specified parameters.
|
StorageUnitEntity |
StorageUnitDaoHelper.getStorageUnitEntity(String storageName,
BusinessObjectDataEntity businessObjectDataEntity)
Retrieves a storage unit entity for the business object data in the specified storage and make sure it exists.
|
StorageUnitEntity |
StorageUnitDaoHelper.getStorageUnitEntityByBusinessObjectDataAndStorage(BusinessObjectDataEntity businessObjectDataEntity,
StorageEntity storageEntity)
Retrieves a storage unit entity for the business object data in the specified storage and make sure it exists.
|
StorageUnitEntity |
StorageUnitDaoHelper.getStorageUnitEntityByKey(BusinessObjectDataStorageUnitKey businessObjectDataStorageUnitKey)
Retrieves a storage unit entity for the specified business object data storage unit key and makes sure it exists.
|
| Modifier and Type | Method and Description |
|---|---|
List<StorageFileEntity> |
StorageFileDaoHelper.createStorageFileEntitiesFromStorageFiles(StorageUnitEntity storageUnitEntity,
List<StorageFile> storageFiles)
Creates storage file entities from the list of storage files.
|
BusinessObjectDataStorageUnitKey |
StorageUnitHelper.createStorageUnitKeyFromEntity(StorageUnitEntity storageUnitEntity)
Creates a storage unit key from a storage unit entity.
|
List<StorageFile> |
StorageFileHelper.getAndValidateStorageFiles(StorageUnitEntity storageUnitEntity,
String s3KeyPrefix,
String storageName,
BusinessObjectDataKey businessObjectDataKey)
Retrieves and validates a list of storage files registered with the specified storage unit.
|
List<StorageFile> |
StorageFileHelper.getAndValidateStorageFilesIfPresent(StorageUnitEntity storageUnitEntity,
String s3KeyPrefix,
String storageName,
BusinessObjectDataKey businessObjectDataKey)
Retrieves and validates a list of storage files registered with the specified storage unit.
|
StorageFileEntity |
StorageFileDaoHelper.getStorageFileEntity(StorageUnitEntity storageUnitEntity,
String filePath,
BusinessObjectDataKey businessObjectDataKey)
Retrieves storage file by storage unit entity and file path.
|
void |
StorageUnitDaoHelper.setStorageUnitStatus(StorageUnitEntity storageUnitEntity,
StorageUnitStatusEntity storageUnitStatusEntity)
Sets storage unit status value for a storage unit.
|
void |
StorageUnitDaoHelper.updateStorageUnitStatus(StorageUnitEntity storageUnitEntity,
StorageUnitStatusEntity storageUnitStatusEntity,
String reason)
Updates storage unit status value for a storage unit.
|
void |
StorageUnitDaoHelper.updateStorageUnitStatus(StorageUnitEntity storageUnitEntity,
String storageUnitStatus,
String reason)
Update the storage unit status.
|
| Modifier and Type | Method and Description |
|---|---|
List<StorageUnit> |
StorageUnitHelper.createStorageUnitsFromEntities(Collection<StorageUnitEntity> storageUnitEntities,
Boolean includeStorageUnitStatusHistory)
Creates a list of storage units from the list of storage unit entities.
|
| Modifier and Type | Method and Description |
|---|---|
protected StorageUnitEntity |
BusinessObjectDataInitiateRestoreHelperServiceImpl.getStorageUnit(BusinessObjectDataEntity businessObjectDataEntity)
Retrieves storage unit for the business object data.
|
protected StorageUnitEntity |
ExpireRestoredBusinessObjectDataHelperServiceImpl.getStorageUnit(String storageName,
BusinessObjectDataEntity businessObjectDataEntity)
Retrieves a storage unit for the business object data in the specified storage and validates it.
|
protected StorageUnitEntity |
BusinessObjectDataFinalizeRestoreHelperServiceImpl.getStorageUnit(String storageName,
BusinessObjectDataEntity businessObjectDataEntity)
Retrieves a storage unit for the business object data in the specified storage and validates it.
|
| Modifier and Type | Method and Description |
|---|---|
protected BusinessObjectDataStorageUnitCreateResponse |
BusinessObjectDataStorageUnitServiceImpl.createBusinessObjectDataStorageUnitCreateResponse(StorageUnitEntity storageUnitEntity)
Creates and populates a business object data storage unit create response.
|
Copyright © 2019. All rights reserved.