org.ocopomo.wizards
Class ContentCache
java.lang.Object
org.ocopomo.utils.XmlFileStorage
org.ocopomo.wizards.ContentCache
public class ContentCache
- extends XmlFileStorage
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContentCache
public ContentCache(org.eclipse.core.resources.IProject project,
AlfrescoSettings aSettings,
Credentials cred)
getCredentials
public Credentials getCredentials()
getTree
public TreeParent getTree()
getObjectById
public TreeObject getObjectById(java.lang.String id)
cacheDocument
public void cacheDocument(java.lang.String id,
java.lang.String version)
storeStream
public void storeStream(java.lang.String fileName,
java.io.InputStream is)
deleteOldStructure
public void deleteOldStructure()
getFileById
public org.eclipse.core.resources.IFile getFileById(java.lang.String id,
java.lang.String version,
java.lang.String ext)
getFileById
public org.eclipse.core.resources.IFile getFileById(java.lang.String id,
java.lang.String version)
throws org.eclipse.core.runtime.CoreException
- Throws:
org.eclipse.core.runtime.CoreException
getFile
public org.eclipse.core.resources.IFile getFile(java.lang.String fileName)
signOut
public void signOut(org.eclipse.swt.widgets.Shell shell)