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 Logger |
log
logging support
|
Constructor and Description |
---|
ERD2WFactory() |
Modifier and Type | Method and Description |
---|---|
protected String |
_entityNameFromPage(com.webobjects.appserver.WOComponent page)
Gets the entity name from the current page.
|
protected String |
_pageConfigurationFromPage(com.webobjects.appserver.WOComponent page)
Gets the
pageConfiguration from the current page. |
protected String |
_taskFromPage(com.webobjects.appserver.WOComponent page)
Gets the task from the current page.
|
com.webobjects.directtoweb.ConfirmPageInterface |
confirmPageForEntityNamed(String entityName,
com.webobjects.appserver.WOSession session) |
com.webobjects.appserver.WOComponent |
csvExportPageForD2WContext(com.webobjects.directtoweb.D2WContext context,
com.webobjects.appserver.WOSession session) |
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(String entityName,
com.webobjects.appserver.WOSession session) |
com.webobjects.directtoweb.EditPageInterface |
editPageForNewObjectWithConfigurationNamed(String configurationName,
com.webobjects.appserver.WOSession session) |
com.webobjects.directtoweb.EditPageInterface |
editPageForNewObjectWithEntityNamed(String entityName,
com.webobjects.appserver.WOSession session) |
com.webobjects.directtoweb.EditRelationshipPageInterface |
editRelationshipPageForEntityNamed(String entityName,
com.webobjects.appserver.WOSession session) |
static 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(Throwable e,
com.webobjects.appserver.WOSession s) |
com.webobjects.appserver.WOComponent |
errorPageWithMessage(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(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(String entityName,
com.webobjects.appserver.WOSession session) |
com.webobjects.directtoweb.ListPageInterface |
listPageForEntityNamed(String entityName,
com.webobjects.appserver.WOSession session) |
void |
myCheckRules() |
static String |
pageConfigurationFromPage(com.webobjects.appserver.WOComponent page)
Gets the
pageConfiguration from the current page. |
com.webobjects.appserver.WOComponent |
pageForConfigurationNamed(String name,
com.webobjects.appserver.WOSession s) |
com.webobjects.appserver.WOComponent |
pageForTaskAndEntityNamed(String task,
String entityName,
com.webobjects.appserver.WOSession session) |
com.webobjects.appserver.WOComponent |
pageForTaskSubTaskAndEntityNamed(String task,
String subtask,
String entityName,
com.webobjects.appserver.WOSession session) |
protected com.webobjects.appserver.WOComponent |
pageWithContextTaskEntity(com.webobjects.directtoweb.D2WContext d2wcontext,
String s,
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(String entityName,
com.webobjects.appserver.WOSession session) |
com.webobjects.directtoweb.QueryPageInterface |
queryPageWithFetchSpecificationForEntityNamed(String fsName,
String entityName,
com.webobjects.appserver.WOSession s) |
com.webobjects.directtoweb.SelectPageInterface |
selectPageForEntityNamed(String entityName,
com.webobjects.appserver.WOSession session) |
void |
setDefaultListPageDisplayGroupDelegate(Object delegate)
Sets the default display group delegate for list pages
|
static String |
taskFromPage(com.webobjects.appserver.WOComponent page)
Gets the
task from the current page. |
NSArray |
visibleEntityNames(com.webobjects.appserver.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 Logger log
protected Object defaultListPageDisplayGroupDelegate
protected void init()
init
in class com.webobjects.directtoweb.D2W
public com.webobjects.directtoweb.EditPageInterface editPageForEntityNamed(String entityName, com.webobjects.appserver.WOSession session)
editPageForEntityNamed
in class com.webobjects.directtoweb.D2W
public com.webobjects.directtoweb.EditRelationshipPageInterface editRelationshipPageForEntityNamed(String entityName, com.webobjects.appserver.WOSession session)
editRelationshipPageForEntityNamed
in class com.webobjects.directtoweb.D2W
public com.webobjects.directtoweb.InspectPageInterface inspectPageForEntityNamed(String entityName, com.webobjects.appserver.WOSession session)
inspectPageForEntityNamed
in class com.webobjects.directtoweb.D2W
public com.webobjects.directtoweb.ConfirmPageInterface confirmPageForEntityNamed(String entityName, com.webobjects.appserver.WOSession session)
confirmPageForEntityNamed
in class com.webobjects.directtoweb.D2W
public com.webobjects.directtoweb.ListPageInterface listPageForEntityNamed(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(String entityName, com.webobjects.appserver.WOSession session)
queryPageForEntityNamed
in class com.webobjects.directtoweb.D2W
public com.webobjects.directtoweb.SelectPageInterface selectPageForEntityNamed(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 NSArray visibleEntityNames(com.webobjects.appserver.WOSession s)
visibleEntityNames
in class com.webobjects.directtoweb.D2W
public 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, String s, String s1, com.webobjects.appserver.WOContext wocontext)
public void setDefaultListPageDisplayGroupDelegate(Object delegate)
delegate
- objectpublic void myCheckRules()
public com.webobjects.appserver.WOComponent pageForConfigurationNamed(String name, com.webobjects.appserver.WOSession s)
pageForConfigurationNamed
in class com.webobjects.directtoweb.D2W
public com.webobjects.directtoweb.EditPageInterface editPageForNewObjectWithEntityNamed(String entityName, com.webobjects.appserver.WOSession session)
editPageForNewObjectWithEntityNamed
in class com.webobjects.directtoweb.D2W
public com.webobjects.directtoweb.EditPageInterface editPageForNewObjectWithConfigurationNamed(String configurationName, com.webobjects.appserver.WOSession session)
editPageForNewObjectWithConfigurationNamed
in class com.webobjects.directtoweb.D2W
public com.webobjects.appserver.WOComponent pageForTaskAndEntityNamed(String task, 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(String task, String subtask, String entityName, com.webobjects.appserver.WOSession session)
public com.webobjects.directtoweb.QueryPageInterface queryPageWithFetchSpecificationForEntityNamed(String fsName, String entityName, com.webobjects.appserver.WOSession s)
public com.webobjects.appserver.WOComponent errorPageForException(Throwable e, com.webobjects.appserver.WOSession s)
public com.webobjects.appserver.WOComponent errorPageWithMessage(String message, com.webobjects.appserver.WOSession session)
message
- to displaysession
- - the active sessionpublic com.webobjects.appserver.WOComponent errorPageWithMessageAndDestination(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 sessionprotected String _pageConfigurationFromPage(com.webobjects.appserver.WOComponent page)
pageConfiguration
from the current page.protected String _taskFromPage(com.webobjects.appserver.WOComponent page)
protected String _entityNameFromPage(com.webobjects.appserver.WOComponent page)
entityName()
and
tries the "super" implementation if that fails.public static String entityNameFromPage(com.webobjects.appserver.WOComponent page)
entityName
from the current page. Simply wrap the
factory method _entityNameFromPage(WOComponent)
.public static String taskFromPage(com.webobjects.appserver.WOComponent page)
task
from the current page. Simply wrap the
factory method _taskFromPage(WOComponent)
.public static String pageConfigurationFromPage(com.webobjects.appserver.WOComponent page)
pageConfiguration
from the current page. Simply
wrap the factory method _pageConfigurationFromPage(WOComponent)
.Copyright © 2002 – 2020 Project Wonder.