Project Wonder 5.0

er.directtoweb.components.relationships
Interface ERDList.CreateObjectDelegate

All Known Implementing Classes:
ERDList.DefaultCreateObjectDelegate
Enclosing class:
ERDList

public static interface ERDList.CreateObjectDelegate

Interface that all createObjectDelegate classes should implement


Method Summary
 WOComponent create(Object parentObject, String destinationEntityName, String relationshipNameToAddTo)
          method used to create a newInstance of destinationEntityNameM.
 

Method Detail

create

WOComponent create(Object parentObject,
                   String destinationEntityName,
                   String relationshipNameToAddTo)
method used to create a newInstance of destinationEntityNameM.

Note: this delegate is responsible for making sure that the object is created properly and the right page is returned.

Parameters:
parentObject - object to which the newly created object should be linked
destinationEntityName - entity name of the destination in the list that we are creating
relationshipNameToAddTo - relationship name that should be used to link the newly created instance to the parentObject
Returns:
WOComponent editPage for the destination entity (usually...)

Last updated: Wed, Feb 22, 2012 • 07:00 AM EST

Copyright © 2002 – 2011 Project Wonder.