com.ibm.commerce.utf.commands
Class AlgorithmRegistryBaseCmdImpl

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.AlgorithmRegistryBaseCmdImpl
All Implemented Interfaces:
AccCommand, AlgorithmRegistryBaseCmd, ControllerCommand, ECCommand, ECTargetableCommand, ToolsControllerCommand
Direct Known Subclasses:
AlgorithmRegistryCreateCmdImpl

public class AlgorithmRegistryBaseCmdImpl
extends ToolsControllerCommandImpl
implements AlgorithmRegistryBaseCmd

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

See Also:
Serialized Form

Field Summary
protected  java.lang.String algoClass
          Deprecated. The Algorithm Class
protected  java.lang.Integer algoId
          Deprecated. The Algorithm Id
protected  java.lang.String algoName
          Deprecated. The Algorithm Name
protected  java.lang.Integer allocationPolicy
          Deprecated. The Allocation Policy
protected  java.sql.Timestamp curTimeStamp
          Deprecated. The Timestamp
protected  java.lang.Integer domain
          Deprecated. The Domain
protected  java.lang.String expirationDate
          Deprecated. The Expiration Date
protected  java.lang.String expirationTime
          Deprecated. The Expiration Time
protected  java.sql.Timestamp expTimestamp
          Deprecated. The Expiration Timestamp
protected  java.lang.Integer languageId
          Deprecated. The Language Id
protected  java.lang.String longDesc
          Deprecated. The Long Description
protected  java.lang.Integer matchingPolicy
          Deprecated. The Matching Policy
protected  java.lang.Long ownerid
          Deprecated. The Owner id
protected  java.lang.Integer pricingPolicy
          Deprecated. The Pricing Policy
protected  java.lang.String shortDesc
          Deprecated. The Short Descirption
protected  java.lang.Integer subdomain
          Deprecated. The Sub Domain
protected  java.lang.String type
          Deprecated. The Type
 
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. AlgorithmRegistryBaseCmd
COPYRIGHT, defaultCommandClassName
 
Fields inherited from interface com.ibm.commerce.tools.command. ToolsControllerCommand
NAME
 
Fields inherited from interface com.ibm.commerce.command. ECTargetableCommand
COPYRIGHT
 
Constructor Summary
AlgorithmRegistryBaseCmdImpl()
          Deprecated. CreateAuctionCmdImpl constructor comment.
 
Method Summary
protected  int compareTimestamp(java.sql.Timestamp t1, java.sql.Timestamp t2)
          Deprecated. util method to compare two timestamps
 java.lang.String getAlgoClass()
          Deprecated. Algorithm class
 java.lang.Integer getAlgoId()
          Deprecated. Algorithm Id
 java.lang.String getAlgoName()
          Deprecated. Algorithm name
 java.lang.Integer getAllocationPolicy()
          Deprecated. Algorithm Allocation policy.
protected  java.sql.Timestamp getCurrentTimeStamp()
          Deprecated. Current timestamp
 java.lang.Integer getDomain()
          Deprecated. UTF Domain
 java.util.Hashtable getErrorContent()
          Deprecated. Get Error content
 boolean getErrorFlag()
          Deprecated. Get Error flag
 java.lang.String getExpirationDate()
          Deprecated. Algorithm Registry entry expiration date
 java.lang.String getExpirationTime()
          Deprecated. Algorithm registry entry expiration time
protected  java.sql.Timestamp getExpirationTimeStamp()
          Deprecated. Algorithm Registry Entry Expiration timestamp
 java.lang.Integer getLanguageId()
          Deprecated. Get Language Id
 java.lang.String getLongDesc()
          Deprecated. Algorithm long description
 java.lang.Integer getMatchingPolicy()
          Deprecated. Algorithm Matching policy.
 java.lang.Long getOwnerId()
          Deprecated. Owner id (aka member id)
 java.lang.Integer getPricingPolicy()
          Deprecated. Algorithm Pricing policy.
  TypedProperty getResponseProperties()
          Deprecated. Get Response properties
 java.lang.String getShortDesc()
          Deprecated. Algorithm short description
 java.lang.Integer getSubDomain()
          Deprecated. UTF Sub Domain
 java.util.Hashtable getToolXMLObject()
          Deprecated. Get XML Object
 java.lang.String getType()
          Deprecated. Algorithm type
 java.lang.String getViewTaskName()
          Deprecated. Get view task name
 java.lang.String getWizardNavigationFile()
          Deprecated. Get Wizard navigation object
 boolean isErrorFlag()
          Deprecated. Return Error flag indication
 boolean isReadyToCallExecute()
          Deprecated. isReadyToCallExecute method.
 void performExecute()
          Deprecated. performExecute
 void reset()
          Deprecated. Reset
 void setAlgoClassUrlName(java.lang.String name, boolean isReq)
          Deprecated. Set Algorithm Class Name
 void setAlgoId(java.lang.Integer newAlgoId)
          Deprecated. Set Algorithm Registry Id
 void setAlgoIdUrlName(java.lang.String name, boolean isReq)
          Deprecated. Set Algorithm Registry id
 void setAlgoNameUrlName(java.lang.String name, boolean isReq)
          Deprecated. Set algorithm name
 void setAllocationPolicyUrlName(java.lang.String name, boolean isReq)
          Deprecated. Set Algorithm entry allocation policy
 void setDomainUrlName(java.lang.String name, boolean isReq)
          Deprecated. Set UTF domain.
 void setErrorContent(java.util.Hashtable newErrorContent)
          Deprecated. Set error content
 void setErrorFlag(boolean newErrorFlag)
          Deprecated. Set error flag.
 void setExpirationDateUrlName(java.lang.String name, boolean isReq)
          Deprecated. Set algorithm registry entry expiration date.
protected  void setExpirationTimeStamp(java.sql.Timestamp newExpirationTimeStamp)
          Deprecated. Set algorithm registry entry expiration timestamp.
 void setExpirationTimeUrlName(java.lang.String name, boolean isReq)
          Deprecated. Set Expiration time.
 void setLanguageIdUrlName(java.lang.String name, boolean isReq)
          Deprecated. Set language id.
 void setLongDescriptionUrlName(java.lang.String name, boolean isReq)
          Deprecated. Set algorithm long description
 void setMatchingPolicyUrlName(java.lang.String name, boolean isReq)
          Deprecated. Set Algorithm entry matching policy
 void setOwnerId(java.lang.Long id)
          Deprecated. Set owner id
 void setOwnerIdUrlName(java.lang.String name, boolean isReq)
          Deprecated. Set owner id
 void setPricingPolicyUrlName(java.lang.String name, boolean isReq)
          Deprecated. Set Algorithm entry pricing policy
 void setRequestProperties( TypedProperty paramTable)
          Deprecated. Set request properties.
 void setResponseProperties( TypedProperty paramHash)
          Deprecated. Set response properties.
 void setShortDescriptionUrlName(java.lang.String name, boolean isReq)
          Deprecated. Set algorithm short description
 void setSubDomainUrlName(java.lang.String name, boolean isReq)
          Deprecated. Set UTF sub domain.
 void setToolXMLObject(java.util.Hashtable newToolXMLObject)
          Deprecated. Set TOOL XML object
 void setTypeUrlName(java.lang.String name, boolean isReq)
          Deprecated. Set algorithm entry type.
 void setViewTaskName(java.lang.String newViewTaskName)
          Deprecated. Set view task name.
 
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, 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, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, 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, validateParameters
 

Field Detail

type

protected java.lang.String type
Deprecated. 
The Type

curTimeStamp

protected java.sql.Timestamp curTimeStamp
Deprecated. 
The Timestamp

ownerid

protected java.lang.Long ownerid
Deprecated. 
The Owner id

languageId

protected java.lang.Integer languageId
Deprecated. 
The Language Id

algoClass

protected java.lang.String algoClass
Deprecated. 
The Algorithm Class

algoId

protected java.lang.Integer algoId
Deprecated. 
The Algorithm Id

algoName

protected java.lang.String algoName
Deprecated. 
The Algorithm Name

allocationPolicy

protected java.lang.Integer allocationPolicy
Deprecated. 
The Allocation Policy

domain

protected java.lang.Integer domain
Deprecated. 
The Domain

subdomain

protected java.lang.Integer subdomain
Deprecated. 
The Sub Domain

expirationDate

protected java.lang.String expirationDate
Deprecated. 
The Expiration Date

expirationTime

protected java.lang.String expirationTime
Deprecated. 
The Expiration Time

expTimestamp

protected java.sql.Timestamp expTimestamp
Deprecated. 
The Expiration Timestamp

matchingPolicy

protected java.lang.Integer matchingPolicy
Deprecated. 
The Matching Policy

pricingPolicy

protected java.lang.Integer pricingPolicy
Deprecated. 
The Pricing Policy

longDesc

protected java.lang.String longDesc
Deprecated. 
The Long Description

shortDesc

protected java.lang.String shortDesc
Deprecated. 
The Short Descirption
Constructor Detail

AlgorithmRegistryBaseCmdImpl

public AlgorithmRegistryBaseCmdImpl()
Deprecated. 
CreateAuctionCmdImpl constructor comment.
Method Detail

compareTimestamp

protected int compareTimestamp(java.sql.Timestamp t1,
                               java.sql.Timestamp t2)
Deprecated. 
util method to compare two timestamps
Parameters:
t1 - java.sql.Timestamp
t2 - java.sql.Timestamp
Returns:
int 0 for equal and -1 for not equal

getAlgoClass

public java.lang.String getAlgoClass()
Deprecated. 
Algorithm class
Returns:
java.lang.String

getAlgoId

public java.lang.Integer getAlgoId()
Deprecated. 
Algorithm Id
Returns:
java.lang.Integer

getAlgoName

public java.lang.String getAlgoName()
Deprecated. 
Algorithm name
Returns:
java.lang.String

getAllocationPolicy

public java.lang.Integer getAllocationPolicy()
Deprecated. 
Algorithm Allocation policy. 0=One to one 1=One to many 2=Many to one 3=Many to many
Returns:
java.lang.String

getCurrentTimeStamp

protected java.sql.Timestamp getCurrentTimeStamp()
Deprecated. 
Current timestamp
Returns:
java.lang.Timestamp

getDomain

public java.lang.Integer getDomain()
Deprecated. 
UTF Domain
Returns:
java.lang.Integer

getErrorContent

public java.util.Hashtable getErrorContent()
Deprecated. 
Get Error content
Returns:
java.util.Hashtable

getErrorFlag

public boolean getErrorFlag()
Deprecated. 
Get Error flag
Returns:
boolean

getExpirationDate

public java.lang.String getExpirationDate()
Deprecated. 
Algorithm Registry entry expiration date
Returns:
java.lang.String

getExpirationTime

public java.lang.String getExpirationTime()
Deprecated. 
Algorithm registry entry expiration time
Returns:
java.lang.String

getExpirationTimeStamp

protected java.sql.Timestamp getExpirationTimeStamp()
Deprecated. 
Algorithm Registry Entry Expiration timestamp
Returns:
java.lang.String

getLanguageId

public java.lang.Integer getLanguageId()
Deprecated. 
Get Language Id
Returns:
java.lang.Integer

getLongDesc

public java.lang.String getLongDesc()
Deprecated. 
Algorithm long description
Returns:
java.lang.String

getMatchingPolicy

public java.lang.Integer getMatchingPolicy()
Deprecated. 
Algorithm Matching policy. 0=Partial Match 1=Full Match
Returns:
java.lang.String

getOwnerId

public java.lang.Long getOwnerId()
Deprecated. 
Owner id (aka member id)
Returns:
java.lang.Long

getPricingPolicy

public java.lang.Integer getPricingPolicy()
Deprecated. 
Algorithm Pricing policy. 0=Buyside 1=Sellside 2=Midpoint
Returns:
java.lang.String

getResponseProperties

public TypedProperty getResponseProperties()
Deprecated. 
Get Response properties
Specified by:
getResponseProperties in interface ControllerCommand
Overrides:
getResponseProperties in class ControllerCommandImpl
Returns:
com.ibm.commerce.datatype.TypedProperty

getShortDesc

public java.lang.String getShortDesc()
Deprecated. 
Algorithm short description
Returns:
java.lang.String

getSubDomain

public java.lang.Integer getSubDomain()
Deprecated. 
UTF Sub Domain
Returns:
java.lang.Integer

