|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Resource
Describes a resource whose binary content retrieval and referencing is resolved by the Web Framework. The following are all valid resources: - a URL describing an image on a remote server - an asset in the web application at a relative path - a document in a CMIS repository at a specific location
Method Summary | |
---|---|
ResourceContent |
getContent()
Gets the content for this resource. |
String |
getContentURL()
Gets the content url. |
String |
getEndpointId()
Returns the endpoint of the resource |
ResourceContent |
getMetadata()
Gets the metadata for this resource. |
String |
getMetadataURL()
Gets the metadata url. |
String |
getName()
Gets the name. |
String |
getObjectId()
Returns the object id of the resource |
String |
getObjectTypeId()
Gets the object type id. |
String |
getProtocolId()
Gets the protocol id |
String |
getResourceId()
Gets the resource id. |
boolean |
isContainer()
Checks if the resource is a container. |
void |
setEndpointId(String endpointId)
Sets the endpoint of the resource |
void |
setName(String name)
Sets the name. |
void |
setObjectId(String objectId)
Sets the object id. |
Method Detail |
---|
String getResourceId()
String getProtocolId()
String getObjectId()
void setObjectId(String objectId)
objectId
- the new object idString getEndpointId()
void setEndpointId(String endpointId)
endpoint
- String getName()
void setName(String name)
name
- the new nameResourceContent getMetadata() throws IOException
IOException
ResourceContent getContent() throws IOException
IOException
String getMetadataURL()
String getContentURL()
String getObjectTypeId()
boolean isContainer()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |