com.ibm.portal.model.command
Interface Command

All Superinterfaces:
Disposable
All Known Subinterfaces:
InstantiateTemplateContentNodeCommand, RefreshPageLayoutCommand

public interface Command
extends Disposable

Basic command interface that is implemented by all commands that can be created via the CommandFactory. Each command must be disposed via calls to Disposable.dispose() when not needed any longer.

Since:
8.0
Note:
This interface is designed to be implemented by clients.

Method Summary
 java.lang.Class<? extends Command> getCommandClass()
          Returns the class object of the command interface used to access this command
 
Methods inherited from interface com.ibm.portal.Disposable
dispose
 

Method Detail

getCommandClass

java.lang.Class<? extends Command> getCommandClass()
Returns the class object of the command interface used to access this command

Returns:
the class object, not null