| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibm.portal.struts.plugins.CommandManagerFactory
public abstract class CommandManagerFactory
The CommandManager
class is a factory class for creating
classes that control the storage and retrieval of IViewCommands. The
subclass must implement the methods to get, set and remove commands.
Constructor Summary | |
---|---|
CommandManagerFactory()
Construct the factory object. |
Method Summary | |
---|---|
abstract IViewCommand | getCommand(PortletRequest request,
PortletResponse response)
Get the IViewCommand. |
abstract IViewCommand | PortletResponse, java.lang.String)">getCommand(PortletRequest request,
PortletResponse response,
java.lang.String prefix)
Get the IViewCommand. |
java.lang.String | PortletRequest)">getCommandPrefix(PortletRequest request)
Returns the command prefix determined from the request object. |
static CommandManagerFactory | ServletContext)">getFactory(ServletContext servletContext)
Get the CommandManagerFactory object for this context. |
abstract void | PortletResponse, java.lang.String)">removeCommand(PortletRequest request,
PortletResponse response,
java.lang.String prefix)
Remove the IViewCommand. |
abstract void | PortletResponse, com.ibm.portal.struts.command.IViewCommand)">setCommand(PortletRequest request,
PortletResponse response,
IViewCommand command)
Set the IViewCommand. |
abstract void | PortletResponse, com.ibm.portal.struts.command.IViewCommand, java.lang.String)">setCommand(PortletRequest request,
PortletResponse response,
IViewCommand command,
java.lang.String prefix)
Set the IViewCommand. |
static void | setFactory(ServletContext servletContext,
CommandManagerFactory factory)
Set a new CommandManagerFactory object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CommandManagerFactory()
Method Detail |
---|
public java.lang.String getCommandPrefix(PortletRequest request)
public static void setFactory(ServletContext servletContext, CommandManagerFactory factory)
public static CommandManagerFactory getFactory(ServletContext servletContext)
public abstract IViewCommand getCommand(PortletRequest request, PortletResponse response) throws PortletException
null
public abstract IViewCommand getCommand(PortletRequest request, PortletResponse response, java.lang.String prefix) throws PortletException
null
public abstract void setCommand(PortletRequest request, PortletResponse response, IViewCommand command) throws PortletException
public abstract void setCommand(PortletRequest request, PortletResponse response, IViewCommand command, java.lang.String prefix) throws PortletException
public abstract void removeCommand(PortletRequest request, PortletResponse response, java.lang.String prefix) throws PortletException
| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |