com.ibm.commerce.catalogmanagement.commands
Class CatalogGroupUpdateCmdImpl

com.ibm.commerce.command.AbstractECTargetableCommand
  |
  +--com.ibm.commerce.command.ControllerCommandImpl
        |
        +--com.ibm.commerce.catalogmanagement.commands.CatalogGroupUpdateCmdImpl
All Implemented Interfaces:
AccCommand, CatalogGroupUpdateCmd, ControllerCommand, ECCommand, ECTargetableCommand, Protectable

public class CatalogGroupUpdateCmdImpl
extends ControllerCommandImpl
implements CatalogGroupUpdateCmd

Implementation for CatalogGroupUpdate command which is the URL command for updating a Catalog Group object


Field Summary
protected  java.lang.Long catalogId
           
static java.lang.String CLASSNAME
           
protected  java.lang.String contractEnablement
           
static java.lang.String COPYRIGHT
           
protected  java.lang.Long inCatgroupId
           
protected  java.lang.Integer inDescLanguage
           
protected  java.lang.Integer inMarkfordelete
           
protected  java.lang.Long inMemberId
           
protected  java.lang.Integer inPublished
           
protected  java.lang.String istrDisplay
           
protected  java.lang.String istrField1
           
protected  java.lang.String istrField2
           
protected  java.lang.String istrFullimage
           
protected  java.lang.String istrIdentifier
           
protected  java.lang.String istrKeyword
           
protected  java.lang.String istrLongdescription
           
protected  java.lang.String istrName
           
protected  java.lang.String istrOID
           
protected  java.lang.String istrShortdescription
           
protected  java.lang.String istrThumbnail
           
protected  java.lang.String istrURL
           
protected  java.sql.Timestamp itmLastupdate
           
protected  java.lang.Integer productSetId
           
 
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.command.ECCommand
defaultCommandClassName
 
Constructor Summary
CatalogGroupUpdateCmdImpl()
           
 
Method Summary
 java.lang.Long getCatalogId()
          Get the catalog Id
 java.lang.Long getCatgroupId()
          Get the catalog group Id
 java.lang.String getContractEnablement()
          Get the contract enablement
 java.lang.Integer getDescLanguage()
          Get language id of the catalog group description
 java.lang.String getDisplay()
          Get the display of the catalog group description
 java.lang.String getField1()
          Get field 1 of the catalog group
 java.lang.String getField2()
          Get field 2 of the catalog group
 java.lang.String getFullimage()
          Get the path of the full image of the catalog group description
 java.lang.String getIdentifier()
          Get the identifier of the catalog group
 java.sql.Timestamp getLastupdate()
          Get the last update time of the catalog group
 java.lang.String getLongdescription()
          Get the long description of the catalog group description
 java.lang.Integer getMarkfordelete()
          Get the mark for delete value the catalog group 0 = catalog group not marked for delete 1 = catalog group marked for delete
