org.apache.chemistry.opencmis.workbench.model
Class ClientModel
java.lang.Object
org.apache.chemistry.opencmis.workbench.model.ClientModel
public class ClientModel
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClientModel
public ClientModel()
addFolderListener
public void addFolderListener(FolderListener listener)
removeFolderListener
public void removeFolderListener(FolderListener listener)
addObjectListener
public void addObjectListener(ObjectListener listener)
removeObjectListener
public void removeObjectListener(ObjectListener listener)
setClientSession
public void setClientSession(ClientSession clientSession)
getClientSession
public ClientSession getClientSession()
getRepositoryInfo
public RepositoryInfo getRepositoryInfo()
throws Exception
- Throws:
Exception
getRepositoryName
public String getRepositoryName()
supportsQuery
public boolean supportsQuery()
supportsChangeLog
public boolean supportsChangeLog()
loadFolder
public void loadFolder(String folderId,
boolean byPath)
throws Exception
- Throws:
Exception
reloadFolder
public void reloadFolder()
throws Exception
- Throws:
Exception
loadObject
public void loadObject(String objectId)
throws Exception
- Throws:
Exception
reloadObject
public void reloadObject()
throws Exception
- Throws:
Exception
query
public ItemIterable<QueryResult> query(String q,
boolean searchAllVersions,
int maxHits)
throws Exception
- Throws:
Exception
getTypeDescendants
public List<Tree<ObjectType>> getTypeDescendants()
throws Exception
- Throws:
Exception
createContentStream
public ContentStream createContentStream(String filename)
throws Exception
- Throws:
Exception
createDocument
public void createDocument(String name,
String type,
String filename,
VersioningState versioningState)
throws Exception
- Throws:
Exception
createFolder
public void createFolder(String name,
String type)
throws Exception
- Throws:
Exception
getCreateableTypes
public List<ObjectType> getCreateableTypes(String rootTypeId)
getCurrentFolder
public Folder getCurrentFolder()
getCurrentChildren
public List<CmisObject> getCurrentChildren()
getFromCurrentChildren
public CmisObject getFromCurrentChildren(String id)
getCurrentObject
public CmisObject getCurrentObject()
Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.