org.exoplatform.ks.common.conf
Class RoleRulesPlugin
java.lang.Object
org.exoplatform.container.component.BaseComponentPlugin
org.exoplatform.ks.common.conf.ManagedPlugin
org.exoplatform.ks.common.conf.RoleRulesPlugin
- All Implemented Interfaces:
- org.exoplatform.container.component.ComponentPlugin
public class RoleRulesPlugin
- extends ManagedPlugin
Created by The eXo Platform SARL
Author : Truong Nguyen
truong.nguyen@exoplatform.com
Oct 28, 2008, 4:25:54 PM
| Fields inherited from class org.exoplatform.container.component.BaseComponentPlugin |
desc, name |
|
Constructor Summary |
RoleRulesPlugin(org.exoplatform.container.xml.InitParams params)
|
|
Method Summary |
void |
addRule(java.lang.String role,
java.lang.String rule)
|
java.util.Map<java.lang.String,java.util.List<java.lang.String>> |
getAllRules()
|
java.util.List<java.lang.String> |
getRuleNames()
|
java.util.List<java.lang.String> |
getRules(java.lang.String role)
|
| Methods inherited from class org.exoplatform.container.component.BaseComponentPlugin |
setDescription, setName |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RoleRulesPlugin
public RoleRulesPlugin(org.exoplatform.container.xml.InitParams params)
throws java.lang.Exception
- Throws:
java.lang.Exception
addRule
public void addRule(java.lang.String role,
java.lang.String rule)
getRules
public java.util.List<java.lang.String> getRules(java.lang.String role)
getRuleNames
public java.util.List<java.lang.String> getRuleNames()
getAllRules
public java.util.Map<java.lang.String,java.util.List<java.lang.String>> getAllRules()
Copyright © 2011 eXo Platform SAS. All Rights Reserved.