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.
Fields inherited from interface com.ibm.commerce.scheduler.commands.RefreshRegistryCmd
NAME
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.scheduler.commands.RefreshRegistryCmd
getJobId, getJobInstanceId
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.AccCommand
accessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwner
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
Methods inherited from interface com.ibm.commerce.security.Protectable
fulfills, getOwner
Field Detail

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
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.
Specified by:
setRegistryName in interface RefreshRegistryCmd
Parameters:
name - the registry name

Feedback