com.ibm.commerce.negotiation.commands
Class CloseBiddingCmdImpl
java.lang.Object
|
+--CacheableCommandImpl
|
+--com.ibm.commerce.command.AbstractECTargetableCommand
|
+--com.ibm.commerce.command.ControllerCommandImpl
|
+--com.ibm.commerce.tools.command.ToolsControllerCommandImpl
|
+--com.ibm.commerce.negotiation.commands.CloseBiddingCmdImpl
- All Implemented Interfaces:
-
AccCommand,
CloseBiddingCmd,
ControllerCommand,
ECCommand,
ECTargetableCommand,
ToolsControllerCommand
- public class CloseBiddingCmdImpl
- extends
ToolsControllerCommandImpl
- implements
CloseBiddingCmd
Close Bidding Implemetation. closes the bidding for an auction when the
auction end time occurs. This command uses the following
AccessBeans:
AuctionJDBCHelperAccessBean
AuctionAccessBean
- See Also:
- Serialized
Form
Field Summary |
static java.lang.String |
COPYRIGHT
Copyright statement. |
Methods inherited from class
com.ibm.commerce.command.
ControllerCommandImpl |
checkPermission,
fulfills,
getForUserId,
getGeneric,
getOwner,
getRequestProperties,
getResolvedRequestProperties,
getResourceOwners,
getResponseProperties,
getRetriable,
isGeneric,
isRetriable,
mergeProperties,
setForUserId,
setGeneric,
setOwner,
setResponseProperties,
setRetriable,
setViewInputProperties |
Methods inherited from class
com.ibm.commerce.command.
AbstractECTargetableCommand |
accessControlCheck,
checkIsAllowed,
checkParameters,
checkResourcePermission,
createCommandExecutionEvent,
execute,
finalize,
getAccCheck,
getCommandContext,
getCommandIfName,
getCommandName,
getCommandStoreId,
getDefaultProperties,
getStoreId,
getUser,
getUserId,
isReadyToCallExecute,
reset,
setAccCheck,
setCommandContext,
setCommandIfName,
setCommandStoreId,
setDefaultProperties,
validateParameters |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait,
wait, wait |
Methods inherited from interface
com.ibm.commerce.command.
ControllerCommand |
checkPermission,
execute,
getGeneric,
getRequestProperties,
getResolvedRequestProperties,
getResponseProperties,
getRetriable,
getViewInputProperties,
isGeneric,
isRetriable,
mergeProperties,
setGeneric,
setRetriable,
setViewInputProperties |
Methods inherited from interface
com.ibm.commerce.command.
ECCommand |
checkIsAllowed,
checkResourcePermission,
createCommandExecutionEvent,
getCommandContext,
getCommandIfName,
getCommandName,
getCommandStoreId,
getDefaultProperties,
getStoreId,
getUser,
getUserId,
setCommandContext,
setCommandIfName,
setCommandStoreId,
setDefaultProperties,
validateParameters |
COPYRIGHT
public static final java.lang.String COPYRIGHT
- Copyright statement.
- See Also:
-
Constant Field Values
CloseBiddingCmdImpl
public CloseBiddingCmdImpl()
- Close Bidding command. This command is executed when an administrator
performs close biddings for specific auctions.
getErrorContent
public java.util.Hashtable getErrorContent()
- Returns a hashtable of error codes.
-
- Returns:
- java.util.Hashtable
getResources
public AccessVector getResources()
throws ECException
- Gets the access vector accessed by this command. The default implementation
returns null indicating that no protectable resource is accessed by this
command. It is the responsibilities of the command writer to return the
protectable primary resource(s) and the corresponding actions accessed by this
command.
-
- Specified by:
-
getResources
in interface
ECCommand
- Overrides:
-
getResources
in class
AbstractECTargetableCommand
-
- Returns:
- AccessVector - a vector of resource action pairs
- Throws:
-
ECException
-
ECApplicationException
- is raised with message ERR_BAD_PARMS when
the paremeters are invalid.
public void performExecute()
throws ECException
- Action to close auction
-
- Specified by:
-
performExecute
in interface
ECCommand
- Overrides:
-
performExecute
in class
AbstractECTargetableCommand
-
- Throws:
-
ECApplicationException
- is thrown with message
ERR_AUCTION_NOT_CURRENT when the auction is not current.
-
ECException
setAuctionIdList
public void setAuctionIdList(java.util.Vector newAuctionList)
- Description copied from interface:
CloseBiddingCmd
- Sets the incoming vector of auction identifiers.
-
- Specified by:
-
setAuctionIdList
in interface
CloseBiddingCmd
-
- Parameters:
newAuctionList
- java.util.Vector
setAuctionReferenceNumber
public void setAuctionReferenceNumber(java.lang.Long newAuctionReferenceNumber)
- Mutation method to set auction reference number
-
- Parameters:
newAuctionReferenceNumber
- java.lang.Long
setErrorContent
public void setErrorContent(java.util.Hashtable newErrorContent)
- Stores the incoming hashtable of error codes.
-
- Parameters:
newErrorContent
- java.util.Hashtable
setRequestProperties
public void setRequestProperties(TypedProperty paramTable)
throws ECApplicationException
- Description copied from interface:
ControllerCommand
- Sets the request properties. The WebController calls this method before
invoking the execute method in this command to set the request properties for
this command. It is the responsibility of the implementer of the
ControllerCommand to extract the required input parameters from the request
properties and perform parameter checking.
-
- Specified by:
-
setRequestProperties
in interface
ControllerCommand
- Overrides:
-
setRequestProperties
in class
ToolsControllerCommandImpl
-
- Parameters:
paramTable
- com.ibm.commerce.datatype.TypedProperty
- Throws:
-
ECApplicationException
- The exception
description.