Package | Description |
---|---|
er.rest | |
er.rest.format | |
er.rest.routes | |
er.snapshotexplorer.delegates |
Modifier and Type | Method and Description |
---|---|
protected void |
ERXRestRequestNode._addAttributesAndRelationshipsForObjectOfEntity(Object obj,
com.webobjects.eocontrol.EOClassDescription classDescription,
ERXKeyFilter keyFilter,
ERXRestContext context,
Set<Object> visitedObjects) |
protected void |
ERXRestRequestNode._addToManyRelationshipNodeForKeyOfEntityInObject(ERXKey<?> key,
com.webobjects.eocontrol.EOClassDescription destinationEntity,
Object obj,
ERXKeyFilter keyFilter,
ERXRestContext context,
Set<Object> visitedObjects) |
protected void |
ERXRestRequestNode._addToOneRelationshipNodeForKeyInObject(ERXKey<?> key,
Object obj,
com.webobjects.eocontrol.EOClassDescription destinationEntity,
ERXKeyFilter keyFilter,
ERXRestContext context,
Set<Object> visitedObjects) |
protected void |
ERXRestRequestNode._fillInWithObjectAndFilter(Object obj,
com.webobjects.eocontrol.EOClassDescription classDescription,
ERXKeyFilter keyFilter,
ERXRestContext context,
Set<Object> visitedObjects) |
static Object |
ERXRestUtils.coerceValueToAttributeType(Object value,
com.webobjects.eocontrol.EOClassDescription parentEntity,
Object parentObject,
String attributeName,
ERXRestContext context)
Parses the given String and returns an object.
|
static String |
ERXRestUtils.coerceValueToString(Object value,
ERXRestContext context)
Convert the given object to a String (using REST formats).
|
static Object |
ERXRestUtils.coerceValueToTypeNamed(Object value,
String valueTypeName,
ERXRestContext context,
boolean resolveEntities) |
Object |
IERXRestDelegate.createObjectOfEntityWithID(com.webobjects.eocontrol.EOClassDescription entity,
Object id,
ERXRestContext context)
Creates a new instance of the entity.
|
Object |
ERXNoOpRestDelegate.createObjectOfEntityWithID(com.webobjects.eocontrol.EOClassDescription entity,
Object id,
ERXRestContext context) |
Object |
ERXEORestDelegate.createObjectOfEntityWithID(com.webobjects.eocontrol.EOClassDescription entity,
Object id,
ERXRestContext context) |
Object |
ERXRestRequestNode.createObjectWithFilter(String entityName,
ERXKeyFilter keyFilter,
ERXRestContext context)
Creates a new instance of an object represented by this request node.
|
protected static Format |
ERXRestUtils.dateFormat(boolean spaces,
ERXRestContext context) |
protected static DateTimeFormatter |
ERXRestUtils.jodaLocalDateFormat(boolean spaces,
ERXRestContext context) |
protected static DateTimeFormatter |
ERXRestUtils.jodaLocalDateTimeFormat(boolean spaces,
ERXRestContext context) |
Object |
IERXRestDelegate.objectOfEntityWithID(com.webobjects.eocontrol.EOClassDescription entity,
Object id,
ERXRestContext context)
Returns the object with the given entity and ID.
|
Object |
ERXNoOpRestDelegate.objectOfEntityWithID(com.webobjects.eocontrol.EOClassDescription entity,
Object id,
ERXRestContext context) |
Object |
ERXEORestDelegate.objectOfEntityWithID(com.webobjects.eocontrol.EOClassDescription entity,
Object id,
ERXRestContext context) |
Object |
ERXRestRequestNode.objectWithFilter(String entityName,
ERXKeyFilter keyFilter,
ERXRestContext context)
Returns the object that this request node represents.
|
Object |
IERXRestDelegate.primaryKeyForObject(Object obj,
ERXRestContext context)
Returns the primary key for the specified object.
|
Object |
ERXNoOpRestDelegate.primaryKeyForObject(Object obj,
ERXRestContext context) |
Object |
ERXEORestDelegate.primaryKeyForObject(Object obj,
ERXRestContext context) |
static ERXRestRequestNode |
ERXRestRequestNode.requestNodeWithObjectAndFilter(com.webobjects.eocontrol.EOClassDescription classDescription,
List<?> objects,
ERXKeyFilter keyFilter,
ERXRestContext context)
Creates a hierarchy of ERXRestRequestNodes based off of the given array of objects.
|
static ERXRestRequestNode |
ERXRestRequestNode.requestNodeWithObjectAndFilter(Object obj,
ERXKeyFilter keyFilter,
ERXRestContext context)
Creates a hierarchy of ERXRestRequestNodes based off of the given object.
|
protected static Format |
ERXRestUtils.timestampFormat(boolean spaces,
ERXRestContext context) |
String |
ERXRestRequestNode.toString(ERXRestFormat format,
ERXRestContext context)
Returns a string representation of this request node using the given format.
|
String |
ERXRestRequestNode.toString(IERXRestWriter writer,
ERXRestFormat.Delegate delegate,
ERXRestContext context)
Returns a string representation of this request node using the given IERXRestWriter.
|
void |
ERXRestRequestNode.updateObjectWithFilter(Object obj,
ERXKeyFilter keyFilter,
ERXRestContext context)
Updates the given object based on this request node.
|
Modifier and Type | Method and Description |
---|---|
protected void |
ERXXmlRestWriter.appendArrayToResponse(ERXRestRequestNode node,
IERXRestResponse response,
int indent,
ERXRestFormat.Delegate delegate,
ERXRestContext context) |
protected void |
ERXXmlRestWriter.appendAttributesToResponse(ERXRestRequestNode node,
IERXRestResponse response,
ERXRestContext context) |
protected void |
ERXXmlRestWriter.appendDictionaryToResponse(ERXRestRequestNode node,
IERXRestResponse response,
int indent,
ERXRestFormat.Delegate delegate,
ERXRestContext context) |
void |
IERXRestWriter.appendHeadersToResponse(ERXRestRequestNode node,
IERXRestResponse response,
ERXRestContext context)
Called at the end of a request to produce the output to the user.
|
void |
ERXSimpleRestWriter.appendHeadersToResponse(ERXRestRequestNode node,
IERXRestResponse response,
ERXRestContext context) |
void |
ERXRestWriter.appendHeadersToResponse(ERXRestRequestNode node,
IERXRestResponse response,
ERXRestContext context) |
protected void |
ERXXmlRestWriter.appendNodeToResponse(ERXRestRequestNode node,
IERXRestResponse response,
int indent,
ERXRestFormat.Delegate delegate,
ERXRestContext context) |
void |
IERXRestWriter.appendToResponse(ERXRestRequestNode node,
IERXRestResponse response,
ERXRestFormat.Delegate delegate,
ERXRestContext context)
Called at the end of a request to produce the output to the user.
|
void |
ERXXmlRestWriter.appendToResponse(ERXRestRequestNode node,
IERXRestResponse response,
ERXRestFormat.Delegate delegate,
ERXRestContext context) |
void |
ERXSimpleRestWriter.appendToResponse(ERXRestRequestNode node,
IERXRestResponse response,
ERXRestFormat.Delegate delegate,
ERXRestContext context) |
void |
ERXPListRestWriter.appendToResponse(ERXRestRequestNode node,
IERXRestResponse response,
ERXRestFormat.Delegate delegate,
ERXRestContext context) |
void |
ERXJSONRestWriter.appendToResponse(ERXRestRequestNode node,
IERXRestResponse response,
ERXRestFormat.Delegate delegate,
ERXRestContext context) |
void |
ERXBinaryPListRestWriter.appendToResponse(ERXRestRequestNode node,
IERXRestResponse response,
ERXRestFormat.Delegate delegate,
ERXRestContext context) |
protected void |
ERXXmlRestWriter.appendValueToResponse(ERXRestRequestNode node,
IERXRestResponse response,
int indent,
ERXRestContext context) |
protected String |
ERXXmlRestWriter.coerceValueToString(Object value,
ERXRestContext context) |
protected net.sf.json.JsonConfig |
ERXJSONRestWriter.configWithContext(ERXRestContext context) |
protected net.sf.json.JsonConfig |
ERXJSONRestParser.configWithContext(ERXRestContext context) |
static net.sf.json.JsonConfig |
_ERXJSONConfig.createDefaultConfig(ERXRestContext context) |
protected ERXRestRequestNode |
ERXXmlRestParser.createRequestNodeForElement(Element element,
boolean rootNode,
ERXRestFormat.Delegate delegate,
ERXRestContext context) |
ERXRestRequestNode |
ERXRestFormat.parse(IERXRestRequest request,
ERXRestContext context)
Returns a parsed ERXRestRequestNode using this format's parser.
|
ERXRestRequestNode |
ERXRestFormat.parse(String str,
ERXRestContext context)
Returns a parsed ERXRestRequestNode using this format's parser.
|
ERXRestRequestNode |
IERXRestParser.parseRestRequest(IERXRestRequest request,
ERXRestFormat.Delegate delegate,
ERXRestContext context) |
ERXRestRequestNode |
ERXXmlRestParser.parseRestRequest(IERXRestRequest request,
ERXRestFormat.Delegate delegate,
ERXRestContext context) |
ERXRestRequestNode |
ERXPListRestParser.parseRestRequest(IERXRestRequest request,
ERXRestFormat.Delegate delegate,
ERXRestContext context) |
ERXRestRequestNode |
ERXJSONRestParser.parseRestRequest(IERXRestRequest request,
ERXRestFormat.Delegate delegate,
ERXRestContext context) |
ERXRestRequestNode |
ERXFormRestParser.parseRestRequest(IERXRestRequest request,
ERXRestFormat.Delegate delegate,
ERXRestContext context) |
ERXRestRequestNode |
ERXEmberRestParser.parseRestRequest(IERXRestRequest request,
ERXRestFormat.Delegate delegate,
ERXRestContext context) |
ERXRestRequestNode |
ERXBinaryPListRestParser.parseRestRequest(IERXRestRequest request,
ERXRestFormat.Delegate delegate,
ERXRestContext context) |
String |
ERXRestFormat.toString(com.webobjects.eocontrol.EOClassDescription classDescription,
List<?> list,
ERXKeyFilter filter,
ERXRestContext context)
Returns the formatted version of the given list.
|
String |
ERXRestFormat.toString(Object obj,
ERXKeyFilter filter,
ERXRestContext context)
Returns the formatted version of the given object.
|
String |
ERXRestFormat.toString(Object obj,
ERXRestContext context)
Returns the formatted version of the given object using a recursive "All" filter.
|
Constructor and Description |
---|
GeneralObjectToStringProcessor(ERXRestContext context) |
Modifier and Type | Method and Description |
---|---|
protected ERXRestContext |
ERXRouteController.createRestContext()
Creates a new rest context for the controller.
|
ERXRestContext |
ERXRouteController.restContext()
Returns the cached rest context for this controller.
|
Modifier and Type | Method and Description |
---|---|
<T> T |
ERXRouteController.create(ERXKeyFilter filter,
ERXRestContext restContext)
Creates a new object from the request data that is of the routed entity name and is filtered with the given
filter.
|
<T> T |
ERXRouteController.create(String entityName,
ERXKeyFilter filter,
ERXRestContext restContext)
Creates a new object from the request data that is of the given entity name and is filtered with the given
filter.
|
static NSDictionary<ERXRoute.Key,Object> |
ERXRoute.keysWithObjects(NSDictionary<ERXRoute.Key,String> keys,
ERXRestContext context)
Returns a dictionary mapping the route's keys to their resolved objects.
|
NSDictionary<ERXRoute.Key,Object> |
ERXRoute.keysWithObjects(String url,
ERXRoute.Method method,
ERXRestContext context)
Returns a dictionary mapping the route's keys to their resolved objects.
|
<T> T |
ERXRouteController.object(ERXKeyFilter filter,
ERXRestContext restContext)
Returns the object from the request data that is of the routed entity name and is filtered with the given filter.
|
<T> T |
ERXRouteController.object(String entityName,
ERXKeyFilter filter,
ERXRestContext restContext)
Returns the object from the request data that is of the given entity name and is filtered with the given filter.
|
NSDictionary<String,Object> |
ERXRoute.objects(NSDictionary<ERXRoute.Key,String> keys,
ERXRestContext context)
Returns a dictionary mapping the route's key names to their resolved objects.
|
NSDictionary<String,Object> |
ERXRoute.objects(String url,
ERXRoute.Method method,
ERXRestContext context)
Returns a dictionary mapping the route's key names to their resolved objects.
|
NSDictionary<ERXRoute.Key,Object> |
ERXRouteController.routeObjects(ERXRestContext restContext)
Returns all the processed objects from the route keys.
|
void |
ERXRouteController.setRestContext(ERXRestContext restContext)
Sets the rest context for this controller.
|
void |
ERXRouteController.update(Object obj,
ERXKeyFilter filter,
ERXRestContext restContext)
Updates the given object from the request data with the given filter.
|
Constructor and Description |
---|
ERXRouteResults(com.webobjects.appserver.WOContext context,
ERXRestContext restContext,
ERXRestFormat format,
ERXRestRequestNode responseNode)
Constructs an ERXRouteResults.
|
Modifier and Type | Method and Description |
---|---|
Object |
EOModelRestDelegate.createObjectOfEntityWithID(com.webobjects.eocontrol.EOClassDescription entity,
Object id,
ERXRestContext context) |
Object |
EOModelGroupRestDelegate.createObjectOfEntityWithID(com.webobjects.eocontrol.EOClassDescription entity,
Object id,
ERXRestContext context) |
Object |
EOEntityRestDelegate.createObjectOfEntityWithID(com.webobjects.eocontrol.EOClassDescription entity,
Object id,
ERXRestContext context) |
Object |
EOModelRestDelegate.objectOfEntityWithID(com.webobjects.eocontrol.EOClassDescription entity,
Object id,
ERXRestContext context) |
Object |
EOModelGroupRestDelegate.objectOfEntityWithID(com.webobjects.eocontrol.EOClassDescription entity,
Object id,
ERXRestContext context) |
Object |
EOEntityRestDelegate.objectOfEntityWithID(com.webobjects.eocontrol.EOClassDescription entity,
Object id,
ERXRestContext context) |
Object |
EOModelRestDelegate.primaryKeyForObject(Object obj,
ERXRestContext context) |
Object |
EOModelGroupRestDelegate.primaryKeyForObject(Object obj,
ERXRestContext context) |
Object |
EOEntityRestDelegate.primaryKeyForObject(Object obj,
ERXRestContext context) |
Copyright © 2002 – 2020 Project Wonder.