public class ComposeCatalogEntrySummaryTaskCmdImpl extends java.lang.Object implements ComposeCatalogEntryTaskCmd
AbstractFetchCatalogEntrySOICmdImpl
. It populates
the Catalog Entry BOD using CatalogEntryDataBean
.
Following is the output data for Show Catalog Entry: DEFAULTCOMMANDCLASSNAME, NAME
Constructor and Description |
---|
ComposeCatalogEntrySummaryTaskCmdImpl() |
Modifier and Type | Method and Description |
---|---|
void |
execute()
The method contains the actual business logic of this task command.
|
CatalogEntryType |
getCatalogEntry()
This method retrieves
CatalogEntryType . |
boolean |
isReadyToCallExecute()
This method is called before calling execute() method to check if a non
null object of
CatalogEntryDataBean is present which is
used to retrieve data required to populate CatalogEntryType . |
void |
reset()
This method is used to reset the objects of
CatalogEntryDataBean and CatalogEntryType
to null value after processing is done. |
void |
setCatalogEntry(java.util.ArrayList avCataloEntry)
This method sets
CatalogEntryDataBean which is used to
populate CatalogEntryType . |
public ComposeCatalogEntrySummaryTaskCmdImpl()
public CatalogEntryType getCatalogEntry()
CatalogEntryType
.getCatalogEntry
in interface ComposeCatalogEntryTaskCmd
CatalogEntryType
.public void setCatalogEntry(java.util.ArrayList avCataloEntry)
CatalogEntryDataBean
which is used to
populate CatalogEntryType
.setCatalogEntry
in interface ComposeCatalogEntryTaskCmd
avCataloEntry
- an ArrayList
containing the catentry data bean.public void execute() throws com.ibm.websphere.command.CommandException
CatalogEntryDataBean
to populate data in
Catalog Entry Show BOD. It calls a series of methods to populate different parts of
Catalog Entry Show BOD. execute
in interface com.ibm.websphere.command.Command
com.ibm.websphere.command.CommandException
- This exception is raised when a command key is not present
in the command registery.public boolean isReadyToCallExecute()
CatalogEntryDataBean
is present which is
used to retrieve data required to populate CatalogEntryType
.isReadyToCallExecute
in interface com.ibm.websphere.command.Command
CatalogEntryDataBean
is
not null, else returns false.public void reset()
CatalogEntryDataBean
and CatalogEntryType
to null value after processing is done.reset
in interface com.ibm.websphere.command.Command