com.ibm.commerce.scheduler.commands
Interface UpdateRegistryCmd

All Known Implementing Classes:
UpdateRegistryCmdImpl

public interface UpdateRegistryCmd

Command to update an element of a registry that implements the com.ibm.commerce.registry.ElementUpdate interface.

See Also:
com.ibm.commerce.registry.ElementUpdate

Field Summary
static java.lang.String COPYRIGHT
          IBM Copyright notice field.
static java.lang.String defaultCommandClassName
          The default implementation of this command.
static java.lang.String URLNAME
          The URL name of this command.
 
Method Summary
 void setAction(java.lang.String action)
          Sets the action for the element.
 void setItemKey(java.lang.String key)
          Deprecated. Replaced by setKey(String).
 void setKey(java.lang.String key)
          Sets the cache key for registry the element.
 void setRegistryName(java.lang.String name)           Sets the name of the registry to be refreshed.
 

Field Detail
public static final java.lang.String COPYRIGHT
IBM Copyright notice field.

defaultCommandClassName

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

URLNAME

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

setAction

public 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

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

setItemKey

public 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

public void setRegistryName(java.lang.String name)
Sets the name of the registry to be refreshed.
Parameters:
name - the registry name