com.ibm.commerce.scheduler.commands

Interface UpdateRegistryCmd

  • All Superinterfaces:
    AccCommand, com.ibm.websphere.command.CacheableCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, ControllerCommand, ECCommand, Protectable, RefreshRegistryCmd, java.io.Serializable, com.ibm.websphere.command.TargetableCommand


    public interface UpdateRegistryCmd
    extends RefreshRegistryCmd
    Command to update an element of a registry that implements the com.ibm.commerce.registry.ElementUpdate interface.
    See Also:
    ElementUpdate
    • Field Detail

      • COPYRIGHT

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

        static final java.lang.String defaultCommandClassName
        The default implementation of this command.
        See Also:
        Constant Field Values
      • URLNAME

        static final java.lang.String URLNAME
        The URL name of this command.
        See Also:
        Constant Field Values
    • Method Detail

      • setAction

        void setAction(java.lang.String action)
        Sets the action for the element.
        Parameters:
        action - The valid actions are EC_REGISTRY_ELEMENT_DELETE = "delete"; EC_REGISTRY_ELEMENT_ADD = "add"; EC_REGISTRY_ELEMENT_UPDATE = "update";
      • setKey

        void setKey(java.lang.String key)
        Sets the cache key for registry the element.
        Parameters:
        key - The cache key for the registry element.
      • setItemKey

        void setItemKey(java.lang.String key)
        Deprecated. Replaced by setKey(String).
        Sets the cache key for registry the element.
        Parameters:
        key - The cache key for the registry element.
      • setRegistryName

        void setRegistryName(java.lang.String name)
        Sets the name of the registry to be refreshed.
        Specified by:
        setRegistryName in interface RefreshRegistryCmd
        Parameters:
        name - the registry name