com.ibm.commerce.infrastructure.facade.server.commands

Class FetchOnlineStoreCmdImpl

  • All Implemented Interfaces:
    AbstractFetchNounCmd, FetchOnlineStoreCmd, 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


    public class FetchOnlineStoreCmdImpl
    extends AbstractFetchNounUsingBusinessObjectMediatorCmdImpl
    implements FetchOnlineStoreCmd
    This command is used to fetch OnlineStore nouns. The parent class will call the ReadOnlineStoreMediator to return the logical SDOs resulting from the search criteria and the access profile. DSL is used to run the appropriate SQL based on the search criteria and the access profile, and the read mediator transforms the physical SDOs into the logical SDOs.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor and Description
      FetchOnlineStoreCmdImpl()
      This method is the default constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.util.List getOnlineStores()
      Returns the list of OnlineStores that where retrieved when executing the fetch.
      void performExecute()
      This method calls the business object manager to execute the search expression that was extracted by the get business object document.
      • 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, isReadyToCallExecute, 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
    • Constructor Detail

      • FetchOnlineStoreCmdImpl

        public FetchOnlineStoreCmdImpl()
        This method is the default constructor. It delegates to the parent class to fetch the online stores.
    • Method Detail

      • getOnlineStores

        public java.util.List getOnlineStores()
        Returns the list of OnlineStores that where retrieved when executing the fetch.
        Specified by:
        getOnlineStores in interface FetchOnlineStoreCmd
        Returns:
        A list of OnlineStores that represents the results of executing the query expression.
      • performExecute

        public void performExecute()
                            throws java.lang.Exception
        This method calls the business object manager to execute the search expression that was extracted by the get business object document. The search expression which was created by the Get controller is passed directly to the business component instance of the business object manager. The business object manager returns a list of nouns that represent the search expression.
        Specified by:
        performExecute in interface com.ibm.websphere.command.TargetableCommand
        Overrides:
        performExecute in class AbstractFetchNounUsingBusinessObjectMediatorCmdImpl
        Throws:
        java.lang.Exception - An exception was thrown while invoking the business object manager to execute the request.