public class CMISHelper extends Object
| Constructor and Description |
|---|
CMISHelper() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.chemistry.opencmis.commons.impl.dataobjects.ContentStreamImpl |
createContentStream(String filename,
org.springframework.extensions.surf.util.InputStreamContent content)
Creates a ContentStream object.
|
org.apache.chemistry.opencmis.commons.impl.dataobjects.ContentStreamImpl |
createContentStream(String filename,
long length,
String mimetype,
InputStream stream)
Creates a ContentStream object.
|
ScriptableHashMap<String,Object> |
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 ScriptableHashMap<String,Object> createMap()
public org.apache.chemistry.opencmis.commons.impl.dataobjects.ContentStreamImpl createContentStream(String filename, long length, String mimetype, InputStream stream)
public org.apache.chemistry.opencmis.commons.impl.dataobjects.ContentStreamImpl createContentStream(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–2014 Alfresco Software. All rights reserved.