protected  java.lang.Long getMemberId()
          Get the owner id of the catalog group
 java.lang.String getName()
          Get the language dependent name of the catalog group description
 java.lang.String getOID()
          Get the object identifier of the catalog group
 java.lang.Integer getProductSetId()
          Get the product set Id
 java.lang.Integer getPublished()
          Get the published flag of the catalog group description 0 = catalog group description not published 1 = catalog group description published
 java.lang.String getShortdescription()
          Get the short description of the catalog group description
 java.lang.String getThumbnail()
          Get the thumbnail image of the catalog group description
 java.lang.String getURL()
          Get the redirect URL
 void performExecute()
          The main program for CatalogGroupUpdate command
 void reset()
          This method reset all the variables used in CatalogGroupUpdate command
 void setCatalogId(java.lang.Long newCatalogId)
          Set the catalog Id
 void setCatgroupId(java.lang.Long anCatgroupId)
          Set the catalog group Id
 void setContractEnablement(java.lang.String newContractEnablement)
          Set the contract enablement
 void setDescLanguage(java.lang.Integer anDescLanguage)
          Set language id of the catalog group description
 void setDisplay(java.lang.String astrDisplay)
          Set the display for the catalog group description
 void setField1(java.lang.String astrField1)
          Set field 1 of the catalog group
 void setField2(java.lang.String astrField2)
          Set field 2 of the catalog group
 void setFullimage(java.lang.String astrFullimage)
          Set the path to the full image of catalog group description
 void setIdentifier(java.lang.String astrIdentifier)
          Set the identifier of the catalog group
 void setKeyword(java.lang.String astrKeyword)
          Set the keyword of catalog group description
 void setLastupdate(java.sql.Timestamp atmLastupdate)
          Sets the date and time when the catalog group was updated
 void setLongdescription(java.lang.String astrLongdescription)
          Set the long description of the catalog group description
 void setMarkfordelete(java.lang.Integer anMarkfordelete)
          Set the mark for delete flag of the catalog group 0 = catalog group not marked for delete 1 = catalog group marked for delete
 void setMemberId(java.lang.Long anMemberId)
          Set the owner Id of the catalog group
 void setName(java.lang.String astrName)
          Set the language dependent name of the catalog group description
 void setOID(java.lang.String astrOID)
          Set the object identifier of the catalog group
 void setProductSetId(java.lang.Integer newProductSetId)
          Set the product set Id
 void setPublished(java.lang.Integer anPublished)
          Set the published flag of the catalog group description 0 = catalog group description not published 1 = catalog group descriotion published
 void setRequestProperties(TypedProperty reqParms)
          This method obtain the input parameters for CatalogGroupUpdate command
 void setShortdescription(java.lang.String astrShortdescription)
          Set the short description of the catalog group description
 void setThumbnail(java.lang.String astrThumbnail)
          Set the path to the thumbnail image of the catalog group description
 void setURL(java.lang.String astrURL)
          Set a redirect URL
 void validateParameters()
          This method validates the parameters for CatalogGroupUpdate command
 
Methods inherited from class com.ibm.commerce.command.ControllerCommandImpl
fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setResponseProperties, 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, isReadyToCallExecute, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties
 
Methods inherited from interface com.ibm.commerce.command.ControllerCommand
execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, 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
 

Field Detail

catalogId

protected java.lang.Long catalogId

CLASSNAME

public static final java.lang.String CLASSNAME

contractEnablement

protected java.lang.String contractEnablement

COPYRIGHT

public static final java.lang.String COPYRIGHT

inCatgroupId

protected java.lang.Long inCatgroupId

inDescLanguage

protected java.lang.Integer inDescLanguage

inMarkfordelete

protected java.lang.Integer inMarkfordelete

inMemberId

protected java.lang.Long inMemberId

inPublished

protected java.lang.Integer inPublished

istrDisplay

protected java.lang.String istrDisplay

istrField1

protected java.lang.String istrField1

istrField2

protected java.lang.String istrField2

istrFullimage

protected java.lang.String istrFullimage

istrIdentifier

protected java.lang.String istrIdentifier

istrKeyword

protected java.lang.String istrKeyword

istrLongdescription

protected java.lang.String istrLongdescription

istrName

protected java.lang.String istrName

istrOID

protected java.lang.String istrOID

istrShortdescription

protected java.lang.String istrShortdescription

istrThumbnail

protected java.lang.String istrThumbnail

istrURL

protected java.lang.String istrURL

itmLastupdate

protected java.sql.Timestamp itmLastupdate

productSetId

protected java.lang.Integer productSetId
Constructor Detail

CatalogGroupUpdateCmdImpl

public CatalogGroupUpdateCmdImpl()
Method Detail

getCatalogId

public java.lang.Long getCatalogId()
Get the catalog Id
Returns:
java.lang.Long

getCatgroupId

public java.lang.Long getCatgroupId()
Get the catalog group Id
Specified by:
getCatgroupId in interface CatalogGroupUpdateCmd
Returns:
java.lang.Long

getContractEnablement

