com.ibm.commerce.scheduler.commands
Interface RefreshRegistryCmd

All Superinterfaces:
AccCommand, ControllerCommand, ECCommand
All Known Subinterfaces:
UpdateRegistryCmd
All Known Implementing Classes:
RefreshRegistryCmdImpl, UpdateRegistryCmdImpl

public interface RefreshRegistryCmd
extends ControllerCommand

Refresh the registry on all clones on the Commerce Server instance.


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 NAME
          The name of this command.
 
Method Summary
 java.lang.Long getJobId()
          Gets the job reference number for the registry update.
 java.lang.Long getJobInstanceId()
          Gets the job instance number for the time the registry refresh will be performed.
 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. 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
 

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

NAME

public static final java.lang.String NAME
The name of this command.
See Also:
Constant Field Values

defaultCommandClassName

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

getJobId

public java.lang.Long getJobId()
Gets the job reference number for the registry update.
Returns:
The job reference number.

getJobInstanceId

public java.lang.Long getJobInstanceId()
Gets the job instance number for the time the registry refresh will be performed.
Returns:
The job instance number.

setRegistryName

public void setRegistryName(java.lang.String name)
Sets the name of the registry to be refreshed. null value means all registries will be refresh.
Parameters:
name - the registry name to be refreshed.