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,
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.
|
Map<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 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, 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–2016 Alfresco Software. All rights reserved.