public abstract class AbstractFetchCatalogEntrySOICmdImpl extends java.lang.Object implements FetchCatalogEntryCmd
Constructor and Description |
---|
AbstractFetchCatalogEntrySOICmdImpl()
This constructor calls the constructor of super class.
|
Modifier and Type | Method and Description |
---|---|
void |
execute()
The method contains the actual business logic of this command.
|
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.
|
ShowCatalogEntryDataAreaType |
getShowCatalogEntryDataArea()
This method retrieves the data area of Catalog Entry BOD.
|
boolean |
isReadyToCallExecute()
Checks if GetVerb is not null.
|
void |
reset()
Initializes objects of
SelectionCriteriaMapper and
ShowCatalogEntryDataArea to 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 AbstractFetchCatalogEntrySOICmdImpl()
public ShowCatalogEntryDataAreaType getShowCatalogEntryDataArea()
ShowCatalogEntryDataAreaType
.public void execute() throws com.ibm.websphere.command.CommandException, CatalogSystemException
CommandFactory
is used to map the xpath key to fetch task command implementation.
After mapping it creates an instance of the command and runs it.
CMDREG table is used to resolve these mappings.
Based on the xpath key the concrete implementation of fetch task command is called.
Based on the access profile this method calls compose task command implementation.execute
in interface com.ibm.websphere.command.Command
com.ibm.websphere.command.CommandException
- This exception is raised when a command key is not present
in the command registry.CatalogSystemException
- This exception is raised if GetType
verb is null or Access profile is null.public boolean isReadyToCallExecute()
isReadyToCallExecute
in interface com.ibm.websphere.command.Command
public void reset()
SelectionCriteriaMapper
and
ShowCatalogEntryDataArea
to null.reset
in interface com.ibm.websphere.command.Command
public void setGet(GetType getVerb)
setGet
in interface FetchCatalogEntryCmd
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 FetchCatalogEntryCmd
getShow
in interface AbstractFetchNounCmd
AbstractFetchNounCmd.getShow()
public void setVersionCheck(java.lang.String versionCheck)
FetchCatalogEntryCmdImpl
. 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.