|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.ibm.commerce.command.AbstractECTargetableCommand | +--com.ibm.commerce.command.ControllerCommandImpl | +--com.ibm.commerce.catalogmanagement.commands.CatalogEntryDeleteCmdImpl
Implementation for CatalogEntryUpdate command which is the URL command for deleting a catalog entry
Field Summary | |
static java.lang.String |
CLASSNAME
|
static java.lang.String |
COPYRIGHT
|
protected java.lang.Long |
inCatentryId
|
protected java.lang.Integer |
inForce
|
protected java.lang.Integer |
inMarkfordelete
|
protected java.lang.Long |
inMemberId
|
protected java.lang.String |
istrPartnumber
|
protected java.lang.String |
istrURL
|
protected java.sql.Timestamp |
itmLastupdate
|
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 | |
CatalogEntryDeleteCmdImpl()
|
Method Summary | |
java.lang.Long |
getCatentryId()
Get the catalog entry Id |
java.lang.Integer |
getForce()
Get the force delete option 0 = catalog entry mark for deletion 1 = catalog entry force delete |
java.sql.Timestamp |
getLastupdate()
Get last update time of the catalog entry |
java.lang.Integer |
getMarkfordelete()
Get the mark for delete value of the catalog entry |
java.lang.Long |
getMemberId()
Get the owner Id of the catalog entry |
java.lang.String |
getPartnumber()
Get the part number of the catalog entry |
java.lang.String |
getURL()
Get the redirect URL |
void |
performExecute()
The main program for CatalogEntryDelete command |
void |
reset()
This method reset all the variables used in CatalogEntryDelete command |
void |
setCatentryId(java.lang.Long anCatentryId)
Set the catalog entry Id |
void |
setForce(java.lang.Integer anForce)
Set the force delete option of the catalog entry 0 = catalog entry will be marked for delete 1 = catalog entry will be force deleted |
void |
setLastupdate(java.sql.Timestamp atmLastupdate)
Set the date and time when the catalog entry was updated |
void |
setMarkfordelete(java.lang.Integer anMarkfordelete)
Set the mark for delete flag of the catalog entry 0 = catalog entry not marked for delete 1 = catalog entry marked for delete |
void |
setMemberId(java.lang.Long anMemberId)
Set the owner Id of the catalog entry |
void |
setPartnumber(java.lang.String astrPartnumber)
Set the partnumber of the catalog entry |
void |
setRequestProperties(TypedProperty reqParms)
This method obtain the input parameters for CatalogEntryDelete command |
void |
setURL(java.lang.String astrURL)
Set a redirect URL |
void |
validateParameters()
This method validates the parameters for CatalogGroupAdd 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 |
public static final java.lang.String CLASSNAME
public static final java.lang.String COPYRIGHT
protected java.lang.Long inCatentryId
protected java.lang.Integer inForce
protected java.lang.Integer inMarkfordelete
protected java.lang.Long inMemberId
protected java.lang.String istrPartnumber
protected java.lang.String istrURL
protected java.sql.Timestamp itmLastupdate
Constructor Detail |
public CatalogEntryDeleteCmdImpl()
Method Detail |
public java.lang.Long getCatentryId()
getCatentryId
in interface CatalogEntryDeleteCmd
public java.lang.Integer getForce()
public java.sql.Timestamp getLastupdate()
public java.lang.Integer getMarkfordelete()
public java.lang.Long getMemberId()
public java.lang.String getPartnumber()
getPartnumber
in interface CatalogEntryDeleteCmd
public java.lang.String getURL()
public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in class AbstractECTargetableCommand
ECException
- public void reset()
reset
in class AbstractECTargetableCommand
public void setCatentryId(java.lang.Long anCatentryId)
setCatentryId
in interface CatalogEntryDeleteCmd
anCatentryId
- java.lang.Longpublic void setForce(java.lang.Integer anForce)
setForce
in interface CatalogEntryDeleteCmd
anForce
- java.lang.Integerpublic void setLastupdate(java.sql.Timestamp atmLastupdate)
atmLastupdate
- java.sql.Timestamppublic void setMarkfordelete(java.lang.Integer anMarkfordelete)
setMarkfordelete
in interface CatalogEntryDeleteCmd
anMarkfordelete
- java.lang.Integerpublic void setMemberId(java.lang.Long anMemberId)
setMemberId
in interface CatalogEntryDeleteCmd
anMemberId
- java.lang.Longpublic void setPartnumber(java.lang.String astrPartnumber)
setPartnumber
in interface CatalogEntryDeleteCmd
astrPartnumber
- java.lang.Stringpublic void setRequestProperties(TypedProperty reqParms) throws ECApplicationException
setRequestProperties
in interface ControllerCommand
setRequestProperties
in class ControllerCommandImpl
ECApplicationException
- public void setURL(java.lang.String astrURL)
astrURL
- java.lang.Stringpublic void validateParameters() throws ECException
validateParameters
in interface ECCommand
validateParameters
in class AbstractECTargetableCommand
ECException
-
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |