public class URLResource extends AbstractResource
bytes, endpointId, frameworkUtil, name, objectId, protocolId| Constructor and Description |
|---|
URLResource(String protocolId,
String endpointId,
String objectId,
FrameworkBean frameworkUtil) |
| Modifier and Type | Method and Description |
|---|---|
ResourceContent |
getContent()
Gets the content for this resource.
|
String |
getContentURL()
Gets the content url.
|
ResourceContent |
getMetadata()
Gets the metadata for this resource.
|
String |
getMetadataURL()
Gets the metadata url.
|
String |
getObjectTypeId()
Gets the object type id.
|
String |
getResourceId()
Gets the resource id.
|
String |
getResourceTypeId() |
boolean |
isContainer()
Checks if the resource is a container.
|
getEndpointId, getName, getObjectId, getProtocolId, setEndpointId, setName, setObjectIdpublic URLResource(String protocolId, String endpointId, String objectId, FrameworkBean frameworkUtil)
public String getResourceId()
ResourcegetResourceId in interface ResourcegetResourceId in class AbstractResourcepublic ResourceContent getMetadata() throws IOException
ResourceIOExceptionpublic String getMetadataURL()
Resourcepublic ResourceContent getContent() throws IOException
ResourceIOExceptionpublic String getContentURL()
Resourcepublic String getObjectTypeId()
Resourcepublic String getResourceTypeId()
public boolean isContainer()
ResourceCopyright © 2005–2016 Alfresco Software. All rights reserved.