|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object info.magnolia.cms.servlets.MVCServletHandlerImpl info.magnolia.cms.servlets.CommandBasedMVCServletHandler info.magnolia.module.admininterface.PageMVCHandler info.magnolia.module.admininterface.TemplatedMVCHandler info.magnolia.module.admininterface.pages.PermissionPage
public class PermissionPage
Tools for simple show of all groups, roles or permissions assigned to user.
Field Summary | |
---|---|
static org.slf4j.Logger |
log
|
Fields inherited from class info.magnolia.module.admininterface.PageMVCHandler |
---|
COMMAND_PARAMETER_NAME, COMMAND_SHOW, VIEW_SHOW |
Fields inherited from class info.magnolia.cms.servlets.MVCServletHandlerImpl |
---|
exception, request, response, VIEW_SUCCESS |
Fields inherited from interface info.magnolia.cms.servlets.MVCServletHandler |
---|
VIEW_NOTHING |
Constructor Summary | |
---|---|
PermissionPage(String name,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
Method Summary | |
---|---|
String |
createpermissionlist()
Creation of permission list as such. |
Messages |
getMessages()
|
String |
getMgnlGroup()
Getter for mgnlGroup . |
String |
getMgnlUser()
Getter for mgnlUser . |
String |
getPermissionAsName(String repoName,
Permission permission)
Mapping permission to name. |
Collection<String> |
getPermissionList()
Getter for permissionList . |
boolean |
isCreatePermissionList()
Getter for createPermissionList . |
Boolean |
isMgnlACLs()
Getter for mgnlACLs . |
void |
setCreatePermissionList(boolean createPermissionList)
Setter for createPermissionList . |
void |
setMgnlACLs(Boolean mgnlACLs)
Setter for mgnlACLs . |
void |
setMgnlGroup(String mgnlGroup)
Setter for mgnlGroup . |
void |
setMgnlUser(String mgnlUser)
Setter for mgnlUser . |
Methods inherited from class info.magnolia.module.admininterface.TemplatedMVCHandler |
---|
getTemplateName, renderHtml |
Methods inherited from class info.magnolia.module.admininterface.PageMVCHandler |
---|
getForm, getI18nBasename, getMsgs, getParams, init, setForm, setI18nBasename, setMsgs, setParams, show |
Methods inherited from class info.magnolia.cms.servlets.CommandBasedMVCServletHandler |
---|
execute, findCommand, getCatalogueName, getCommandContext, getViewNameAfterExecution, setCatalogueName |
Methods inherited from class info.magnolia.cms.servlets.MVCServletHandlerImpl |
---|
getCommand, getException, getExceptionStackTrace, getName, getRequest, getResponse, populateFromRequest, setCommand, setRequest, setResponse |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static org.slf4j.Logger log
Constructor Detail |
---|
public PermissionPage(String name, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
name
- request
- response
- Method Detail |
---|
public String getMgnlUser()
mgnlUser
.
public void setMgnlUser(String mgnlUser)
mgnlUser
.
mgnlUser
- The mgnlUser to set.public String getMgnlGroup()
mgnlGroup
.
public void setMgnlGroup(String mgnlGroup)
mgnlGroup
.
mgnlGroup
- The mgnlGroup to set.public Boolean isMgnlACLs()
mgnlACLs
.
public void setMgnlACLs(Boolean mgnlACLs)
mgnlACLs
.
mgnlACLs
- The mgnlACLs to set.public Collection<String> getPermissionList()
permissionList
.
public boolean isCreatePermissionList()
createPermissionList
.
public void setCreatePermissionList(boolean createPermissionList)
createPermissionList
.
createPermissionList
- The createPermissionList to set.public String createpermissionlist() throws Exception
Exception
public String getPermissionAsName(String repoName, Permission permission)
Exception
public Messages getMessages()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |