| Modifier and Type | Method and Description |
|---|---|
Resource |
RequestContext.getCurrentObject()
Returns the current object
If no object has been set, then null is returned
|
| Modifier and Type | Method and Description |
|---|---|
void |
RequestContext.setCurrentObject(Resource object)
Sets the current object
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractResource
Abstract implementation of a resource.
|
| Modifier and Type | Field and Description |
|---|---|
protected Resource |
ResourceContentImpl.resource |
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,Resource> |
ModelObjectResourceProvider.resources |
| Modifier and Type | Method and Description |
|---|---|
Resource |
ModelObjectResourceProvider.addResource(String name,
String resourceId) |
Resource |
ResourceProvider.addResource(String name,
String resourceId)
Adds/Creates a resource with the given name and resource id
|
Resource |
ModelObjectResourceProvider.addResource(String name,
String protocolId,
String endpointId,
String objectId) |
Resource |
ResourceProvider.addResource(String name,
String protocolId,
String endpointId,
String objectId)
Adds/Creates a resource with the given name, object id and
endpoint id
|
abstract Resource |
AbstractCachingResourceLoader.buildResource(String objectId)
Builds the resource bound to the given object id
|
Resource |
ResourceMetadata.getResource()
A link back to the resource of which this content is a part
|
Resource |
ResourceContent.getResource()
A link back to the resource of which this content is a part.
|
Resource |
ResourceContentImpl.getResource() |
Resource |
ModelObjectResourceProvider.getResource(String name) |
Resource |
ResourceProvider.getResource(String name)
Looks up a resource with the given name
|
Resource |
ResourceService.getResource(String resourceId)
Gets the resource for the given resource id
|
Resource |
ResourceService.getResource(String protocolId,
String endpointId,
String objectId)
Gets a resource for the given protocol, endpoint and object id
|
Resource[] |
ModelObjectResourceProvider.getResources() |
Resource[] |
ResourceProvider.getResources()
Returns the set of all resources
|
Resource |
AbstractCachingResourceLoader.load(String objectId) |
Resource |
ResourceLoader.load(String objectId)
Loads the resource with the given object id
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,Resource> |
ModelObjectResourceProvider.getResourcesMap() |
Map<String,Resource> |
ResourceProvider.getResourcesMap()
Returns the map of resources
|
| Modifier and Type | Method and Description |
|---|---|
void |
ModelObjectResourceProvider.updateResource(String name,
Resource resource) |
void |
ResourceProvider.updateResource(String name,
Resource resource)
Updates a resource for the given name
|
| Constructor and Description |
|---|
ResourceContentImpl(Resource resource,
String url,
FrameworkBean frameworkUtil)
Constructor
|
ResourceJSONContentImpl(Resource resource,
String url,
FrameworkBean frameworkUtil) |
ResourceXMLContentImpl(Resource resource,
String url,
FrameworkBean frameworkUtil) |
| Modifier and Type | Class and Description |
|---|---|
class |
AlfrescoResource
Alfresco resource
Content = heavy asset
Metadata = Alfresco information
Object ids are of the following format:
alfresco://
|
class |
CMISResource
CMIS resource
Content = heavy asset
Metadata = CMIS information
Object ids are of the following format:
cmis://
|
class |
URLResource
URL resource
Object ids are of the following format:
http://server:port/uri
https://server:port/uri
|
class |
VirtualizedWebappResource
Virtualized web application resource
Object ids are of the following format:
images/abc.gif
WEB-INF/config/file.xml
webapp://images/abc.gif
webapp://WEB-INF/config/file.xml
|
| Modifier and Type | Method and Description |
|---|---|
Resource |
VirtualizedWebappResourceLoader.buildResource(String objectId) |
Resource |
AlfrescoResourceLoader.buildResource(String objectId) |
Resource |
CMISResourceLoader.buildResource(String objectId) |
Resource |
URLResourceLoader.load(String objectId) |
| Modifier and Type | Field and Description |
|---|---|
protected Resource |
AbstractRequestContext.currentResource |
| Modifier and Type | Method and Description |
|---|---|
Resource |
AbstractRequestContext.getCurrentObject() |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractRequestContext.setCurrentObject(Resource resource) |
| Modifier and Type | Method and Description |
|---|---|
Resource |
AbstractModelObject.addResource(String name,
String resourceId) |
Resource |
AbstractModelObject.addResource(String name,
String protocolId,
String endpointId,
String objectId) |
Resource |
AbstractModelObject.getResource(String name) |
Resource[] |
AbstractModelObject.getResources() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Resource> |
AbstractModelObject.getResourcesMap() |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractModelObject.updateResource(String name,
Resource resource) |
| Constructor and Description |
|---|
ScriptResource(RequestContext context,
Resource resource) |
Copyright © 2005–2016 Alfresco Software. All rights reserved.