public class PAttributeDeleteCmdImpl extends ToolsControllerCommandImpl implements PAttributeDeleteCmd
This is the default implementation of the PAttributeDeleteCmd. This command uses the following AccessBeans:
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
defaultCommandClassName, NAME
Constructor and Description |
---|
PAttributeDeleteCmdImpl()
PAttributeDeleteCmdImpl constructor comment.
|
Modifier and Type | Method and Description |
---|---|
void |
doDeleteAttribute()
Performs the delete of the Attribute entry
|
java.util.Vector |
getCollAttrIds()
Returns the attribute Id
|
java.util.Hashtable |
getErrorContent()
Gets the error content for this command.
|
java.lang.Long |
getLanguageId()
Gets the error content for this command.
|
java.lang.Long |
getPAttributeId()
Gets attribute id
|
void |
performExecute()
Performs database checks, then deletes the attribute
|
void |
reset()
Reset the command.
|
void |
setCollAttrIds(java.util.Vector collIds)
Sets the attribute Ids
|
void |
setErrorContent(java.util.Hashtable newErrorContent)
Sets the error content for this command.
|
void |
setLangaugeId(java.lang.Long id)
Sets the language id for the attribute.
|
void |
setPAttributeId(java.lang.Long id)
Sets the Personalization Attribute Id
|
void |
setRequestProperties(TypedProperty prop)
Set values retrieved from the incoming property.
|
getViewInputProperties
checkPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResourceOwners, getResponseProperties, getRetriable, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setResponseProperties, setRetriable, setViewInputProperties
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, 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
checkPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRetriable, setViewInputProperties
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputProperties
accessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwner
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
fulfills, getOwner
public static final java.lang.String COPYRIGHT
public PAttributeDeleteCmdImpl()
public void reset()
reset
in interface com.ibm.websphere.command.Command
reset
in class AbstractECTargetableCommand
public void doDeleteAttribute() throws ECSystemException
ECSystemException
public java.util.Vector getCollAttrIds()
public java.util.Hashtable getErrorContent()
public java.lang.Long getLanguageId()
public java.lang.Long getPAttributeId()
public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
ECCommand#performExecute()
public void setCollAttrIds(java.util.Vector collIds)
collIds
- The attribute Idspublic void setErrorContent(java.util.Hashtable newErrorContent)
newErrorContent
- The collection of error contents values.public void setLangaugeId(java.lang.Long id)
The
- language id.public void setPAttributeId(java.lang.Long id)
The
- attribute id.public void setRequestProperties(TypedProperty prop) throws ECApplicationException
setRequestProperties
in interface ControllerCommand
setRequestProperties
in class ToolsControllerCommandImpl
prop
- Request properties to be set.ECApplicationException
ControllerCmd#setRequestProperties(TypedProperty)