public class RolesHandler extends Object implements Serializable
| Constructor and Description |
|---|
RolesHandler() |
| Modifier and Type | Method and Description |
|---|---|
String |
getNodePath() |
Map<String,org.jahia.services.content.JCRStoreProvider> |
getProviders() |
String |
getRole() |
String |
getRoleGroup() |
List<org.jahia.services.content.JCRNodeWrapper> |
getRoleMembers() |
Map<org.jahia.services.content.JCRNodeWrapper,List<org.jahia.services.content.JCRNodeWrapper>> |
getRoles() |
String |
getSearchType() |
void |
grantRole(String[] principals,
org.springframework.binding.message.MessageContext messageContext) |
org.jahia.services.usermanager.SearchCriteria |
initCriteria(org.springframework.webflow.execution.RequestContext ctx)
Returns an empty (newly initialized) search criteria bean.
|
void |
revokeRole(String[] principals,
org.springframework.binding.message.MessageContext messageContext) |
Set<org.jahia.services.content.JCRNodeWrapper> |
searchNewMembers(org.jahia.services.usermanager.SearchCriteria searchCriteria)
Performs the group search with the specified search criteria and returns the list of matching groups.
|
void |
setContext(org.jahia.services.content.JCRNodeWrapper node,
org.jahia.services.render.RenderContext context) |
void |
setNodePath(String nodePath) |
void |
setRole(String role) |
void |
setRoleGroup(String roleGroup) |
void |
setSearchType(String searchType) |
public String getRoleGroup()
public void setRoleGroup(String roleGroup)
public String getRole()
public void setRole(String role)
public String getNodePath()
public void setNodePath(String nodePath)
public Map<org.jahia.services.content.JCRNodeWrapper,List<org.jahia.services.content.JCRNodeWrapper>> getRoles() throws Exception
Exceptionpublic void setContext(org.jahia.services.content.JCRNodeWrapper node,
org.jahia.services.render.RenderContext context)
throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionpublic List<org.jahia.services.content.JCRNodeWrapper> getRoleMembers() throws Exception
Exceptionpublic void grantRole(String[] principals, org.springframework.binding.message.MessageContext messageContext) throws Exception
Exceptionpublic void revokeRole(String[] principals, org.springframework.binding.message.MessageContext messageContext) throws Exception
Exceptionpublic org.jahia.services.usermanager.SearchCriteria initCriteria(org.springframework.webflow.execution.RequestContext ctx)
public Set<org.jahia.services.content.JCRNodeWrapper> searchNewMembers(org.jahia.services.usermanager.SearchCriteria searchCriteria) throws javax.jcr.RepositoryException
searchCriteria - current search criteriajavax.jcr.RepositoryExceptionpublic void setSearchType(String searchType)
public String getSearchType()
Copyright © 2004–2015 Jahia Solutions Group SA. All rights reserved.