Class CmsAllPrincipalDependenciesList.ElementGenerator
java.lang.Object
org.opencms.workplace.tools.accounts.CmsAllPrincipalDependenciesList.ElementGenerator
- Enclosing class:
- CmsAllPrincipalDependenciesList
Helper class for generating the list entries.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
addDirectEntries
(org.opencms.util.CmsUUID principalId, String name, Locale locale) Helper method to add the direct ACEs for a principal.Generates the list entries.
-
Constructor Details
-
ElementGenerator
Creates a new instance.- Parameters:
cms
- the CMS context to use for file operations- Throws:
org.opencms.main.CmsException
- if something goes wrong
-
-
Method Details
-
generateEntries
Generates the list entries.- Returns:
- a list of string arrays of the form ( name, credential, permissions, path )
- Throws:
org.opencms.main.CmsException
- if something goes wrong
-
addDirectEntries
protected void addDirectEntries(org.opencms.util.CmsUUID principalId, String name, Locale locale) throws org.opencms.main.CmsException Helper method to add the direct ACEs for a principal.- Parameters:
principalId
- the principal idname
- the principal namelocale
- the locale- Throws:
org.opencms.main.CmsException
- if something goes wrong
-