Modifier and Type | Method and Description |
---|---|
ResourceWithMetadata |
ResourceLocator.locateEntityResource(Api api,
String resourceName,
org.springframework.http.HttpMethod httpMethod)
Finds an Entity Resource and returns it in ResourceWithMetadata wrapper.
|
ResourceWithMetadata |
ResourceLookupDictionary.locateEntityResource(Api api,
String entityResource,
org.springframework.http.HttpMethod httpMethod) |
ResourceWithMetadata |
ResourceLocator.locateRelationPropertyResource(Api api,
String entityResource,
String relationResource,
String property,
org.springframework.http.HttpMethod httpMethod)
Finds a property or action on a Relationship Resource and returns it in ResourceWithMetadata wrapper.
|
ResourceWithMetadata |
ResourceLookupDictionary.locateRelationPropertyResource(Api api,
String entityResource,
String relationResource,
String property,
org.springframework.http.HttpMethod httpMethod) |
ResourceWithMetadata |
ResourceLocator.locateRelationResource(Api api,
String resourceName,
String relationName,
org.springframework.http.HttpMethod httpMethod)
Finds an Relationship Resource and returns it in ResourceWithMetadata wrapper.
|
ResourceWithMetadata |
ResourceLookupDictionary.locateRelationResource(Api api,
String entityResource,
String relationResource,
org.springframework.http.HttpMethod httpMethod) |
ResourceWithMetadata |
ResourceLocator.locateResource(Api api,
Map<String,String> templateVars,
org.springframework.http.HttpMethod httpMethod)
Used by webscripts to locate a resource based on the URL template variables.
|
ResourceWithMetadata |
ResourceLookupDictionary.locateResource(Api api,
Map<String,String> templateVars,
org.springframework.http.HttpMethod httpMethod)
Locates a resource by URI path and wraps it in an invoker
This will probably get refactored later when we work out what we
are doing with the discoverability model.
|
Modifier and Type | Method and Description |
---|---|
Map<Api,Map<String,ResourceWithMetadata>> |
ResourceDictionary.getAllResources() |
Map<String,ResourceWithMetadata> |
ResourceLocator.locateEmbeddedResources(Api api,
Map<String,String> embeddedKeys)
For a given Map finds any resources that should be embedded inside a class.
|
Map<String,ResourceWithMetadata> |
ResourceLookupDictionary.locateEmbeddedResources(Api api,
Map<String,String> embeddedKeys) |
Map<String,ResourceWithMetadata> |
ResourceLocator.locateRelationResource(Api api,
String entityKey,
Collection<String> relationshipKeys,
org.springframework.http.HttpMethod httpMethod)
Finds multiple relationship Resources and returns them as a Map of ResourceWithMetadata.
|
Map<String,ResourceWithMetadata> |
ResourceLookupDictionary.locateRelationResource(Api api,
String entityKey,
Collection<String> relationshipKeys,
org.springframework.http.HttpMethod httpMethod) |
Modifier and Type | Method and Description |
---|---|
void |
ResourceMetaDataWriter.writeMetaData(OutputStream out,
ResourceWithMetadata resource,
Map<String,ResourceWithMetadata> allApiResources)
Write the metadata to the OutputStream
|
Modifier and Type | Method and Description |
---|---|
void |
ResourceMetaDataWriter.writeMetaData(OutputStream out,
ResourceWithMetadata resource,
Map<String,ResourceWithMetadata> allApiResources)
Write the metadata to the OutputStream
|
Modifier and Type | Method and Description |
---|---|
Object |
ActionExecutor.executeAction(ResourceWithMetadata resource,
Params params,
WithResponse withResponse)
Invokes the resource with the Params
|
Modifier and Type | Method and Description |
---|---|
Object |
AbstractResourceWebScript.execute(ResourceWithMetadata resource,
Params params,
org.springframework.extensions.webscripts.WebScriptResponse res,
boolean isReadOnly) |
Void |
ResourceWebScriptDelete.execute(ResourceWithMetadata resource,
Params params,
org.springframework.extensions.webscripts.WebScriptResponse res,
boolean isReadOnly) |
Object |
ResourceWebScriptPost.executeAction(ResourceWithMetadata resource,
Params params,
WithResponse withResponse)
Executes the action on the resource
|
Object |
ResourceWebScriptPut.executeAction(ResourceWithMetadata resource,
Params params,
WithResponse withResponse)
Executes the action on the resource
|
Object |
ResourceWebScriptDelete.executeAction(ResourceWithMetadata resource,
Params params,
WithResponse withResponse)
Executes the action on the resource
|
Object |
ResourceWebScriptGet.executeAction(ResourceWithMetadata resource,
Params params,
WithResponse withResponse)
Executes the action on the resource
|
Modifier and Type | Method and Description |
---|---|
static Object |
WebScriptOptionsMetaData.processResult(ResourceWithMetadata resource,
Map<String,ResourceWithMetadata> apiResources)
Processes the resulting resource and returns the data to be displayed
|
void |
WebScriptOptionsMetaData.writeMetaData(OutputStream out,
ResourceWithMetadata resource,
Map<String,ResourceWithMetadata> allApiResources) |
Modifier and Type | Method and Description |
---|---|
static Object |
WebScriptOptionsMetaData.processResult(ResourceWithMetadata resource,
Map<String,ResourceWithMetadata> apiResources)
Processes the resulting resource and returns the data to be displayed
|
void |
WebScriptOptionsMetaData.writeMetaData(OutputStream out,
ResourceWithMetadata resource,
Map<String,ResourceWithMetadata> allApiResources) |
Copyright © 2005–2017 Alfresco Software. All rights reserved.