public class ERD2WFactory
extends com.webobjects.directtoweb.D2W
Modifier and Type | Field and Description |
---|---|
protected Object |
defaultListPageDisplayGroupDelegate
holds a reference to the default delegate
|
protected static org.apache.log4j.Logger |
log
logging support
|
Constructor and Description |
---|
ERD2WFactory() |
Modifier and Type | Method and Description |
---|---|
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) |
_applicationDidFinishLaunching, _applicationWillFinishLaunching, _init, activateWebAssistantServer, checkMultithreading, errorPage, errorPage, factory, homeHrefInContext, isLiveAssistantEnabled, isWebAssistantEnabled, newSignificantKey, packetForPropertyAndSettingsWithPage, packetForSettingsWithPage, pageForTaskAndEntityNamed, requestWasHandled, setFactory, setLiveAssistantEnabled, setWebAssistantEnabled, traceRuleFiringEnabled, traceRuleModificationsEnabled, visibleEntityNames, webAssistantInContext, willCheckRules
protected static final org.apache.log4j.Logger log
protected Object defaultListPageDisplayGroupDelegate
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.D2W
public 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.D2W
public static ERD2WFactory erFactory()
public com.webobjects.directtoweb.D2WContext privateContext(WOSession s)
public NSArray visibleEntityNames(WOSession s)
visibleEntityNames
in class com.webobjects.directtoweb.D2W
public 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 sessionpublic WOComponent errorPageWithMessageAndDestination(String message, WOComponent destination, WOSession session)
message
- to displaydestination
- page to which the error component returns the usersession
- - the active sessionprotected 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)
.Copyright © 2002 – 2024 Project Wonder.