|
Project Wonder 5.0 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectcom.webobjects.directtoweb.D2W
er.directtoweb.ERD2WFactory
public class ERD2WFactory
Not used at the moment, but shows how it might be used in the future.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.webobjects.directtoweb.D2W |
|---|
com.webobjects.directtoweb.D2W._Observer |
| Field Summary | |
|---|---|
protected Object |
defaultListPageDisplayGroupDelegate
holds a reference to the default delegate |
protected static Logger |
log
logging support |
| Fields inherited from class com.webobjects.directtoweb.D2W |
|---|
trackingObserver |
| Constructor Summary | |
|---|---|
ERD2WFactory()
|
|
| Method Summary | |
|---|---|
protected String |
_entityNameFromPage(WOComponent page)
Gets the entity name from the current page. |
protected String |
_pageConfigurationFromPage(WOComponent page)
Gets the pageConfiguration from the current page. |
protected String |
_taskFromPage(WOComponent page)
Gets the task from the current page. |
com.webobjects.directtoweb.ConfirmPageInterface |
confirmPageForEntityNamed(String entityName,
WOSession session)
|
WOComponent |
csvExportPageForD2WContext(com.webobjects.directtoweb.D2WContext context,
WOSession session)
|
Object |
defaultListPageDisplayGroupDelegate()
Gets the default list page delegate for display groups |
WOComponent |
defaultPage(WOSession wosession)
|
com.webobjects.directtoweb.EditPageInterface |
editPageForEntityNamed(String entityName,
WOSession session)
|
com.webobjects.directtoweb.EditPageInterface |
editPageForNewObjectWithConfigurationNamed(String configurationName,
WOSession session)
|
com.webobjects.directtoweb.EditPageInterface |
editPageForNewObjectWithEntityNamed(String entityName,
WOSession session)
|
com.webobjects.directtoweb.EditRelationshipPageInterface |
editRelationshipPageForEntityNamed(String entityName,
WOSession session)
|
static String |
entityNameFromPage(WOComponent page)
Gets the entityName from the current page. |
static ERD2WFactory |
erFactory()
Gets the D2W factory cast as an ERD2WFactory objects. |
WOComponent |
errorPageForException(Throwable e,
WOSession s)
|
WOComponent |
errorPageWithMessage(String message,
WOSession session)
Produces an error page that displays the provided message and returns the user to the current page. |
WOComponent |
errorPageWithMessageAndDestination(String message,
WOComponent destination,
WOSession session)
Produces an error page that displays the provided message and returns the user to the destination page. |
protected void |
init()
|
com.webobjects.directtoweb.InspectPageInterface |
inspectPageForEntityNamed(String entityName,
WOSession session)
|
com.webobjects.directtoweb.ListPageInterface |
listPageForEntityNamed(String entityName,
WOSession session)
|
void |
myCheckRules()
|
static String |
pageConfigurationFromPage(WOComponent page)
Gets the pageConfiguration from the current page. |
WOComponent |
pageForConfigurationNamed(String name,
WOSession s)
|
WOComponent |
pageForTaskAndEntityNamed(String task,
String entityName,
WOSession session)
|
WOComponent |
pageForTaskSubTaskAndEntityNamed(String task,
String subtask,
String entityName,
WOSession session)
|
protected WOComponent |
pageWithContextTaskEntity(com.webobjects.directtoweb.D2WContext d2wcontext,
String s,
String s1,
WOContext wocontext)
|
WOComponent |
printerFriendlyPageForD2WContext(com.webobjects.directtoweb.D2WContext context,
WOSession session)
|
com.webobjects.directtoweb.D2WContext |
privateContext(WOSession s)
|
com.webobjects.directtoweb.QueryAllPageInterface |
queryAllPage(WOSession session)
|
com.webobjects.directtoweb.QueryPageInterface |
queryPageForEntityNamed(String entityName,
WOSession session)
|
com.webobjects.directtoweb.QueryPageInterface |
queryPageWithFetchSpecificationForEntityNamed(String fsName,
String entityName,
WOSession s)
|
com.webobjects.directtoweb.SelectPageInterface |
selectPageForEntityNamed(String entityName,
WOSession session)
|
void |
setDefaultListPageDisplayGroupDelegate(Object delegate)
Sets the default display group delegate for list pages |
static String |
taskFromPage(WOComponent page)
Gets the task from the current page. |
NSArray |
visibleEntityNames(WOSession s)
|
| Methods inherited from class com.webobjects.directtoweb.D2W |
|---|
_applicationDidFinishLaunching, _applicationWillFinishLaunching, _init, activateWebAssistantServer, checkMultithreading, errorPage, errorPage, factory, homeHrefInContext, isLiveAssistantEnabled, isWebAssistantEnabled, newSignificantKey, packetForPropertyAndSettingsWithPage, packetForSettingsWithPage, pageForTaskAndEntityNamed, requestWasHandled, setFactory, setLiveAssistantEnabled, setWebAssistantEnabled, traceRuleFiringEnabled, traceRuleModificationsEnabled, visibleEntityNames, webAssistantInContext, willCheckRules |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final Logger log
protected Object defaultListPageDisplayGroupDelegate
| Constructor Detail |
|---|
public ERD2WFactory()
| Method Detail |
|---|
protected void init()
init in class com.webobjects.directtoweb.D2W
public com.webobjects.directtoweb.EditPageInterface editPageForEntityNamed(String entityName,
WOSession session)
editPageForEntityNamed in class com.webobjects.directtoweb.D2W
public com.webobjects.directtoweb.EditRelationshipPageInterface editRelationshipPageForEntityNamed(String entityName,
WOSession session)
editRelationshipPageForEntityNamed in class com.webobjects.directtoweb.D2W
public com.webobjects.directtoweb.InspectPageInterface inspectPageForEntityNamed(String entityName,
WOSession session)
inspectPageForEntityNamed in class com.webobjects.directtoweb.D2W
public com.webobjects.directtoweb.ConfirmPageInterface confirmPageForEntityNamed(String entityName,
WOSession session)
confirmPageForEntityNamed in class com.webobjects.directtoweb.D2W
public com.webobjects.directtoweb.ListPageInterface listPageForEntityNamed(String entityName,
WOSession session)
listPageForEntityNamed in class com.webobjects.directtoweb.D2Wpublic com.webobjects.directtoweb.QueryAllPageInterface queryAllPage(WOSession session)
queryAllPage in class com.webobjects.directtoweb.D2W
public com.webobjects.directtoweb.QueryPageInterface queryPageForEntityNamed(String entityName,
WOSession session)
queryPageForEntityNamed in class com.webobjects.directtoweb.D2W
public com.webobjects.directtoweb.SelectPageInterface selectPageForEntityNamed(String entityName,
WOSession session)
selectPageForEntityNamed in class com.webobjects.directtoweb.D2Wpublic static ERD2WFactory erFactory()
public com.webobjects.directtoweb.D2WContext privateContext(WOSession s)
public NSArray visibleEntityNames(WOSession s)
visibleEntityNames in class com.webobjects.directtoweb.D2Wpublic Object defaultListPageDisplayGroupDelegate()
public WOComponent defaultPage(WOSession wosession)
defaultPage in class com.webobjects.directtoweb.D2W
protected WOComponent pageWithContextTaskEntity(com.webobjects.directtoweb.D2WContext d2wcontext,
String s,
String s1,
WOContext wocontext)
public void setDefaultListPageDisplayGroupDelegate(Object delegate)
delegate - objectpublic void myCheckRules()
public WOComponent pageForConfigurationNamed(String name,
WOSession s)
pageForConfigurationNamed in class com.webobjects.directtoweb.D2W
public com.webobjects.directtoweb.EditPageInterface editPageForNewObjectWithEntityNamed(String entityName,
WOSession session)
editPageForNewObjectWithEntityNamed in class com.webobjects.directtoweb.D2W
public com.webobjects.directtoweb.EditPageInterface editPageForNewObjectWithConfigurationNamed(String configurationName,
WOSession session)
editPageForNewObjectWithConfigurationNamed in class com.webobjects.directtoweb.D2W
public WOComponent pageForTaskAndEntityNamed(String task,
String entityName,
WOSession session)
pageForTaskAndEntityNamed in class com.webobjects.directtoweb.D2W
public WOComponent printerFriendlyPageForD2WContext(com.webobjects.directtoweb.D2WContext context,
WOSession session)
public WOComponent csvExportPageForD2WContext(com.webobjects.directtoweb.D2WContext context,
WOSession session)
public WOComponent pageForTaskSubTaskAndEntityNamed(String task,
String subtask,
String entityName,
WOSession session)
public com.webobjects.directtoweb.QueryPageInterface queryPageWithFetchSpecificationForEntityNamed(String fsName,
String entityName,
WOSession s)
public WOComponent errorPageForException(Throwable e,
WOSession s)
public WOComponent errorPageWithMessage(String message,
WOSession session)
message - to displaysession - - the active session
public WOComponent errorPageWithMessageAndDestination(String message,
WOComponent destination,
WOSession session)
message - to displaydestination - page to which the error component returns the usersession - - the active session
protected String _pageConfigurationFromPage(WOComponent page)
pageConfiguration from the current page.
protected String _taskFromPage(WOComponent page)
protected String _entityNameFromPage(WOComponent page)
entityName() and
tries the "super" implementation if that fails.
public static String entityNameFromPage(WOComponent page)
entityName from the current page. Simply wrap the
factory method _entityNameFromPage(WOComponent).
public static String taskFromPage(WOComponent page)
task from the current page. Simply wrap the
factory method _taskFromPage(WOComponent).
public static String pageConfigurationFromPage(WOComponent page)
pageConfiguration from the current page. Simply
wrap the factory method _pageConfigurationFromPage(WOComponent).
|
Last updated: Wed, Feb 22, 2012 07:00 AM EST | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||