T
- the type of your entitypublic class ERXUnsafeReadOnlyRouteController<T extends EOEnterpriseObject> extends ERXDefaultRouteController
routeRequestHandler.addDefaultRoutes(YourEntity.ENTITY_NAME, ERXUnsafeReadOnlyRouteController.class);
NSKeyValueCodingAdditions.DefaultImplementation, NSKeyValueCodingAdditions.Utility
NSKeyValueCoding._BooleanFieldBinding, NSKeyValueCoding._BooleanMethodBinding, NSKeyValueCoding._FieldBinding, NSKeyValueCoding._ForwardingBinding, NSKeyValueCoding._KeyBinding, NSKeyValueCoding._KeyBindingCreation, NSKeyValueCoding._MethodBinding, NSKeyValueCoding._NumberFieldBinding, NSKeyValueCoding._NumberMethodBinding, NSKeyValueCoding._ReflectionKeyBindingCreation, NSKeyValueCoding.ErrorHandling, NSKeyValueCoding.MapImplementation, NSKeyValueCoding.Null<T>, NSKeyValueCoding.UnknownKeyException, NSKeyValueCoding.ValueAccessor
NSValidation._MethodBinding, NSValidation._ValidationBinding, NSValidation.DefaultImplementation, NSValidation.Utility, NSValidation.ValidationException
actionText
_actionClasses, _context
_CLASS
_CLASS, _KeyPathSeparatorChar, KeyPathSeparator
NullValue
_CLASS
Constructor and Description |
---|
ERXUnsafeReadOnlyRouteController(WORequest request) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
allowUpdates() |
WOActionResults |
createAction()
Called when you want to commit a new instance.
|
WOActionResults |
destroyAction()
Called when you want to delete an instance.
|
WOActionResults |
indexAction()
Called when you want to list instances.
|
WOActionResults |
newAction()
Called when you need an uncommitted blank new instance.
|
protected T |
object() |
protected ERXKeyFilter |
queryFilter() |
WOActionResults |
showAction()
Called when you want to view a single instance.
|
protected ERXKeyFilter |
showFilter() |
WOActionResults |
updateAction()
Called when you want to update an instance (or instances).
|
protected ERXKeyFilter |
updateFilter() |
_canSetHeaderForActionResults, _controllersForRequest, _disposeControllersForRequest, _registerControllerForRequest, _setContext, _setEditingContent, _setEntityName, _setFormat, _setHeaderForActionResults, _setRequestContent, _setRequestContent, _setRequestHandler, _setRequestNode, _setRoute, _setRouteKeys, _setRouteObjects, _takeRouteParametersFromRequest, accessControlAllowOrigin, accessControlAllowRequestHeaders, accessControlAllowRequestMethods, accessControlMaxAage, allowJSONP, allowWindowNameCrossDomainTransport, checkAccess, containsRouteKey, controller, controller, create, create, create, create, createRestContext, defaultFormat, dispose, editingContext, entityName, errorResponse, errorResponse, errorResponse, format, formatDelegateForFormat, formatNamed, headAction, includeOptional, isAutomaticHtmlRoutingEnabled, isKeyPathRequested, isKeyPathRequested, isSchemaRequest, json, json, json, json, newEditingContext, newEditingContext, object, object, object, object, options, optionsAction, pageNameForAction, pageWithName, performActionNamed, performActionNamed, performActionNamedWithError, performActionWithAnnotations, performActionWithArguments, performHtmlActionNamed, performRouteActionNamed, performUnknownAction, plist, plist, plist, plist, processActionResults, requestHandler, requestNode, response, response, response, response, response, response, response, response, response, response, response, responseContentForActionNamed, responseNodeForActionNamed, restContext, route, routeKeys, routeObjectForKey, routeObjects, routeObjects, routeStringForKey, schemaResponse, schemaResponseForEntityNamed, setOptions, setRestContext, shouldFailOnMissingHtmlPage, stringResponse, toString, update, update, xml, xml, xml, xml
_componentAction, defaultAction, getSessionIDForRequest, takeFormValueArraysForKeyArray, takeFormValuesForKeyArray
_isActionOnClass, _methodForAction, _preloadAllActionsOnClass, canAccessFieldsDirectly, context, debugString, existingSession, handleQueryWithUnboundKey, handleTakeValueForUnboundKey, initializeRequestSessionIDInContext, languages, logString, pageWithName, request, session, setLanguages, takeValueForKey, takeValueForKeyPath, unableToSetNullForKey, validateTakeValueForKeyPath, validateValueForKey, valueForKey, valueForKeyPath
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
handleQueryWithUnboundKey, handleTakeValueForUnboundKey, unableToSetNullForKey
takeValueForKeyPath, valueForKeyPath
takeValueForKey, valueForKey
validateTakeValueForKeyPath, validateValueForKey
public ERXUnsafeReadOnlyRouteController(WORequest request)
protected boolean allowUpdates()
protected T object()
protected ERXKeyFilter queryFilter()
protected ERXKeyFilter showFilter()
protected ERXKeyFilter updateFilter()
public WOActionResults createAction()
ERXDefaultRouteController
createAction
in class ERXDefaultRouteController
public WOActionResults updateAction()
ERXDefaultRouteController
updateAction
in class ERXDefaultRouteController
public WOActionResults destroyAction() throws Throwable
ERXDefaultRouteController
destroyAction
in class ERXDefaultRouteController
Throwable
- if something goes wrongpublic WOActionResults newAction() throws Throwable
ERXDefaultRouteController
newAction
in class ERXDefaultRouteController
Throwable
- if something goes wrongpublic WOActionResults showAction()
ERXDefaultRouteController
showAction
in class ERXDefaultRouteController
public WOActionResults indexAction()
ERXDefaultRouteController
indexAction
in class ERXDefaultRouteController
Copyright © 2002 – 2024 Project Wonder.