public class ClientModel extends Object
| Constructor and Description |
|---|
ClientModel() |
public void addFolderListener(FolderListener listener)
public void removeFolderListener(FolderListener listener)
public void addObjectListener(ObjectListener listener)
public void removeObjectListener(ObjectListener listener)
public void setClientSession(ClientSession clientSession)
public ClientSession getClientSession()
public RepositoryInfo getRepositoryInfo() throws Exception
Exceptionpublic String getRepositoryName()
public boolean supportsQuery()
public boolean supportsChangeLog()
public boolean supportsItems()
public boolean supportsRelationships()
public ObjectId loadFolder(String folderId, boolean byPath) throws Exception
Exceptionpublic ItemIterable<QueryResult> query(String q, boolean searchAllVersions, int maxHits) throws Exception
Exceptionpublic List<Tree<ObjectType>> getTypeDescendants() throws Exception
Exceptionpublic ContentStream createContentStream(String filename) throws Exception
Exceptionpublic ObjectId createDocument(String name, String type, String filename, Map<String,Object> additionalProperties, VersioningState versioningState, boolean unfiled) throws Exception
Exceptionpublic ContentStream createContentStream(String name, long length, long seed) throws Exception
Exceptionpublic ObjectId createDocument(String name, String type, Map<String,Object> additionalProperties, long length, long seed, VersioningState versioningState, boolean unfiled) throws Exception
Exceptionpublic ObjectId createItem(String name, String type, Map<String,Object> additionalProperties) throws Exception
Exceptionpublic ObjectId createFolder(String name, String type, Map<String,Object> additionalProperties) throws Exception
Exceptionpublic ObjectId createRelationship(String name, String type, String sourceId, String targetId, Map<String,Object> additionalProperties) throws Exception
Exceptionpublic List<ObjectType> getTypesAsList(String rootTypeId, boolean creatableOnly)
public Folder getCurrentFolder()
public List<CmisObject> getCurrentChildren()
public CmisObject getFromCurrentChildren(String id)
public CmisObject getCurrentObject()
Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.