com.ibm.commerce.component.giftregistry.commands

Class ProcessGiftRegistryAuthenticationCmdImpl

  • All Implemented Interfaces:
    BusinessObjectDocumentCmd, com.ibm.commerce.command.CacheableECCommand, ECCommand, ECTargetableCommand, TaskCommand, ProcessGiftRegistryAuthenticationCmd, 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 ProcessGiftRegistryAuthenticationCmdImpl
    extends BusinessObjectDocumentCmdImpl
    implements ProcessGiftRegistryAuthenticationCmd
    This BOD command has two separate paths that are chosen based on the verb action.

    1) On VerbAction.POST - The process calls the CheckGiftRegistryCredentialsCmd to validate the users credentials.

    2) On VerbAction.CANCEL - The process calls the RelinquishGiftRegistryCredentialsCmd to release all the users credentials as in a 'logout' situation.


    On failure to POST or CANCEL, an ECApplicationException is thrown from a delegated command.
    See Also:
    Serialized Form
    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        The internal copyright field.
        See Also:
        Constant Field Values
    • Constructor Detail

      • ProcessGiftRegistryAuthenticationCmdImpl

        public ProcessGiftRegistryAuthenticationCmdImpl()
    • Method Detail

      • performExecute

        public void performExecute()
                            throws ECException
        This method executes either the CheckGiftRegistryCredentialsCmd or RelinquishGiftRegistryCredentialsCmd based on the VerbAction in the verb. A AuthenticationGiftRegistryBOD is required.
        Specified by:
        performExecute in interface ECCommand
        Specified by:
        performExecute in interface com.ibm.websphere.command.TargetableCommand
        Overrides:
        performExecute in class AbstractECTargetableCommand
        Throws:
        ECException