java.lang.Object | +--CacheableCommandImpl | +--com.ibm.commerce.command.AbstractECTargetableCommand | +--com.ibm.commerce.command.TaskCommandImpl | +--com.ibm.commerce.usermanagement.commands.AuditBaseCmdImpl
The base class for AuditAddressCmdImpl, AuditUserRegistrationCmdImpl and AuditOrgEntityCmdImpl.
Field Summary | |
---|---|
static java.lang.String |
CLASSNAME The full qualified class name. |
static java.lang.String |
COPYRIGHT IBM Copyright notice field. |
protected
boolean |
ibResult A indicator indicates whether or not the audit is passed. |
protected
java.util.Hashtable |
ihshProperties The Hashtable used to store the content of the property file. |
protected
java.util.SortedMap |
ismpProperties The SortedMap used to store the content of the property file. |
protected
java.lang.String |
istrErrorViewName The name of the error view. |
protected
java.lang.String |
istrPathSeparator The separator used to separate file path. |
protected
java.lang.String |
istrPropertyFileName The name of the property file which is used for auditing. |
protected
java.lang.String |
istrStoreDirectory The store directory where to find the property file. |
protected
TypedProperty |
requestProperties The request properties. |
Fields inherited from class com.ibm.commerce.command. AbstractECTargetableCommand |
commandContext |
Fields inherited from interface com.ibm.commerce.usermanagement.commands. AuditBaseCmd |
NAME |
Fields inherited from interface com.ibm.commerce.command. ECCommand |
defaultCommandClassName |
Constructor Summary | |
---|---|
AuditBaseCmdImpl() |
Method Summary | |
---|---|
boolean |
getAuditResult() Return the audit result. |
java.lang.String |
getPathSeparator() Gets the path separator. |
java.lang.String |
getPropertyFileName() Gets the name of property file |
TypedProperty |
getRequestProperties() Get the request properties. |
java.lang.String |
getStoreDirectory() Gets the name of the store directory, which is used for finding property files belong to this store. |
void |
performExecute() Execute the task command. |
void |
setErrorViewName(java.lang.String astrErrorViewName) Sets the name of the error view. |
void |
setPathSeparator(java.lang.String astrPathSeparator) Sets the path separator. |
void |
setPropertyFileName(java.lang.String astrPropertyFileName) Sets the name of the property file. |
void |
setRequestProperties(
TypedProperty aRequestProperties) Sets the request properties |
void |
setStoreDirectory(java.lang.String astrStoreDirectory) Sets the name of store directory, which is used as the path to the find the property file. |
Methods inherited from class com.ibm.commerce.command. AbstractECTargetableCommand |
accessControlCheck,
checkIsAllowed,
checkParameters,
checkResourcePermission,
createCommandExecutionEvent,
execute,
finalize,
getAccCheck,
getCommandContext,
getCommandIfName,
getCommandName,
getCommandStoreId,
getDefaultProperties,
getResources,
getStoreId,
getUser,
getUserId,
isReadyToCallExecute,
reset,
setAccCheck,
setCommandContext,
setCommandIfName,
setCommandStoreId,
setDefaultProperties,
validateParameters |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait,
wait, wait |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
public static final java.lang.String CLASSNAME
protected boolean ibResult
protected TypedProperty requestProperties
protected java.lang.String istrPropertyFileName
protected java.lang.String istrStoreDirectory
protected java.lang.String istrErrorViewName
protected java.util.Hashtable ihshProperties
protected java.util.SortedMap ismpProperties
protected java.lang.String istrPathSeparator
Constructor Detail |
---|
public AuditBaseCmdImpl()
Method Detail |
---|
public boolean getAuditResult()
public java.lang.String getPathSeparator()
"store1/UserRegistration""/" is the path separator.
public java.lang.String getPropertyFileName()
public java.lang.String getStoreDirectory()
public void performExecute() throws ECException
performExecute
in interface
ECCommand
performExecute
in class
AbstractECTargetableCommand
ECException
- Any ECException throws.public void setErrorViewName(java.lang.String astrErrorViewName)
setErrorViewName
in interface
AuditBaseCmd
astrErrorViewName
- The name of the error
view.public void setPathSeparator(java.lang.String astrPathSeparator)
"store1/UserRegistration""/" is the path separator. If path separator is not set, the databean will use the default one: "/" (working under Windows platform).
astrPathSeparator
- The path separator.public void setPropertyFileName(java.lang.String astrPropertyFileName)
setPropertyFileName
in interface
AuditBaseCmd
public void setRequestProperties(TypedProperty aRequestProperties) throws ECApplicationException
setRequestProperties
in interface
AuditBaseCmd
aRequestProperties
- the parameters passed to the
command.
ECApplicationException
- If any exception
happens.public TypedProperty getRequestProperties()
getRequestProperties
in interface
AuditBaseCmd
public void setStoreDirectory(java.lang.String astrStoreDirectory)
astrStoreDirectory
- The name of store
directory.