|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CmsAccessController
This interface is used by the different Graffito services in order to control permission for CMS actions (edit document, view document, create folder, ...).
Method Summary | |
---|---|
boolean |
hasPermission(java.lang.Object object,
java.lang.String actions)
check if the Subject can do specific actions on the a cms object |
boolean |
hasPermission(java.lang.String uri,
java.lang.String actions)
Check permission for an cms object |
Method Detail |
---|
boolean hasPermission(java.lang.Object object, java.lang.String actions)
object
- The object on which the permission has to be checked.
This object can be a CmsObject, a Server or an HistoryElementactions
- a comma separated list of actions
boolean hasPermission(java.lang.String uri, java.lang.String actions)
uri
- The uri assigned to the cms objectactions
- The actions to checl (comma separeted list of actions)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |