|
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 java.lang.Object |
defaultListPageDisplayGroupDelegate
holds a reference to the default delegate |
protected static org.apache.log4j.Logger |
log
logging support |
Constructor Summary | |
---|---|
ERD2WFactory()
|
Method Summary | |
---|---|
protected java.lang.String |
_entityNameFromPage(com.webobjects.appserver.WOComponent page)
Gets the entity name from the current page. |
protected java.lang.String |
_pageConfigurationFromPage(com.webobjects.appserver.WOComponent page)
Gets the pageConfiguration from the current page. |
protected java.lang.String |
_taskFromPage(com.webobjects.appserver.WOComponent page)
Gets the task from the current page. |
com.webobjects.directtoweb.ConfirmPageInterface |
confirmPageForEntityNamed(java.lang.String entityName,
com.webobjects.appserver.WOSession session)
|
com.webobjects.appserver.WOComponent |
csvExportPageForD2WContext(com.webobjects.directtoweb.D2WContext context,
com.webobjects.appserver.WOSession session)
|
java.lang.Object |
defaultListPageDisplayGroupDelegate()
Gets the default list page delegate for display groups |
com.webobjects.appserver.WOComponent |
defaultPage(com.webobjects.appserver.WOSession wosession)
|
com.webobjects.directtoweb.EditPageInterface |
editPageForEntityNamed(java.lang.String entityName,
com.webobjects.appserver.WOSession session)
|
com.webobjects.directtoweb.EditPageInterface |
editPageForNewObjectWithConfigurationNamed(java.lang.String configurationName,
com.webobjects.appserver.WOSession session)
|
com.webobjects.directtoweb.EditPageInterface |
editPageForNewObjectWithEntityNamed(java.lang.String entityName,
com.webobjects.appserver.WOSession session)
|
com.webobjects.directtoweb.EditRelationshipPageInterface |
editRelationshipPageForEntityNamed(java.lang.String entityName,
com.webobjects.appserver.WOSession session)
|
static java.lang.String |
entityNameFromPage(com.webobjects.appserver.WOComponent page)
Gets the entityName from the current page. |
static ERD2WFactory |
erFactory()
Gets the D2W factory cast as an ERD2WFactory objects. |
com.webobjects.appserver.WOComponent |
errorPageForException(java.lang.Throwable e,
com.webobjects.appserver.WOSession s)
|
com.webobjects.appserver.WOComponent |
errorPageWithMessage(java.lang.String message,
com.webobjects.appserver.WOSession session)
Produces an error page that displays the provided message and returns the user to the current page. |
com.webobjects.appserver.WOComponent |
errorPageWithMessageAndDestination(java.lang.String message,
com.webobjects.appserver.WOComponent destination,
com.webobjects.appserver.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(java.lang.String entityName,
com.webobjects.appserver.WOSession session)
|
com.webobjects.directtoweb.ListPageInterface |
listPageForEntityNamed(java.lang.String entityName,
com.webobjects.appserver.WOSession session)
|
void |
myCheckRules()
|
static java.lang.String |
pageConfigurationFromPage(com.webobjects.appserver.WOComponent page)
Gets the pageConfiguration from the current page. |
com.webobjects.appserver.WOComponent |
pageForConfigurationNamed(java.lang.String name,
com.webobjects.appserver.WOSession s)
|
com.webobjects.appserver.WOComponent |
pageForTaskAndEntityNamed(java.lang.String task,
java.lang.String entityName,
com.webobjects.appserver.WOSession session)
|
com.webobjects.appserver.WOComponent |
pageForTaskSubTaskAndEntityNamed(java.lang.String task,
java.lang.String subtask,
java.lang.String entityName,
com.webobjects.appserver.WOSession session)
|
protected com.webobjects.appserver.WOComponent |
pageWithContextTaskEntity(com.webobjects.directtoweb.D2WContext d2wcontext,
java.lang.String s,
java.lang.String s1,
com.webobjects.appserver.WOContext wocontext)
|
com.webobjects.appserver.WOComponent |
printerFriendlyPageForD2WContext(com.webobjects.directtoweb.D2WContext context,
com.webobjects.appserver.WOSession session)
|
com.webobjects.directtoweb.D2WContext |
privateContext(com.webobjects.appserver.WOSession s)
|
com.webobjects.directtoweb.QueryAllPageInterface |
queryAllPage(com.webobjects.appserver.WOSession session)
|
com.webobjects.directtoweb.QueryPageInterface |
queryPageForEntityNamed(java.lang.String entityName,
com.webobjects.appserver.WOSession session)
|
com.webobjects.directtoweb.QueryPageInterface |
queryPageWithFetchSpecificationForEntityNamed(java.lang.String fsName,
java.lang.String entityName,
com.webobjects.appserver.WOSession s)
|
com.webobjects.directtoweb.SelectPageInterface |
selectPageForEntityNamed(java.lang.String entityName,
com.webobjects.appserver.WOSession session)
|
void |
setDefaultListPageDisplayGroupDelegate(java.lang.Object delegate)
Sets the default display group delegate for list pages |
static java.lang.String |
taskFromPage(com.webobjects.appserver.WOComponent page)
Gets the task from the current page. |
com.webobjects.foundation.NSArray |
visibleEntityNames(com.webobjects.appserver.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 org.apache.log4j.Logger log
protected java.lang.Object defaultListPageDisplayGroupDelegate
Constructor Detail |
---|
public ERD2WFactory()
Method Detail |
---|
protected void init()
init
in class com.webobjects.directtoweb.D2W
public com.webobjects.directtoweb.EditPageInterface editPageForEntityNamed(java.lang.String entityName, com.webobjects.appserver.WOSession session)
editPageForEntityNamed
in class com.webobjects.directtoweb.D2W
public com.webobjects.directtoweb.EditRelationshipPageInterface editRelationshipPageForEntityNamed(java.lang.String entityName, com.webobjects.appserver.WOSession session)
editRelationshipPageForEntityNamed
in class com.webobjects.directtoweb.D2W
public com.webobjects.directtoweb.InspectPageInterface inspectPageForEntityNamed(java.lang.String entityName, com.webobjects.appserver.WOSession session)
inspectPageForEntityNamed
in class com.webobjects.directtoweb.D2W
public com.webobjects.directtoweb.ConfirmPageInterface confirmPageForEntityNamed(java.lang.String entityName, com.webobjects.appserver.WOSession session)
confirmPageForEntityNamed
in class com.webobjects.directtoweb.D2W
public com.webobjects.directtoweb.ListPageInterface listPageForEntityNamed(java.lang.String entityName, com.webobjects.appserver.WOSession session)
listPageForEntityNamed
in class com.webobjects.directtoweb.D2W
public com.webobjects.directtoweb.QueryAllPageInterface queryAllPage(com.webobjects.appserver.WOSession session)
queryAllPage
in class com.webobjects.directtoweb.D2W
public com.webobjects.directtoweb.QueryPageInterface queryPageForEntityNamed(java.lang.String entityName, com.webobjects.appserver.WOSession session)
queryPageForEntityNamed
in class com.webobjects.directtoweb.D2W
public com.webobjects.directtoweb.SelectPageInterface selectPageForEntityNamed(java.lang.String entityName, com.webobjects.appserver.WOSession session)
selectPageForEntityNamed
in class com.webobjects.directtoweb.D2W
public static ERD2WFactory erFactory()
public com.webobjects.directtoweb.D2WContext privateContext(com.webobjects.appserver.WOSession s)
public com.webobjects.foundation.NSArray visibleEntityNames(com.webobjects.appserver.WOSession s)
visibleEntityNames
in class com.webobjects.directtoweb.D2W
public java.lang.Object defaultListPageDisplayGroupDelegate()
public com.webobjects.appserver.WOComponent defaultPage(com.webobjects.appserver.WOSession wosession)
defaultPage
in class com.webobjects.directtoweb.D2W
protected com.webobjects.appserver.WOComponent pageWithContextTaskEntity(com.webobjects.directtoweb.D2WContext d2wcontext, java.lang.String s, java.lang.String s1, com.webobjects.appserver.WOContext wocontext)
public void setDefaultListPageDisplayGroupDelegate(java.lang.Object delegate)
delegate
- objectpublic void myCheckRules()
public com.webobjects.appserver.WOComponent pageForConfigurationNamed(java.lang.String name, com.webobjects.appserver.WOSession s)
pageForConfigurationNamed
in class com.webobjects.directtoweb.D2W
public com.webobjects.directtoweb.EditPageInterface editPageForNewObjectWithEntityNamed(java.lang.String entityName, com.webobjects.appserver.WOSession session)
editPageForNewObjectWithEntityNamed
in class com.webobjects.directtoweb.D2W
public com.webobjects.directtoweb.EditPageInterface editPageForNewObjectWithConfigurationNamed(java.lang.String configurationName, com.webobjects.appserver.WOSession session)
editPageForNewObjectWithConfigurationNamed
in class com.webobjects.directtoweb.D2W
public com.webobjects.appserver.WOComponent pageForTaskAndEntityNamed(java.lang.String task, java.lang.String entityName, com.webobjects.appserver.WOSession session)
pageForTaskAndEntityNamed
in class com.webobjects.directtoweb.D2W
public com.webobjects.appserver.WOComponent printerFriendlyPageForD2WContext(com.webobjects.directtoweb.D2WContext context, com.webobjects.appserver.WOSession session)
public com.webobjects.appserver.WOComponent csvExportPageForD2WContext(com.webobjects.directtoweb.D2WContext context, com.webobjects.appserver.WOSession session)
public com.webobjects.appserver.WOComponent pageForTaskSubTaskAndEntityNamed(java.lang.String task, java.lang.String subtask, java.lang.String entityName, com.webobjects.appserver.WOSession session)
public com.webobjects.directtoweb.QueryPageInterface queryPageWithFetchSpecificationForEntityNamed(java.lang.String fsName, java.lang.String entityName, com.webobjects.appserver.WOSession s)
public com.webobjects.appserver.WOComponent errorPageForException(java.lang.Throwable e, com.webobjects.appserver.WOSession s)
public com.webobjects.appserver.WOComponent errorPageWithMessage(java.lang.String message, com.webobjects.appserver.WOSession session)
message
- to displaysession
- - the active session
public com.webobjects.appserver.WOComponent errorPageWithMessageAndDestination(java.lang.String message, com.webobjects.appserver.WOComponent destination, com.webobjects.appserver.WOSession session)
message
- to displaydestination
- page to which the error component returns the usersession
- - the active session
protected java.lang.String _pageConfigurationFromPage(com.webobjects.appserver.WOComponent page)
pageConfiguration
from the current page.
protected java.lang.String _taskFromPage(com.webobjects.appserver.WOComponent page)
protected java.lang.String _entityNameFromPage(com.webobjects.appserver.WOComponent page)
entityName()
and
tries the "super" implementation if that fails.
public static java.lang.String entityNameFromPage(com.webobjects.appserver.WOComponent page)
entityName
from the current page. Simply wrap the
factory method _entityNameFromPage(WOComponent)
.
public static java.lang.String taskFromPage(com.webobjects.appserver.WOComponent page)
task
from the current page. Simply wrap the
factory method _taskFromPage(WOComponent)
.
public static java.lang.String pageConfigurationFromPage(com.webobjects.appserver.WOComponent page)
pageConfiguration
from the current page. Simply
wrap the factory method _pageConfigurationFromPage(WOComponent)
.
|
Last updated: Tue, Feb 21, 2017 05:45 PM CET | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |