ERDCustomEditComponent Class Reference

Inherits er::directtoweb::components::ERDCustomComponent.

Inherited by EditTags, LinkToBookmarkBug, PriorityComponent, StatusComponent, ViewUser, ERDEditListButton, ERDAjaxEditDateJavascript, ERDDisplayYearsMonths, ERDEditDateJavascript, ERDEditDatePopupCommon, ERDEditYearsMonths, ERDActionBar, ERDConfirmMessage, ERDDisplayImageIfExists, ERDDisplayMailTo, ERDEditFile, ERDEditList, ERDHasChangesMarker, ERDListOrganizer, ERDListPicker, ERDDisplayNumberWithUnit, ERD2WDisplayList, ERD2WInspect, ERD2WList, ERD2WPick, ERDEditOwnedRelationship, ERDEditRelationship, ERDEditToManyRelationship, ERDInspect, ERDLinkToEditObject, ERDLinkToViewList, ERDList, ERDDHTMLComponent, ERDDisplayLargeString, ERDDisplayStyledString, ERDEditHTML, ERDEditPassword, ERDEditPasswordConfirm, ERDEditPasswordConfirmation, ERDEditStringWithChoices, ERMDEditRelationship, ERMDDatePicker, ERMD2WEditAttachment, and ERMD2WEditToOneTypeAhead.

Collaboration diagram for ERDCustomEditComponent:

Collaboration graph
[legend]

List of all members.

Classes

interface  Keys

Public Member Functions

NSArray defaultSortOrderingsForDestinationEntity ()
EOEntity destinationEntity ()
 ERDCustomEditComponent (WOContext context)
boolean isStateless ()
EOEnterpriseObject object ()
Object objectKeyPathValue ()
Object objectPropertyValue ()
boolean permissionToEdit ()
void reset ()
void resetCachedBindingsInStatefulComponent ()
void setObject (EOEnterpriseObject newObject)
void setObjectKeyPathValue (Object newValue)
void setObjectPropertyValue (Object newValue)
boolean synchronizesVariablesWithBindings ()

Static Public Attributes

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

Protected Attributes

EOEditingContext editingContext

Private Attributes

NSArray _defaultSortOrderingsForDestinationEntity
EOEnterpriseObject object


Detailed Description

Superclass for most of the custom edit components.

Constructor & Destructor Documentation

ERDCustomEditComponent ( WOContext  context  ) 

Public constructor

Parameters:
context current context


Member Function Documentation

NSArray defaultSortOrderingsForDestinationEntity (  ) 

Hits the destinationEntityName rule to get the destination entity. Grabs a private D2WContext, sets the destination entity and asks for the defaultSortOrdering rule.

Returns:
an array of sort orderings for the destination entity.

EOEntity destinationEntity (  ) 

Computes the destination entity that we're editing. Hits the "destinationEntityName" rule.

Returns:
destination entity

boolean isStateless (  ) 

EOEnterpriseObject object (  ) 

Object objectKeyPathValue (  ) 

Reimplemented in ERDEditFile, and ERDEditPasswordConfirmation.

Object objectPropertyValue (  ) 

boolean permissionToEdit (  ) 

void reset (  ) 

void resetCachedBindingsInStatefulComponent (  ) 

Used by stateful but non-synching subclasses

Reimplemented from ERDCustomComponent.

void setObject ( EOEnterpriseObject  newObject  ) 

void setObjectKeyPathValue ( Object  newValue  ) 

Reimplemented in ERDEditFile.

void setObjectPropertyValue ( Object  newValue  ) 

boolean synchronizesVariablesWithBindings (  ) 


Member Data Documentation

EOEditingContext editingContext [protected]

final Logger log = Logger.getLogger(ERDCustomEditComponent.class) [static]

EOEnterpriseObject object [private]


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

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