com.ibm.commerce.member.facade.server.commands

Class FetchOrganizationCmdImpl

  • java.lang.Object
    • com.ibm.websphere.command.TargetableCommandImpl
      • com.ibm.websphere.command.CacheableCommandImpl
        • com.ibm.commerce.member.facade.server.commands.FetchOrganizationCmdImpl
  • All Implemented Interfaces:
    FetchOrganizationCmd, 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 FetchOrganizationCmdImpl
    extends com.ibm.websphere.command.CacheableCommandImpl
    implements FetchOrganizationCmd
    Fetches organizations based on the GetType search criteria.
  • {_wcf.ap=$accessProfile$}/Organization[OrganizationIdentifier[(UniqueID='$organizationId$')]] - finds an organization based on the Unique ID
  • {_wcf.ap=$accessProfile$}/Organization[OrganizationIdentifier[(DistinguishedName='$distinguishedName$')]] - finds an organization based on the distinguished name

    Returns a list of OrgEntityDataBean representing the Organizations found
See Also:
Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      IBM Copyright notice field.
      • 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
      FetchOrganizationCmdImpl()
      Creates an instance of the fetch Organization command.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.util.List getOrganizations()
      Returns a list of OrgEntityDataBean representing the Organizations found based on the GetType search criteria.
      ShowType getShow()
      Returns the show verb response that represent the results of the fetch operation.
      boolean isReadyToCallExecute()
      Checks if the command is ready to execute.
      void performExecute()
      Fetches organizations based on the search criteria specified in the GetType.
      void reset()
      Resets the instance variables so the command can be reused.
      void setGet(GetType getVerb)
      Sets the get 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, 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, setCommandTarget, setCommandTargetName, setOutputProperties
    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        IBM Copyright notice field.
        See Also:
        Constant Field Values
    • Constructor Detail

      • FetchOrganizationCmdImpl

        public FetchOrganizationCmdImpl()
        Creates an instance of the fetch Organization command.
    • Method Detail

      • isReadyToCallExecute

        public boolean isReadyToCallExecute()
        Checks if the command 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:
        true if the get verb is not null; false otherwise
        See Also:
        Command.isReadyToCallExecute()
      • reset

        public void reset()
        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()
      • performExecute

        public void performExecute()
                            throws java.lang.Exception
        Fetches organizations based on the search criteria specified in the GetType.
        Specified by:
        performExecute in interface com.ibm.websphere.command.TargetableCommand
        Specified by:
        performExecute in class com.ibm.websphere.command.TargetableCommandImpl
        Throws:
        java.lang.Exception
        See Also:
        TargetableCommand.performExecute()