com.ibm.commerce.utf.commands
Class PAttributeCreateCmdImpl

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.PAttributeCreateCmdImpl
All Implemented Interfaces:
AccCommand, ControllerCommand, ECCommand, ECTargetableCommand, PAttributeBaseCmd, PAttributeCreateCmd, Protectable, ToolsControllerCommand

public class PAttributeCreateCmdImpl
extends PAttributeBaseCmdImpl
implements PAttributeCreateCmd

Create Personalization Attribute command. This command will create a new personlized attribute entry.


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.PAttributeCreateCmd
COPYRIGHT, defaultCommandClassName, NAME
 
Fields inherited from interface com.ibm.commerce.command.ECTargetableCommand
COPYRIGHT
 
Constructor Summary
PAttributeCreateCmdImpl()
          PAttributeCreateCmdImpl constructor comment.
 
Method Summary
 void performExecute()
          Perform additional datebase checks and Create attribute dictionary entry.
 void validateParameters()
          Validate Personalization attribute 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, reset, 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
fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getRetriable, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setRetriable, setViewInputProperties
 
Methods inherited from class com.ibm.commerce.command.AbstractECTargetableCommand
accessControlCheck, checkIsAllowed, checkResourcePermission, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties
 
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
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, setAccCheck, setForUserId, setOwner
 
Methods inherited from interface com.ibm.commerce.command.ECCommand
checkIsAllowed, checkResourcePermission, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setDefaultProperties
 
Methods inherited from interface com.ibm.commerce.security.Protectable
fulfills, getOwner
 

Constructor Detail

PAttributeCreateCmdImpl

public PAttributeCreateCmdImpl()
PAttributeCreateCmdImpl constructor comment.
Method Detail

performExecute

public void performExecute()
                    throws ECException
Perform additional datebase checks and Create attribute dictionary entry.
Specified by:
performExecute in interface ECCommand
Overrides:
performExecute in class PAttributeBaseCmdImpl
Following copied from interface: com.ibm.commerce.command.ECCommand
Throws:
com.ibm.commerce.command.CommandException - The superclass for all ECExceptions.

validateParameters

public void validateParameters()
                        throws ECException
Validate Personalization attribute paramters.
Specified by:
validateParameters in interface ECCommand
Overrides:
validateParameters in class AbstractECTargetableCommand
Following copied from interface: com.ibm.commerce.command.ECCommand
Throws:
ECException. -