Package | Description |
---|---|
er.extensions.eof | |
er.rest | |
er.rest.format | |
er.rest.routes | |
er.rest.util |
Modifier and Type | Method and Description |
---|---|
ERXKeyFilter |
ERXKeyFilter._filterForKey(ERXKey key)
Returns the filter for the given key, or creates a "nextBase" filter
if there isn't one.
|
ERXKeyFilter |
ERXKeyFilter._filterForKey(String key)
Returns the filter for the given key, or creates a "nextBase" filter
if there isn't one.
|
protected ERXKeyFilter |
ERXKeyFilter.createFilter(ERXKeyFilter.Base base) |
protected ERXKeyFilter |
ERXKeyFilter.createNextFilter() |
static ERXKeyFilter |
ERXKeyFilter.filterWithAll()
Shortcut to return a new ERXKeyFilter(All)
|
static ERXKeyFilter |
ERXKeyFilter.filterWithAllRecursive()
Shortcut to return a new ERXKeyFilter(All, All)
|
static ERXKeyFilter |
ERXKeyFilter.filterWithAttributes()
Shortcut to return a new ERXKeyFilter(Attributes)
|
static ERXKeyFilter |
ERXKeyFilter.filterWithAttributesAndToOneRelationships()
Shortcut to return a new ERXKeyFilter(AttributesAndToOneRelationships)
|
static ERXKeyFilter |
ERXKeyFilter.filterWithKeys(ERXKey<?>... keys)
Shortcut to return a new ERXKeyFilter()
|
static ERXKeyFilter |
ERXKeyFilter.filterWithKeys(String... keys)
Shortcut to return a new ERXKeyFilter()
|
static ERXKeyFilter |
ERXKeyFilter.filterWithNone()
Shortcut to return a new ERXKeyFilter(None)
|
ERXKeyFilter |
ERXKeyFilter.include(ERXKey key)
Includes the given key in this filter.
|
ERXKeyFilter |
ERXKeyFilter.include(ERXKey key,
ERXKeyFilter existingFilter)
Includes the given key in this filter.
|
ERXKeyFilter |
ERXKeyFilter.include(String key)
Includes the given key in this filter.
|
ERXKeyFilter |
ERXKeyFilter.include(String keyName,
ERXKeyFilter existingFilter)
Includes the given key in this filter, wrapping it in an ERXKey object for you.
|
ERXKeyFilter |
ERXKeyFilter.only(ERXKey key)
Restricts this filter to only allow the given key.
|
ERXKeyFilter |
ERXKeyFilter.only(String key)
Restricts this filter to only allow the given key.
|
ERXKeyFilter |
ERXKeyFilter.setDistinct(boolean distinct)
Sets whether or not a to-many relationship should return only distinct objects.
|
ERXKeyFilter |
ERXKeyFilter.setNextBase(ERXKeyFilter.Base nextBase)
Sets the base that is used for subkeys of this key by default.
|
Modifier and Type | Method and Description |
---|---|
Map<ERXKey,ERXKeyFilter> |
ERXKeyFilter.includes()
Returns the included keys and the next filters they map to.
|
Modifier and Type | Method and Description |
---|---|
ERXKeyFilter |
ERXKeyFilter.include(ERXKey key,
ERXKeyFilter existingFilter)
Includes the given key in this filter.
|
ERXKeyFilter |
ERXKeyFilter.include(String keyName,
ERXKeyFilter existingFilter)
Includes the given key in this filter, wrapping it in an ERXKey object for you.
|
Modifier and Type | Method and Description |
---|---|
protected void |
ERXRestRequestNode._addAttributeNodeForKeyInObject(ERXKey<?> key,
Object obj,
ERXKeyFilter keyFilter) |
protected void |
ERXRestRequestNode._addAttributesAndRelationshipsForObjectOfEntity(Object obj,
EOClassDescription classDescription,
ERXKeyFilter keyFilter,
ERXRestContext context,
Set<Object> visitedObjects) |
protected void |
ERXRestRequestNode._addToManyRelationshipNodeForKeyOfEntityInObject(ERXKey<?> key,
EOClassDescription destinationEntity,
Object obj,
ERXKeyFilter keyFilter,
ERXRestContext context,
Set<Object> visitedObjects) |
protected void |
ERXRestRequestNode._addToOneRelationshipNodeForKeyInObject(ERXKey<?> key,
Object obj,
EOClassDescription destinationEntity,
ERXKeyFilter keyFilter,
ERXRestContext context,
Set<Object> visitedObjects) |
protected void |
ERXRestRequestNode._fillInWithObjectAndFilter(Object obj,
EOClassDescription classDescription,
ERXKeyFilter keyFilter,
ERXRestContext context,
Set<Object> visitedObjects) |
protected void |
ERXRestRequestNode._safeDidSkipValueForKey(ERXKeyFilter keyFilter,
Object target,
Object value,
String key) |
protected void |
ERXRestRequestNode._safeDidTakeValueForKey(ERXKeyFilter keyFilter,
Object target,
Object value,
String key) |
protected void |
ERXRestRequestNode._safeWillTakeValueForKey(ERXKeyFilter keyFilter,
Object target,
Object value,
String key) |
static void |
ERXFilteredQualifierTraversal.checkQualifierForEntityWithFilter(EOQualifier qualifier,
EOEntity entity,
ERXKeyFilter filter)
Traverses the given qualifier, checking each keypath against the given filter, evaluated against the given
entity.
|
Object |
ERXRestRequestNode.createObjectWithFilter(String entityName,
ERXKeyFilter keyFilter,
ERXRestContext context)
Creates a new instance of an object represented by this request node.
|
void |
ERXRestFetchSpecification.enableRequestQualifiers(EOQualifier baseQualifier,
ERXKeyFilter qualifierFilter)
Enables qualifiers in the request, but will be AND'd to the given base qualifier (in case you need to perform
security restrictions)
|
Object |
ERXRestRequestNode.objectWithFilter(String entityName,
ERXKeyFilter keyFilter,
ERXRestContext context)
Returns the object that this request node represents.
|
static ERXRestRequestNode |
ERXRestRequestNode.requestNodeWithObjectAndFilter(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.
|
void |
ERXRestRequestNode.updateObjectWithFilter(Object obj,
ERXKeyFilter keyFilter,
ERXRestContext context)
Updates the given object based on this request node.
|
Constructor and Description |
---|
ERXFilteredQualifierTraversal(EOEntity entity,
ERXKeyFilter filter)
Constructs a new ERXFilteredQualifierTraversal.
|
ERXRestFetchSpecification(String entityName,
EOQualifier defaultQualifier,
EOQualifier baseQualifier,
ERXKeyFilter qualifierFilter,
NSArray<EOSortOrdering> defaultSortOrderings,
int defaultBatchSize)
Creates a new ERXRestFetchSpecification with a maximum batch size of 100 and with request qualifiers enabled.
|
Modifier and Type | Method and Description |
---|---|
String |
ERXRestFormat.toString(EOClassDescription classDescription,
List<?> list,
ERXKeyFilter filter,
ERXRestContext context)
Returns the formatted version of the given list.
|
String |
ERXRestFormat.toString(Object obj,
ERXKeyFilter filter)
Returns the formatted version of the given object using a recursive "All" filter.
|
String |
ERXRestFormat.toString(Object obj,
ERXKeyFilter filter,
ERXRestContext context)
Returns the formatted version of the given object.
|
Modifier and Type | Method and Description |
---|---|
protected ERXKeyFilter |
ERXRouteController.includeOptional(ERXKey<?> key,
ERXKeyFilter filter)
Includes the key in the given filter if isKeyPathRequested returns true.
|
protected ERXKeyFilter |
ERXUnsafeReadOnlyRouteController.queryFilter() |
protected ERXKeyFilter |
ERXUnsafeReadOnlyRouteController.showFilter() |
protected ERXKeyFilter |
ERXUnsafeReadOnlyRouteController.updateFilter() |
Modifier and Type | Method and Description |
---|---|
<T> T |
ERXRouteController.create(ERXKeyFilter filter)
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(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)
Creates a new object from the request data that is of the given 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.
|
protected ERXKeyFilter |
ERXRouteController.includeOptional(ERXKey<?> key,
ERXKeyFilter filter)
Includes the key in the given filter if isKeyPathRequested returns true.
|
WOActionResults |
ERXRouteController.json(EOClassDescription entity,
NSArray<?> values,
ERXKeyFilter filter)
Returns the given array as a JSON response.
|
WOActionResults |
ERXRouteController.json(EOEditingContext editingContext,
String entityName,
NSArray<?> values,
ERXKeyFilter filter)
Returns the given array as a JSON response.
|
WOActionResults |
ERXRouteController.json(Object value,
ERXKeyFilter filter)
Returns the given object as a JSON response.
|
WOActionResults |
ERXRouteController.json(String entityName,
NSArray<?> values,
ERXKeyFilter filter)
Returns the given array as a JSON response.
|
<T> T |
ERXRouteController.object(ERXKeyFilter filter)
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(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)
Returns the object from the request data that is of the given 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.
|
WOActionResults |
ERXRouteController.plist(EOClassDescription entity,
NSArray<?> values,
ERXKeyFilter filter)
Returns the given array as a JSON response.
|
WOActionResults |
ERXRouteController.plist(EOEditingContext editingContext,
String entityName,
NSArray<?> values,
ERXKeyFilter filter)
Returns the given array as a JSON response.
|
WOActionResults |
ERXRouteController.plist(Object value,
ERXKeyFilter filter)
Returns the given object as a PList response.
|
WOActionResults |
ERXRouteController.plist(String entityName,
NSArray<?> values,
ERXKeyFilter filter)
Returns the given array as a PList response.
|
WOActionResults |
ERXRouteController.response(EOClassDescription entity,
NSArray<?> values,
ERXKeyFilter filter)
Returns the given array as an response in the format returned from the format() method.
|
WOActionResults |
ERXRouteController.response(EOEditingContext editingContext,
String entityName,
NSArray<?> values,
ERXKeyFilter filter)
Returns the given array as an response in the format returned from the format() method.
|
WOActionResults |
ERXRouteController.response(ERXRestFetchSpecification<?> fetchSpec,
ERXKeyFilter filter)
Returns the results of the rest fetch spec as an response in the format returned from the format() method.
|
WOActionResults |
ERXRouteController.response(ERXRestFormat format,
EOClassDescription entity,
NSArray<?> values,
ERXKeyFilter filter)
Returns the given array as a response in the given format.
|
WOActionResults |
ERXRouteController.response(ERXRestFormat format,
EOEditingContext editingContext,
String entityName,
NSArray<?> values,
ERXKeyFilter filter)
Returns the given array as a response in the given format.
|
WOActionResults |
ERXRouteController.response(ERXRestFormat format,
Object value,
ERXKeyFilter filter)
Returns the given object as a WOResponse in the given format.
|
WOActionResults |
ERXRouteController.response(ERXRestFormat format,
String entityName,
NSArray<?> values,
ERXKeyFilter filter)
Returns the given array as a response in the given format.
|
WOActionResults |
ERXRouteController.response(Object value,
ERXKeyFilter filter)
Returns the given object as a response in the format returned from the format() method.
|
WOActionResults |
ERXRouteController.response(String entityName,
NSArray<?> values,
ERXKeyFilter filter)
Returns the given array as an response in the format returned from the format() method.
|
protected WOActionResults |
ERXRouteController.schemaResponse(ERXKeyFilter filter)
Returns the schema response for the current entity with the given filter.
|
protected WOActionResults |
ERXRouteController.schemaResponseForEntityNamed(String entityName,
ERXKeyFilter filter)
Returns the schema response for the given entity with the given filter.
|
void |
ERXRouteController.update(Object obj,
ERXKeyFilter filter)
Updates the given object from the request data with the given filter.
|
void |
ERXRouteController.update(Object obj,
ERXKeyFilter filter,
ERXRestContext restContext)
Updates the given object from the request data with the given filter.
|
WOActionResults |
ERXRouteController.xml(EOClassDescription entity,
NSArray<?> values,
ERXKeyFilter filter)
Returns the given array as an XML response.
|
WOActionResults |
ERXRouteController.xml(EOEditingContext editingContext,
String entityName,
NSArray<?> values,
ERXKeyFilter filter)
Returns the given array as an XML response.
|
WOActionResults |
ERXRouteController.xml(Object value,
ERXKeyFilter filter)
Returns the given object as an XML response.
|
WOActionResults |
ERXRouteController.xml(String entityName,
NSArray<?> values,
ERXKeyFilter filter)
Returns the given array as an XML response.
|
Modifier and Type | Method and Description |
---|---|
static NSDictionary<String,Object> |
ERXRestSchema.schemaForEntityNamed(String entityName,
ERXKeyFilter filter) |
protected static NSDictionary<String,Object> |
ERXRestSchema.schemaPropertiesForEntityNamed(String entityName,
ERXKeyFilter filter,
Set<String> entities) |
Copyright © 2002 – 2025 Project Wonder.