public java.lang.String getContractEnablement()
Get the contract enablement
Returns:
java.lang.String

getDescLanguage

public java.lang.Integer getDescLanguage()
Get language id of the catalog group description
Returns:
java.lang.Integer

getDisplay

public java.lang.String getDisplay()
Get the display of the catalog group description
Returns:
java.lang.String

getField1

public java.lang.String getField1()
Get field 1 of the catalog group
Returns:
java.lang.String

getField2

public java.lang.String getField2()
Get field 2 of the catalog group
Returns:
java.lang.String

getFullimage

public java.lang.String getFullimage()
Get the path of the full image of the catalog group description
Returns:
java.lang.String

getIdentifier

public java.lang.String getIdentifier()
Get the identifier of the catalog group
Specified by:
getIdentifier in interface CatalogGroupUpdateCmd
Returns:
java.lang.String

getLastupdate

public java.sql.Timestamp getLastupdate()
Get the last update time of the catalog group
Returns:
java.sql.Timestamp

getLongdescription

public java.lang.String getLongdescription()
Get the long description of the catalog group description
Returns:
java.lang.String

getMarkfordelete

public java.lang.Integer getMarkfordelete()
Get the mark for delete value the catalog group 0 = catalog group not marked for delete 1 = catalog group marked for delete
Returns:
java.lang.Integer

getMemberId

protected java.lang.Long getMemberId()
Get the owner id of the catalog group
Returns:
java.lang.Long

getName

public java.lang.String getName()
Get the language dependent name of the catalog group description
Returns:
java.lang.String

getOID

public java.lang.String getOID()
Get the object identifier of the catalog group
Returns:
java.lang.String

getProductSetId

public java.lang.Integer getProductSetId()
Get the product set Id
Returns:
java.lang.Integer

getPublished

public java.lang.Integer getPublished()
Get the published flag of the catalog group description 0 = catalog group description not published 1 = catalog group description published
Returns:
java.lang.Integer

getShortdescription

public java.lang.String getShortdescription()
Get the short description of the catalog group description
Returns:
@java.lang.String

getThumbnail

public java.lang.String getThumbnail()
Get the thumbnail image of the catalog group description
Returns:
java.lang.String

getURL

public java.lang.String getURL()
Get the redirect URL
Returns:
java.lang.String

performExecute

public void performExecute()
                    throws ECException
The main program for CatalogGroupUpdate command
Specified by:
performExecute in interface ECCommand
Overrides:
performExecute in class AbstractECTargetableCommand
Throws:
ECException -  

reset

public void reset()
This method reset all the variables used in CatalogGroupUpdate command
Overrides:
reset in class AbstractECTargetableCommand

setCatalogId

public void setCatalogId(java.lang.Long newCatalogId)
Set the catalog Id
Parameters:
newCatalogId - java.lang.Long

setCatgroupId

public void setCatgroupId(java.lang.Long anCatgroupId)
Set the catalog group Id
Specified by:
setCatgroupId in interface CatalogGroupUpdateCmd
Parameters:
anCatgroupId - java.lang.Long

setContractEnablement

public void setContractEnablement(java.lang.String newContractEnablement)
Set the contract enablement
Parameters:
newContractEnablement - java.lang.String

setDescLanguage

public void setDescLanguage(java.lang.Integer anDescLanguage)
Set language id of the catalog group description
Specified by:
setDescLanguage in interface CatalogGroupUpdateCmd
Parameters:
anDescLanguage - java.lang.Integer

setDisplay

public void setDisplay(java.lang.String astrDisplay)
Set the display for the catalog group description
Specified by:
setDisplay in interface CatalogGroupUpdateCmd
Parameters:
astrDisplay - java.lang.String

setField1

public void setField1(java.lang.String astrField1)
Set field 1 of the catalog group
Specified by:
setField1 in interface CatalogGroupUpdateCmd
Parameters:
astrField1 - java.lang.String

setField2

public void setField2(java.lang.String astrField2)
Set field 2 of the catalog group
Specified by:
setField2 in interface CatalogGroupUpdateCmd
Parameters:
astrField2 - java.lang.String

