public class FetchCatalogEntryByPartNumberTaskCmdImpl extends AbstractFetchCatalogEntrySOICmdImpl
BaseContext
using ,getStoreId()
method in the CatalogComponentHelper
helper classs. This command also checks if the current user is entitled to see retrieved catalog entry.
If current user is entitled to the given Catalog Entry, data is returned otherwise an empty Show BOD is
returned to the client.Constructor and Description |
---|
FetchCatalogEntryByPartNumberTaskCmdImpl()
The default constructor for this class.
|
Modifier and Type | Method and Description |
---|---|
java.util.ArrayList |
fetchCatalogEntrys()
This method retrieves catalog entry data for a given part number passed
by client.
|
ShowType |
getShow()
This method returns the show verb response that represent the results of
the fetch operation.
|
void |
setShow(ShowType showVerb)
This method sets the show response to associated with the fetch
operation.
|
execute, getNouns, getShowCatalogEntryDataArea, isReadyToCallExecute, reset, setGet, setSearchExpression, setVersionCheck
public FetchCatalogEntryByPartNumberTaskCmdImpl()
public java.util.ArrayList fetchCatalogEntrys() throws CatalogSystemException, CatalogApplicationException
CatEntrySearchListDataBean
with the given part number and retrieves an array of
CatalogEntryDataBean
. These databeans are stored in a
ArrayList
and returned back to the calling method.ArrayList
containing CatalogEntryDataBean.CatalogSystemException
CatalogApplicationException
public ShowType getShow()
getShow
in interface FetchCatalogEntryCmd
getShow
in interface AbstractFetchNounCmd
getShow
in class AbstractFetchCatalogEntrySOICmdImpl
FetchCatalogCmd.getShow()
public void setShow(ShowType showVerb)
showVerb
- The responding show verb.