T
- the type of your entitypublic class ERXUnsafeReadOnlyRouteController<T extends com.webobjects.eocontrol.EOEnterpriseObject> extends ERXDefaultRouteController
routeRequestHandler.addDefaultRoutes(YourEntity.ENTITY_NAME, ERXUnsafeReadOnlyRouteController.class);
com.webobjects.foundation.NSKeyValueCodingAdditions.DefaultImplementation, com.webobjects.foundation.NSKeyValueCodingAdditions.Utility
com.webobjects.foundation.NSKeyValueCoding._BooleanFieldBinding, com.webobjects.foundation.NSKeyValueCoding._BooleanMethodBinding, com.webobjects.foundation.NSKeyValueCoding._FieldBinding, com.webobjects.foundation.NSKeyValueCoding._ForwardingBinding, com.webobjects.foundation.NSKeyValueCoding._KeyBinding, com.webobjects.foundation.NSKeyValueCoding._KeyBindingCreation, com.webobjects.foundation.NSKeyValueCoding._MethodBinding, com.webobjects.foundation.NSKeyValueCoding._NumberFieldBinding, com.webobjects.foundation.NSKeyValueCoding._NumberMethodBinding, com.webobjects.foundation.NSKeyValueCoding._ReflectionKeyBindingCreation, com.webobjects.foundation.NSKeyValueCoding.ErrorHandling, com.webobjects.foundation.NSKeyValueCoding.MapImplementation, com.webobjects.foundation.NSKeyValueCoding.Null<T>, com.webobjects.foundation.NSKeyValueCoding.UnknownKeyException, com.webobjects.foundation.NSKeyValueCoding.ValueAccessor
com.webobjects.foundation.NSValidation._MethodBinding, com.webobjects.foundation.NSValidation._ValidationBinding, com.webobjects.foundation.NSValidation.DefaultImplementation, com.webobjects.foundation.NSValidation.Utility, com.webobjects.foundation.NSValidation.ValidationException
Constructor and Description |
---|
ERXUnsafeReadOnlyRouteController(com.webobjects.appserver.WORequest request) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
allowUpdates() |
com.webobjects.appserver.WOActionResults |
createAction()
Called when you want to commit a new instance.
|
com.webobjects.appserver.WOActionResults |
destroyAction()
Called when you want to delete an instance.
|
com.webobjects.appserver.WOActionResults |
indexAction()
Called when you want to list instances.
|
com.webobjects.appserver.WOActionResults |
newAction()
Called when you need an uncommitted blank new instance.
|
protected T |
object() |
protected ERXKeyFilter |
queryFilter() |
com.webobjects.appserver.WOActionResults |
showAction()
Called when you want to view a single instance.
|
protected ERXKeyFilter |
showFilter() |
com.webobjects.appserver.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
public ERXUnsafeReadOnlyRouteController(com.webobjects.appserver.WORequest request)
protected boolean allowUpdates()
protected T object()
protected ERXKeyFilter queryFilter()
protected ERXKeyFilter showFilter()
protected ERXKeyFilter updateFilter()
public com.webobjects.appserver.WOActionResults createAction()
ERXDefaultRouteController
createAction
in class ERXDefaultRouteController
public com.webobjects.appserver.WOActionResults updateAction()
ERXDefaultRouteController
updateAction
in class ERXDefaultRouteController
public com.webobjects.appserver.WOActionResults destroyAction() throws Throwable
ERXDefaultRouteController
destroyAction
in class ERXDefaultRouteController
Throwable
- if something goes wrongpublic com.webobjects.appserver.WOActionResults newAction() throws Throwable
ERXDefaultRouteController
newAction
in class ERXDefaultRouteController
Throwable
- if something goes wrongpublic com.webobjects.appserver.WOActionResults showAction()
ERXDefaultRouteController
showAction
in class ERXDefaultRouteController
public com.webobjects.appserver.WOActionResults indexAction()
ERXDefaultRouteController
indexAction
in class ERXDefaultRouteController
Copyright © 2002 – 2020 Project Wonder.