|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cocoon.portal.tools.PortalToolManager
public class PortalToolManager
Field Summary | |
---|---|
protected SourceResolver |
resolver
The source resolver |
static String |
ROLE
|
Constructor Summary | |
---|---|
PortalToolManager()
|
Method Summary | |
---|---|
void |
dispose()
|
Configuration |
getConfiguration()
Returns the Configuration for the plugins |
List |
getI18n()
|
PortalObjects |
getPortalObjects()
|
PortalTool |
getTool(String id)
Returns the tool with the id. |
Collection |
getTools()
Returns a Collection of all Tools |
Collection |
getToolsWithFunctions()
Returns a Collection of tools which offers functions |
UserRightsService |
getUserRightsService()
|
void |
init()
Initializes the PortalToolManager. |
void |
parameterize(Parameters para)
|
void |
releasePortalObjects(PortalObjects pObj)
|
void |
saveConfiguration()
Saves the configuration |
void |
service(ServiceManager manager)
|
String |
sGet(String key)
Returns a value from the auth context |
void |
sSet(String key,
String value)
Sets a value in the auth context |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String ROLE
protected SourceResolver resolver
Constructor Detail |
---|
public PortalToolManager()
Method Detail |
---|
public void parameterize(Parameters para) throws ParameterException
parameterize
in interface Parameterizable
ParameterException
public void init() throws ProcessingException, IOException
ProcessingException
IOException
public Collection getTools()
public PortalTool getTool(String id)
id
- Tool-Idpublic Collection getToolsWithFunctions()
public List getI18n()
public void service(ServiceManager manager) throws ServiceException
service
in interface Serviceable
ServiceException
public Configuration getConfiguration()
public void saveConfiguration()
public UserRightsService getUserRightsService()
public String sGet(String key)
key
- Path (e.g. /foo/bar)public void sSet(String key, String value)
key
- Path (e.g. /foo/bar)value
- Valuepublic void dispose()
dispose
in interface Disposable
public PortalObjects getPortalObjects()
public void releasePortalObjects(PortalObjects pObj)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |