| Package | Description |
|---|---|
| org.finra.herd.model.api.xml | |
| org.finra.herd.service.helper |
| Modifier and Type | Field and Description |
|---|---|
protected List<StorageFile> |
StorageUnit.storageFiles |
protected List<StorageFile> |
StorageUnitCreateRequest.storageFiles |
protected List<StorageFile> |
BusinessObjectDataStorageUnitCreateRequest.storageFiles |
protected List<StorageFile> |
BusinessObjectDataStorageFilesCreateResponse.storageFiles |
protected List<StorageFile> |
BusinessObjectDataStorageUnitCreateResponse.storageFiles |
protected List<StorageFile> |
BusinessObjectDataStorageFilesCreateRequest.storageFiles |
| Modifier and Type | Method and Description |
|---|---|
StorageFile |
ObjectFactory.createStorageFile()
Create an instance of
StorageFile |
| Modifier and Type | Method and Description |
|---|---|
List<StorageFile> |
StorageUnit.getStorageFiles() |
List<StorageFile> |
StorageUnitCreateRequest.getStorageFiles() |
List<StorageFile> |
BusinessObjectDataStorageUnitCreateRequest.getStorageFiles() |
List<StorageFile> |
BusinessObjectDataStorageFilesCreateResponse.getStorageFiles() |
List<StorageFile> |
BusinessObjectDataStorageUnitCreateResponse.getStorageFiles() |
List<StorageFile> |
BusinessObjectDataStorageFilesCreateRequest.getStorageFiles() |
| Modifier and Type | Method and Description |
|---|---|
void |
StorageUnit.setStorageFiles(List<StorageFile> storageFiles) |
void |
StorageUnitCreateRequest.setStorageFiles(List<StorageFile> storageFiles) |
void |
BusinessObjectDataStorageUnitCreateRequest.setStorageFiles(List<StorageFile> storageFiles) |
void |
BusinessObjectDataStorageFilesCreateResponse.setStorageFiles(List<StorageFile> storageFiles) |
void |
BusinessObjectDataStorageUnitCreateResponse.setStorageFiles(List<StorageFile> storageFiles) |
void |
BusinessObjectDataStorageFilesCreateRequest.setStorageFiles(List<StorageFile> storageFiles) |
| Constructor and Description |
|---|
BusinessObjectDataStorageFilesCreateRequest(String namespace,
String businessObjectDefinitionName,
String businessObjectFormatUsage,
String businessObjectFormatFileType,
Integer businessObjectFormatVersion,
String partitionValue,
List<String> subPartitionValues,
Integer businessObjectDataVersion,
String storageName,
List<StorageFile> storageFiles,
Boolean discoverStorageFiles)
Fully-initialising value constructor
|
BusinessObjectDataStorageFilesCreateResponse(String namespace,
String businessObjectDefinitionName,
String businessObjectFormatUsage,
String businessObjectFormatFileType,
Integer businessObjectFormatVersion,
String partitionValue,
List<String> subPartitionValues,
Integer businessObjectDataVersion,
String storageName,
List<StorageFile> storageFiles)
Fully-initialising value constructor
|
BusinessObjectDataStorageUnitCreateRequest(BusinessObjectDataStorageUnitKey businessObjectDataStorageUnitKey,
StorageDirectory storageDirectory,
List<StorageFile> storageFiles,
Boolean discoverStorageFiles)
Fully-initialising value constructor
|
BusinessObjectDataStorageUnitCreateResponse(BusinessObjectDataStorageUnitKey businessObjectDataStorageUnitKey,
StorageDirectory storageDirectory,
List<StorageFile> storageFiles)
Fully-initialising value constructor
|
StorageUnit(Storage storage,
StorageDirectory storageDirectory,
List<StorageFile> storageFiles,
String storageUnitStatus,
List<StorageUnitStatusChangeEvent> storageUnitStatusHistory,
Integer storagePolicyTransitionFailedAttempts,
XMLGregorianCalendar restoreExpirationOn)
Fully-initialising value constructor
|
StorageUnitCreateRequest(String storageName,
StorageDirectory storageDirectory,
List<StorageFile> storageFiles,
Boolean discoverStorageFiles)
Fully-initialising value constructor
|
| Modifier and Type | Method and Description |
|---|---|
List<StorageFile> |
StorageFileHelper.createStorageFilesFromEntities(Collection<StorageFileEntity> storageFileEntities)
Creates a list of storage files from the collection of storage file entities with empty storage unit directory path.
|
List<StorageFile> |
StorageFileHelper.createStorageFilesFromEntities(Collection<StorageFileEntity> storageFileEntities,
String storageUnitDirectoryPath)
Creates a list of storage files from the collection of storage file entities.
|
List<StorageFile> |
StorageFileHelper.createStorageFilesFromS3ObjectSummaries(List<com.amazonaws.services.s3.model.S3ObjectSummary> s3ObjectSummaries)
Creates a list of storage files from the list of S3 object summaries.
|
Map<String,StorageFile> |
StorageFileHelper.getAlreadyRegisteredStorageFilesMap(String storageUnitDirectoryPath,
Collection<StorageFileEntity> storageFileEntities)
Returns a map of full file paths to the storage files build from the list of storage file entities.
|
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.getAndValidateStorageFiles(StorageUnitEntity storageUnitEntity,
String s3KeyPrefix,
String storageName,
BusinessObjectDataKey businessObjectDataKey,
boolean requireRegisteredStorageFiles)
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.
|
Map<String,StorageFile> |
StorageFileHelper.getStorageFilesMapFromS3ObjectSummaries(List<com.amazonaws.services.s3.model.S3ObjectSummary> s3ObjectSummaries)
Returns a map of file paths to the storage files build from the list of S3 object summaries with map iteration order matching the original list order.
|
| Modifier and Type | Method and Description |
|---|---|
void |
StorageFileHelper.validateStorageFile(StorageFile storageFile,
String s3BucketName,
Map<String,StorageFile> actualS3Keys,
boolean validateFileSize)
Validates storage file against the actual S3 objects reported by S3.
|
| Modifier and Type | Method and Description |
|---|---|
List<StorageFileEntity> |
StorageFileDaoHelper.createStorageFileEntitiesFromStorageFiles(StorageUnitEntity storageUnitEntity,
List<StorageFile> storageFiles,
String directoryPath)
Creates storage file entities from the list of storage files.
|
StorageUnitEntity |
BusinessObjectDataDaoHelper.createStorageUnitEntity(BusinessObjectDataEntity businessObjectDataEntity,
StorageEntity storageEntity,
StorageDirectory storageDirectory,
List<StorageFile> storageFiles,
Boolean isDiscoverStorageFiles,
Boolean isUseFullFilePath)
Creates a storage unit entity per specified parameters.
|
List<String> |
StorageFileHelper.getFilePathsFromStorageFiles(List<StorageFile> storageFiles)
Returns a list of file paths extracted from the specified list of storage files.
|
List<File> |
StorageFileHelper.getFiles(List<StorageFile> storageFiles)
Returns a list of files extracted from the specified list of storage files.
|
void |
StorageFileHelper.validateCreateRequestStorageFiles(List<StorageFile> storageFiles)
Validates a list of storage files.
|
void |
StorageFileHelper.validateDownloadedS3Files(String baseDirectory,
String s3KeyPrefix,
List<StorageFile> storageFiles)
Validate downloaded S3 files per specified list of storage files.
|
void |
StorageFileHelper.validateRegisteredS3Files(List<StorageFile> expectedStorageFiles,
List<com.amazonaws.services.s3.model.S3ObjectSummary> s3ObjectSummaries,
String storageName,
BusinessObjectDataKey businessObjectDataKey)
Validates registered S3 files per list of expected storage files.
|
void |
StorageFileHelper.validateStorageFile(StorageFile storageFile,
String s3BucketName,
Map<String,StorageFile> actualS3Keys,
boolean validateFileSize)
Validates storage file against the actual S3 objects reported by S3.
|
void |
StorageFileHelper.validateStorageFilePathAndSize(String storageFilePath,
Long storageFileSize,
String s3BucketName,
Map<String,StorageFile> actualS3Keys,
boolean validateFileSize)
Validates storage file path and size against the actual S3 objects reported by S3.
|
Copyright © 2021. All rights reserved.