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

Class AbstractFetchNounUsingBusinessObjectMediatorCmdImpl

    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String ACCESS_PROFILE_EXTERNAL_NAME
      The external name used when calling the value mapping service to resolve the access profile alias when calling the data service layer.
      • Fields inherited from class com.ibm.websphere.command.TargetableCommandImpl

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

        serialVersionUID
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      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.
      void performExecute()
      This method calls the business object manager to execute the search expression that was extracted by the get business object document.
      void reset()
      This method resets the instance variables so the command can be reused.
      • 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
      • Methods inherited from interface com.ibm.websphere.command.TargetableCommand

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

      • ACCESS_PROFILE_EXTERNAL_NAME

        public static final java.lang.String ACCESS_PROFILE_EXTERNAL_NAME
        The external name used when calling the value mapping service to resolve the access profile alias when calling the data service layer. The external name is "NounAccessProfile" where Noun is the name of the noun.
        See Also:
        Constant Field Values
    • Constructor Detail

      • AbstractFetchNounUsingBusinessObjectMediatorCmdImpl

        public AbstractFetchNounUsingBusinessObjectMediatorCmdImpl()
        Create an instance of the fetch noun command that uses the business object manager to execute the search expression.
    • Method Detail

      • 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 AbstractFetchNounCmdImpl
        See Also:
        Command.reset()
      • 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
        Specified by:
        performExecute in class com.ibm.websphere.command.TargetableCommandImpl
        Throws:
        java.lang.Exception - An exception was thrown while invoking the business object manager to execute the request.
      • 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.