org.apache.cocoon.portal.tools
Class PortalTool

java.lang.Object
  extended byorg.apache.cocoon.portal.tools.PortalTool

public class PortalTool
extends Object

Represents a PortalTool.

Version:
$Id: PortalTool.java 321068 2005-10-14 10:36:50Z cziegeler $

Field Summary
protected  HashMap functions
           
protected  ArrayList i18n
           
protected  String toolId
           
protected  String toolName
           
 
Constructor Summary
PortalTool(String toolName, String toolId, HashMap functions, ArrayList i18n)
          Creates a new Portal Tool
 
Method Summary
 PortalToolFunction getFunction(String id)
          Returns the function with the id id.
 Collection getFunctions()
          Returns a collection of available function.
 List getI18n()
           
 String getId()
          Returns the id of the tools.
 Collection getInternalFunctions()
          not in use!
 String getName()
          Returns the name of the tool.
 Collection getPublicFunctions()
          return all public functions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

functions

protected final HashMap functions

toolName

protected final String toolName

toolId

protected final String toolId

i18n

protected final ArrayList i18n
Constructor Detail

PortalTool

public PortalTool(String toolName,
                  String toolId,
                  HashMap functions,
                  ArrayList i18n)
Creates a new Portal Tool

Parameters:
toolName -
toolId -
functions -
i18n -
Method Detail

getFunctions

public Collection getFunctions()
Returns a collection of available function.


getFunction

public PortalToolFunction getFunction(String id)
Returns the function with the id id.

Parameters:
id -

getInternalFunctions

public Collection getInternalFunctions()
not in use!


getPublicFunctions

public Collection getPublicFunctions()
return all public functions


getId

public String getId()
Returns the id of the tools.


getName

public String getName()
Returns the name of the tool.


getI18n

public List getI18n()


Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.