com.ibm.commerce.foundation.server.command.bod

Class AbstractFetchNounCmdImpl

  • java.lang.Object
    • com.ibm.websphere.command.TargetableCommandImpl
      • com.ibm.websphere.command.CacheableCommandImpl
        • com.ibm.commerce.foundation.server.command.bod.AbstractFetchNounCmdImpl
    • Field Summary

      • Fields inherited from class com.ibm.websphere.command.TargetableCommandImpl

        LOCAL
      • Fields inherited from interface com.ibm.websphere.command.Command

        serialVersionUID
    • Constructor Summary

      Constructors 
      Constructor and Description
      AbstractFetchNounCmdImpl()
      Creates an instance of the abstract fetch command implementation.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      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 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.
      void setSearchExpression(SearchExpression searchExpression)
      This method sets the selection expression for the fetch operation.
      • Methods inherited from class com.ibm.websphere.command.CacheableCommandImpl

        execute, executeFromCache, getCaller, getEntryInfo, getId, getObjectSize, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCache
      • Methods inherited from class com.ibm.websphere.command.TargetableCommandImpl

        getCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, performExecute, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicy
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface com.ibm.websphere.command.Command

        execute
      • Methods inherited from interface com.ibm.websphere.command.TargetableCommand

        getCommandTarget, getCommandTargetName, hasOutputProperties, performExecute, setCommandTarget, setCommandTargetName, setOutputProperties
    • Constructor Detail

      • AbstractFetchNounCmdImpl

        public AbstractFetchNounCmdImpl()
        Creates an instance of the abstract fetch command implementation.
    • Method Detail

      • isReadyToCallExecute

        public boolean isReadyToCallExecute()
        This method returns whether the command has the get verb specified so it is ready to execute.
        Specified by:
        isReadyToCallExecute in interface com.ibm.websphere.command.Command
        Specified by:
        isReadyToCallExecute in class com.ibm.websphere.command.TargetableCommandImpl
        Returns:
        Whether the command can execute or not.
        See Also:
        Command.isReadyToCallExecute()
      • reset

        public void reset()
        This method resets the instance variables so the command can be reused.
        Specified by:
        reset in interface com.ibm.websphere.command.Command
        Overrides:
        reset in class com.ibm.websphere.command.CacheableCommandImpl
        See Also:
        Command.reset()
      • getShow

        public ShowType getShow()
        This method returns the show verb response that represent the results of the fetch operation.
        Specified by:
        getShow in interface AbstractFetchNounCmd
        Returns:
        The show verb response.
        See Also:
        com.ibm.commerce.infastructure.facade.server.commands.FetchWorkspaceCmd#getShow()
      • setGet

        public void setGet(GetType getVerb)
        This method sets the get expression for the fetch operation. This get expression can also include the paging information to base the results to show.
        Specified by:
        setGet in interface AbstractFetchNounCmd
        Parameters:
        getVerb - The get expression.
        See Also:
        com.ibm.commerce.infastructure.facade.server.commands.FetchWorkspaceCmd#setGet(com.ibm.commerce.oagis9.datatypes.GetType)
      • setSearchExpression

        public void setSearchExpression(SearchExpression searchExpression)
        This method sets the selection expression for the fetch operation. This get expression can also include the paging information to base the results to show.
        Specified by:
        setSearchExpression in interface AbstractFetchNounCmd
        Parameters:
        searchExpression - The search expression.