|
Project Wonder 5.0 | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.webobjects.directtoweb.Rule
er.directtoweb.ERD2WRule
public class ERD2WRule
Rule class that works around two problems:
pageConfiguration
keys so high up that they will get preferred over rules without such a condition, but with a higher author setting.
This is pretty ridiculous and leads to having to set ... AND (pageConfiguration like '*')
in all the conditions.pageConfiguration
so high that they will be higher than rules with the same author setting
but lower than a rule with a higher setting.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.webobjects.eocontrol.EOKeyValueArchiving |
---|
com.webobjects.eocontrol.EOKeyValueArchiving._NullValueSupport, com.webobjects.eocontrol.EOKeyValueArchiving._NumberSupport, com.webobjects.eocontrol.EOKeyValueArchiving._TimestampSupport, com.webobjects.eocontrol.EOKeyValueArchiving.Awaking, com.webobjects.eocontrol.EOKeyValueArchiving.FinishInitialization, com.webobjects.eocontrol.EOKeyValueArchiving.Support |
Field Summary |
---|
Fields inherited from class com.webobjects.directtoweb.Rule |
---|
authorKey, DIRECT_2_WEB, lhsKey, rhsKey, WEB_ASSISTANT, WEB_ASSISTANT_PAGE_AVAILABLE |
Fields inherited from interface com.webobjects.eocontrol.EOKeyValueArchiving |
---|
_CLASS |
Constructor Summary | |
---|---|
ERD2WRule()
|
|
ERD2WRule(com.webobjects.eocontrol.EOKeyValueUnarchiver eokeyvalueunarchiver)
|
Method Summary | |
---|---|
java.lang.String |
assignmentClassName()
|
ERD2WRule |
cloneRule()
|
static java.lang.Object |
decodeWithKeyValueUnarchiver(com.webobjects.eocontrol.EOKeyValueUnarchiver eokeyvalueunarchiver)
|
void |
encodeWithKeyValueArchiver(com.webobjects.eocontrol.EOKeyValueArchiver eokeyvaluearchiver)
Overridden to patch the normal rule class name into the generated dictionary. |
int |
priority()
Overridden to work around |
java.lang.String |
toString()
Builds a string like: |
Methods inherited from class com.webobjects.directtoweb.Rule |
---|
_lhsToString, author, canFireInContext, compareRules, createAssignment, dataTypesInvolved, dynamicPagesInvolved, fire, firstDynamicPageNameInvolved, firstEntityInvolved, firstPropertyKeyInvolved, firstTaskInvolved, hasSameSettingsAs, isEntityPermissionRule, isEntityRule, isLookRule, isStartupRule, isTaskRule, lhs, rhs, rhsKeyPath, rhsKeyPathHash, setLhs, setRhs, tasksInvolved |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ERD2WRule()
public ERD2WRule(com.webobjects.eocontrol.EOKeyValueUnarchiver eokeyvalueunarchiver)
Method Detail |
---|
public static java.lang.Object decodeWithKeyValueUnarchiver(com.webobjects.eocontrol.EOKeyValueUnarchiver eokeyvalueunarchiver)
public void encodeWithKeyValueArchiver(com.webobjects.eocontrol.EOKeyValueArchiver eokeyvaluearchiver)
encodeWithKeyValueArchiver
in interface com.webobjects.eocontrol.EOKeyValueArchiving
encodeWithKeyValueArchiver
in class com.webobjects.directtoweb.Rule
EOKeyValueArchiving.encodeWithKeyValueArchiver(com.webobjects.eocontrol.EOKeyValueArchiver)
public int priority()
priority
in class com.webobjects.directtoweb.Rule
Rule.priority()
public java.lang.String assignmentClassName()
public ERD2WRule cloneRule()
public java.lang.String toString()
100: ((entity.name = 'Bug') and (task = 'edit')) => isInspectable = true [com.directtowen.BooleanAssignment]
toString
in class com.webobjects.directtoweb.Rule
|
Last updated: Tue, Feb 21, 2017 05:45 PM CET | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |