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
Exception
public String getRepositoryName()
public boolean supportsQuery()
public boolean supportsChangeLog()
public boolean supportsItems()
public boolean supportsRelationships()
public ObjectId loadFolder(String folderId, boolean byPath) throws Exception
Exception
public ItemIterable<QueryResult> query(String q, boolean searchAllVersions, int maxHits) throws Exception
Exception
public List<Tree<ObjectType>> getTypeDescendants() throws Exception
Exception
public ContentStream createContentStream(String filename) throws Exception
Exception
public ObjectId createDocument(String name, String type, String filename, Map<String,Object> additionalProperties, VersioningState versioningState, boolean unfiled) throws Exception
Exception
public ContentStream createContentStream(String name, long length, long seed) throws Exception
Exception
public ObjectId createDocument(String name, String type, Map<String,Object> additionalProperties, long length, long seed, VersioningState versioningState, boolean unfiled) throws Exception
Exception
public ObjectId createItem(String name, String type, Map<String,Object> additionalProperties) throws Exception
Exception
public ObjectId createFolder(String name, String type, Map<String,Object> additionalProperties) throws Exception
Exception
public ObjectId createRelationship(String name, String type, String sourceId, String targetId, Map<String,Object> additionalProperties) throws Exception
Exception
public 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.