ERD2WRule Class Reference

Inherits com::webobjects::directtoweb::Rule.

Collaboration diagram for ERD2WRule:

Collaboration graph
[legend]

List of all members.

Public Member Functions

String assignmentClassName ()
ERD2WRule cloneRule ()
void encodeWithKeyValueArchiver (EOKeyValueArchiver eokeyvaluearchiver)
 ERD2WRule (EOKeyValueUnarchiver eokeyvalueunarchiver)
 ERD2WRule ()
int priority ()
String toString ()

Static Public Member Functions

static Object decodeWithKeyValueUnarchiver (EOKeyValueUnarchiver eokeyvalueunarchiver)

Private Attributes

String _assignmentClassName
int _priority = -1
boolean patchRulePriority = ERXProperties.booleanForKeyWithDefault("er.directtoweb.ERD2WRule.patchRulePriority", true)


Detailed Description

Rule class that works around two problems:
In order to be usable with the D2WClient and Rule editor, we also patch the encoded dictionary so these tools find no trace of the patched rules.
Author:
ak

Constructor & Destructor Documentation

ERD2WRule (  ) 

ERD2WRule ( EOKeyValueUnarchiver  eokeyvalueunarchiver  ) 


Member Function Documentation

String assignmentClassName (  ) 

ERD2WRule cloneRule (  ) 

static Object decodeWithKeyValueUnarchiver ( EOKeyValueUnarchiver  eokeyvalueunarchiver  )  [static]

void encodeWithKeyValueArchiver ( EOKeyValueArchiver  eokeyvaluearchiver  ) 

Overridden to patch the normal rule class name into the generated dictionary.

See also:
com.webobjects.eocontrol.EOKeyValueArchiving.encodeWithKeyValueArchiver(com.webobjects.eocontrol.EOKeyValueArchiver)

int priority (  ) 

Overridden to work around

See also:
com.webobjects.directtoweb.Rule.priority()

String toString (  ) 

Builds a string like:

   100: ((entity.name = 'Bug') and (task = 'edit')) => isInspectable = true [com.directtowen.BooleanAssignment]
Returns:
a nice description of the rule


Member Data Documentation

int _priority = -1 [private]

boolean patchRulePriority = ERXProperties.booleanForKeyWithDefault("er.directtoweb.ERD2WRule.patchRulePriority", true) [private]


The documentation for this class was generated from the following file:

Generated on Sat May 26 06:42:48 2012 for Project Wonder by  doxygen 1.5.8