T - the type of your entitypublic class ERXUnsafeReadOnlyRouteController<T extends EOEnterpriseObject> extends ERXDefaultRouteController
routeRequestHandler.addDefaultRoutes(YourEntity.ENTITY_NAME, ERXUnsafeReadOnlyRouteController.class);
NSKeyValueCodingAdditions.DefaultImplementation, NSKeyValueCodingAdditions.UtilityNSKeyValueCoding._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.ValueAccessorNSValidation._MethodBinding, NSValidation._ValidationBinding, NSValidation.DefaultImplementation, NSValidation.Utility, NSValidation.ValidationExceptionlogactionText_actionClasses, _context_CLASS_CLASS, _KeyPathSeparatorChar, KeyPathSeparatorNullValue_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, valueForKeyPathclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waithandleQueryWithUnboundKey, handleTakeValueForUnboundKey, unableToSetNullForKeytakeValueForKeyPath, valueForKeyPathtakeValueForKey, valueForKeyvalidateTakeValueForKeyPath, validateValueForKeypublic ERXUnsafeReadOnlyRouteController(WORequest request)
protected boolean allowUpdates()
protected T object()
protected ERXKeyFilter queryFilter()
protected ERXKeyFilter showFilter()
protected ERXKeyFilter updateFilter()
public WOActionResults createAction()
ERXDefaultRouteControllercreateAction in class ERXDefaultRouteControllerpublic WOActionResults updateAction()
ERXDefaultRouteControllerupdateAction in class ERXDefaultRouteControllerpublic WOActionResults destroyAction() throws java.lang.Throwable
ERXDefaultRouteControllerdestroyAction in class ERXDefaultRouteControllerjava.lang.Throwable - if something goes wrongpublic WOActionResults newAction() throws java.lang.Throwable
ERXDefaultRouteControllernewAction in class ERXDefaultRouteControllerjava.lang.Throwable - if something goes wrongpublic WOActionResults showAction()
ERXDefaultRouteControllershowAction in class ERXDefaultRouteControllerpublic WOActionResults indexAction()
ERXDefaultRouteControllerindexAction in class ERXDefaultRouteControllerCopyright © 2002 – 2022 Project Wonder.