public class ComposeTopCategoriesTaskCmdImpl extends java.lang.Object implements ComposeCatalogGroupTaskCmd
DEFAULTCOMMANDCLASSNAME, NAME
Constructor and Description |
---|
ComposeTopCategoriesTaskCmdImpl()
Default constructor for the class.
|
Modifier and Type | Method and Description |
---|---|
void |
execute()
Composes each Top category of a catalog.
|
CatalogGroupType |
getCatalogGroup()
This method gets the ShowCatalogGroup BOD.
|
boolean |
getRecordSetCompleteIndicator() |
java.math.BigInteger |
getRecordSetCount() |
java.lang.String |
getRecordSetReferenceId()
Not supported
|
java.math.BigInteger |
getRecordSetStartNumber() |
java.math.BigInteger |
getRecordSetTotal() |
boolean |
isReadyToCallExecute() |
void |
reset() |
void |
setCatalogGroupDataBean(CategoryDataBean catgrpDataBean)
This is a setter method for setting tne category data bean for compose command.
|
void |
setCatalogGroups(java.util.ArrayList vCatalogGroups)
This is a helper method which sets the catalog group data bean, passed as the first element
of the containing list.
|
void |
setPagingParams(java.math.BigInteger begIndex,
java.math.BigInteger dispNum)
This is a helper method which sets the paging parameters.
|
public ComposeTopCategoriesTaskCmdImpl()
public CatalogGroupType getCatalogGroup()
ComposeCatalogGroupTaskCmd
getCatalogGroup
in interface ComposeCatalogGroupTaskCmd
CatalogGroupType
containing the information about the category.public void execute() throws com.ibm.websphere.command.CommandException
execute
in interface com.ibm.websphere.command.Command
com.ibm.websphere.command.CommandException
public boolean isReadyToCallExecute()
isReadyToCallExecute
in interface com.ibm.websphere.command.Command
public void reset()
reset
in interface com.ibm.websphere.command.Command
public void setCatalogGroupDataBean(CategoryDataBean catgrpDataBean)
catgrpDataBean
- The category data bean to be used for the compose.public void setPagingParams(java.math.BigInteger begIndex, java.math.BigInteger dispNum)
setPagingParams
in interface ComposeCatalogGroupTaskCmd
begIndex
- The begining index.dispNum
- The page size.public void setCatalogGroups(java.util.ArrayList vCatalogGroups)
setCatalogGroups
in interface ComposeCatalogGroupTaskCmd
vCatalogGroups
- a list of catalog group data bean.public boolean getRecordSetCompleteIndicator()
getRecordSetCompleteIndicator
in interface ComposeCatalogGroupTaskCmd
public java.math.BigInteger getRecordSetCount()
getRecordSetCount
in interface ComposeCatalogGroupTaskCmd
public java.math.BigInteger getRecordSetStartNumber()
getRecordSetStartNumber
in interface ComposeCatalogGroupTaskCmd
public java.math.BigInteger getRecordSetTotal()
getRecordSetTotal
in interface ComposeCatalogGroupTaskCmd
public java.lang.String getRecordSetReferenceId()
getRecordSetReferenceId
in interface ComposeCatalogGroupTaskCmd