public class FetchContractCmdImpl
extends com.ibm.websphere.command.CacheableCommandImpl
implements com.ibm.commerce.contract.facade.server.commands.FetchContractCmd
Constructor and Description |
---|
FetchContractCmdImpl()
Creates an instance of the fetch Contract command.
|
Modifier and Type | Method and Description |
---|---|
java.util.List |
getContracts()
This method returns a list of Contracts that result because of the fetch
operation.
|
ShowType |
getShow()
This method returns the show verb response that represent the
results of the fetch operation.
|
boolean |
isReadyToCallExecute()
This method returns whether the command has the get verb specified
so it is ready to execute.
|
void |
performExecute()
This method executes the get expression.
|
void |
reset()
This method resets the instance variables so the command can be reused.
|
void |
setGet(GetType getVerb)
This method sets the get expression for the fetch operation.
|
execute, executeFromCache, getCaller, getEntryInfo, getId, getObjectSize, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCache
getCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicy
public FetchContractCmdImpl()
public boolean isReadyToCallExecute()
isReadyToCallExecute
in interface com.ibm.websphere.command.Command
isReadyToCallExecute
in class com.ibm.websphere.command.TargetableCommandImpl
Command.isReadyToCallExecute()
public void reset()
reset
in interface com.ibm.websphere.command.Command
reset
in class com.ibm.websphere.command.CacheableCommandImpl
Command.reset()
public void performExecute() throws java.lang.Exception
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class com.ibm.websphere.command.TargetableCommandImpl
java.lang.Exception
TargetableCommand.performExecute()
public ShowType getShow()
getShow
in interface com.ibm.commerce.contract.facade.server.commands.FetchContractCmd
FetchContractCmd.getShow()
public java.util.List getContracts()
getContracts
in interface com.ibm.commerce.contract.facade.server.commands.FetchContractCmd
FetchContractCmd.getContracts()
public void setGet(GetType getVerb)
setGet
in interface com.ibm.commerce.contract.facade.server.commands.FetchContractCmd
getVerb
- The get expression.FetchContractCmd.setGet(com.ibm.commerce.oagis9.datatypes.GetType)