public class RolesAndPermissionsHandler extends Object implements Serializable
| Constructor and Description |
|---|
RolesAndPermissionsHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
addContext(String newContext) |
boolean |
addRole(String roleName,
String parentRoleId,
String roleTypeString,
org.springframework.binding.message.MessageContext messageContext) |
boolean |
copyRole(String roleName,
String deepCopy,
String uuid,
org.springframework.binding.message.MessageContext messageContext) |
boolean |
deleteRoles() |
void |
expandMapped(String path) |
List<org.jahia.services.content.JCRNodeWrapper> |
getAllPermissions() |
Map<String,String> |
getAvailableLanguages() |
String |
getCurrentContext() |
String |
getCurrentGroup() |
RoleBean |
getRole(String uuid,
boolean getPermissions) |
RoleBean |
getRoleBean() |
Map<String,List<RoleBean>> |
getRoles() |
Map<String,List<RoleBean>> |
getRoles(boolean filterUUIDs,
boolean getChildren) |
Map<String,List<RoleBean>> |
getRolesToDelete() |
RoleTypeConfiguration |
getRoleTypes() |
Map<String,List<RoleBean>> |
getSelectedRoles() |
void |
removeContext(String scope) |
void |
revertRole() |
void |
save() |
void |
selectRoles(String uuids) |
void |
setCurrentContext(String tab) |
void |
setCurrentGroup(String context,
String currentGroup) |
void |
setRoleBean(RoleBean roleBean) |
void |
storeDetails(String[] languageCodes,
String[] languageNames,
String[] titles,
String[] descriptions,
Boolean hidden,
String[] nodeTypes) |
void |
storeValues(String[] selectedValues,
String[] partialSelectedValues) |
public RoleTypeConfiguration getRoleTypes()
public RoleBean getRoleBean()
public void setRoleBean(RoleBean roleBean)
public Map<String,List<RoleBean>> getRoles() throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionpublic Map<String,List<RoleBean>> getRolesToDelete() throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionpublic Map<String,List<RoleBean>> getSelectedRoles() throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionpublic Map<String,List<RoleBean>> getRoles(boolean filterUUIDs, boolean getChildren) throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionpublic RoleBean getRole(String uuid, boolean getPermissions) throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionpublic boolean copyRole(String roleName, String deepCopy, String uuid, org.springframework.binding.message.MessageContext messageContext) throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionpublic void revertRole()
throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionpublic boolean addRole(String roleName, String parentRoleId, String roleTypeString, org.springframework.binding.message.MessageContext messageContext) throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionpublic void selectRoles(String uuids) throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionpublic boolean deleteRoles()
throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionpublic String getCurrentContext()
public void setCurrentContext(String tab)
public String getCurrentGroup()
public void addContext(String newContext) throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionpublic void removeContext(String scope) throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionpublic void save()
throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionpublic List<org.jahia.services.content.JCRNodeWrapper> getAllPermissions() throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionpublic void storeDetails(String[] languageCodes, String[] languageNames, String[] titles, String[] descriptions, Boolean hidden, String[] nodeTypes)
public void expandMapped(String path)
Copyright © 2004–2015 Jahia Solutions Group SA. All rights reserved.