public abstract class AbstractCoreBackend extends Object implements Backend
Constructor and Description |
---|
AbstractCoreBackend() |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
void |
discardChanges() |
void |
discardChanges(boolean release) |
CoreSession |
getSession() |
CoreSession |
getSession(boolean synchronize) |
void |
saveChanges() |
void |
saveChanges(boolean release) |
void |
setSession(CoreSession session) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
canUnlock, copyItem, createFile, createFile, createFolder, exists, getBackend, getBackendDisplayName, getCheckoutUser, getChildren, getDisplayName, getDocument, getRootPath, getRootUrl, getVirtualFolderNames, getVirtualPath, hasPermission, isLocked, isRename, isRoot, isVirtual, lock, moveItem, moveItem, parseLocation, removeItem, removeItem, renameItem, resolveLocation, unlock, updateDocument
public CoreSession getSession() throws ClientException
getSession
in interface Backend
ClientException
public CoreSession getSession(boolean synchronize) throws ClientException
getSession
in interface Backend
ClientException
public void setSession(CoreSession session)
setSession
in interface Backend
public void discardChanges() throws ClientException
discardChanges
in interface Backend
ClientException
public void discardChanges(boolean release) throws ClientException
ClientException
public void saveChanges() throws ClientException
saveChanges
in interface Backend
ClientException
public void saveChanges(boolean release) throws ClientException
ClientException
Copyright © 2013 Nuxeo SA. All Rights Reserved.