+

Search Tips   |   Advanced Search

 PREV CLASS   NEXT CLASS
Tree 
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.ibm.portal.sitemanagement.command
Interface SitemanagementCommandFactory

public interface SitemanagementCommandFactory

This interface provides access to SitemanagementCommand objects to avoid direct object creation. The command returned can only be executed once. Subseqent commands require additional invocation of the createCommand() method.

Since:
6.1

Method Summary
<T extends SitemanagementCommand>
T
createCommand(java.lang.Class<T> aCommandClass, SitemanagementCommandContext<? extends T> aContext)
          Return a Command object.
 

Method Detail

createCommand

<T extends SitemanagementCommand> T createCommand(java.lang.Class<T> aCommandClass,
                                                  SitemanagementCommandContext<? extends T> aContext)
                                              throws java.lang.IllegalAccessException,
                                                     java.lang.InstantiationException
Returns a Command object. The command returned can only be executed once. Subseqent commands require additional invocation of the createCommand() method.

Parameters:
aCommandClass - specifying the Command class type
aContext - context for building the command
Returns:
command object
Throws:
java.lang.IllegalAccessException
java.lang.InstantiationException
 PREV CLASS   NEXT CLASS
Tree 
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD