public interface BusinessObjectDataDao extends BaseJpaDao
| Modifier and Type | Method and Description |
|---|---|
BusinessObjectDataEntity |
getBusinessObjectDataByAltKey(BusinessObjectDataKey businessObjectDataKey)
Retrieves business object data by it's key.
|
BusinessObjectDataEntity |
getBusinessObjectDataByAltKeyAndStatus(BusinessObjectDataKey businessObjectDataKey,
BusinessObjectDataStatusEntity businessObjectDataStatusEntity)
Retrieves business object data by it's key.
|
List<BusinessObjectDataKey> |
getBusinessObjectDataByBusinessObjectDefinition(BusinessObjectDefinitionEntity businessObjectDefinitionEntity,
Integer maxResults)
Gets a list of keys for business object data registered under specified business object definition entity.
|
List<BusinessObjectDataKey> |
getBusinessObjectDataByBusinessObjectFormat(BusinessObjectFormatEntity businessObjectFormatEntity,
Integer maxResults)
Gets a list of keys for business object data registered under specified business object format entity.
|
Long |
getBusinessObjectDataCount(BusinessObjectFormatKey businessObjectFormatKey)
Returns a number of business object data instances registered with this business object format.
|
List<BusinessObjectDataEntity> |
getBusinessObjectDataEntities(BusinessObjectDataKey businessObjectDataKey)
Retrieves business object data versions that match the specified business object data key with potentially missing business object format and/or data
version values.
|
List<BusinessObjectDataEntity> |
getBusinessObjectDataEntitiesByPartitionValue(String partitionValue)
Retrieves a list of business object data by their partition value.
|
Map<BusinessObjectDataEntity,StoragePolicyEntity> |
getBusinessObjectDataEntitiesMatchingStoragePolicies(StoragePolicyPriorityLevel storagePolicyPriorityLevel,
Boolean doNotTransitionLatestValid,
List<String> supportedBusinessObjectDataStatuses,
int storagePolicyTransitionMaxAllowedAttempts,
int startPosition,
int maxResult)
Retrieves a map of business object data entities to their corresponding storage policy entities, where the business object data status is supported by
the storage policy feature and the business object data alternate key values match storage policy's filter and transition (not taking into account
storage policy rules).
|
List<BusinessObjectDataEntity> |
getBusinessObjectDataFromStorageOlderThan(StorageEntity storageEntity,
int thresholdMinutes,
List<String> businessObjectDataStatuses)
Selects business object data having storage files associated with the specified storage and status.
|
Integer |
getBusinessObjectDataLimitedCountBySearchKey(BusinessObjectDataSearchKey businessObjectDataSearchKey,
Integer recordCountLimit)
Retrieves business object data record count up to to the specified record limit as per business object data search key.
|
String |
getBusinessObjectDataMaxPartitionValue(int partitionColumnPosition,
BusinessObjectFormatKey businessObjectFormatKey,
Integer businessObjectDataVersion,
BusinessObjectDataStatusEntity businessObjectDataStatusEntity,
List<StorageEntity> storageEntities,
StoragePlatformEntity storagePlatformEntity,
StoragePlatformEntity excludedStoragePlatformEntity,
String upperBoundPartitionValue,
String lowerBoundPartitionValue)
Retrieves a maximum available partition value per specified parameters.
|
Integer |
getBusinessObjectDataMaxVersion(BusinessObjectDataKey businessObjectDataKey)
Gets a maximum available version of the specified business object data.
|
String |
getBusinessObjectDataMinPartitionValue(int partitionColumnPosition,
BusinessObjectFormatKey businessObjectFormatKey,
Integer businessObjectDataVersion,
BusinessObjectDataStatusEntity businessObjectDataStatusEntity,
List<StorageEntity> storageEntities,
StoragePlatformEntity storagePlatformEntity,
StoragePlatformEntity excludedStoragePlatformEntity)
Retrieves a minimum available partition value per specified parameters.
|
List<BusinessObjectData> |
searchBusinessObjectData(BusinessObjectDataSearchKey businessObjectDataSearchKey,
Integer pageNum,
Integer pageSize)
Retrieves a list of business object data per specified business object data search key.
|
delete, detach, findAll, findById, findByNamedProperties, findUniqueByNamedProperties, getCurrentTimestamp, getEntityManager, query, queryByNamedParams, save, saveAndRefreshBusinessObjectDataEntity getBusinessObjectDataByAltKey(BusinessObjectDataKey businessObjectDataKey)
businessObjectDataKey - the business object data keyBusinessObjectDataEntity getBusinessObjectDataByAltKeyAndStatus(BusinessObjectDataKey businessObjectDataKey, BusinessObjectDataStatusEntity businessObjectDataStatusEntity)
businessObjectDataKey - the business object data key with the optional business object format and business object data versionsbusinessObjectDataStatusEntity - the optional business object data status entity. This parameter is ignored when the business object data version is
specifiedInteger getBusinessObjectDataMaxVersion(BusinessObjectDataKey businessObjectDataKey)
businessObjectDataKey - the business object data keyString getBusinessObjectDataMaxPartitionValue(int partitionColumnPosition, BusinessObjectFormatKey businessObjectFormatKey, Integer businessObjectDataVersion, BusinessObjectDataStatusEntity businessObjectDataStatusEntity, List<StorageEntity> storageEntities, StoragePlatformEntity storagePlatformEntity, StoragePlatformEntity excludedStoragePlatformEntity, String upperBoundPartitionValue, String lowerBoundPartitionValue)
partitionColumnPosition - the partition column position (1-based numbering)businessObjectFormatKey - the business object format key (case-insensitive). If a business object format version isn't specified, business object
data partition value is selected across all business object format versionsbusinessObjectDataVersion - the optional business object data version. If business object data version isn't specified, business object data
partition value is selected from all available business object data as per specified business object data status entitybusinessObjectDataStatusEntity - the optional business object data status entity. This parameter is ignored when the business object data version is
specifiedstorageEntities - the optional list of storage entitiesstoragePlatformEntity - the optional storage platform entity, e.g. S3 for Hive DDL. It is ignored when the list of storage entities is not emptyexcludedStoragePlatformEntity - the optional storage platform entity to be excluded from search. It is ignored when the list of storage entities is
not empty or the storage platform entity is specifiedupperBoundPartitionValue - the optional inclusive upper bound for the maximum available partition valuelowerBoundPartitionValue - the optional inclusive lower bound for the maximum available partition valueString getBusinessObjectDataMinPartitionValue(int partitionColumnPosition, BusinessObjectFormatKey businessObjectFormatKey, Integer businessObjectDataVersion, BusinessObjectDataStatusEntity businessObjectDataStatusEntity, List<StorageEntity> storageEntities, StoragePlatformEntity storagePlatformEntity, StoragePlatformEntity excludedStoragePlatformEntity)
partitionColumnPosition - the partition column position (1-based numbering)businessObjectFormatKey - the business object format key (case-insensitive). If a business object format version isn't specified, business object
data partition value is selected across all business object format versionsbusinessObjectDataVersion - the optional business object data version. If business object data version isn't specified, business object data
partition value is selected from all available business object data as per specified business object data status entitybusinessObjectDataStatusEntity - the optional business object data status entity. This parameter is ignored when the business object data version is
specifiedstorageEntities - the optional list of storage entitiesstoragePlatformEntity - the optional storage platform entity, e.g. S3 for Hive DDL. It is ignored when the list of storage entities is not emptyexcludedStoragePlatformEntity - the optional storage platform entity to be excluded from search. It is ignored when the list of storage entities is
not empty or the storage platform entity is specifiedLong getBusinessObjectDataCount(BusinessObjectFormatKey businessObjectFormatKey)
businessObjectFormatKey - the business object format keyList<BusinessObjectDataEntity> getBusinessObjectDataEntities(BusinessObjectDataKey businessObjectDataKey)
businessObjectDataKey - the business object data key with potentially missing business object format and/or data version valuesList<BusinessObjectDataEntity> getBusinessObjectDataFromStorageOlderThan(StorageEntity storageEntity, int thresholdMinutes, List<String> businessObjectDataStatuses)
storageEntity - the storage entitythresholdMinutes - the expiration time in minutesbusinessObjectDataStatuses - the list of business object data statusesMap<BusinessObjectDataEntity,StoragePolicyEntity> getBusinessObjectDataEntitiesMatchingStoragePolicies(StoragePolicyPriorityLevel storagePolicyPriorityLevel, Boolean doNotTransitionLatestValid, List<String> supportedBusinessObjectDataStatuses, int storagePolicyTransitionMaxAllowedAttempts, int startPosition, int maxResult)
storagePolicyPriorityLevel - the storage policy priority leveldoNotTransitionLatestValid - specifies if this storage policy should not transition latest valid business object data versionssupportedBusinessObjectDataStatuses - the list of business object data statuses that storage policies apply to (case-sensitive)storagePolicyTransitionMaxAllowedAttempts - the maximum number of failed storage policy transition attempts before the relative storage unit gets
excluded from being selected. 0 means the maximum is not setstartPosition - the position of the first result, numbered from 0maxResult - the maximum number of results to retrieveList<BusinessObjectDataEntity> getBusinessObjectDataEntitiesByPartitionValue(String partitionValue)
partitionValue - The partition valueList<BusinessObjectDataKey> getBusinessObjectDataByBusinessObjectDefinition(BusinessObjectDefinitionEntity businessObjectDefinitionEntity, Integer maxResults)
businessObjectDefinitionEntity - the business object definition entitymaxResults - the optional maximum number of results to returnList<BusinessObjectDataKey> getBusinessObjectDataByBusinessObjectFormat(BusinessObjectFormatEntity businessObjectFormatEntity, Integer maxResults)
businessObjectFormatEntity - the business object format entitymaxResults - optional maximum number of results to returnInteger getBusinessObjectDataLimitedCountBySearchKey(BusinessObjectDataSearchKey businessObjectDataSearchKey, Integer recordCountLimit)
businessObjectDataSearchKey - the business object data search keyrecordCountLimit - the business object data record count limitList<BusinessObjectData> searchBusinessObjectData(BusinessObjectDataSearchKey businessObjectDataSearchKey, Integer pageNum, Integer pageSize)
businessObjectDataSearchKey - the business object data search keypageNum - if pageNum parameter is specified, results contain the appropriate page specified. Page numbers are one-based - that is the first page
number is onepageSize - if pageSize parameter is specified, results contain that number of business object data (unless it is the end of the result set)Copyright © 2021. All rights reserved.