| Package | Description |
|---|---|
| org.alfresco.rest.api | |
| org.alfresco.rest.framework | |
| org.alfresco.rest.framework.core | |
| org.alfresco.rest.framework.webscripts | |
| org.alfresco.rest.framework.webscripts.metadata |
| Modifier and Type | Method and Description |
|---|---|
void |
NetworkWebScriptGet.execute(Api api,
org.springframework.extensions.webscripts.WebScriptRequest req,
org.springframework.extensions.webscripts.WebScriptResponse res) |
void |
NetworksWebScriptGet.execute(Api api,
org.springframework.extensions.webscripts.WebScriptRequest req,
org.springframework.extensions.webscripts.WebScriptResponse res) |
| Modifier and Type | Field and Description |
|---|---|
static Api |
Api.ALFRESCO_PUBLIC |
| Modifier and Type | Method and Description |
|---|---|
static Api |
Api.valueOf(String apiName,
String apiScope,
String apiVersion)
Creates an valid instance of the Api object
|
| Modifier and Type | Method and Description |
|---|---|
int |
Api.compareTo(Api other) |
| Modifier and Type | Method and Description |
|---|---|
Api |
ResourceMetadata.getApi() |
static Api |
ResourceInspector.inspectApi(Class<?> resource)
Inspects the resource to determine what api it belongs to.
|
| Modifier and Type | Method and Description |
|---|---|
Map<Api,Map<String,ResourceWithMetadata>> |
ResourceDictionary.getAllResources() |
SortedSet<Api> |
ResourceDictionary.getPrivateApis() |
SortedSet<Api> |
ResourceDictionary.getPublicApis() |
| Modifier and Type | Method and Description |
|---|---|
static void |
ResourceInspector.inspectAddressedProperties(Api api,
Class<?> resource,
String entityPath,
List<ResourceMetadata> metainfo)
Inspects the entity resource and returns meta data about any addresssed/binary properties
|
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.
|
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.
|
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.
|
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.
|
| Constructor and Description |
|---|
ResourceDictionaryBuilder.ApiScopeKey(Api api) |
ResourceMetadata(String uniqueId,
ResourceMetadata.RESOURCE_TYPE type,
List<ResourceOperation> operations,
Api api,
Set<Class<? extends ResourceAction>> apiDeleted,
String parentResource) |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
ApiWebScript.execute(Api api,
org.springframework.extensions.webscripts.WebScriptRequest req,
org.springframework.extensions.webscripts.WebScriptResponse res) |
void |
AbstractResourceWebScript.execute(Api api,
org.springframework.extensions.webscripts.WebScriptRequest req,
org.springframework.extensions.webscripts.WebScriptResponse res) |
Object |
ResourceWebScriptHelper.postProcessResponse(Api api,
String entityCollectionName,
Params params,
Object objectToWrap)
Looks at the object passed in and recursively expands any @EmbeddedEntityResource annotations or related relationship.
|
| Modifier and Type | Method and Description |
|---|---|
void |
InfoWebScriptGet.execute(Api api,
org.springframework.extensions.webscripts.WebScriptRequest req,
org.springframework.extensions.webscripts.WebScriptResponse res) |
void |
WebScriptOptionsMetaData.execute(Api api,
org.springframework.extensions.webscripts.WebScriptRequest req,
org.springframework.extensions.webscripts.WebScriptResponse res) |
Copyright © 2005–2014 Alfresco Software. All rights reserved.