public class CMISHelper
extends java.lang.Object
Constructor and Description |
---|
CMISHelper() |
Modifier and Type | Method and Description |
---|---|
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) |
public org.alfresco.repo.jscript.ScriptableHashMap createMap()
public org.apache.chemistry.opencmis.commons.impl.dataobjects.ContentStreamImpl createContentStream(java.lang.String filename, long length, java.lang.String mimetype, java.io.InputStream stream)
public org.apache.chemistry.opencmis.commons.impl.dataobjects.ContentStreamImpl createContentStream(java.lang.String filename, org.springframework.extensions.surf.util.InputStreamContent content)
public boolean isDocument(org.apache.chemistry.opencmis.client.api.CmisObject object)
public boolean isFolder(org.apache.chemistry.opencmis.client.api.CmisObject object)
public boolean isPolicy(org.apache.chemistry.opencmis.client.api.CmisObject object)
public boolean isRelationship(org.apache.chemistry.opencmis.client.api.CmisObject object)
Copyright © 2005 - 2013 Alfresco Software, Inc. All Rights Reserved.