|
|||||||||
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 on assets and asset operations.
Method Summary | |
---|---|
PermissionBean<java.lang.Object> |
canAccessSlot(AssetId slot,
java.lang.String function)
Checks whether logged in user has access to the slot User details and site id is obtained from ics scope |
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()
Checks whether logged in user has access to place pages for the logged-in site |
PermissionBean<java.lang.Object> |
canPlacePage(AssetId assetId)
Checks whether logged in user has access to place the page asset for the logged-in site |
PermissionBean<java.lang.Object> |
canPreview()
Checks whether logged-in user has access to preview assets 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<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 |
PermissionBean<java.lang.Object> |
hasAccess(java.lang.String username,
long pubId,
AssetId assetId,
java.lang.String function)
Checks whether user can perform the given function the asset for the given 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 permission
ServiceException
PermissionBean<VersioningAuthorizationBean> canApprove(AssetId assetId) throws ServiceException
assetId
- id of the asset (i.e. AssetId
)
PermissionBean
object which has the details about the
access permission
ServiceException
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 permission
ServiceException
PermissionBean<java.lang.Object> canPlacePage() throws ServiceException
PermissionBean
object which has the details about the
access permission
ServiceException
PermissionBean<VersioningAuthorizationBean> canCheckin(AssetId assetId) throws ServiceException
assetId
- id of the asset
PermissionBean
object which has the details about the
access permission
ServiceException
PermissionBean<VersioningAuthorizationBean> canCheckout(AssetId assetId) throws ServiceException
assetId
- id of the asset
PermissionBean
object which has the details about the
access permission
ServiceException
PermissionBean<VersioningAuthorizationBean> canEdit(AssetId assetId) throws ServiceException
assetId
- id of the asset
PermissionBean
object which has the details about the
access permission
ServiceException
PermissionBean<java.lang.Object> canPreview(AssetId assetId) throws ServiceException
assetId
- id of the asset
PermissionBean
object which has the details about the
access permission
ServiceException
PermissionBean<java.lang.Object> canPreview() throws ServiceException
PermissionBean
object which has the details about the
access permission
ServiceException
PermissionBean<java.lang.Object> canInspect(AssetId assetId) throws ServiceException
assetId
- id of the asset
PermissionBean
object which has the details about the
access permission
ServiceException
PermissionBean<java.lang.Object> canRollback(AssetId assetId) throws ServiceException
assetId
- id of the asset
PermissionBean
object which has the details about the
access permission
ServiceException
PermissionBean<VersioningAuthorizationBean> canShare(AssetId assetId) throws ServiceException
assetId
- id of the asset
PermissionBean
object which has the details about the
access permission
ServiceException
PermissionBean<VersioningAuthorizationBean> canUndoCheckout(AssetId assetId) throws ServiceException
assetId
- id of the asset
PermissionBean
object which has the details about the
access permission
ServiceException
PermissionBean<java.lang.Object> canShowVersion(AssetId assetId) throws ServiceException
assetId
- id of the asset
PermissionBean
object which has the details about the
access permission
ServiceException
PermissionBean<DeleteAuthorizationBean> canDelete(AssetId assetId) throws ServiceException
assetId
- id of the asset
PermissionBean
object which has the details about the
access permission
ServiceException
PermissionBean<java.lang.Object> hasAccess(java.lang.String username, long pubId, AssetId assetId, java.lang.String function) throws ServiceException
username
- the user namepubId
- the site IDassetId
- id of the assetfunction
- a function name from Function
PermissionBean
object which has the details about the
access permission
ServiceException
PermissionBean<java.lang.Object> hasAccess(AssetId assetId, java.lang.String function) throws ServiceException
assetId
- id of the assetfunction
- a function name from Function
PermissionBean
object which has the details about the
access permission
ServiceException
PermissionBean<java.lang.Object> canAccessSlot(AssetId slot, java.lang.String function) throws ServiceException
slot
- given slotfunction
- a function name from Function
ServiceException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |