org.alfresco.repo.cmis.client
Class CMISHelper
java.lang.Object
org.alfresco.repo.cmis.client.CMISHelper
- Direct Known Subclasses:
- AbstractCMISConnectionManagerImpl
public class CMISHelper
- extends java.lang.Object
Method Summary |
org.apache.chemistry.opencmis.commons.impl.dataobjects.ContentStreamImpl |
createContentStream(java.lang.String filename,
org.springframework.extensions.surf.util.InputStreamContent content)
Creates a ContentStream object. |
org.apache.chemistry.opencmis.commons.impl.dataobjects.ContentStreamImpl |
createContentStream(java.lang.String filename,
long length,
java.lang.String mimetype,
java.io.InputStream stream)
Creates a ContentStream object. |
org.alfresco.repo.jscript.ScriptableHashMap |
createMap()
Creates a properties map. |
boolean |
isDocument(org.apache.chemistry.opencmis.client.api.CmisObject object)
|
boolean |
isFolder(org.apache.chemistry.opencmis.client.api.CmisObject object)
|
boolean |
isPolicy(org.apache.chemistry.opencmis.client.api.CmisObject object)
|
boolean |
isRelationship(org.apache.chemistry.opencmis.client.api.CmisObject object)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CMISHelper
public CMISHelper()
createMap
public org.alfresco.repo.jscript.ScriptableHashMap createMap()
- Creates a properties map.
createContentStream
public org.apache.chemistry.opencmis.commons.impl.dataobjects.ContentStreamImpl createContentStream(java.lang.String filename,
long length,
java.lang.String mimetype,
java.io.InputStream stream)
- Creates a ContentStream object.
createContentStream
public org.apache.chemistry.opencmis.commons.impl.dataobjects.ContentStreamImpl createContentStream(java.lang.String filename,
org.springframework.extensions.surf.util.InputStreamContent content)
- Creates a ContentStream object.
isDocument
public boolean isDocument(org.apache.chemistry.opencmis.client.api.CmisObject object)
isFolder
public boolean isFolder(org.apache.chemistry.opencmis.client.api.CmisObject object)
isPolicy
public boolean isPolicy(org.apache.chemistry.opencmis.client.api.CmisObject object)
isRelationship
public boolean isRelationship(org.apache.chemistry.opencmis.client.api.CmisObject object)
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.