Uses of Class
org.alfresco.rest.framework.Api
-
-
Uses of Api in org.alfresco.rest.api
Methods in org.alfresco.rest.api with parameters of type Api Modifier and Type Method Description void
NetworksWebScriptGet. execute(Api api, org.springframework.extensions.webscripts.WebScriptRequest req, org.springframework.extensions.webscripts.WebScriptResponse res)
void
NetworkWebScriptGet. execute(Api api, org.springframework.extensions.webscripts.WebScriptRequest req, org.springframework.extensions.webscripts.WebScriptResponse res)
-
Uses of Api in org.alfresco.rest.framework
Fields in org.alfresco.rest.framework declared as Api Modifier and Type Field Description static Api
Api. ALFRESCO_PUBLIC
Methods in org.alfresco.rest.framework that return Api Modifier and Type Method Description static Api
Api. valueOf(java.lang.String apiName, java.lang.String apiScope, java.lang.String apiVersion)
Creates an valid instance of the Api objectMethods in org.alfresco.rest.framework with parameters of type Api Modifier and Type Method Description int
Api. compareTo(Api other)
-
Uses of Api in org.alfresco.rest.framework.core
Methods in org.alfresco.rest.framework.core that return Api Modifier and Type Method Description Api
ResourceMetadata. getApi()
static Api
ResourceInspector. inspectApi(java.lang.Class<?> resource)
Inspects the resource to determine what api it belongs to.Methods in org.alfresco.rest.framework.core that return types with arguments of type Api Modifier and Type Method Description java.util.Map<Api,java.util.Map<java.lang.String,ResourceWithMetadata>>
ResourceDictionary. getAllResources()
java.util.SortedSet<Api>
ResourceDictionary. getPrivateApis()
java.util.SortedSet<Api>
ResourceDictionary. getPublicApis()
Methods in org.alfresco.rest.framework.core with parameters of type Api Modifier and Type Method Description static void
ResourceInspector. inspectAddressedProperties(Api api, java.lang.Class<?> resource, java.lang.String entityPath, java.util.List<ResourceMetadata> metainfo)
Inspects the entity resource and returns meta data about any addresssed/binary propertiesstatic void
ResourceInspector. inspectOperations(Api api, java.lang.Class<?> resource, java.lang.String entityPath, java.util.List<ResourceMetadata> metainfo)
Inspect a resource to find operations on it.java.util.Map<java.lang.String,ResourceWithMetadata>
ResourceLocator. locateEmbeddedResources(Api api, java.util.Map<java.lang.String,java.lang.String> embeddedKeys)
For a given Map finds any resources that should be embedded inside a class.java.util.Map<java.lang.String,ResourceWithMetadata>
ResourceLookupDictionary. locateEmbeddedResources(Api api, java.util.Map<java.lang.String,java.lang.String> embeddedKeys)
ResourceWithMetadata
ResourceLocator. locateEntityResource(Api api, java.lang.String resourceName, org.springframework.http.HttpMethod httpMethod)
Finds an Entity Resource and returns it in ResourceWithMetadata wrapper.ResourceWithMetadata
ResourceLookupDictionary. locateEntityResource(Api api, java.lang.String entityResource, org.springframework.http.HttpMethod httpMethod)
ResourceWithMetadata
ResourceLocator. locateRelationPropertyResource(Api api, java.lang.String entityResource, java.lang.String relationResource, java.lang.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, java.lang.String entityResource, java.lang.String relationResource, java.lang.String property, org.springframework.http.HttpMethod httpMethod)
ResourceWithMetadata
ResourceLocator. locateRelationResource(Api api, java.lang.String resourceName, java.lang.String relationName, org.springframework.http.HttpMethod httpMethod)
Finds an Relationship Resource and returns it in ResourceWithMetadata wrapper.java.util.Map<java.lang.String,ResourceWithMetadata>
ResourceLocator. locateRelationResource(Api api, java.lang.String entityKey, java.util.Collection<java.lang.String> relationshipKeys, org.springframework.http.HttpMethod httpMethod)
Finds multiple relationship Resources and returns them as a Map of ResourceWithMetadata.ResourceWithMetadata
ResourceLookupDictionary. locateRelationResource(Api api, java.lang.String entityResource, java.lang.String relationResource, org.springframework.http.HttpMethod httpMethod)
java.util.Map<java.lang.String,ResourceWithMetadata>
ResourceLookupDictionary. locateRelationResource(Api api, java.lang.String entityKey, java.util.Collection<java.lang.String> relationshipKeys, org.springframework.http.HttpMethod httpMethod)
ResourceWithMetadata
ResourceLocator. locateResource(Api api, java.util.Map<java.lang.String,java.lang.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, java.util.Map<java.lang.String,java.lang.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.Constructors in org.alfresco.rest.framework.core with parameters of type Api Constructor Description ApiScopeKey(Api api)
OperationResourceMetaData(java.lang.String uniqueId, java.util.List<ResourceOperation> operations, Api api, java.lang.reflect.Method operationMethod, boolean noAuthRequired)
Use this constructor to create the resource metadataOperationResourceMetaData(java.lang.String uniqueId, Api api, java.util.Set<java.lang.Class<? extends ResourceAction>> apiDeleted, boolean noAuthRequired)
Constructor to use when it has been deletedResourceMetadata(java.lang.String uniqueId, ResourceMetadata.RESOURCE_TYPE type, java.util.List<ResourceOperation> operations, Api api, java.util.Set<java.lang.Class<? extends ResourceAction>> apiDeleted, java.util.Set<java.lang.Class<? extends ResourceAction>> apiNoAuth, java.lang.String parentResource)
-
Uses of Api in org.alfresco.rest.framework.tools
Methods in org.alfresco.rest.framework.tools that return Api Modifier and Type Method Description static Api
ApiAssistant. determineApi(java.util.Map<java.lang.String,java.lang.String> templateVars)
Determines the api being used from the templateVars -
Uses of Api in org.alfresco.rest.framework.webscripts
Methods in org.alfresco.rest.framework.webscripts with parameters of type Api Modifier and Type Method Description void
AbstractResourceWebScript. execute(Api api, org.springframework.extensions.webscripts.WebScriptRequest req, org.springframework.extensions.webscripts.WebScriptResponse res)
abstract void
ApiWebScript. execute(Api api, org.springframework.extensions.webscripts.WebScriptRequest req, org.springframework.extensions.webscripts.WebScriptResponse res)
java.lang.Object
ResourceWebScriptHelper. processAdditionsToTheResponse(org.springframework.extensions.webscripts.WebScriptResponse res, Api api, java.lang.String entityCollectionName, Params params, java.lang.Object objectToWrap)
Looks at the object passed in and recursively expands any @EmbeddedEntityResource annotations or related relationship. -
Uses of Api in org.alfresco.rest.framework.webscripts.metadata
Methods in org.alfresco.rest.framework.webscripts.metadata with parameters of type Api Modifier and Type Method 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)
-