|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opencms.workplace.explorer.CmsExplorerTypeAccess
public class CmsExplorerTypeAccess
Explorer type access object, encapsulates access control entires and lists of a explorer type.
| Field Summary | |
|---|---|
static String |
PRINCIPAL_DEFAULT
Principal key name for the default permission settings. |
| Constructor Summary | |
|---|---|
CmsExplorerTypeAccess()
Constructor, creates an empty, CmsExplorerTypeAccess object. |
|
| Method Summary | |
|---|---|
void |
addAccessEntry(String key,
String value)
Adds a single access entry to the map of access entries of the explorer type setting. |
void |
createAccessControlList()
Creates the access control list from the temporary map. |
Map |
getAccessEntries()
Returns the map of access entries of the explorer type setting. |
CmsPermissionSet |
getPermissions(CmsObject cms)
Calculates the permissions for this explorer type settings for the user in the given OpenCms user context. |
boolean |
isEmpty()
Tests if there are any access information stored. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String PRINCIPAL_DEFAULT
| Constructor Detail |
|---|
public CmsExplorerTypeAccess()
| Method Detail |
|---|
public void addAccessEntry(String key,
String value)
This stores the configuration data in a map which is used in the initialize process to create the access control list.
key - the principal of the acevalue - the permissions for the principal
public void createAccessControlList()
throws CmsException
CmsException - if reading a group or user failspublic Map getAccessEntries()
public CmsPermissionSet getPermissions(CmsObject cms)
cms - the OpenCms user context to calculate the permissions for
public boolean isEmpty()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||