|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.omg.CORBA.portable.ObjectImpl | +--org.omg.CORBA_2_3.portable.ObjectImpl | +--javax.rmi.CORBA.Stub | +--com.ibm.websphere.brb.mgmt._IRule_Stub
Fields inherited from interface com.ibm.websphere.brb.mgmt.IRule |
DATE_STATUS_EXPIRED, DATE_STATUS_IN_EFFECT, DATE_STATUS_INVALID, DATE_STATUS_NO_START_DATE, DATE_STATUS_PENDING, FIRE_ANYWHERE, FIRE_LOCAL, FIRE_REMOTE, TYPE_COPY, TYPE_REFERENCE |
Constructor Summary | |
_IRule_Stub()
|
Method Summary | |
java.lang.String[] |
_ids()
|
void |
addInitParameter(ConstantParameter arg0)
Adds the given init parameter to the end of the list of init parameters. |
java.util.Vector |
checkRuleData()
Check for errors in the data for this rule. |
IRule |
copy(int arg0)
Creates a new rule initialized with the contents of this rule. |
void |
delete()
Deletes this rule. |
java.lang.Object |
fire(TriggerPoint arg0,
java.lang.Object arg1,
java.lang.Object[] arg2)
Fires this rule. |
java.lang.String |
getBusinessIntent()
Returns the business intent of this rule. |
java.lang.String |
getClassification()
Returns the classification of this rule. |
int |
getDateStatus()
Determine the rule's status. |
java.lang.String[] |
getDependentRules()
Returns the names of the dependent rules of this rule. |
java.lang.String |
getDescription()
Returns the description of this rule. |
java.util.Date |
getEndDate()
Returns the date when this rule expires. |
int |
getFiringLocation()
Returns the firing location for this rule. |
IParameter[] |
getFiringParameters()
Returns the firing parameters for this rule. |
java.lang.String |
getId()
Returns the primary key of this rule. |
ConstantParameter[] |
getInitParameters()
Returns the init parameters for this rule. |
java.lang.String |
getJavaRuleImplementorName()
Returns the full class name of the Java rule implementor of this rule. |
java.lang.String |
getOriginalRequirement()
Returns the initial business analyst requirement of this rule. |
int |
getPrecedence()
Returns the relative priority of this rule. |
IRule |
getRuleAtFiringLocation()
FOR IBM INTERNAL USE ONLY. |
IRuleCopy |
getRuleCopy()
Creates a copy of this rule and returns it. |
IRuleFolder |
getRuleFolder()
Returns the folder in which this rule is stored. |
java.lang.String |
getRuleName()
Returns the name of this rule. |
java.util.Date |
getStartDate()
Returns the date this rule comes into effect. |
java.lang.String |
getUserDefinedData()
Returns any user-defined data for this rule. |
boolean |
isClassifier()
Returns a value indicating if this rule is a classifier rule. |
boolean |
isReady()
Returns a value indicating whether this rule is ready for use. |
void |
move(IRuleFolder arg0)
Moves this rule to the given rule folder. |
void |
removeInitParameter(int arg0)
Removes the init parameter that is at the given index. |
void |
setBusinessIntent(java.lang.String arg0)
Sets the business intent of this rule. |
void |
setClassification(java.lang.String arg0)
Sets the classification of this rule. |
void |
setClassifier(boolean arg0)
Sets a value indicating if this rule is a classifier rule. |
void |
setDependentRules(java.lang.String[] arg0)
Sets the names of the dependent rules of this rule. |
void |
setDescription(java.lang.String arg0)
Sets the description of this rule. |
void |
setEndDate(java.util.Date arg0)
Sets the date when this rule expires. |
void |
setFiringLocation(int arg0)
Sets the firing location for this rule. |
void |
setFiringParameters(IParameter[] arg0)
Sets the firing parameters for this rule. |
void |
setInitParameters(ConstantParameter[] arg0)
Sets the init parameters for this rule. |
void |
setJavaRuleImplementorName(java.lang.String arg0)
Sets the full class name of the Java rule implementor of this rule. |
void |
setOriginalRequirement(java.lang.String arg0)
Sets the initial business analyst requirement of this rule. |
void |
setPrecedence(int arg0)
Sets the relative priority of this rule. |
void |
setReady(boolean arg0)
Sets a value indicating whether this rule is ready for use. |
void |
setRuleName(java.lang.String arg0)
Sets the name of this rule. |
void |
setStartDate(java.util.Date arg0)
Sets the date this rule comes into effect. |
void |
setUserDefinedData(java.lang.String arg0)
Sets the user-defined data for this rule. |
java.lang.String |
toXML()
Returns the XML representation of this rule. |
Methods inherited from class javax.rmi.CORBA.Stub |
connect, equals, hashCode, toString |
Methods inherited from class org.omg.CORBA_2_3.portable.ObjectImpl |
_get_codebase |
Methods inherited from class org.omg.CORBA.portable.ObjectImpl |
_create_request, _create_request, _duplicate, _get_delegate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_delegate, _set_policy_override |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public _IRule_Stub()
Method Detail |
public java.lang.String[] _ids()
_ids
in class org.omg.CORBA.portable.ObjectImpl
public void addInitParameter(ConstantParameter arg0) throws java.rmi.RemoteException
IRule
addInitParameter
in interface IRule
com.ibm.websphere.brb.mgmt.IRule
initParameter
- an init parameter to add to this rulepublic java.util.Vector checkRuleData() throws java.rmi.RemoteException
IRule
checkRuleData
in interface IRule
com.ibm.websphere.brb.mgmt.IRule
public IRule copy(int arg0) throws BusinessRuleBeansException, java.rmi.RemoteException
IRule
IRuleCopy
is returned. In this case,
the persistent rule is not created on the server until method
updatePersistentRule
is called on the
IRuleCopy
.
When returning a reference, the persistent rule is created on the server immediately.
copy
in interface IRule
com.ibm.websphere.brb.mgmt.IRule
ruleReturnType
- indicates whether to return a local copy (IRule.TYPE_COPY) or a reference (IRule.TYPE_REFERENCE)public void delete() throws BusinessRuleBeansException, java.rmi.RemoteException
IRule
updatePersistentRule
must be called before the
rule will be deleted from persistent storage.delete
in interface IRule
public java.lang.Object fire(TriggerPoint arg0, java.lang.Object arg1, java.lang.Object[] arg2) throws BusinessRuleBeansException, java.rmi.RemoteException
IRule
FiringStrategy
.fire
in interface IRule
com.ibm.websphere.brb.mgmt.IRule
tp
- the trigger point with which this rule is calledtarget
- the target object passed by the applicationfiringParams
- the parameters passed by the applicationBusinessRuleBeansException
- if a problem occurspublic java.lang.String getBusinessIntent() throws java.rmi.RemoteException
IRule
getBusinessIntent
in interface IRule
com.ibm.websphere.brb.mgmt.IRule
public java.lang.String getClassification() throws java.rmi.RemoteException
IRule
getClassification
in interface IRule
com.ibm.websphere.brb.mgmt.IRule
public int getDateStatus() throws java.rmi.RemoteException
IRule
getDateStatus
in interface IRule
com.ibm.websphere.brb.mgmt.IRule
java.rmi.RemoteException
- An error occurred processing the request.public java.lang.String[] getDependentRules() throws java.rmi.RemoteException
IRule
rule implementor
as the dependentRules
parameter on the init
method. Generally a rule implementor that handles dependent rules (for example
RuleAND
and
RuleIfThenElse
) will fire
each of the named rules.getDependentRules
in interface IRule
com.ibm.websphere.brb.mgmt.IRule
public java.lang.String getDescription() throws java.rmi.RemoteException
IRule
getDescription
in interface IRule
com.ibm.websphere.brb.mgmt.IRule
public java.util.Date getEndDate() throws java.rmi.RemoteException
IRule
getEndDate
in interface IRule
com.ibm.websphere.brb.mgmt.IRule
public int getFiringLocation() throws java.rmi.RemoteException
IRule
getFiringLocation
in interface IRule
com.ibm.websphere.brb.mgmt.IRule
public IParameter[] getFiringParameters() throws java.rmi.RemoteException
IRule
getFiringParameters
in interface IRule
com.ibm.websphere.brb.mgmt.IRule
public java.lang.String getId() throws java.rmi.RemoteException
IRule
getId
in interface IRule
com.ibm.websphere.brb.mgmt.IRule
public ConstantParameter[] getInitParameters() throws java.rmi.RemoteException
IRule
getInitParameters
in interface IRule
com.ibm.websphere.brb.mgmt.IRule
public java.lang.String getJavaRuleImplementorName() throws java.rmi.RemoteException
IRule
getJavaRuleImplementorName
in interface IRule
com.ibm.websphere.brb.mgmt.IRule
public java.lang.String getOriginalRequirement() throws java.rmi.RemoteException
IRule
getOriginalRequirement
in interface IRule
com.ibm.websphere.brb.mgmt.IRule
public int getPrecedence() throws java.rmi.RemoteException
IRule
getPrecedence
in interface IRule
com.ibm.websphere.brb.mgmt.IRule
public IRule getRuleAtFiringLocation() throws BusinessRuleBeansException, java.rmi.RemoteException
IRule
getRuleAtFiringLocation
in interface IRule
com.ibm.websphere.brb.mgmt.IRule
IRule.getFiringLocation()
public IRuleCopy getRuleCopy() throws BusinessRuleBeansException, java.rmi.RemoteException
IRule
getRuleCopy
in interface IRule
com.ibm.websphere.brb.mgmt.IRule
BusinessRuleBeansException
- if an exception occurs creating the rulejava.rmi.RemoteException
- if a remote exception occurspublic IRuleFolder getRuleFolder() throws BusinessRuleBeansException, java.rmi.RemoteException
IRule
getRuleFolder
in interface IRule
com.ibm.websphere.brb.mgmt.IRule
public java.lang.String getRuleName() throws java.rmi.RemoteException
IRule
getRuleName
in interface IRule
com.ibm.websphere.brb.mgmt.IRule
public java.util.Date getStartDate() throws java.rmi.RemoteException
IRule
getStartDate
in interface IRule
com.ibm.websphere.brb.mgmt.IRule
public java.lang.String getUserDefinedData() throws java.rmi.RemoteException
IRule
getUserDefinedData
in interface IRule
com.ibm.websphere.brb.mgmt.IRule
public boolean isClassifier() throws java.rmi.RemoteException
IRule
triggerClassifier
and the first phase of
triggerSituational
. Classifier rules are not found by
trigger
and the second phase of triggerSituational
.isClassifier
in interface IRule
com.ibm.websphere.brb.mgmt.IRule
public boolean isReady() throws java.rmi.RemoteException
IRule
isReady
in interface IRule
com.ibm.websphere.brb.mgmt.IRule
public void move(IRuleFolder arg0) throws java.rmi.RemoteException
IRule
move
in interface IRule
com.ibm.websphere.brb.mgmt.IRule
newRuleFolder
- the new rule folder which will hold this rulepublic void removeInitParameter(int arg0) throws java.rmi.RemoteException
IRule
removeInitParameter
in interface IRule
com.ibm.websphere.brb.mgmt.IRule
index
- the index of the init parameter to removeBRBeansIllegalArgumentException
- if given an illegal indexpublic void setBusinessIntent(java.lang.String arg0) throws java.rmi.RemoteException
IRule
setBusinessIntent
in interface IRule
com.ibm.websphere.brb.mgmt.IRule
newBusinessIntent
- the new business intentpublic void setClassification(java.lang.String arg0) throws java.rmi.RemoteException
IRule
setClassification
in interface IRule
com.ibm.websphere.brb.mgmt.IRule
newClassification
- the new classification of this rulepublic void setClassifier(boolean arg0) throws java.rmi.RemoteException
IRule
triggerClassifier
and the first phase of
triggerSituational
. Classifier rules are not found by
trigger
and the second phase of triggerSituational
.setClassifier
in interface IRule
com.ibm.websphere.brb.mgmt.IRule
isClassifier
- true if this is a classifier rule, false otherwisepublic void setDependentRules(java.lang.String[] arg0) throws java.rmi.RemoteException
IRule
rule implementor
as the dependentRules
parameter on the init
method. Generally a rule implementor that handles dependent rules (for example
RuleAND
and
RuleIfThenElse
) will fire
each of the named rules.setDependentRules
in interface IRule
com.ibm.websphere.brb.mgmt.IRule
newDependentRules
- an array of full rule names of the dependent rulespublic void setDescription(java.lang.String arg0) throws java.rmi.RemoteException
IRule
setDescription
in interface IRule
com.ibm.websphere.brb.mgmt.IRule
newDescription
- the new descriptionpublic void setEndDate(java.util.Date arg0) throws java.rmi.RemoteException
IRule
setEndDate
in interface IRule
com.ibm.websphere.brb.mgmt.IRule
newEndDate
- the new end date, or null if the rule should not expirepublic void setFiringLocation(int arg0) throws java.rmi.RemoteException
IRule
setFiringLocation
in interface IRule
com.ibm.websphere.brb.mgmt.IRule
newFiringLocation
- the location at which this rule's implementor is firedpublic void setFiringParameters(IParameter[] arg0) throws java.rmi.RemoteException
IRule
setFiringParameters
in interface IRule
com.ibm.websphere.brb.mgmt.IRule
parameters
- the firing parameters, or null if the firing parameters are passed directly
from the trigger point.public void setInitParameters(ConstantParameter[] arg0) throws java.rmi.RemoteException
IRule
setInitParameters
in interface IRule
com.ibm.websphere.brb.mgmt.IRule
newInitParameters
- the new init parametersIRule.addInitParameter(ConstantParameter)
public void setJavaRuleImplementorName(java.lang.String arg0) throws java.rmi.RemoteException
IRule
setJavaRuleImplementorName
in interface IRule
com.ibm.websphere.brb.mgmt.IRule
newRuleImplementor
- the full class name of the Java rule implementor of this rulepublic void setOriginalRequirement(java.lang.String arg0) throws java.rmi.RemoteException
IRule
setOriginalRequirement
in interface IRule
com.ibm.websphere.brb.mgmt.IRule
newOriginalReq
- the new original requirement of this rulepublic void setPrecedence(int arg0) throws java.rmi.RemoteException
IRule
setPrecedence
in interface IRule
com.ibm.websphere.brb.mgmt.IRule
newPrecedence
- the relative priority of this rulepublic void setReady(boolean arg0) throws java.rmi.RemoteException
IRule
setReady
in interface IRule
com.ibm.websphere.brb.mgmt.IRule
ready
- boolean indicating whether this rule is ready for usepublic void setRuleName(java.lang.String arg0) throws java.rmi.RemoteException
IRule
setRuleName
in interface IRule
com.ibm.websphere.brb.mgmt.IRule
newRuleName
- the name of this ruleBusinessRuleBeansException
- if the newRuleName
is invalid. A valid rule name cannot be null, cannot contain a '/' character, and cannot be
empty or all blanks.public void setStartDate(java.util.Date arg0) throws java.rmi.RemoteException
IRule
setStartDate
in interface IRule
com.ibm.websphere.brb.mgmt.IRule
newStartDate
- the new start date of this rulepublic void setUserDefinedData(java.lang.String arg0) throws java.rmi.RemoteException
IRule
setUserDefinedData
in interface IRule
com.ibm.websphere.brb.mgmt.IRule
newUserDefinedData
- the user-defined datapublic java.lang.String toXML() throws BusinessRuleBeansException, java.rmi.RemoteException
IRule
toXML
in interface IRule
com.ibm.websphere.brb.mgmt.IRule
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |