Class SemanticsAvailableActionsResolverImpl
- java.lang.Object
-
- org.craftercms.studio.impl.v2.security.SemanticsAvailableActionsResolverImpl
-
- All Implemented Interfaces:
SemanticsAvailableActionsResolver
public class SemanticsAvailableActionsResolverImpl extends Object implements SemanticsAvailableActionsResolver
-
-
Constructor Summary
Constructors Constructor Description SemanticsAvailableActionsResolverImpl()
-
Method Summary
-
-
-
Method Detail
-
calculateContentItemAvailableActions
public long calculateContentItemAvailableActions(String username, String siteId, Item item) throws ServiceLayerException, UserNotFoundException
Description copied from interface:SemanticsAvailableActionsResolver
Calculate available actions for given content item- Specified by:
calculateContentItemAvailableActions
in interfaceSemanticsAvailableActionsResolver
- Parameters:
username
- user name to apply permissionssiteId
- site identifieritem
- Item- Returns:
- bitmap representing available actions
- Throws:
ServiceLayerException
UserNotFoundException
-
calculateContentItemAvailableActions
public long calculateContentItemAvailableActions(String username, String siteId, DetailedItem detailedItem) throws ServiceLayerException, UserNotFoundException
Description copied from interface:SemanticsAvailableActionsResolver
Calculate available actions for given content item- Specified by:
calculateContentItemAvailableActions
in interfaceSemanticsAvailableActionsResolver
- Parameters:
username
- user name to apply permissionssiteId
- site identifierdetailedItem
- Item- Returns:
- bitmap representing available actions
- Throws:
ServiceLayerException
UserNotFoundException
-
getSecurityService
public SecurityService getSecurityService()
-
setSecurityService
public void setSecurityService(SecurityService securityService)
-
getContentServiceInternal
public ContentServiceInternal getContentServiceInternal()
-
setContentServiceInternal
public void setContentServiceInternal(ContentServiceInternal contentServiceInternal)
-
getServicesConfig
public ServicesConfig getServicesConfig()
-
setServicesConfig
public void setServicesConfig(ServicesConfig servicesConfig)
-
getWorkflowServiceInternal
public WorkflowServiceInternal getWorkflowServiceInternal()
-
setWorkflowServiceInternal
public void setWorkflowServiceInternal(WorkflowServiceInternal workflowServiceInternal)
-
getUserServiceInternal
public UserServiceInternal getUserServiceInternal()
-
setUserServiceInternal
public void setUserServiceInternal(UserServiceInternal userServiceInternal)
-
getStudioBlobStoreResolver
public StudioBlobStoreResolver getStudioBlobStoreResolver()
-
setStudioBlobStoreResolver
public void setStudioBlobStoreResolver(StudioBlobStoreResolver studioBlobStoreResolver)
-
getStudioConfiguration
public StudioConfiguration getStudioConfiguration()
-
setStudioConfiguration
public void setStudioConfiguration(StudioConfiguration studioConfiguration)
-
-