ERD2WEditRelationshipPage Class Reference

Inherits com::webobjects::directtoweb::D2WEditRelationshipPage.

Inherited by ERDIVEditRelationshipPage, ERLITEditRelationshipPage, and ERNEUEditRelationshipPage.

Collaboration diagram for ERD2WEditRelationshipPage:

Collaboration graph
[legend]

List of all members.

Classes

interface  Keys

Public Member Functions

String displayNameForRelationshipKey ()
WOComponent editObjectInRelationship ()
 ERD2WEditRelationshipPage (WOContext c)
boolean isEntityReadOnly ()
WOComponent queryAction ()
WOComponent removeFromToOneRelationshipAction ()
WOComponent selectAction ()
void setMasterObjectAndRelationshipKey (EOEnterpriseObject eo, String relationshipKey)

Private Attributes

String _relationshipKey


Detailed Description

editConfigurationName isEntityEditable readOnly

Constructor & Destructor Documentation

ERD2WEditRelationshipPage ( WOContext  c  ) 

Public constructor

Parameters:
c current context


Member Function Documentation

String displayNameForRelationshipKey (  ) 

WOComponent editObjectInRelationship (  ) 

boolean isEntityReadOnly (  ) 

Checks if the entity is read-only, meaning that you can't edit its objects.

Three factors influence this evaluation:

  1. The default implementation of isEntityReadOnly
  2. The value of the isEntityEditable rule from the D2WContext.
  3. The value of the readOnly rule from the D2WContext (with no rule-engine inference).

Use isEntityEditable or readOnly rules to override the default behavior.

Returns:
true if the entity is considered read-only

WOComponent queryAction (  ) 

Overridden because the action bound should not return null.

Reimplemented in ERDIVEditRelationshipPage, and ERLITEditRelationshipPage.

WOComponent removeFromToOneRelationshipAction (  ) 

WOComponent selectAction (  ) 

Overridden because the action bound should not return null.

Reimplemented in ERDIVEditRelationshipPage, and ERLITEditRelationshipPage.

void setMasterObjectAndRelationshipKey ( EOEnterpriseObject  eo,
String  relationshipKey 
)


Member Data Documentation


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

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