Interface AccessControl
- public interface AccessControl
Method Summary |
boolean |
addEntry(java.lang.String userId,
java.lang.String subjectType,
java.lang.String subjectId,
java.lang.String action,
java.lang.String objectType,
java.lang.String objectId)
|
boolean |
checkPermission(java.lang.String subjectType,
java.lang.String subjectId,
java.lang.String action,
java.lang.String objectType,
java.lang.String objectId)
|
java.util.Iterator |
entries(boolean admin,
java.lang.String separator)
|
java.util.Iterator |
getPermissions(java.lang.String subjectType,
java.lang.String subjectId,
java.lang.String action,
java.lang.String objectType)
|
java.util.Iterator |
getPermissions(java.lang.String subjectType,
java.lang.String subjectId,
java.lang.String action,
java.lang.String objectType,
java.util.Vector objectIds)
|
boolean |
removeEntry(java.lang.String userId,
java.lang.String subjectType,
java.lang.String subjectId,
java.lang.String action,
java.lang.String objectType,
java.lang.String objectId)
|
TYPE_USER
public static final java.lang.String TYPE_USER
TYPE_GROUP
public static final java.lang.String TYPE_GROUP
TYPE_PAGE
public static final java.lang.String TYPE_PAGE
TYPE_PORTLET
public static final java.lang.String TYPE_PORTLET
GROUP_ALL_USERS
public static final java.lang.String GROUP_ALL_USERS
GROUP_ADMINISTRATORS
public static final java.lang.String GROUP_ADMINISTRATORS
ACTION_EDIT
public static final java.lang.String ACTION_EDIT
ACTION_VIEW
public static final java.lang.String ACTION_VIEW
ACTION_MANAGE
public static final java.lang.String ACTION_MANAGE
checkPermission
public boolean checkPermission(java.lang.String subjectType,
java.lang.String subjectId,
java.lang.String action,
java.lang.String objectType,
java.lang.String objectId)
addEntry
public boolean addEntry(java.lang.String userId,
java.lang.String subjectType,
java.lang.String subjectId,
java.lang.String action,
java.lang.String objectType,
java.lang.String objectId)
removeEntry
public boolean removeEntry(java.lang.String userId,
java.lang.String subjectType,
java.lang.String subjectId,
java.lang.String action,
java.lang.String objectType,
java.lang.String objectId)
entries
public java.util.Iterator entries(boolean admin,
java.lang.String separator)
getPermissions
public java.util.Iterator getPermissions(java.lang.String subjectType,
java.lang.String subjectId,
java.lang.String action,
java.lang.String objectType)
getPermissions
public java.util.Iterator getPermissions(java.lang.String subjectType,
java.lang.String subjectId,
java.lang.String action,
java.lang.String objectType,
java.util.Vector objectIds)