Package org.cxbox.meta.metafieldsecurity
Class BcUtils
java.lang.Object
org.cxbox.meta.metafieldsecurity.BcUtils
- All Implemented Interfaces:
ExtendedDtoFieldLevelSecurityService
- Direct Known Subclasses:
AnySourceBcUtils
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBcFieldsForCurrentScreen(org.cxbox.api.data.BcIdentifier bc) Returns a set of required fields for the given business component on the current screengetDtoFields(org.cxbox.api.data.BcIdentifier bcIdentifier) Returns a set of dto fields (DtoField) for the given business componentgetDtoFieldsAvailableOnCurrentScreen(org.cxbox.api.data.BcIdentifier bc)
-
Constructor Details
-
BcUtils
public BcUtils()
-
-
Method Details
-
getDtoFields
public <D extends org.cxbox.api.data.dto.DataResponseDTO> Set<DtoField<D,?>> getDtoFields(org.cxbox.api.data.BcIdentifier bcIdentifier) Returns a set of dto fields (DtoField) for the given business component -
getBcFieldsForCurrentScreen
@Cacheable(cacheResolver="cxboxCacheResolver", cacheNames="requestCache", key="{#root.methodName, #bc.name}") public Set<String> getBcFieldsForCurrentScreen(org.cxbox.api.data.BcIdentifier bc) Returns a set of required fields for the given business component on the current screen- Specified by:
getBcFieldsForCurrentScreenin interfaceExtendedDtoFieldLevelSecurityService
-
getCurrentScreenViews
-
getViews
-
getDtoFieldsAvailableOnCurrentScreen
@Cacheable(cacheResolver="cxboxCacheResolver", cacheNames="requestCache", key="{#root.methodName, #bc.name}") public <D extends org.cxbox.api.data.dto.DataResponseDTO> Set<DtoField<D,?>> getDtoFieldsAvailableOnCurrentScreen(org.cxbox.api.data.BcIdentifier bc) - Specified by:
getDtoFieldsAvailableOnCurrentScreenin interfaceExtendedDtoFieldLevelSecurityService
-