public class ComposeCatalogGroupCatalogGroupChildrenTaskCmdImpl extends java.lang.Object implements ComposeCatalogGroupTaskCmd
DEFAULTCOMMANDCLASSNAME, NAME
Constructor and Description |
---|
ComposeCatalogGroupCatalogGroupChildrenTaskCmdImpl()
Default constructor for the class.
|
Modifier and Type | Method and Description |
---|---|
void |
execute()
Composes the children category details.
|
CatalogGroupType |
getCatalogGroup()
Gets the
CatalogGroupType object composed by this command. |
boolean |
getRecordSetCompleteIndicator()
Gets if the end of records has been reached.
|
java.math.BigInteger |
getRecordSetCount()
Gets the total count of records returned.
|
java.lang.String |
getRecordSetReferenceId()
Not supported.
|
java.math.BigInteger |
getRecordSetStartNumber()
Gets the starting index for the records to be returned.
|
java.math.BigInteger |
getRecordSetTotal()
Gets the total number of records for the current criteria.
|
boolean |
isReadyToCallExecute()
Checks to see if the category data bean required is set.
|
void |
reset()
Resets the value of
CatalogGroupType , CategoryDataBean
objects to null. |
void |
setCatalogGroupDataBean(CategoryDataBean catgrpDataBean)
Sets the
CatalogGroupDataBean object. |
void |
setCatalogGroups(java.util.ArrayList vCatalogGroups)
Sets the list of
CatalogGroupDataBean objects. |
void |
setPagingParams(java.math.BigInteger begIndex,
java.math.BigInteger dispNum)
Sets the beginning index and page size used in paging.
|
public ComposeCatalogGroupCatalogGroupChildrenTaskCmdImpl()
public CatalogGroupType getCatalogGroup()
CatalogGroupType
object composed by this command.getCatalogGroup
in interface ComposeCatalogGroupTaskCmd
public void execute() throws com.ibm.websphere.command.CommandException
execute
in interface com.ibm.websphere.command.Command
com.ibm.websphere.command.CommandException
- when en error occurs while fetching any of these values.public boolean isReadyToCallExecute()
isReadyToCallExecute
in interface com.ibm.websphere.command.Command
public void reset()
CatalogGroupType
, CategoryDataBean
objects to null.reset
in interface com.ibm.websphere.command.Command
public void setCatalogGroupDataBean(CategoryDataBean catgrpDataBean)
CatalogGroupDataBean
object.catgrpDataBean
- the category data bean, which would be used.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)
CatalogGroupDataBean
objects. Only the first one in the list is
used by this command.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