Package org.cxbox.meta.metafieldsecurity
Class BcUtils
java.lang.Object
org.cxbox.meta.metafieldsecurity.BcUtils
- All Implemented Interfaces:
ExtendedDtoFieldLevelSecurityService
-
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 screengetDtoFieldsAvailableOnCurrentScreen(org.cxbox.api.data.BcIdentifier bc) Returns a set of required dto fields (DtoField) for the given business component on the current screenvoidvoidDeprecated.voidinvalidateFieldCacheByView(String viewName) Deprecated.useinvalidateFieldCache()instead.voidinvalidateFieldCacheByWidget(Long widgetId) Deprecated.useinvalidateFieldCache()instead.
-
Constructor Details
-
BcUtils
public BcUtils()
-
-
Method Details
-
invalidateFieldCache
public void invalidateFieldCache() -
invalidateFieldCacheByView
Deprecated.useinvalidateFieldCache()instead. -
invalidateFieldCacheByWidget
Deprecated.useinvalidateFieldCache()instead. -
invalidateFieldCacheByBc
Deprecated.useinvalidateFieldCache()instead. -
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) Returns a set of required dto fields (DtoField) for the given business component on the current screen- Specified by:
getDtoFieldsAvailableOnCurrentScreenin interfaceExtendedDtoFieldLevelSecurityService
-
invalidateFieldCache()instead.