public abstract class AbstractFetchCatalogSOICmdImpl extends java.lang.Object implements FetchCatalogCmd
com.ibm.commerce.catalog.commands.StoreCatalogDisplayCmd
. That is the user who has the access to
run StoreCatalogDisplayCmd will be able to run this command.Constructor and Description |
---|
AbstractFetchCatalogSOICmdImpl()
The default constructor for the class.
|
Modifier and Type | Method and Description |
---|---|
void |
execute()
This method is used to call the appropriate fetch method based on the Xpath key.
|
java.util.logging.Logger |
getLogger() |
java.util.List |
getNouns()
This method returns the list of nouns that have been retrieved by the business
object manager that matches the specified XPath expression.
|
ShowType |
getShow()
Get the show type.
|
ShowCatalogDataAreaType |
getShowCatalogDataArea() |
boolean |
isReadyToCallExecute() |
void |
reset()
Resets the command fields, so that the
getSelectionCriteriaMapper() and getShowCatalogDataArea() return null. |
void |
setGet(GetType getVerb)
This method sets the get expression for the fetch operation.
|
void |
setSearchExpression(SearchExpression searchExpression)
Set the search expression.
|
void |
setVersionCheck(java.lang.String versionCheck)
This method sets whether the implementation is dependent on whether the version is
found in the business object document request.
|
public AbstractFetchCatalogSOICmdImpl()
public java.util.logging.Logger getLogger()
public ShowCatalogDataAreaType getShowCatalogDataArea()
ShowCatalogDataAreaType
containing the all the Catalog information to be displayed.public void execute() throws com.ibm.websphere.command.CommandException, CatalogSystemException
com.ibm.commerce.foundation.server.util.oagis.SelectionCriteriaMapper
,
which can be obtained by the getSelectionCriteriaMapper()
method.execute
in interface com.ibm.websphere.command.Command
CommandException,
- when a runtime exception is caught.CatalogSystemException,
- , when the Required parameters are not set or the compose command is not found.com.ibm.websphere.command.CommandException
CatalogSystemException
public boolean isReadyToCallExecute()
isReadyToCallExecute
in interface com.ibm.websphere.command.Command
public void reset()
getSelectionCriteriaMapper()
and getShowCatalogDataArea()
return null.reset
in interface com.ibm.websphere.command.Command
public void setGet(GetType getVerb)
setGet
in interface FetchCatalogCmd
setGet
in interface AbstractFetchNounCmd
getVerb
- The get expression.FetchCatalogCmd.setGet(com.ibm.commerce.oagis9.datatypes.GetType)
public void setSearchExpression(SearchExpression searchExpression)
setSearchExpression
in interface AbstractFetchNounCmd
searchExpression
- The search expression to execute.AbstractFetchNounCmd.setSearchExpression(com.ibm.commerce.foundation.server.command.bod.SearchExpression)
public java.util.List getNouns()
getNouns
in interface AbstractFetchNounCmd
public ShowType getShow()
getShow
in interface FetchCatalogCmd
getShow
in interface AbstractFetchNounCmd
AbstractFetchNounCmd.getShow()
public void setVersionCheck(java.lang.String versionCheck)
FetchCatalogCmdImpl
. The default
behaviour is to perform this decision process of selecting which implementation to use.versionCheck
- Whether this version check needs to be enforced. A value of false
means
that this implementation will be used regardless if the version is specified in the business
object document.