@Component public class BusinessObjectFormatDaoHelper extends Object
| Constructor and Description |
|---|
BusinessObjectFormatDaoHelper() |
| Modifier and Type | Method and Description |
|---|---|
String |
getBusinessObjectFormatAttributeValueByName(String attributeName,
BusinessObjectFormatEntity businessObjectFormatEntity,
boolean attributeRequired,
boolean attributeValueRequiredIfExists)
Gets attribute value by name from the business object format entity while specifying whether the attribute is required and whether the attribute value is
required.
|
BusinessObjectFormatEntity |
getBusinessObjectFormatEntity(BusinessObjectFormatKey businessObjectFormatKey)
Gets a business object format entity based on the alternate key and makes sure that it exists.
|
RetentionTypeEntity |
getRecordRetentionTypeEntity(String retentionTypeCode)
Gets record retention type entity form retention type code
|
public String getBusinessObjectFormatAttributeValueByName(String attributeName, BusinessObjectFormatEntity businessObjectFormatEntity, boolean attributeRequired, boolean attributeValueRequiredIfExists)
attributeName - the attribute name (case insensitive)businessObjectFormatEntity - the storage entityattributeRequired - specifies whether the attribute is mandatory (i.e. whether it has a value or not)attributeValueRequiredIfExists - specifies whether the attribute value is mandatory (i.e. the attribute must exist and its value must also contain a
value)public BusinessObjectFormatEntity getBusinessObjectFormatEntity(BusinessObjectFormatKey businessObjectFormatKey) throws ObjectNotFoundException
businessObjectFormatKey - the business object format keyObjectNotFoundException - if the business object format entity doesn't existpublic RetentionTypeEntity getRecordRetentionTypeEntity(String retentionTypeCode)
retentionTypeCode - retention type codeCopyright © 2019. All rights reserved.