com.ibm.commerce.order.facade.server.commands

Class AbstractFetchQuoteCmdImpl

  • All Implemented Interfaces:
    AbstractFetchNounCmd, com.ibm.commerce.order.facade.server.commands.FetchQuoteCmd, com.ibm.websphere.cache.Sizeable, com.ibm.websphere.command.CacheableCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, com.ibm.websphere.command.TargetableCommand, java.io.Serializable
    Direct Known Subclasses:
    FetchQuoteByExternalQuoteIdCmdImpl


    public abstract class AbstractFetchQuoteCmdImpl
    extends AbstractFetchNounCmdImpl
    implements com.ibm.commerce.order.facade.server.commands.FetchQuoteCmd
    This command is the base command of those commands that retrieve a list of quotes according to the search criteria specified by the client.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      IBM copyright notice field.
      static java.util.logging.Logger LOGGER
      The logger of the class.
      • Fields inherited from class com.ibm.websphere.command.TargetableCommandImpl

        LOCAL
      • Fields inherited from interface com.ibm.commerce.order.facade.server.commands.FetchQuoteCmd

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

        serialVersionUID
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      GetType getGet()
      This method returns the get expression associated with the fetch operation.
      GetQuoteType getGetQuote() 
      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 getPagingParameters()
      This method gets the paging parameter
      java.util.List getQuotes() 
      ShowType getShow()
      This method returns the show verb response that represent the results of the fetch operation.
      ShowQuoteDataAreaType getShowQuoteDataArea()
      This method returns the quote show data.
      boolean isReadyToCallExecute()
      This method returns whether the command has the get verb specified so it is ready to execute.
      void performExecute()
      This method calls the method performSearch() to search the quotes in FetchQuote commands.
      void setGet(GetType getVerb)
      This method sets the get expression for the fetch operation.
      void setGetQuote(GetQuoteType getQuote) 
      void setPagingParameters(ShowType argPagingParameter)
      This method sets the paging parameter
      void setQuotes(java.util.List quotes) 
      void setShow(ShowType showVerb)
      This method sets the show response to associated with the fetch operation.
      void setShowQuoteDataArea(ShowQuoteDataAreaType showQuoteDataArea) 
      • 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, 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, reset
      • Methods inherited from interface com.ibm.websphere.command.TargetableCommand

        getCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputProperties
    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        IBM copyright notice field.
        See Also:
        Constant Field Values
      • LOGGER

        public static final java.util.logging.Logger LOGGER
        The logger of the class.
    • Constructor Detail

      • AbstractFetchQuoteCmdImpl

        public AbstractFetchQuoteCmdImpl()
    • Method Detail

      • getPagingParameters

        public ShowType getPagingParameters()
        This method gets the paging parameter
        Specified by:
        getPagingParameters in interface com.ibm.commerce.order.facade.server.commands.FetchQuoteCmd
        Returns:
        Returns the paging parameter.
      • setPagingParameters

        public void setPagingParameters(ShowType argPagingParameter)
        This method sets the paging parameter
        Specified by:
        setPagingParameters in interface com.ibm.commerce.order.facade.server.commands.FetchQuoteCmd
        Parameters:
        argPagingParameter - The paging parameter to set.
      • isReadyToCallExecute

        public boolean isReadyToCallExecute()
        Description copied from class: AbstractFetchNounCmdImpl
        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
        Overrides:
        isReadyToCallExecute in class AbstractFetchNounCmdImpl
        Returns:
        Whether the command can execute or not.
        See Also:
        Command.isReadyToCallExecute()
      • performExecute

        public void performExecute()
                            throws java.lang.Exception
        This method calls the method performSearch() to search the quotes in FetchQuote commands.
        Specified by:
        performExecute in interface com.ibm.websphere.command.TargetableCommand
        Specified by:
        performExecute in class com.ibm.websphere.command.TargetableCommandImpl
        Throws:
        java.lang.Exception
      • getQuotes

        public java.util.List getQuotes()
        Specified by:
        getQuotes in interface com.ibm.commerce.order.facade.server.commands.FetchQuoteCmd
      • getShowQuoteDataArea

        public ShowQuoteDataAreaType getShowQuoteDataArea()
        This method returns the quote show data.
        Returns:
        the ShowQuoteDataAreaType which contains all the information to be displayed.
      • getNouns

        public 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.
        Specified by:
        getNouns in interface AbstractFetchNounCmd
        Returns:
        The list of nouns that represent the XPath expression.
      • getGetQuote

        public GetQuoteType getGetQuote()
        Returns:
        Returns the iGetQuote.
      • getGet

        public GetType getGet()
        Description copied from class: AbstractFetchNounCmdImpl
        This method returns the get expression associated with the fetch operation.
        Returns:
        Returns the iGetVerb.
      • setGet

        public void setGet(GetType getVerb)
        Description copied from class: AbstractFetchNounCmdImpl
        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
        Overrides:
        setGet in class AbstractFetchNounCmdImpl
        Parameters:
        getVerb - The iGetVerb to set.
        See Also:
        com.ibm.commerce.infastructure.facade.server.commands.FetchWorkspaceCmd#setGet(com.ibm.commerce.oagis9.datatypes.GetType)
      • setShowQuoteDataArea

        public void setShowQuoteDataArea(ShowQuoteDataAreaType showQuoteDataArea)
        Parameters:
        showQuoteDataArea - The iShowQuoteDataArea to set.
      • setShow

        public void setShow(ShowType showVerb)
        Description copied from class: AbstractFetchNounCmdImpl
        This method sets the show response to associated with the fetch operation.
        Parameters:
        showVerb - The iShowVerb to set.
      • setQuotes

        public void setQuotes(java.util.List quotes)
        Parameters:
        quotes - The iQuotes to set.
      • setGetQuote

        public void setGetQuote(GetQuoteType getQuote)
        Specified by:
        setGetQuote in interface com.ibm.commerce.order.facade.server.commands.FetchQuoteCmd
        Parameters:
        getQuote - The iGetQuote to set.