setFullimage

public void setFullimage(java.lang.String astrFullimage)
Set the path to the full image of catalog group description
Specified by:
setFullimage in interface CatalogGroupUpdateCmd
Parameters:
astrFullimage - java.lang.String

setIdentifier

public void setIdentifier(java.lang.String astrIdentifier)
Set the identifier of the catalog group
Specified by:
setIdentifier in interface CatalogGroupUpdateCmd
Parameters:
astrIdentifier - java.lang.String

setKeyword

public void setKeyword(java.lang.String astrKeyword)
Set the keyword of catalog group description
Specified by:
setKeyword in interface CatalogGroupUpdateCmd
Parameters:
astrKeyword - java.lang.String

setLastupdate

public void setLastupdate(java.sql.Timestamp atmLastupdate)
Sets the date and time when the catalog group was updated
Specified by:
setLastupdate in interface CatalogGroupUpdateCmd
Parameters:
atmLastupdate - java.sql.Timestamp

setLongdescription

public void setLongdescription(java.lang.String astrLongdescription)
Set the long description of the catalog group description
Specified by:
setLongdescription in interface CatalogGroupUpdateCmd
Parameters:
astrLongdescription - java.lang.String

setMarkfordelete

public void setMarkfordelete(java.lang.Integer anMarkfordelete)
Set the mark for delete flag of the catalog group 0 = catalog group not marked for delete 1 = catalog group marked for delete
Specified by:
setMarkfordelete in interface CatalogGroupUpdateCmd
Parameters:
anMarkfordelete - java.lang.Integer

setMemberId

public void setMemberId(java.lang.Long anMemberId)
Set the owner Id of the catalog group
Specified by:
setMemberId in interface CatalogGroupUpdateCmd
Parameters:
anMemberId - java.lang.Long

setName

public void setName(java.lang.String astrName)
Set the language dependent name of the catalog group description
Specified by:
setName in interface CatalogGroupUpdateCmd
Parameters:
astrName - java.lang.String

setOID

public void setOID(java.lang.String astrOID)
Set the object identifier of the catalog group
Specified by:
setOID in interface CatalogGroupUpdateCmd
Parameters:
astrOID - java.lang.String

setProductSetId

public void setProductSetId(java.lang.Integer newProductSetId)
Set the product set Id
Parameters:
newProductSetId - java.lang.Integer

setPublished

public void setPublished(java.lang.Integer anPublished)
Set the published flag of the catalog group description 0 = catalog group description not published 1 = catalog group descriotion published
Specified by:
setPublished in interface CatalogGroupUpdateCmd
Parameters:
anPublished - java.lang.Integer

setRequestProperties

public void setRequestProperties(TypedProperty reqParms)
                          throws ECApplicationException
This method obtain the input parameters for CatalogGroupUpdate command
Specified by:
setRequestProperties in interface ControllerCommand
Overrides:
setRequestProperties in class ControllerCommandImpl
Throws:
ECApplicationException -  

setShortdescription

public void setShortdescription(java.lang.String astrShortdescription)
Set the short description of the catalog group description
Specified by:
setShortdescription in interface CatalogGroupUpdateCmd
Parameters:
astrShortdescription - java.lang.String

setThumbnail

public void setThumbnail(java.lang.String astrThumbnail)
Set the path to the thumbnail image of the catalog group description
Specified by:
setThumbnail in interface CatalogGroupUpdateCmd
Parameters:
astrThumbnail - java.lang.String

setURL

public void setURL(java.lang.String astrURL)
Set a redirect URL
Specified by:
setURL in interface CatalogGroupUpdateCmd
Parameters:
astrURL - java.lang.String

validateParameters

public void validateParameters()
                        throws ECException
This method validates the parameters for CatalogGroupUpdate command
Specified by:
validateParameters in interface ECCommand
Overrides:
validateParameters in class AbstractECTargetableCommand
Throws:
ECException -