|
Oracle Fusion Middleware User Messaging Service 11.1.1.6.0 Java API Reference E14011-04 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface UserRuleSet
This Interface represent all the User Defined Rules for a given guid
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface oracle.sdp.messaging.userprefs.UserPrefsObject |
|---|
UserPrefsObject.PrefsObjectType |
| Method Summary | |
|---|---|
void |
addUserRule(UserRule ur)
Add a new UserRule to the User Defined Rules |
boolean |
containsUserRule(UserRule ur)
|
boolean |
deleteUserRule(UserRule ur)
Deletes the UserRule from the RuleSet. |
boolean |
deleteUserRuleWithName(java.lang.String ruleName)
Deletes the specified rule from the RuleSet. |
UserRule |
factoryUserRule()
Factory method for UserRule classes |
java.lang.String |
getGuid()
|
Iterator<RuleTermType> |
getSupportedTermTypes()
|
Iterator<UserRule> |
getUserRule()
|
java.lang.String |
getXMLString()
|
boolean |
isEqual(UserRuleSet urs)
Check if the two objects represents the same rule |
void |
modifyUserRule(UserRule ur)
Modifies and Updatse an already added UserRule |
void |
moveUserRule(int origin,
int dest)
Moves a UserRule to a diferent position |
RuleTermType |
ruleTermTypeFactory(java.lang.String name)
|
int |
sizeUserRule()
|
boolean |
validate()
Check that the Object is valid |
| Methods inherited from interface oracle.sdp.messaging.userprefs.UserPrefsObject |
|---|
getCreatedDate, getDescription, getLastModifiedDate, getPrefsObjectType, getVersion, isValid, setDescription, setValid |
| Method Detail |
|---|
void addUserRule(UserRule ur)
throws UserRuleSetValidationException
UserRule to the User Defined Rules
ur - the UserRule to add
UserRuleSetValidationException - if the parameter is not a valid
UserRule or if another UserRule with the same name has been addedboolean containsUserRule(UserRule ur)
ur - element whose presence in this list is to be tested
UserRule is part of the classboolean deleteUserRule(UserRule ur)
UserRule from the RuleSet.
ur - the UserRule to remove
boolean deleteUserRuleWithName(java.lang.String ruleName)
ruleName - name of the UserRule to remove
UserRule factoryUserRule()
UserRule classes
java.lang.String getGuid()
Iterator<RuleTermType> getSupportedTermTypes()
Iterator<UserRule> getUserRule()
java.lang.String getXMLString()
throws UserRuleSetValidationException
UserRuleSetValidationException - if the UserRuleSet is not a valid oneboolean isEqual(UserRuleSet urs)
urs - the UserRuleSet to compare
void modifyUserRule(UserRule ur)
throws UserRuleSetValidationException
UserRule
ur - UserRule to update, it must be already into the UserRuleSet
UserRuleSetValidationException - if the UserRule is invalid, the user
rule is not in the UserRuleSet or the rule introduce a duplicated
RuleName
void moveUserRule(int origin,
int dest)
throws UserRuleSetValidationException
UserRule to a diferent position
origin - UserRule current positiondest - Place where the UserRule will be placed
UserRuleSetValidationException - if origin is greater than the
number of UserRulesRuleTermType ruleTermTypeFactory(java.lang.String name)
int sizeUserRule()
UserRule on the class
boolean validate()
throws UserRuleSetValidationException
UserRuleSetValidationException - if the object is not valid
|
Oracle Fusion Middleware User Messaging Service 11.1.1.6.0 Java API Reference E14011-04 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||