public class FetchCatalogEntryBySearchTaskCmdImpl extends AbstractFetchCatalogEntrySOICmdImpl
CatalogEntryDataBean
objects populated with all the
available data.
The search criteria are specified as a xpath expression. To
retrieve various parameters in the xpath expression, getSelectionCriteriaMapper()
method, defined in parent AbstractFetchCatalogEntrySOICmdImpl
class is used.
This command searches for the specified criteria within the current catalog, retrieved from the Catalog Context.
By default this command searches for Product, Package, Bundle and DynamicKit. It does not search for Items unless specified in the xpath expression. To enable search for items, 'wc_isSKUexcluded' parameter in xpath expression must be set to 'false'.
The Catalog Entries retrieved from the search are checked against the entitlement contract of the current user. If the current user is not entitled to a catalog entry, it will not be included in the return list.
'/CatalogEntry[CatalogEntryIdentifier[ExternalIdentifier[contains(@PartNumber,'$partNumber$')]]]'
'/CatalogEntry[Description[contains(@Name,'$name$')]]'
'/CatalogEntry[Description[contains(@ShortDescription,'$description$')]]'
Constructor and Description |
---|
FetchCatalogEntryBySearchTaskCmdImpl()
The default constructor for this class.
|
Modifier and Type | Method and Description |
---|---|
java.util.ArrayList |
fetchCatalogEntrys()
This method search and retrieves catalog entries based on the search
criteria passed by client.
|
ShowType |
getShow()
This method returns the show verb response that represents 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 FetchCatalogEntryBySearchTaskCmdImpl()
public java.util.ArrayList fetchCatalogEntrys() throws CatalogSystemException, CatalogApplicationException
CatEntrySearchListDataBean
which returns an array of
CatalogEntryDataBean
populated with all the available
data. These databeans are stored into an ArrayList
and
returned back to calling method.ArrayList
containing CatalogEntryDataBean.CatalogSystemException,
CatalogApplicationException
CatalogSystemException
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 for Catalog Entry noun.