org.exoplatform.forum.common.conf
Class RoleRulesPlugin

java.lang.Object
  extended by org.exoplatform.container.component.BaseComponentPlugin
      extended by org.exoplatform.forum.common.conf.ManagedPlugin
          extended by org.exoplatform.forum.common.conf.RoleRulesPlugin
All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin

public class RoleRulesPlugin
extends org.exoplatform.forum.common.conf.ManagedPlugin

Created by The eXo Platform SARL Author : Truong Nguyen truong.nguyen@exoplatform.com Oct 28, 2008, 4:25:54 PM


Field Summary
 
Fields inherited from class org.exoplatform.container.component.BaseComponentPlugin
desc, name
 
Constructor Summary
RoleRulesPlugin(org.exoplatform.container.xml.InitParams params)
           
 
Method Summary
 void addRule(String role, String rule)
           
 Map<String,List<String>> getAllRules()
           
 List<String> getRuleNames()
           
 List<String> getRules(String role)
           
 
Methods inherited from class org.exoplatform.forum.common.conf.ManagedPlugin
getDescription, getName
 
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
 

Constructor Detail

RoleRulesPlugin

public RoleRulesPlugin(org.exoplatform.container.xml.InitParams params)
                throws Exception
Throws:
Exception
Method Detail

addRule

public void addRule(String role,
                    String rule)

getRules

public List<String> getRules(String role)

getRuleNames

public List<String> getRuleNames()

getAllRules

public Map<String,List<String>> getAllRules()


Copyright © 2013 eXo Platform SAS. All Rights Reserved.