public class ComposeCatalogDetailsTaskCmdImpl extends java.lang.Object implements ComposeCatalogTaskCmd
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
DEFAULTCOMMANDCLASSNAME, NAME
Constructor and Description |
---|
ComposeCatalogDetailsTaskCmdImpl()
The default constructor for the class.
|
Modifier and Type | Method and Description |
---|---|
void |
execute()
This method composes the ShowCatalog BOD.
|
CatalogType |
getCatalog()
Return the ShowCatalog BOD.
|
boolean |
isReadyToCallExecute()
This method checks if the catalog data bean required to return the catalog information has been set.
|
void |
reset()
This method resets the catalog data bean used in the command to null.
|
void |
setCatalogs(java.util.ArrayList avCatalogs)
Set the input list of catalogs.
|
public static final java.lang.String COPYRIGHT
public ComposeCatalogDetailsTaskCmdImpl()
public CatalogType getCatalog()
getCatalog
in interface ComposeCatalogTaskCmd
public void setCatalogs(java.util.ArrayList avCatalogs)
ComposeCatalogTaskCmd
setCatalogs
in interface ComposeCatalogTaskCmd
avCatalogs
- - A list of Catalog data bean.public void execute() throws com.ibm.websphere.command.CommandException
CatalogDataBean
.The information is according to the output definition
of WC_CatalogDetailsProfile access profile.The following details are included in this access profile.
The details returned for the catalog include,
execute
in interface com.ibm.websphere.command.Command
com.ibm.websphere.command.CommandException
- when the required information cannot be retrieved from the catalog data bean.public boolean isReadyToCallExecute()
isReadyToCallExecute
in interface com.ibm.websphere.command.Command
public void reset()
reset
in interface com.ibm.websphere.command.Command