public class ControlRuleListBeanCmdImpl extends DataBeanCommandImpl implements ControlRuleListBeanCmd
Modifier and Type | Field and Description |
---|---|
protected ControlRuleAccessBean | controlRuleAccessBean
Instance variable to store an access bean.
|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
protected java.lang.Long | ownerId
Instance variable to store ownerId used for list population
|
protected java.lang.String | ruleName
Instance variable to store the rule name.
|
protected java.lang.String | ruleType
Instance variable to store the control rule type used for list population
|
Constructor and Description |
---|
ControlRuleListBeanCmdImpl() |
Modifier and Type | Method and Description |
---|---|
ControlRuleAccessBean | getControlRule()
Fetches a ControlRule from the list.
|
java.lang.Long | getOwnerId()
Fetches the ownerId used for list population.
|
java.lang.String | getRuleName()
Fetches the control rule name used for list population.
|
java.lang.String | getRuleType()
Fetches the control rule type used for list population.
|
boolean | isReadyToCallExecute()
This method is called by the targetable command framework.
|
void | performExecute()
Populates a list of control rules matching specific criteria, in the following precedence: - by match on both the ownerId and ruleType - by match on both the ownerId and ruleName - by matching ownerId - a list of all rules
|
void | populateDataBeanCommand(InputDataBean aDataBean)
Gets input data (OwnerId, RuleType, or RuleName) from ControlRuleListBean
|
void | reset()
Resets the bean.
|
void | setControlRule(ControlRuleAccessBean newControlRuleAccessBean)
Provides an access bean instance for returning an element from the list.
|
void | setOwnerId(java.lang.Long newOwnerId)
Sets the owner ID used by the finder methods to populate the list.
|
void | setRequestProperties(TypedProperty properties)
Obtains command parameters from TypedProperty; current implementation does nothing.
|
void | setRuleName(java.lang.String newRuleName)
Sets the rule name used by the finder method to populate the list.
|
void | setRuleType(java.lang.String newRuleType)
Sets the rule type used by the finder methods to populate the list.
|
public static final java.lang.String COPYRIGHT
protected java.lang.Long ownerId
protected java.lang.String ruleType
protected ControlRuleAccessBean controlRuleAccessBean
protected java.lang.String ruleName
public ControlRuleAccessBean getControlRule()
public java.lang.Long getOwnerId()
public java.lang.String getRuleName()
public java.lang.String getRuleType()
public boolean isReadyToCallExecute()
public void performExecute() throws ECException
public void populateDataBeanCommand(InputDataBean aDataBean)
public void reset()
public void setControlRule(ControlRuleAccessBean newControlRuleAccessBean)
public void setOwnerId(java.lang.Long newOwnerId)
public void setRequestProperties(TypedProperty properties)
public void setRuleName(java.lang.String newRuleName)
public void setRuleType(java.lang.String newRuleType)