org.springframework.extensions.surf.resource.support
Class CMISResource
java.lang.Object
org.springframework.extensions.surf.resource.AbstractResource
org.springframework.extensions.surf.resource.support.CMISResource
- All Implemented Interfaces:
- Serializable, Resource
public class CMISResource
- extends AbstractResource
CMIS resource
Content = heavy asset
Metadata = CMIS information
Object ids are of the following format:
cmis:///node/workspace/SpacesStore/790ccbc3-a3ee-45ba-b169-0926ad77c2c8
cmis:///cmis
cmis:///types
cmis:///queries
- Author:
- muzquiano
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NAMESPACE_APP
public static org.dom4j.Namespace NAMESPACE_APP
NAMESPACE_CMISRA
public static org.dom4j.Namespace NAMESPACE_CMISRA
NAMESPACE_CMIS
public static org.dom4j.Namespace NAMESPACE_CMIS
NAMESPACE_ALF
public static org.dom4j.Namespace NAMESPACE_ALF
NAMESPACE_OPENSEARCH
public static org.dom4j.Namespace NAMESPACE_OPENSEARCH
CMISResource
public CMISResource(String protocolId,
String endpointId,
String objectId)
getMetadata
public ResourceContent getMetadata()
throws IOException
- Description copied from interface:
Resource
- Gets the metadata for this resource. If there is no metadata
for this resource, null will be returned.
- Returns:
- the metadata or null
- Throws:
IOException
getMetadataURL
public String getMetadataURL()
- Description copied from interface:
Resource
- Gets the metadata url. If there is no metadata url for this
resource, null will be returned.
- Returns:
- the metadata url or null.
getContent
public ResourceContent getContent()
throws IOException
- Description copied from interface:
Resource
- Gets the content for this resource. If there is no content
for this resource, null will be returned.
- Returns:
- the content or null.
- Throws:
IOException
getContentURL
public String getContentURL()
- Description copied from interface:
Resource
- Gets the content url. If there is no content url for this
resource, null will be returned.
- Returns:
- the content url
getObjectTypeId
public String getObjectTypeId()
- Description copied from interface:
Resource
- Gets the object type id.
- Returns:
- the object type id
isContainer
public boolean isContainer()
- Description copied from interface:
Resource
- Checks if the resource is a container.
- Returns:
- true, if is container
Copyright © 2009 SpringSource, Inc. All Rights Reserved.