public class AuditOrgEntityCmdImpl extends AuditBaseCmdImpl implements AuditOrgEntityCmd
... legalId.Label=Legal Id legalId.Displayed=yes legalId.Required=yes BusinessCategory.Label=Business Category BusinessCategory.Displayed=yes BusinessCategory.Required=no... Following is a sample of the OrgEntity property file of new format:
... 25.Name=legalId 25.Label=Legal Id 25.Displayed=yes 25.Required=yes 25.Size=40 25.LineBreak=2 30.Name=businessCategory 30.Label=Business Category 30.Displayed=yes 30.Required=yes 30.Size=40 30.LineBreak=2... Legal Id parameter will be checked as the 'Required' attribute for legalId equals 'yes'. If the legalId is missing or its length equals 0, the AuditAddressCmd will throw an exception.
If all parameters checks are passed successfully, the getAuditResult() method will return true; otherwise it will return false.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASSNAME
The name of this command.
|
static java.lang.String |
COPYRIGHT
IBM Copyright notice field.
|
defaultCommandClassName, NAME
Constructor and Description |
---|
AuditOrgEntityCmdImpl()
Creates an instance of the AUditOrgEntity command.
|
Modifier and Type | Method and Description |
---|---|
void |
performExecute()
Executes the business function.
|
void |
setBusinessCategory(java.lang.String astrBusinessCategory)
Sets the first line of the address.
|
void |
setLegalId(java.lang.String astrLegalId)
Sets the first line of the address.
|
void |
setRequestProperties(TypedProperty aRequestProperties)
Sets the request properties.
|
getAuditResult, getPathSeparator, getPropertyFileName, getRequestProperties, getStoreDirectory, setErrorViewName, setPathSeparator, setPropertyFileName, setStoreDirectory
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCache
getCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicy
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getRequestProperties, setErrorViewName, setPropertyFileName
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputProperties
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
public static final java.lang.String COPYRIGHT
public static final java.lang.String CLASSNAME
public AuditOrgEntityCmdImpl()
public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AuditBaseCmdImpl
ECException
- If there was a problem executing the business function.public void setBusinessCategory(java.lang.String astrBusinessCategory)
setBusinessCategory
in interface AuditOrgEntityCmd
astrAddress1
- The first line of the address.public void setLegalId(java.lang.String astrLegalId)
setLegalId
in interface AuditOrgEntityCmd
astrAddress1
- The first line of the address.public void setRequestProperties(TypedProperty aRequestProperties) throws ECApplicationException
setRequestProperties
in interface AuditBaseCmd
setRequestProperties
in interface AuditOrgEntityCmd
setRequestProperties
in class AuditBaseCmdImpl
aRequestProperties
- the parameters passed to the command.ECApplicationException
- If there is a problem with the parameters passed to the command.