public class CMISResource extends AbstractResource
| Modifier and Type | Field and Description |
|---|---|
protected FrameworkBean |
frameworkUtil |
static org.dom4j.Namespace |
NAMESPACE_ALF |
static org.dom4j.Namespace |
NAMESPACE_APP |
static org.dom4j.Namespace |
NAMESPACE_CMIS |
static org.dom4j.Namespace |
NAMESPACE_CMISRA |
static org.dom4j.Namespace |
NAMESPACE_OPENSEARCH |
bytes, endpointId, name, objectId, protocolId| Constructor and Description |
|---|
CMISResource(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.
|
boolean |
isContainer()
Checks if the resource is a container.
|
getEndpointId, getName, getObjectId, getProtocolId, getResourceId, setEndpointId, setName, setObjectIdpublic static org.dom4j.Namespace NAMESPACE_APP
public static org.dom4j.Namespace NAMESPACE_CMISRA
public static org.dom4j.Namespace NAMESPACE_CMIS
public static org.dom4j.Namespace NAMESPACE_ALF
public static org.dom4j.Namespace NAMESPACE_OPENSEARCH
protected FrameworkBean frameworkUtil
public CMISResource(String protocolId, String endpointId, String objectId, FrameworkBean frameworkUtil)
public ResourceContent getMetadata() throws IOException
ResourceIOExceptionpublic String getMetadataURL()
Resourcepublic ResourceContent getContent() throws IOException
ResourceIOExceptionpublic String getContentURL()
Resourcepublic String getObjectTypeId()
Resourcepublic boolean isContainer()
ResourceCopyright © 2005–2016 Alfresco Software. All rights reserved.