ERDList Class Reference

Inherits er::directtoweb::components::ERDCustomEditComponent.

Inherited by ERDEditableList.

Collaboration diagram for ERDList:

Collaboration graph
[legend]

List of all members.

Classes

interface  CreateObjectDelegate
class  DefaultCreateObjectDelegate

Public Member Functions

WOComponent createObjectAction ()
CreateObjectDelegate createObjectDelegate ()
String emptyListMessage ()
boolean erD2WListOmitCenterTag ()
 ERDList (WOContext context)
Boolean hasCreationDelegate ()
NSArray list ()
EOEnterpriseObject masterObjectKeyPathForCreationDelegate ()
String relationshipName ()
void reset ()
NSDictionary settings ()
boolean synchronizesVariablesWithBindings ()
Boolean useCreationDelegate ()
Object valueForBinding (String key)
Object valueForKey (String key)

Protected Attributes

NSArray list

Static Package Attributes

static final Logger log = Logger.getLogger(ERDList.class)


Detailed Description

Used to edit a toMany relationship by allowing the user to pick the eos that belong in the relationship.

object key emptyListMessage listPageConfiguration list createButtonComponentName useNestedEditingContext


Constructor & Destructor Documentation

ERDList ( WOContext  context  ) 


Member Function Documentation

WOComponent createObjectAction (  ) 

CreateObjectDelegate createObjectDelegate (  ) 

Returns:
CreateObjectDelegate instance from the rule file/bindings. this is responsible for creating the object and displaying the appropriate page.
Note: if this is binding is present, then the usual method of figuring out what to create from destinationEntityName and object binding doesn't happen.

String emptyListMessage (  ) 

boolean erD2WListOmitCenterTag (  ) 

Boolean hasCreationDelegate (  ) 

Returns:
true, if createObjectDelegate resolved to a valid object. false, otherwise

NSArray list (  ) 

EOEnterpriseObject masterObjectKeyPathForCreationDelegate (  ) 

Returns:
the keyPath to be used to compute the master object used by CreateObjectDelegate. whatever this keypath resolves to will be used to attach the newly created object.

String relationshipName (  ) 

Returns:
String relationshipName to connect masterObj and the newly created object. this will be used to add the newly createdObjects to both sides of relationship.

void reset (  ) 

Used by stateless subclasses.

Reimplemented from ERDCustomEditComponent.

Reimplemented in ERDEditableList.

NSDictionary settings (  ) 

Reimplemented in ERDEditableList.

boolean synchronizesVariablesWithBindings (  ) 

Overridden from superclass to turn on component synching, which is the default.

Reimplemented from ERDCustomEditComponent.

Boolean useCreationDelegate (  ) 

Returns:
Boolean if true, createObjectAction method will use delegate (either the one that is provided or the default one.

Object valueForBinding ( String  binding  ) 

Fetches an object from the bindings. Tries the actual supplied bindings, the supplied d2wContext, the parent and finally the extra bindings dictionary.

Reimplemented from ERDCustomComponent.

Object valueForKey ( String  key  ) 


Member Data Documentation

NSArray list [protected]

final Logger log = Logger.getLogger(ERDList.class) [static, package]

logging support

Reimplemented from ERDCustomEditComponent.


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

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