com.ibm.commerce.utf.commands
Class PAttributeModifyCmdImpl

java.lang.Object
  |
  +--CacheableCommandImpl
        |
        +--com.ibm.commerce.command.AbstractECTargetableCommand
              |
              +--com.ibm.commerce.command.ControllerCommandImpl
                    |
                    +--com.ibm.commerce.tools.command.ToolsControllerCommandImpl
                          |
                          +--com.ibm.commerce.utf.commands.PAttributeBaseCmdImpl
                                |
                                +--com.ibm.commerce.utf.commands.PAttributeModifyCmdImpl
All Implemented Interfaces:
AccCommand, ControllerCommand, ECCommand, ECTargetableCommand, PAttributeBaseCmd, PAttributeModifyCmd, ToolsControllerCommand

public class PAttributeModifyCmdImpl
extends PAttributeBaseCmdImpl
implements PAttributeModifyCmd

Modifies a personalization attribute.

This is the default implementation of the PAttributeModifyCmd. This command uses the following AccessBeans:

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.ibm.commerce.utf.commands. PAttributeBaseCmdImpl
accessBeanName, attrId, attrName, description, encryptionFlag, languageId, sequence, typeId
 
Fields inherited from class com.ibm.commerce.command. ControllerCommandImpl
requestProperties, responseProperties, retriable, viewReqProperties
 
Fields inherited from class com.ibm.commerce.command. AbstractECTargetableCommand
commandContext
 
Fields inherited from interface com.ibm.commerce.utf.commands. PAttributeModifyCmd
COPYRIGHT, defaultCommandClassName, NAME
 
Fields inherited from interface com.ibm.commerce.command. ECTargetableCommand
COPYRIGHT
 
Constructor Summary
PAttributeModifyCmdImpl()
          ModifyAttributeDictionaryCmdImpl constructor comment.
 
Method Summary
 com.ibm.commerce.utf.objects.PAttributeAccessBean getThisAttribute()
          Returns a pattribute access bean
 void performExecute()
          Perform Database checks and modify personalized attribute entry
 void reset()
          Reset the command.
 void setThisAttribute(com.ibm.commerce.utf.objects.PAttributeAccessBean newThisAttribute)
          Set PAttribute Access Bean
 void validateParameters()
          Validate attribute dictionary paramters.
 
Methods inherited from class com.ibm.commerce.utf.commands. PAttributeBaseCmdImpl
determineAccessBeanName, getAccessBeanName, getAttrId, getAttrName, getDescription, getEncryptionFlag, getErrorContent, getErrorFlag, getLanguageId, getResponseProperties, getSequence, getToolXMLObject, getTypeId, getViewTaskName, getWizardNavagationFile, isErrorFlag, isReadyToCallExecute, setAccessBeanName, setAttrId, setAttrIdUrlName, setAttrName, setAttrNameUrlName, setDescription, setDescriptionUrlName, setEncryptionFlag, setEncyrptionFlagUrlName, setErrorContent, setErrorFlag, setLanguageIdUrlName, setRequestProperties, setResponseProperties, setSequence, setSequenceUrlName, setToolXMLObject, setTypeId, setTypeIdUrlName, setViewTaskName
 
Methods inherited from class com.ibm.commerce.tools.command. ToolsControllerCommandImpl
getViewInputProperties
 
Methods inherited from class com.ibm.commerce.command. ControllerCommandImpl
checkPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResourceOwners, getRetriable, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setRetriable, setViewInputProperties
 
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, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.ibm.commerce.utf.commands. PAttributeBaseCmd
setAttrIdUrlName, setAttrNameUrlName, setDescriptionUrlName, setEncyrptionFlagUrlName, setLanguageIdUrlName, setSequenceUrlName, setTypeIdUrlName
 
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, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
 

Constructor Detail

PAttributeModifyCmdImpl

public PAttributeModifyCmdImpl()
ModifyAttributeDictionaryCmdImpl constructor comment.
Method Detail

reset

public void reset()
Reset the command.
Overrides:
reset in class PAttributeBaseCmdImpl

performExecute

public void performExecute()
                    throws ECException
Perform Database checks and modify personalized attribute entry
Specified by:
performExecute in interface ECCommand
Overrides:
performExecute in class PAttributeBaseCmdImpl
Throws:
ECException
See Also:
ECCommand.performExecute()

getThisAttribute

public com.ibm.commerce.utf.objects.PAttributeAccessBean getThisAttribute()
Returns a pattribute access bean
Returns:
The pattribute access bean

setThisAttribute

public void setThisAttribute(com.ibm.commerce.utf.objects.PAttributeAccessBean newThisAttribute)
Set PAttribute Access Bean
Parameters:
newThisAttribute - The PAttributeAccessBean

validateParameters

public void validateParameters()
                        throws ECException
Validate attribute dictionary paramters.
Specified by:
validateParameters in interface ECCommand
Overrides:
validateParameters in class AbstractECTargetableCommand
Throws:
ECException
See Also:
ECCommand.validateParameters()