org.apache.cocoon.portal.tools
Class PortalToolFunction

java.lang.Object
  extended by org.apache.cocoon.portal.tools.PortalToolFunction
All Implemented Interfaces:
PortalToolComponent

public class PortalToolFunction
extends Object
implements PortalToolComponent

Represents a function the user can call via the ui or the ToolManager

Version:
CVS $Id: PortalToolFunction.html 1304258 2012-03-23 10:09:27Z ilgrosso $

Constructor Summary
PortalToolFunction()
          Constructor
PortalToolFunction(String name, String id, String function)
          Constructor
 
Method Summary
 String getFunction()
          Returns the Functionname
 String getId()
          Returns the id of the component
 String getName()
          Returns the name of the component
 boolean isInternal()
          not in use!
 void setFunction(String path)
          Sets the Functionname
 void setId(String id)
          Sets the id of the component
 void setInternal(boolean internal)
          not in use!
 void setName(String name)
          Sets the name of the component
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortalToolFunction

public PortalToolFunction()
Constructor


PortalToolFunction

public PortalToolFunction(String name,
                          String id,
                          String function)
Constructor

Parameters:
name - Function-Name
id - Id
function - Corresponding flow functino
Method Detail

getId

public String getId()
Description copied from interface: PortalToolComponent
Returns the id of the component

Specified by:
getId in interface PortalToolComponent

setId

public void setId(String id)
Description copied from interface: PortalToolComponent
Sets the id of the component

Specified by:
setId in interface PortalToolComponent

getName

public String getName()
Description copied from interface: PortalToolComponent
Returns the name of the component

Specified by:
getName in interface PortalToolComponent

setName

public void setName(String name)
Description copied from interface: PortalToolComponent
Sets the name of the component

Specified by:
setName in interface PortalToolComponent

getFunction

public String getFunction()
Returns the Functionname


setFunction

public void setFunction(String path)
Sets the Functionname

Parameters:
path -

isInternal

public boolean isInternal()
not in use!


setInternal

public void setInternal(boolean internal)
not in use!

Parameters:
internal -


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.