@Component public class S3KeyPrefixHelper extends Object
| Constructor and Description |
|---|
S3KeyPrefixHelper() |
| Modifier and Type | Method and Description |
|---|---|
String |
buildS3KeyPrefix(StorageEntity storageEntity,
BusinessObjectDefinitionKey businessObjectDefinitionKey)
Build S3 key prefix for business object definition key
|
String |
buildS3KeyPrefix(StorageEntity storageEntity,
BusinessObjectFormatEntity businessObjectFormatEntity,
BusinessObjectDataKey businessObjectDataKey)
Returns the S3 object key prefix based on the given storage, business object format and business object data key.
|
String |
buildS3KeyPrefix(String s3KeyPrefixVelocityTemplate,
BusinessObjectFormatEntity businessObjectFormatEntity,
BusinessObjectDataKey businessObjectDataKey,
String storageName)
Returns the S3 object key prefix based on the given velocity template, business object format and business object data key.
|
String |
buildS3KeyPrefix(String s3KeyPrefixVelocityTemplate,
String dataProviderName,
BusinessObjectFormat businessObjectFormat,
BusinessObjectDataKey businessObjectDataKey,
String storageName)
Returns S3 key prefix constructed per specified velocity template.
|
public String buildS3KeyPrefix(StorageEntity storageEntity, BusinessObjectFormatEntity businessObjectFormatEntity, BusinessObjectDataKey businessObjectDataKey)
storageEntity - the storage entitybusinessObjectFormatEntity - the business object format entitybusinessObjectDataKey - the business object data keypublic String buildS3KeyPrefix(String s3KeyPrefixVelocityTemplate, BusinessObjectFormatEntity businessObjectFormatEntity, BusinessObjectDataKey businessObjectDataKey, String storageName)
s3KeyPrefixVelocityTemplate - the S3 key prefix velocity template, not nullbusinessObjectFormatEntity - the business object format entitybusinessObjectDataKey - the business object data keystorageName - the storage namepublic String buildS3KeyPrefix(String s3KeyPrefixVelocityTemplate, String dataProviderName, BusinessObjectFormat businessObjectFormat, BusinessObjectDataKey businessObjectDataKey, String storageName)
s3KeyPrefixVelocityTemplate - the S3 key prefix velocity template,dataProviderName - the data provider namebusinessObjectFormat - the business object formatbusinessObjectDataKey - the business object data keystorageName - the storage namepublic String buildS3KeyPrefix(StorageEntity storageEntity, BusinessObjectDefinitionKey businessObjectDefinitionKey)
storageEntity - storage entitybusinessObjectDefinitionKey - business object definition keyCopyright © 2021. All rights reserved.