|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ResourceLoader
Interface for resource loader. A resource loader is responsible for loading and creating a Resource object for a given object id. Example: The object id may be a nodeRef to a document in the Alfresco content management system. Or, it might be a URL to an asset somewhere else in the world. A resource loader knows how to retrieve the metadata and content for the resource and manufacture a Resource object for use by the Web Framework.
Method Summary | |
---|---|
String |
getEndpointId()
Returns the endpoint id for this resource loader |
String |
getProtocolId()
Gets the protocol id. |
Resource |
load(String objectId)
Loads the resource with the given object id |
Method Detail |
---|
String getEndpointId()
String getProtocolId()
Resource load(String objectId) throws ResourceLoaderException
objectId
-
ResourceLoaderException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |