public interface Resource extends Serializable
| Modifier and Type | Method and Description |
|---|---|
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.
|
String getResourceId()
String getProtocolId()
String getObjectId()
void setObjectId(String objectId)
objectId - the new object idString getEndpointId()
void setEndpointId(String endpointId)
endpointId - StringString getName()
void setName(String name)
name - the new nameResourceContent getMetadata() throws IOException
IOExceptionResourceContent getContent() throws IOException
IOExceptionString getMetadataURL()
String getContentURL()
String getObjectTypeId()
boolean isContainer()
Copyright © 2005–2016 Alfresco Software. All rights reserved.