public class GenerateRankingPolicyCmdImpl extends AbstractGenerateRankingPolicyCmdImpl implements GenerateRankingPolicyCmd
GenerateRankingPolicyCmdImpl
is the implementation
of the GenerateRankingPolicyCmd
interface which is used to
generate a ranking list. The command overrides the generate
and postGenerate
methods.
In the generate
method, it composes a SQL according to the provided parameters
and the specific database type. This SQL will generate the ranking list items. The
postGenerate
method will adjust the sequence of the
ranking items if there are any list overrides specified.
The ranking items will be persisted into the DMRANKINGITEM
database table.
This command supports the following two parameters. All the parameters are optional. These parameters can be set in the PROPERTIES column of the business policy command in the POLICYCMD database table.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
defaultCommandClassName
Constructor and Description |
---|
GenerateRankingPolicyCmdImpl() |
getParameterProperties, getRanking, getRankingResult, performExecute, setParameterProperties, setRanking, setRankingResult, validateParameters
getPolicyId, getRequestProperties, setPolicyId, setRequestProperties
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCache
getCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicy
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getRanking, getRankingResult, setParameterProperties, setRanking, setRankingResult
getPolicyId, getRequestProperties, setPolicyId, setRequestProperties
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, performExecute, setCommandTarget, setCommandTargetName, setOutputProperties
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
public static final java.lang.String COPYRIGHT