getToolXMLObject

public java.util.Hashtable getToolXMLObject()
Deprecated. 
Get XML Object
Returns:
java.util.Hashtable

getType

public java.lang.String getType()
Deprecated. 
Algorithm type
Returns:
java.lang.String

getViewTaskName

public java.lang.String getViewTaskName()
Deprecated. 
Get view task name
Returns:
java.lang.String

getWizardNavigationFile

public java.lang.String getWizardNavigationFile()
Deprecated. 
Get Wizard navigation object
Returns:
java.lang.String

isErrorFlag

public boolean isErrorFlag()
Deprecated. 
Return Error flag indication
Returns:
boolean

isReadyToCallExecute

public boolean isReadyToCallExecute()
Deprecated. 
isReadyToCallExecute method.
Overrides:
isReadyToCallExecute in class AbstractECTargetableCommand
Returns:
boolean

performExecute

public void performExecute()
                    throws ECException
Deprecated. 
performExecute
Specified by:
performExecute in interface ECCommand
Overrides:
performExecute in class AbstractECTargetableCommand
Throws:
ECException
See Also:
ECCommand.performExecute()

reset

public void reset()
Deprecated. 
Reset
Overrides:
reset in class AbstractECTargetableCommand

setAlgoClassUrlName

public void setAlgoClassUrlName(java.lang.String name,
                                boolean isReq)
Deprecated. 
Set Algorithm Class Name
Specified by:
setAlgoClassUrlName in interface AlgorithmRegistryBaseCmd
Parameters:
name - Algorithm Name
isReq - boolen

setAlgoId

public void setAlgoId(java.lang.Integer newAlgoId)
Deprecated. 
Set Algorithm Registry Id
Parameters:
newAlgoId - New Algorithm Id

setAlgoIdUrlName

public void setAlgoIdUrlName(java.lang.String name,
                             boolean isReq)
                      throws ECApplicationException
Deprecated. 
Set Algorithm Registry id
Specified by:
setAlgoIdUrlName in interface AlgorithmRegistryBaseCmd
Parameters:
name - Algorithm Name
isReq - boolean flag
Throws:
ECApplicationException

setAlgoNameUrlName

public void setAlgoNameUrlName(java.lang.String name,
                               boolean isReq)
                        throws ECApplicationException
Deprecated. 
Set algorithm name
Specified by:
setAlgoNameUrlName in interface AlgorithmRegistryBaseCmd
Parameters:
name - Algorithm Name
isReq - boolean flag
Throws:
ECApplicationException

setAllocationPolicyUrlName

public void setAllocationPolicyUrlName(java.lang.String name,
                                       boolean isReq)
Deprecated. 
Set Algorithm entry allocation policy
Specified by:
setAllocationPolicyUrlName in interface AlgorithmRegistryBaseCmd
Parameters:
name - Algorithm Name
isReq - boolean flag

setDomainUrlName

public void setDomainUrlName(java.lang.String name,
                             boolean isReq)
Deprecated. 
Set UTF domain.
Specified by:
setDomainUrlName in interface AlgorithmRegistryBaseCmd
Parameters:
name - Algorithm Name
isReq - boolean flag

setErrorContent

public void setErrorContent(java.util.Hashtable newErrorContent)
Deprecated. 
Set error content
Parameters:
newErrorContent - Hashtable

setErrorFlag

public void setErrorFlag(boolean newErrorFlag)
Deprecated. 
Set error flag.
Parameters:
newErrorFlag - boolean

setExpirationDateUrlName

public void setExpirationDateUrlName(java.lang.String name,
                                     boolean isReq)
Deprecated. 
Set algorithm registry entry expiration date. Format: yyyy-mm-dd
Specified by:
setExpirationDateUrlName in interface AlgorithmRegistryBaseCmd
Parameters:
name - Algorithm Name
isReq - boolean flag

setExpirationTimeStamp

protected void setExpirationTimeStamp(java.sql.Timestamp newExpirationTimeStamp)
                               throws ECApplicationException
Deprecated. 
Set algorithm registry entry expiration timestamp.
Parameters:
newExpirationTimeStamp - Timestamp
Throws:
ECApplicationException

setExpirationTimeUrlName

