@Deprecated public interface UserRuleSet extends UserPrefsObject
UserPrefsObject.PrefsObjectType| Modifier and Type | Method and Description |
|---|---|
void |
addUserRule(UserRule ur)
Deprecated.
Add a new
UserRule to the User Defined Rules |
boolean |
containsUserRule(UserRule ur)
Deprecated.
|
boolean |
deleteUserRule(UserRule ur)
Deprecated.
Deletes the
UserRule from the RuleSet. |
boolean |
deleteUserRuleWithName(String ruleName)
Deprecated.
Deletes the specified rule from the RuleSet.
|
UserRule |
factoryUserRule()
Deprecated.
Factory method for
UserRule classes |
String |
getGuid()
Deprecated.
|
Iterator<RuleTermType> |
getSupportedTermTypes()
Deprecated.
|
Iterator<UserRule> |
getUserRule()
Deprecated.
|
String |
getXMLString()
Deprecated.
|
boolean |
isEqual(UserRuleSet urs)
Deprecated.
Check if the two objects represents the same rule
|
void |
modifyUserRule(UserRule ur)
Deprecated.
Modifies and Updatse an already added
UserRule |
void |
moveUserRule(int origin,
int dest)
Deprecated.
Moves a
UserRule to a diferent position |
RuleTermType |
ruleTermTypeFactory(String name)
Deprecated.
|
int |
sizeUserRule()
Deprecated.
|
boolean |
validate()
Deprecated.
Check that the Object is valid
|
getCreatedDate, getDescription, getLastModifiedDate, getPrefsObjectType, getVersion, isValid, setDescription, setValidString getGuid()
void addUserRule(UserRule ur) throws UserRuleSetValidationException
UserRule to the User Defined Rulesur - the UserRule to addUserRuleSetValidationException - if the parameter is not a valid UserRule or if another
UserRule with the same name has been addedIterator<UserRule> getUserRule()
boolean containsUserRule(UserRule ur)
ur - element whose presence in this list is to be testedUserRule is part of the classint sizeUserRule()
UserRule on the classboolean deleteUserRule(UserRule ur)
UserRule from the RuleSet.ur - the UserRule to removeboolean deleteUserRuleWithName(String ruleName)
ruleName - name of the UserRule to removevoid modifyUserRule(UserRule ur) throws UserRuleSetValidationException
UserRuleur - UserRule to update, it must be already into the
UserRuleSetUserRuleSetValidationException - if the UserRule is invalid, the user rule is not in the
UserRuleSet or the rule introduce a duplicated RuleNamevoid moveUserRule(int origin,
int dest)
throws UserRuleSetValidationException
UserRule to a diferent positionorigin - UserRule current positiondest - Place where the UserRule will be placedUserRuleSetValidationException - if origin is greater than the number of UserRulesString getXMLString() throws UserRuleSetValidationException
UserRuleSetValidationException - if the UserRuleSet is not a valid oneboolean validate()
throws UserRuleSetValidationException
UserRuleSetValidationException - if the object is not validboolean isEqual(UserRuleSet urs)
urs - the UserRuleSet to compareUserRule factoryUserRule()
UserRule classesIterator<RuleTermType> getSupportedTermTypes()
RuleTermType ruleTermTypeFactory(String name)
Copyright © 2009,2014 Oracle and/or its affiliates. All rights reserved.