Package | Description |
---|---|
er.rest.routes | |
er.snapshotexplorer.controllers |
Modifier and Type | Class and Description |
---|---|
class |
ERXDefaultRouteController
ERXDefaultRouteController defines abstract methods for the standard default routes that are registered.
|
class |
ERXMissingRouteController
ERXMissingRouteController is the controller that is used when no route can be found.
|
class |
ERXReadOnlyRouteController
Just like ERXDefaultRouteController but only defines read-only methods.
|
class |
ERXUnsafeReadOnlyRouteController<T extends EOEnterpriseObject>
If you just want to quickly drop in a controller to test your entities, you can use or extend
ERXUnsafeReadOnlyRouteController.
|
class |
ERXUnsafeReadWriteRouteController<T extends EOEnterpriseObject>
If you just want to quickly drop in a controller to test your entities, you can use or extend
ERXUnsafeReadWriteRouteController.
|
Modifier and Type | Method and Description |
---|---|
<T extends ERXRouteController> |
ERXRouteController.controller(Class<T> controllerClass)
Returns another controller, passing the required state on.
|
<T extends ERXRouteController> |
ERXRouteRequestHandler.controller(Class<T> controllerClass,
WOContext context)
Returns the corresponding controller instance (with no request specified).
|
<T extends ERXRouteController> |
ERXRouteRequestHandler.controller(Class<T> controllerClass,
WORequest request,
WOContext context)
Returns the corresponding controller instance.
|
<T extends ERXRouteController> |
ERXRouteController.controller(String entityName)
Returns another controller, passing the required state on.
|
<T extends ERXRouteController> |
ERXRouteRequestHandler.controller(String entityName,
WORequest request,
WOContext context)
Returns the corresponding controller instance.
|
Modifier and Type | Method and Description |
---|---|
static NSMutableArray<ERXRouteController> |
ERXRouteController._controllersForRequest(WORequest request)
Returns the controllers that have been used on the given request.
|
Class<? extends ERXRouteController> |
ERXRoute.controller()
Returns the controller class for this route.
|
Class<? extends ERXRouteController> |
ERXRouteRequestHandler.routeControllerClassForEntityNamed(String entityName)
Returns the default route controller class for the given entity name.
|
Modifier and Type | Method and Description |
---|---|
protected static void |
ERXRouteController._registerControllerForRequest(ERXRouteController controller,
WORequest request)
Registers the given controller with the given request, so it can be later disposed.
|
void |
ERXRouteRequestHandler.setupRouteControllerFromUserInfo(ERXRouteController controller,
NSDictionary<String,Object> userInfo)
Sets up a route controller based on a request userInfo that came from routeForMethodAndPath.
|
Modifier and Type | Method and Description |
---|---|
protected void |
ERXRouteRequestHandler.addDeclaredRoutes(String entityName,
Class<? extends ERXRouteController> routeControllerClass,
boolean addDefaultRoutesIfNoDeclaredRoutesFound) |
void |
ERXRouteRequestHandler.addDefaultRoutes(String entityName,
boolean numericPKs,
Class<? extends ERXRouteController> controllerClass)
Adds list and view routes for the given entity.
|
void |
ERXRouteRequestHandler.addDefaultRoutes(String entityName,
Class<? extends ERXRouteController> controllerClass)
Adds list and view routes for the given entity.
|
void |
ERXRouteRequestHandler.addDefaultRoutes(String entityName,
String entityType,
boolean numericPKs,
Class<? extends ERXRouteController> controllerClass)
Adds list and view routes for the given entity.
|
void |
ERXRouteRequestHandler.addRoutes(Class<? extends ERXRouteController> routeControllerClass)
This method looks for all methods annotated with @Path or @Paths annotations and adds the corresponding routes.
|
void |
ERXRouteRequestHandler.addRoutes(String entityName,
Class<? extends ERXRouteController> routeControllerClass)
Calls the static method 'addRoutes(entityName, routeRequetHandler)' on the given route controller class, giving
it the opportunity to add routes for the given entity.
|
NSArray<ERXRoute> |
ERXRouteRequestHandler.routesForControllerClass(Class<? extends ERXRouteController> routeController)
Returns the routes for the given controller class.
|
Constructor and Description |
---|
ERXRoute(String entityName,
String urlPattern,
Class<? extends ERXRouteController> controller)
Constructs a new route with the given URL pattern.
|
ERXRoute(String entityName,
String urlPattern,
Class<? extends ERXRouteController> controller,
String action)
Constructs a new route with the given URL pattern.
|
ERXRoute(String entityName,
String urlPattern,
ERXRoute.Method method,
Class<? extends ERXRouteController> controller)
Constructs a new route with the given URL pattern.
|
ERXRoute(String entityName,
String urlPattern,
ERXRoute.Method method,
Class<? extends ERXRouteController> controller,
String action)
Constructs a new route with the given URL pattern.
|
Modifier and Type | Class and Description |
---|---|
class |
SEController |
class |
SEEntityController |
class |
SEModelController |
class |
SEModelGroupController |
Copyright © 2002 – 2024 Project Wonder.