Interface SemanticsAvailableActionsResolver
- All Known Implementing Classes:
SemanticsAvailableActionsResolverImpl
public interface SemanticsAvailableActionsResolver
-
Method Summary
Modifier and TypeMethodDescriptionlongcalculateContentItemAvailableActions(String username, String siteId, Item item) Calculate available actions for given content itemlongcalculateContentItemAvailableActions(String username, String siteId, DetailedItem detailedItem) Calculate available actions for given content item
-
Method Details
-
calculateContentItemAvailableActions
long calculateContentItemAvailableActions(String username, String siteId, Item item) throws ServiceLayerException, UserNotFoundException Calculate available actions for given content item- Parameters:
username- user name to apply permissionssiteId- site identifieritem- Item- Returns:
- bitmap representing available actions
- Throws:
ServiceLayerExceptionUserNotFoundException
-
calculateContentItemAvailableActions
long calculateContentItemAvailableActions(String username, String siteId, DetailedItem detailedItem) throws ServiceLayerException, UserNotFoundException Calculate available actions for given content item- Parameters:
username- user name to apply permissionssiteId- site identifierdetailedItem- Item- Returns:
- bitmap representing available actions
- Throws:
ServiceLayerExceptionUserNotFoundException
-