Project Wonder 5.0

er.directtoweb.components.relationships
Class ERDList.DefaultCreateObjectDelegate

java.lang.Object
  extended by er.directtoweb.components.relationships.ERDList.DefaultCreateObjectDelegate
All Implemented Interfaces:
ERDList.CreateObjectDelegate
Enclosing class:
ERDList

public class ERDList.DefaultCreateObjectDelegate
extends java.lang.Object
implements ERDList.CreateObjectDelegate

Default creation delegate class. if useCreationDelegate binding is true and no valid createObjectDelegate is present, then this class will be used.

Author:
santoash

Constructor Summary
ERDList.DefaultCreateObjectDelegate()
           
 
Method Summary
 com.webobjects.appserver.WOComponent create(java.lang.Object parentObject, java.lang.String destinationEntityName, java.lang.String relationshipNameToAddTo)
          method used to create a newInstance of destinationEntityNameM.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ERDList.DefaultCreateObjectDelegate

public ERDList.DefaultCreateObjectDelegate()
Method Detail

create

public com.webobjects.appserver.WOComponent create(java.lang.Object parentObject,
                                                   java.lang.String destinationEntityName,
                                                   java.lang.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.

Specified by:
create in interface ERDList.CreateObjectDelegate
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: Tue, Feb 21, 2017 • 05:45 PM CET

Copyright © 2002 – 2007 Project Wonder.