| Modifier and Type | Method and Description |
|---|---|
ResourceWithMetadata |
ResourceLookupDictionary.locateEntityResource(Api api,
String entityResource,
org.springframework.http.HttpMethod httpMethod) |
ResourceWithMetadata |
ResourceLocator.locateEntityResource(Api api,
String resourceName,
org.springframework.http.HttpMethod httpMethod)
Finds an Entity Resource and returns it in ResourceWithMetadata wrapper.
|
ResourceWithMetadata |
ResourceLookupDictionary.locateRelationResource(Api api,
String entityResource,
String relationResource,
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.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.
|
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.
|
| Modifier and Type | Method and Description |
|---|---|
Map<Api,Map<String,ResourceWithMetadata>> |
ResourceDictionary.getAllResources() |
Map<String,ResourceWithMetadata> |
ResourceLookupDictionary.locateEmbeddedResources(Api api,
Map<String,String> embeddedKeys) |
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.locateRelationResource(Api api,
String entityKey,
Collection<String> relationshipKeys,
org.springframework.http.HttpMethod httpMethod) |
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.
|
| 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 |
|---|---|
void |
ActionExecutor.execute(ResourceWithMetadata resource,
Params params,
ActionExecutor.ExecutionCallback executionCallback)
Invokes the resource with the Params calling the callback onSuccess
|
| Modifier and Type | Method and Description |
|---|---|
void |
ResourceWebScriptPost.execute(ResourceWithMetadata resource,
Params params,
ActionExecutor.ExecutionCallback executionCallback) |
void |
ResourceWebScriptGet.execute(ResourceWithMetadata resource,
Params params,
ActionExecutor.ExecutionCallback executionCallback) |
void |
ResourceWebScriptPut.execute(ResourceWithMetadata resource,
Params params,
ActionExecutor.ExecutionCallback executionCallback) |
void |
ResourceWebScriptDelete.execute(ResourceWithMetadata resource,
Params params,
ActionExecutor.ExecutionCallback executionCallback) |
ActionExecutor |
AbstractResourceWebScript.findExecutor(org.springframework.http.HttpMethod httpMethod,
Params params,
ResourceWithMetadata resource,
String contentType)
Finds the action executor to execute actions on.
|
| 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–2014 Alfresco Software. All rights reserved.