|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AuthorizationService
The Authorization Service provides methods for checking permissions for performing operations on assets. The operations are provided by the Function
enum.
Method Summary | |
---|---|
PermissionBean<java.lang.Object> |
canAccessSlot(AssetId slot, java.lang.String function) Checks whether logged in user has access to the specified slot asset in the logged in site. |
PermissionBean<VersioningAuthorizationBean> |
canApprove(AssetId assetId) Checks whether logged in user has access to approve the asset for the logged-in site |
PermissionBean<VersioningAuthorizationBean> |
canCheckin(AssetId assetId) Checks whether logged-in user has access to checking the assets for the logged-in site |
PermissionBean<VersioningAuthorizationBean> |
canCheckout(AssetId assetId) Checks whether logged-in user has access to checkout the asset for the logged-in site |
PermissionBean<java.lang.Object> |
canCopy(AssetId assetId) Checks whether logged in user has access to copy the asset for the logged-in site |
PermissionBean<DeleteAuthorizationBean> |
canDelete(AssetId assetId) Checks whether logged-in user has access to delete the asset for the logged-in site |
PermissionBean<VersioningAuthorizationBean> |
canEdit(AssetId assetId) Checks whether user have access to edit the assets for the given site |
PermissionBean<java.lang.Object> |
canInspect(AssetId assetId) Checks whether logged-in user has access to inspect the asset for the logged-in site |
PermissionBean<java.lang.Object> |
canPlacePage(AssetId assetId) Checks whether logged in user is able to place the page asset for the logged-in site |
PermissionBean<java.lang.Object> |
canPreview(AssetId assetId) Checks whether logged-in user has access to preview the assets for the logged-in site |
PermissionBean<java.lang.Object> |
canRollback(AssetId assetId) Checks whether logged-in user has access to roll back the asset for the logged-in site |
PermissionBean<VersioningAuthorizationBean> |
canShare(AssetId assetId) Checks whether logged-in user has access to share the assets for the logged-in site |
PermissionBean<java.lang.Object> |
canShowVersion(AssetId assetId) Checks whether logged-in user has access to delete the asset for the logged-in site |
PermissionBean<java.lang.Object> |
canTranslate(AssetId assetId) Checks whether logged-in user has access to translate the asset for the logged-in site |
PermissionBean<VersioningAuthorizationBean> |
canUndoCheckout(AssetId assetId) Checks whether logged-in user has access to undo checkout the asset for the logged-in site |
PermissionBean<java.lang.Object> |
hasAccess(AssetId assetId, java.lang.String function) Checks whether logged in user can perform the given function the asset for the logged in site |
Methods inherited from interface com.fatwire.services.Service |
---|
getManager, getResponse, setManager |
Method Detail |
---|
PermissionBean<java.lang.Object> canCopy(AssetId assetId) throws ServiceException
assetId
- id of the asset (i.e. AssetId
)PermissionBean
object which has the details about the access permissionServiceException
- wraps any exception underlying the service call.PermissionBean<VersioningAuthorizationBean> canApprove(AssetId assetId) throws ServiceException
assetId
- id of the asset (i.e. AssetId
)PermissionBean
object which has the details about the access permissionServiceException
- wraps any exception underlying the service call.PermissionBean<java.lang.Object> canPlacePage(AssetId assetId) throws ServiceException
assetId
- id of the asset (i.e. AssetId
)PermissionBean
object which has the details about the access permissionServiceException
- wraps any exception underlying the service call.PermissionBean<VersioningAuthorizationBean> canCheckin(AssetId assetId) throws ServiceException
assetId
- id of the assetPermissionBean
object which has the details about the access permissionServiceException
- wraps any exception underlying the service call.PermissionBean<VersioningAuthorizationBean> canCheckout(AssetId assetId) throws ServiceException
assetId
- id of the assetPermissionBean
object which has the details about the access permissionServiceException
- wraps any exception underlying the service call.PermissionBean<VersioningAuthorizationBean> canEdit(AssetId assetId) throws ServiceException
assetId
- id of the assetPermissionBean
object which has the details about the access permissionServiceException
- wraps any exception underlying the service call.PermissionBean<java.lang.Object> canPreview(AssetId assetId) throws ServiceException
assetId
- id of the assetPermissionBean
object which has the details about the access permissionServiceException
- wraps any exception underlying the service call.PermissionBean<java.lang.Object> canInspect(AssetId assetId) throws ServiceException
assetId
- id of the assetPermissionBean
object which has the details about the access permissionServiceException
- wraps any exception underlying the service call.PermissionBean<java.lang.Object> canRollback(AssetId assetId) throws ServiceException
assetId
- id of the assetPermissionBean
object which has the details about the access permissionServiceException
- wraps any exception underlying the service call.PermissionBean<VersioningAuthorizationBean> canShare(AssetId assetId) throws ServiceException
assetId
- id of the assetPermissionBean
object which has the details about the access permissionServiceException
- wraps any exception underlying the service call.PermissionBean<VersioningAuthorizationBean> canUndoCheckout(AssetId assetId) throws ServiceException
assetId
- id of the assetPermissionBean
object which has the details about the access permissionServiceException
- wraps any exception underlying the service call.PermissionBean<java.lang.Object> canShowVersion(AssetId assetId) throws ServiceException
assetId
- id of the assetPermissionBean
object which has the details about the access permissionServiceException
- wraps any exception underlying the service call.PermissionBean<DeleteAuthorizationBean> canDelete(AssetId assetId) throws ServiceException
assetId
- id of the assetPermissionBean
object which has the details about the access permissionServiceException
- wraps any exception underlying the service call.PermissionBean<java.lang.Object> canTranslate(AssetId assetId) throws ServiceException
assetId
- id of the assetPermissionBean
object which has the details about the access permissionServiceException
- wraps any exception underlying the service call.PermissionBean<java.lang.Object> hasAccess(AssetId assetId, java.lang.String function) throws ServiceException
assetId
- id of the assetfunction
- a function namePermissionBean
object which has the details about the access permissionServiceException
- wraps any exception underlying the service call.PermissionBean<java.lang.Object> canAccessSlot(AssetId slot, java.lang.String function) throws ServiceException
slot
- the slot asset to be accessed.function
- a function nametrue
if the user has access to the slotServiceException
- wraps any exception underlying the service call. TODO: Move to proposed Insite Service
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.