Inherited by Factory, and ERD2WControllerFactory.

Public Member Functions | |
| ConfirmPageInterface | confirmPageForEntityNamed (String entityName, WOSession session) |
| WOComponent | csvExportPageForD2WContext (D2WContext context, WOSession session) |
| Object | defaultListPageDisplayGroupDelegate () |
| WOComponent | defaultPage (WOSession wosession) |
| EditPageInterface | editPageForEntityNamed (String entityName, WOSession session) |
| EditPageInterface | editPageForNewObjectWithConfigurationNamed (String configurationName, WOSession session) |
| EditPageInterface | editPageForNewObjectWithEntityNamed (String entityName, WOSession session) |
| EditRelationshipPageInterface | editRelationshipPageForEntityNamed (String entityName, WOSession session) |
| WOComponent | errorPageForException (Throwable e, WOSession s) |
| WOComponent | errorPageWithMessage (String message, WOSession session) |
| WOComponent | errorPageWithMessageAndDestination (String message, WOComponent destination, WOSession session) |
| InspectPageInterface | inspectPageForEntityNamed (String entityName, WOSession session) |
| ListPageInterface | listPageForEntityNamed (String entityName, WOSession session) |
| void | myCheckRules () |
| WOComponent | pageForConfigurationNamed (String name, WOSession s) |
| WOComponent | pageForTaskAndEntityNamed (String task, String entityName, WOSession session) |
| WOComponent | pageForTaskSubTaskAndEntityNamed (String task, String subtask, String entityName, WOSession session) |
| WOComponent | printerFriendlyPageForD2WContext (D2WContext context, WOSession session) |
| D2WContext | privateContext (WOSession s) |
| QueryAllPageInterface | queryAllPage (WOSession session) |
| QueryPageInterface | queryPageForEntityNamed (String entityName, WOSession session) |
| QueryPageInterface | queryPageWithFetchSpecificationForEntityNamed (String fsName, String entityName, WOSession s) |
| SelectPageInterface | selectPageForEntityNamed (String entityName, WOSession session) |
| void | setDefaultListPageDisplayGroupDelegate (Object delegate) |
| NSArray | visibleEntityNames (WOSession s) |
Static Public Member Functions | |
| static String | entityNameFromPage (WOComponent page) |
| static ERD2WFactory | erFactory () |
| static String | pageConfigurationFromPage (WOComponent page) |
| static String | taskFromPage (WOComponent page) |
Protected Member Functions | |
| String | _entityNameFromPage (WOComponent page) |
| String | _pageConfigurationFromPage (WOComponent page) |
| String | _taskFromPage (WOComponent page) |
| void | init () |
| WOComponent | pageWithContextTaskEntity (D2WContext d2wcontext, String s, String s1, WOContext wocontext) |
Protected Attributes | |
| Object | defaultListPageDisplayGroupDelegate |
Static Protected Attributes | |
| static final Logger | log = Logger.getLogger(ERD2WFactory.class) |
Private Member Functions | |
| EOEntity | _entityNamed (String entityName, WOSession session) |
| EOEnterpriseObject | _newObjectWithEntity (EOEntity entity, EOEditingContext ec) |
Private Attributes | |
| D2WContext | _privateContext |
| EOEntity _entityNamed | ( | String | entityName, | |
| WOSession | session | |||
| ) | [private] |
| String _entityNameFromPage | ( | WOComponent | page | ) | [protected] |
Gets the entity name from the current page. Not that this does not go up the component tree, but rather calls entityName() and tries the "super" implementation if that fails.
| EOEnterpriseObject _newObjectWithEntity | ( | EOEntity | entity, | |
| EOEditingContext | ec | |||
| ) | [private] |
| String _pageConfigurationFromPage | ( | WOComponent | page | ) | [protected] |
Gets the pageConfiguration from the current page.
| String _taskFromPage | ( | WOComponent | page | ) | [protected] |
Gets the task from the current page. Currently we have this class because the corresponding method in D2W is protected. But it will be enhanced to take the ERD2W interfaces into account.
| ConfirmPageInterface confirmPageForEntityNamed | ( | String | entityName, | |
| WOSession | session | |||
| ) |
| WOComponent csvExportPageForD2WContext | ( | D2WContext | context, | |
| WOSession | session | |||
| ) |
| Object defaultListPageDisplayGroupDelegate | ( | ) |
Gets the default list page delegate for display groups
| WOComponent defaultPage | ( | WOSession | wosession | ) |
| EditPageInterface editPageForEntityNamed | ( | String | entityName, | |
| WOSession | session | |||
| ) |
| EditPageInterface editPageForNewObjectWithConfigurationNamed | ( | String | configurationName, | |
| WOSession | session | |||
| ) |
| EditPageInterface editPageForNewObjectWithEntityNamed | ( | String | entityName, | |
| WOSession | session | |||
| ) |
| EditRelationshipPageInterface editRelationshipPageForEntityNamed | ( | String | entityName, | |
| WOSession | session | |||
| ) |
| static String entityNameFromPage | ( | WOComponent | page | ) | [static] |
Gets the entityName from the current page. Simply wrap the factory method _entityNameFromPage(WOComponent).
| static ERD2WFactory erFactory | ( | ) | [static] |
| 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.
| message | to display | |
| session | - the active session |
| 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.
| message | to display | |
| destination | page to which the error component returns the user | |
| session | - the active session |
| void init | ( | ) | [protected] |
| InspectPageInterface inspectPageForEntityNamed | ( | String | entityName, | |
| WOSession | session | |||
| ) |
| ListPageInterface listPageForEntityNamed | ( | String | entityName, | |
| WOSession | session | |||
| ) |
| void myCheckRules | ( | ) |
| static String pageConfigurationFromPage | ( | WOComponent | page | ) | [static] |
Gets the pageConfiguration from the current page. Simply wrap the factory method _pageConfigurationFromPage(WOComponent).
| WOComponent pageForConfigurationNamed | ( | String | name, | |
| WOSession | s | |||
| ) |
| WOComponent pageForTaskSubTaskAndEntityNamed | ( | String | task, | |
| String | subtask, | |||
| String | entityName, | |||
| WOSession | session | |||
| ) |
| WOComponent pageWithContextTaskEntity | ( | D2WContext | d2wcontext, | |
| String | s, | |||
| String | s1, | |||
| WOContext | wocontext | |||
| ) | [protected] |
Reimplemented in Factory.
| WOComponent printerFriendlyPageForD2WContext | ( | D2WContext | context, | |
| WOSession | session | |||
| ) |
| D2WContext privateContext | ( | WOSession | s | ) |
| QueryAllPageInterface queryAllPage | ( | WOSession | session | ) |
| QueryPageInterface queryPageForEntityNamed | ( | String | entityName, | |
| WOSession | session | |||
| ) |
| QueryPageInterface queryPageWithFetchSpecificationForEntityNamed | ( | String | fsName, | |
| String | entityName, | |||
| WOSession | s | |||
| ) |
| SelectPageInterface selectPageForEntityNamed | ( | String | entityName, | |
| WOSession | session | |||
| ) |
| void setDefaultListPageDisplayGroupDelegate | ( | Object | delegate | ) |
| static String taskFromPage | ( | WOComponent | page | ) | [static] |
Gets the task from the current page. Simply wrap the factory method _taskFromPage(WOComponent).
| NSArray visibleEntityNames | ( | WOSession | s | ) |
D2WContext _privateContext [private] |
Object defaultListPageDisplayGroupDelegate [protected] |
holds a reference to the default delegate
final Logger log = Logger.getLogger(ERD2WFactory.class) [static, protected] |
logging support
Reimplemented in ERD2WControllerFactory.
1.5.8