public void setExpirationTimeUrlName(java.lang.String name,
                                     boolean isReq)
Deprecated. 
Set Expiration time.
Specified by:
setExpirationTimeUrlName in interface AlgorithmRegistryBaseCmd
Parameters:
name - Algorithm Name
isReq - boolean flag

setLanguageIdUrlName

public void setLanguageIdUrlName(java.lang.String name,
                                 boolean isReq)
Deprecated. 
Set language id.
Specified by:
setLanguageIdUrlName in interface AlgorithmRegistryBaseCmd
Parameters:
name - Algorithm Name
isReq - boolean flag

setLongDescriptionUrlName

public void setLongDescriptionUrlName(java.lang.String name,
                                      boolean isReq)
                               throws ECApplicationException
Deprecated. 
Set algorithm long description
Specified by:
setLongDescriptionUrlName in interface AlgorithmRegistryBaseCmd
Parameters:
name - Algorithm Name
isReq - boolean flag
Throws:
ECApplicationException

setMatchingPolicyUrlName

public void setMatchingPolicyUrlName(java.lang.String name,
                                     boolean isReq)
Deprecated. 
Set Algorithm entry matching policy
Specified by:
setMatchingPolicyUrlName in interface AlgorithmRegistryBaseCmd
Parameters:
name - Algorithm Name
isReq - boolean flag

setOwnerId

public void setOwnerId(java.lang.Long id)
Deprecated. 
Set owner id
Parameters:
id - Algorithm Id

setOwnerIdUrlName

public void setOwnerIdUrlName(java.lang.String name,
                              boolean isReq)
Deprecated. 
Set owner id
Specified by:
setOwnerIdUrlName in interface AlgorithmRegistryBaseCmd
Parameters:
name - Algorithm Name
isReq - boolean flag

setPricingPolicyUrlName

public void setPricingPolicyUrlName(java.lang.String name,
                                    boolean isReq)
Deprecated. 
Set Algorithm entry pricing policy
Specified by:
setPricingPolicyUrlName in interface AlgorithmRegistryBaseCmd
Parameters:
name - Algorithm Name
isReq - boolean flag

setRequestProperties

public void setRequestProperties(TypedProperty paramTable)
                          throws ECApplicationException
Deprecated. 
Set request properties.
Specified by:
setRequestProperties in interface ControllerCommand
Overrides:
setRequestProperties in class ToolsControllerCommandImpl
Parameters:
paramTable - request properties
Throws:
ECApplicationException
See Also:
ControllerCmd#setRequestProperties(TypedProperty)

setResponseProperties

public void setResponseProperties(TypedProperty paramHash)
Deprecated. 
Set response properties.
Overrides:
setResponseProperties in class ControllerCommandImpl
Parameters:
paramHash - TypedProperty

setShortDescriptionUrlName

public void setShortDescriptionUrlName(java.lang.String name,
                                       boolean isReq)
                                throws ECApplicationException
Deprecated. 
Set algorithm short description
Specified by:
setShortDescriptionUrlName in interface AlgorithmRegistryBaseCmd
Parameters:
name - Algorithm Name
isReq - boolean flag
Throws:
ECApplicationException

setSubDomainUrlName

public void setSubDomainUrlName(java.lang.String name,
                                boolean isReq)
Deprecated. 
Set UTF sub domain.
Specified by:
setSubDomainUrlName in interface AlgorithmRegistryBaseCmd
Parameters:
name - Algorithm Name
isReq - boolean flag

setToolXMLObject

public void setToolXMLObject(java.util.Hashtable newToolXMLObject)
Deprecated. 
Set TOOL XML object
Parameters:
newToolXMLObject - Hashtable

setTypeUrlName

public void setTypeUrlName(java.lang.String name,
                           boolean isReq)
                    throws ECApplicationException
Deprecated. 
Set algorithm entry type.
Specified by:
setTypeUrlName in interface AlgorithmRegistryBaseCmd
Parameters:
name - Algorithm Name
isReq - boolean flag
Throws:
ECApplicationException

setViewTaskName

public void setViewTaskName(java.lang.String newViewTaskName)
Deprecated. 
Set view task name.
Parameters:
newViewTaskName - View Task Name