public class FetchCatalogEntryBySearchTaskCmdImpl extends AbstractFetchCatalogEntrySOICmdImpl
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.
|
protected void | setCatalogs(java.util.List catalogs)
This method sets the list of Catalog Entries retrieved by running the fetch operation.
|
void | setShow(ShowType showVerb)
This method sets the show response to associated with the fetch operation.
|
public FetchCatalogEntryBySearchTaskCmdImpl()
public java.util.ArrayList fetchCatalogEntrys() throws CatalogSystemException, CatalogApplicationException
public ShowType getShow()
public void setShow(ShowType showVerb)
protected void setCatalogs(java.util.List catalogs)