com.ibm.commerce.scheduler.commands
Interface UpdateRegistryCmd
- All Superinterfaces:
- AccCommand, ControllerCommand, ECCommand, Protectable, RefreshRegistryCmd
- 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 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. |
Methods inherited from interface com.ibm.commerce.command.ControllerCommand |
checkPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRequestProperties, setRetriable, setViewInputProperties |
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters |
COPYRIGHT
public static final java.lang.String COPYRIGHT
- IBM Copyright notice field.
- See Also:
- Constant Field Values
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
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.
-
- Specified by:
- setRegistryName in interface RefreshRegistryCmd
-
- Parameters:
- name - the registry name
Feedback
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.