Modifier and Type | Method and Description |
---|---|
protected Document |
AbstractSession.fillCreateOptions(DocumentRef parentRef,
String childName,
Map<String,Serializable> options) |
protected Document |
AbstractSession.getFirstParentDocumentWithFacet(DocumentRef docRef,
String facet)
Returns the first
Document with the given facet , recursively going up the parent hierarchy. |
protected Document |
AbstractSession.resolveReference(DocumentRef docRef) |
Modifier and Type | Method and Description |
---|---|
protected String |
AbstractSession.canRemoveDocument(Document doc)
Checks if a document can be removed, and returns a failure reason if not.
|
protected void |
AbstractSession.checkPermission(Document doc,
String permission) |
static DataModel |
DocumentModelFactory.createDataModel(Document doc,
Schema schema)
Creates a data model from a document and a schema.
|
static DocumentModelImpl |
DocumentModelFactory.createDocumentModel(Document doc,
String sid,
String[] schemas)
Creates a document model for an existing document.
|
protected DocumentModel |
AbstractSession.createProxyInternal(Document doc,
Document folder,
Map<String,Serializable> options) |
protected static Prefetch |
DocumentModelFactory.getPrefetch(Document doc,
PrefetchInfo prefetchInfo,
Set<String> docSchemas)
Prefetches from a document.
|
protected VersionModel |
AbstractSession.getVersionModel(Document version) |
protected boolean |
AbstractSession.hasPermission(Document doc,
String permission) |
protected boolean |
AbstractSession.hasPermission(Principal principal,
Document doc,
String permission) |
protected void |
AbstractSession.loadDataModelsForFacet(DocumentModel docModel,
Document doc,
String facetName) |
protected DocumentModel |
AbstractSession.readModel(Document doc)
Gets the document model for the given core document.
|
protected DocumentModel |
AbstractSession.readModel(Document doc,
DocumentModel docModel)
Gets the document model for the given core document, preserving the contextData.
|
static DocumentModel.DocumentModelRefresh |
DocumentModelFactory.refreshDocumentModel(Document doc,
int flags,
String[] schemas)
Gets what's to refresh in a model (except for the ACPs, which need the session).
|
protected void |
AbstractSession.removeDocument(Document doc) |
protected List<String> |
AbstractSession.removeExistingProxies(Document doc,
Document folder)
Remove proxies for the same base document in the folder.
|
protected void |
AbstractSession.removeNotifyOneDoc(Document doc) |
protected DocumentModel |
AbstractSession.restoreToVersion(Document doc,
Document version,
boolean skipSnapshotCreation,
boolean skipCheckout) |
protected void |
AbstractSession.setACP(Document doc,
ACP newAcp,
boolean overwrite,
Map<String,Serializable> options) |
protected DocumentModel |
AbstractSession.updateExistingProxies(Document doc,
Document folder,
Document target)
Update the proxy for doc in the given section to point to the new target.
|
static DocumentModel |
DocumentModelFactory.writeDocumentModel(DocumentModel docModel,
Document doc)
Writes a document model to a document.
|
protected DocumentModel |
AbstractSession.writeModel(Document doc,
DocumentModel docModel) |
Modifier and Type | Method and Description |
---|---|
protected void |
DefaultBlobDispatcher.checkBlob(Document doc,
Document.BlobAccessor accessor) |
protected void |
DocumentBlobManagerComponent.freezeVersion(Document.BlobAccessor accessor,
Document doc) |
void |
DocumentBlobManagerComponent.freezeVersion(Document doc) |
void |
DocumentBlobManager.freezeVersion(Document doc)
Freezes the blobs' versions on a document version when it is created via a check in.
|
default ManagedBlob |
DocumentBlobProvider.freezeVersion(ManagedBlob blob,
Document doc)
Returns a new managed blob pointing to a fixed version of the original blob.
|
default BlobDispatcher.BlobDispatch |
BlobDispatcher.getBlobProvider(Document doc,
Blob blob)
Deprecated.
since 9.1, use
BlobDispatcher.getBlobProvider(Document, Blob, String) instead |
BlobDispatcher.BlobDispatch |
DefaultBlobDispatcher.getBlobProvider(Document doc,
Blob blob,
String xpath) |
BlobDispatcher.BlobDispatch |
BlobDispatcher.getBlobProvider(Document doc,
Blob blob,
String xpath)
Decides which
BlobProvider to use to write the given blob, and whether the provider id should be added as
prefix to the managed blob key. |
protected String |
DefaultBlobDispatcher.getProviderId(Document doc,
Blob blob,
String blobXPath) |
void |
DocumentBlobManagerComponent.notifyChanges(Document doc,
Set<String> xpaths) |
void |
DocumentBlobManager.notifyChanges(Document doc,
Set<String> xpaths)
Notifies the blob manager that a set of xpaths have changed on a document.
|
void |
DefaultBlobDispatcher.notifyChanges(Document doc,
Set<String> xpaths) |
void |
BlobDispatcher.notifyChanges(Document doc,
Set<String> xpaths)
Notifies the blob dispatcher that a set of xpaths have changed on a document.
|
String |
DocumentBlobManagerComponent.writeBlob(Blob blob,
Document doc,
String xpath)
Writes a
Blob to storage and returns its key. |
String |
DocumentBlobManager.writeBlob(Blob blob,
Document doc,
String xpath)
Writes a
Blob to storage and returns its key. |
Modifier and Type | Method and Description |
---|---|
void |
LifeCycleService.followTransition(Document doc,
String transitionName)
Follows a given transition.
|
LifeCycle |
LifeCycleService.getLifeCycleFor(Document doc)
Returns the life cycle a given document follows.
|
void |
LifeCycleService.initialize(Document doc)
Initializes the life cycle for the given document.
|
void |
LifeCycleService.initialize(Document doc,
String initialStateName)
Initializes the life cycle for the given document.
|
void |
LifeCycleService.reinitLifeCycle(Document doc)
Sets the current state to the initial state as defined by the associated lifecycle.
|
Modifier and Type | Method and Description |
---|---|
void |
LifeCycleServiceImpl.followTransition(Document doc,
String transitionName) |
LifeCycle |
LifeCycleServiceImpl.getLifeCycleFor(Document doc) |
void |
LifeCycleServiceImpl.initialize(Document doc) |
void |
LifeCycleServiceImpl.initialize(Document doc,
String initialStateName) |
void |
LifeCycleServiceImpl.reinitLifeCycle(Document doc) |
Modifier and Type | Method and Description |
---|---|
Document |
Document.addChild(String name,
String typeName)
Creates a new child document of the given type.
|
Document |
Document.checkIn(String label,
String checkinComment)
Creates a new version.
|
Document |
Session.copy(Document src,
Document dst,
String name)
Copies the source document to the given folder.
|
Document |
Session.createProxy(Document doc,
Document folder)
Creates a generic proxy to the given document inside the given folder.
|
Document |
Document.getBaseVersion()
Gets the version to which a checked in document is linked.
|
Document |
Document.getChild(String name)
Gets a child document given its name.
|
Document |
Session.getDocumentByUUID(String uuid)
Gets a document given its ID.
|
Document |
Document.getLastVersion()
Gets the last version of this document.
|
Document |
Session.getNullDocument()
Gets the null document, to be used as a fake parent to add placeless children.
|
Document |
Document.getParent()
Gets the parent document, or
null if this is the root document. |
Document |
Session.getRootDocument()
Gets the root document in this repository.
|
Document |
Document.getSourceDocument()
Gets the source for this document.
|
Document |
Document.getTargetDocument()
Gets the document (version or live document) to which this proxy points.
|
Document |
Document.getVersion(String label)
Gets a version of this document, given its label.
|
Document |
Session.getVersion(String versionableId,
VersionModel versionModel)
Gets a version of a document, given its versionable id and label.
|
Document |
Document.getWorkingCopy()
Gets the working copy for this document.
|
Document |
Session.importDocument(String uuid,
Document parent,
String name,
String typeName,
Map<String,Serializable> properties)
Imports a document with a given id and parent.
|
Document |
Session.move(Document src,
Document dst,
String name)
Moves the source document to the given folder.
|
Document |
Session.resolvePath(String path)
Gets the document at the given path, if any.
|
Modifier and Type | Method and Description |
---|---|
List<Document> |
Document.getChildren()
Gets the children of the document.
|
List<Document> |
Session.getProxies(Document doc,
Document folder)
Finds the proxies for a document.
|
List<Document> |
Document.getVersions()
Gets the versions for this document.
|
PartialList<Document> |
Session.query(String query,
String queryType,
QueryFilter queryFilter,
long countUpTo)
Does a query.
|
Modifier and Type | Method and Description |
---|---|
int |
PathComparator.compare(Document o1,
Document o2) |
Document |
Session.copy(Document src,
Document dst,
String name)
Copies the source document to the given folder.
|
Document |
Session.createProxy(Document doc,
Document folder)
Creates a generic proxy to the given document inside the given folder.
|
void |
Document.WriteContext.flush(Document doc)
Flushes recorded write operations.
|
ACP |
Session.getMergedACP(Document doc) |
List<Document> |
Session.getProxies(Document doc,
Document folder)
Finds the proxies for a document.
|
Document |
Session.importDocument(String uuid,
Document parent,
String name,
String typeName,
Map<String,Serializable> properties)
Imports a document with a given id and parent.
|
Document |
Session.move(Document src,
Document dst,
String name)
Moves the source document to the given folder.
|
void |
Document.restore(Document version)
Replaces this document's content with the version specified.
|
void |
Session.setACP(Document doc,
ACP acp,
boolean overwrite) |
void |
Session.setProxyTarget(Document proxy,
Document target)
Sets a proxies' target.
|
void |
Document.setTargetDocument(Document target)
Sets the document (version or live document) to which this proxy points.
|
Modifier and Type | Method and Description |
---|---|
Access |
SecurityPolicyServiceImpl.checkPermission(Document doc,
ACP mergedAcp,
Principal principal,
String permission,
String[] resolvedPermissions,
String[] additionalPrincipals) |
Access |
SecurityPolicyService.checkPermission(Document doc,
ACP mergedAcp,
Principal principal,
String permission,
String[] resolvedPermissions,
String[] principalsToCheck)
Checks given permission for doc and principal.
|
Access |
SecurityPolicy.checkPermission(Document doc,
ACP mergedAcp,
Principal principal,
String permission,
String[] resolvedPermissions,
String[] additionalPrincipals)
Checks given permission for doc and principal.
|
Access |
LockSecurityPolicy.checkPermission(Document doc,
ACP mergedAcp,
Principal principal,
String permission,
String[] resolvedPermissions,
String[] additionalPrincipals) |
Access |
CheckInSecurityPolicy.checkPermission(Document doc,
ACP mergedAcp,
Principal principal,
String permission,
String[] resolvedPermissions,
String[] additionalPrincipals) |
boolean |
SecurityService.checkPermission(Document doc,
Principal principal,
String permission) |
Collection<String> |
SecurityService.filterGrantedPermissions(Document doc,
Principal principal,
Collection<String> permissions)
Filters the supplied permissions based on whether they are granted to a given principal for a given document.
|
Modifier and Type | Class and Description |
---|---|
class |
BaseDocument<T extends StateAccessor>
Base implementation for a Document.
|
Modifier and Type | Method and Description |
---|---|
void |
BaseDocument.BlobWriteContext.flush(Document baseDoc) |
Modifier and Type | Class and Description |
---|---|
class |
DBSDocument
Implementation of a
Document for Document-Based Storage. |
Modifier and Type | Method and Description |
---|---|
Document |
DBSDocument.addChild(String name,
String typeName) |
Document |
DBSDocument.checkIn(String label,
String checkinComment) |
protected Document |
DBSSession.checkIn(String id,
String label,
String checkinComment) |
Document |
DBSSession.copy(Document source,
Document parent,
String name) |
Document |
DBSSession.createChild(String id,
String parentId,
String name,
Long pos,
String typeName) |
Document |
DBSSession.createProxy(Document doc,
Document folder) |
Document |
DBSDocument.getBaseVersion() |
Document |
DBSDocument.getChild(String name) |
protected Document |
DBSSession.getChild(String parentId,
String name) |
Document |
DBSSession.getDocumentByUUID(String id) |
Document |
DBSDocument.getLastVersion() |
protected Document |
DBSSession.getLastVersion(String versionSeriesId) |
Document |
DBSSession.getNullDocument() |
Document |
DBSDocument.getParent() |
Document |
DBSSession.getRootDocument() |
Document |
DBSDocument.getSourceDocument() |
Document |
DBSDocument.getVersion(String label) |
Document |
DBSSession.getVersion(String versionSeriesId,
VersionModel versionModel) |
Document |
DBSDocument.getWorkingCopy() |
Document |
DBSSession.importDocument(String id,
Document parent,
String name,
String typeName,
Map<String,Serializable> properties) |
Document |
DBSSession.move(Document source,
Document parent,
String name) |
Document |
DBSSession.resolvePath(String path) |
Modifier and Type | Method and Description |
---|---|
List<Document> |
DBSDocument.getChildren() |
protected List<Document> |
DBSSession.getChildren(String parentId) |
protected List<Document> |
DBSSession.getDocuments(List<String> ids) |
List<Document> |
DBSSession.getProxies(Document doc,
Document folder) |
List<Document> |
DBSDocument.getVersions() |
PartialList<Document> |
DBSSession.query(String query,
String queryType,
QueryFilter queryFilter,
long countUpTo) |
Modifier and Type | Method and Description |
---|---|
Document |
DBSSession.copy(Document source,
Document parent,
String name) |
Document |
DBSSession.createProxy(Document doc,
Document folder) |
protected String |
DBSSession.findFreeName(Document parent,
String name) |
protected ACP |
DBSSession.getACP(Document doc) |
protected ACL |
DBSSession.getInheritedACLs(Document doc) |
ACP |
DBSSession.getMergedACP(Document doc) |
List<Document> |
DBSSession.getProxies(Document doc,
Document folder) |
Document |
DBSSession.importDocument(String id,
Document parent,
String name,
String typeName,
Map<String,Serializable> properties) |
Document |
DBSSession.move(Document source,
Document parent,
String name) |
void |
DBSDocument.restore(Document version) |
protected void |
DBSSession.restoreVersion(Document doc,
Document version) |
void |
DBSSession.setACP(Document doc,
ACP acp,
boolean overwrite) |
void |
DBSSession.setProxyTarget(Document proxy,
Document target) |
void |
DBSDocument.setTargetDocument(Document target) |
Modifier and Type | Interface and Description |
---|---|
interface |
SQLDocument
Base interface for SQL documents.
|
Modifier and Type | Class and Description |
---|---|
class |
SQLDocumentLive |
class |
SQLDocumentProxy
A proxy is a shortcut to a target document (a version or normal document).
|
class |
SQLDocumentVersion |
Modifier and Type | Method and Description |
---|---|
protected Document |
SQLSession.addChild(Node parent,
String name,
Long pos,
String typeName) |
Document |
SQLDocumentVersion.addChild(String name,
String typeName) |
Document |
SQLDocumentProxy.addChild(String name,
String typeName) |
Document |
SQLDocumentLive.addChild(String name,
String typeName) |
protected Document |
SQLSession.checkIn(Node node,
String label,
String checkinComment) |
Document |
SQLDocumentVersion.checkIn(String label,
String description) |
Document |
SQLDocumentProxy.checkIn(String label,
String checkinComment) |
Document |
SQLDocumentLive.checkIn(String label,
String checkinComment) |
Document |
SQLSession.copy(Document source,
Document parent,
String name) |
Document |
SQLSession.createProxy(Document doc,
Document folder) |
Document |
SQLDocumentVersion.getBaseVersion() |
Document |
SQLDocumentProxy.getBaseVersion() |
Document |
SQLDocumentLive.getBaseVersion() |
protected Document |
SQLSession.getChild(Node node,
String name) |
Document |
SQLDocumentVersion.getChild(String name) |
Document |
SQLDocumentProxy.getChild(String name) |
Document |
SQLDocumentLive.getChild(String name) |
protected Document |
SQLSession.getDocumentById(Serializable id) |
Document |
SQLSession.getDocumentByUUID(String uuid) |
Document |
SQLDocumentProxy.getLastVersion() |
Document |
SQLDocumentLive.getLastVersion() |
Document |
SQLSession.getLastVersion(String versionSeriesId) |
Document |
SQLSession.getNullDocument() |
Document |
SQLDocumentVersion.getParent() |
Document |
SQLDocumentProxy.getParent() |
Document |
SQLDocumentLive.getParent() |
protected Document |
SQLSession.getParent(Node node) |
Document |
SQLSession.getRootDocument() |
Document |
SQLDocumentVersion.getSourceDocument() |
Document |
SQLDocumentProxy.getSourceDocument() |
Document |
SQLDocumentLive.getSourceDocument() |
Document |
SQLDocumentProxy.getTargetDocument() |
Document |
SQLDocumentLive.getTargetDocument() |
Document |
SQLDocumentVersion.getVersion(String label) |
Document |
SQLDocumentProxy.getVersion(String label) |
Document |
SQLDocumentLive.getVersion(String label) |
Document |
SQLSession.getVersion(String versionableId,
VersionModel versionModel) |
protected Document |
SQLSession.getVersionByLabel(String versionSeriesId,
String label) |
Document |
SQLDocumentVersion.getWorkingCopy() |
Document |
SQLDocumentProxy.getWorkingCopy() |
Document |
SQLDocumentLive.getWorkingCopy() |
protected Document |
SQLSession.importChild(String uuid,
Node parent,
String name,
Long pos,
String typeName,
Map<String,Serializable> props) |
Document |
SQLSession.importDocument(String uuid,
Document parent,
String name,
String typeName,
Map<String,Serializable> properties) |
Document |
SQLSession.move(Document source,
Document parent,
String name) |
Document |
SQLSession.resolvePath(String path) |
Modifier and Type | Method and Description |
---|---|
List<Document> |
SQLDocumentVersion.getChildren() |
List<Document> |
SQLDocumentProxy.getChildren() |
List<Document> |
SQLDocumentLive.getChildren() |
protected List<Document> |
SQLSession.getChildren(Node node) |
protected List<Document> |
SQLSession.getDocumentsById(List<Serializable> ids) |
List<Document> |
SQLSession.getProxies(Document document,
Document parent) |
List<Document> |
SQLDocumentProxy.getVersions() |
List<Document> |
SQLDocumentLive.getVersions() |
protected List<Document> |
SQLSession.getVersions(String versionSeriesId) |
PartialList<Document> |
SQLSession.query(String query,
String queryType,
QueryFilter queryFilter,
long countUpTo) |
Modifier and Type | Method and Description |
---|---|
int |
SQLSession.PathComparator.compare(Document doc1,
Document doc2) |
Document |
SQLSession.copy(Document source,
Document parent,
String name) |
Document |
SQLSession.createProxy(Document doc,
Document folder) |
protected ACP |
SQLSession.getACP(Document doc) |
protected ACL |
SQLSession.getInheritedACLs(Document doc) |
ACP |
SQLSession.getMergedACP(Document doc) |
List<Document> |
SQLSession.getProxies(Document document,
Document parent) |
Document |
SQLSession.importDocument(String uuid,
Document parent,
String name,
String typeName,
Map<String,Serializable> properties) |
Document |
SQLSession.move(Document source,
Document parent,
String name) |
void |
SQLDocumentVersion.restore(Document version) |
void |
SQLDocumentProxy.restore(Document version) |
void |
SQLDocumentLive.restore(Document version) |
void |
SQLSession.setACP(Document doc,
ACP acp,
boolean overwrite) |
void |
SQLSession.setProxyTarget(Document proxy,
Document target) |
void |
SQLDocumentProxy.setTargetDocument(Document target) |
void |
SQLDocumentLive.setTargetDocument(Document target) |
Constructor and Description |
---|
SQLDocumentProxy(Document proxy,
Document target) |
Modifier and Type | Method and Description |
---|---|
Access |
NoFileSecurityPolicy.checkPermission(Document doc,
ACP mergedAcp,
Principal principal,
String permission,
String[] resolvedPermissions,
String[] additionalPrincipals) |
Modifier and Type | Method and Description |
---|---|
Document |
VersioningService.doCheckIn(Document doc,
VersioningOption option,
String checkinComment)
Applies version increment option and does a checkin.
|
Document |
VersioningComponent.doCheckIn(Document doc,
VersioningOption option,
String checkinComment) |
Document |
StandardVersioningService.doCheckIn(Document doc,
VersioningOption option,
String checkinComment) |
Document |
CompatVersioningService.doCheckIn(Document doc,
VersioningOption option,
String checkinComment) |
Document |
VersioningService.doPostSave(Document doc,
VersioningOption option,
String checkinComment,
Map<String,Serializable> options)
Applies versioning options after document save.
|
Document |
VersioningComponent.doPostSave(Document doc,
VersioningOption option,
String checkinComment,
Map<String,Serializable> options) |
Document |
StandardVersioningService.doPostSave(Document doc,
VersioningOption option,
String checkinComment,
Map<String,Serializable> options) |
Document |
CompatVersioningService.doPostSave(Document doc,
VersioningOption option,
String checkinComment,
Map<String,Serializable> options) |
Modifier and Type | Method and Description |
---|---|
Document |
VersioningService.doCheckIn(Document doc,
VersioningOption option,
String checkinComment)
Applies version increment option and does a checkin.
|
Document |
VersioningComponent.doCheckIn(Document doc,
VersioningOption option,
String checkinComment) |
Document |
StandardVersioningService.doCheckIn(Document doc,
VersioningOption option,
String checkinComment) |
Document |
CompatVersioningService.doCheckIn(Document doc,
VersioningOption option,
String checkinComment) |
void |
VersioningService.doCheckOut(Document doc)
Apply modifications after doing a checkout.
|
void |
VersioningComponent.doCheckOut(Document doc) |
void |
StandardVersioningService.doCheckOut(Document doc) |
void |
CompatVersioningService.doCheckOut(Document doc) |
void |
VersioningService.doPostCreate(Document doc,
Map<String,Serializable> options)
Applies versioning after document creation.
|
void |
VersioningComponent.doPostCreate(Document doc,
Map<String,Serializable> options) |
void |
StandardVersioningService.doPostCreate(Document doc,
Map<String,Serializable> options) |
Document |
VersioningService.doPostSave(Document doc,
VersioningOption option,
String checkinComment,
Map<String,Serializable> options)
Applies versioning options after document save.
|
Document |
VersioningComponent.doPostSave(Document doc,
VersioningOption option,
String checkinComment,
Map<String,Serializable> options) |
Document |
StandardVersioningService.doPostSave(Document doc,
VersioningOption option,
String checkinComment,
Map<String,Serializable> options) |
Document |
CompatVersioningService.doPostSave(Document doc,
VersioningOption option,
String checkinComment,
Map<String,Serializable> options) |
VersioningOption |
VersioningService.doPreSave(Document doc,
boolean isDirty,
VersioningOption option,
String checkinComment,
Map<String,Serializable> options)
Applies versioning options before document save.
|
VersioningOption |
VersioningComponent.doPreSave(Document doc,
boolean isDirty,
VersioningOption option,
String checkinComment,
Map<String,Serializable> options) |
VersioningOption |
StandardVersioningService.doPreSave(Document doc,
boolean isDirty,
VersioningOption option,
String checkinComment,
Map<String,Serializable> options) |
VersioningOption |
CompatVersioningService.doPreSave(Document doc,
boolean isDirty,
VersioningOption option,
String checkinComment,
Map<String,Serializable> options) |
protected void |
StandardVersioningService.followTransitionByOption(Document doc,
VersioningOption option) |
protected long |
StandardVersioningService.getMajor(Document doc) |
protected long |
StandardVersioningService.getMinor(Document doc) |
protected List<VersioningOption> |
StandardVersioningService.getSaveOptions(Document doc) |
protected long |
StandardVersioningService.getVersion(Document doc,
String prop) |
protected void |
StandardVersioningService.incrementByOption(Document doc,
VersioningOption option) |
protected void |
StandardVersioningService.incrementMajor(Document doc) |
protected void |
StandardVersioningService.incrementMinor(Document doc) |
boolean |
VersioningService.isPostSaveDoingCheckIn(Document doc,
VersioningOption option,
Map<String,Serializable> options)
Checks if
VersioningService.doPostSave(org.nuxeo.ecm.core.model.Document, org.nuxeo.ecm.core.api.VersioningOption, java.lang.String, java.util.Map<java.lang.String, java.io.Serializable>) will do a checkin when called with the same arguments. |
boolean |
VersioningComponent.isPostSaveDoingCheckIn(Document doc,
VersioningOption option,
Map<String,Serializable> options) |
boolean |
StandardVersioningService.isPostSaveDoingCheckIn(Document doc,
VersioningOption option,
Map<String,Serializable> options) |
boolean |
VersioningService.isPreSaveDoingCheckOut(Document doc,
boolean isDirty,
VersioningOption option,
Map<String,Serializable> options)
Checks if
VersioningService.doPreSave(org.nuxeo.ecm.core.model.Document, boolean, org.nuxeo.ecm.core.api.VersioningOption, java.lang.String, java.util.Map<java.lang.String, java.io.Serializable>) will do a checkout when called with the same arguments. |
boolean |
VersioningComponent.isPreSaveDoingCheckOut(Document doc,
boolean isDirty,
VersioningOption option,
Map<String,Serializable> options) |
boolean |
StandardVersioningService.isPreSaveDoingCheckOut(Document doc,
boolean isDirty,
VersioningOption option,
Map<String,Serializable> options) |
boolean |
CompatVersioningService.isPreSaveDoingCheckOut(Document doc,
boolean isDirty,
VersioningOption option,
Map<String,Serializable> options) |
void |
VersionRemovalPolicy.removeVersions(Session session,
Document doc,
CoreSession coreSession)
Removes the versions when a given working document is about to be removed.
|
void |
NullVersionRemovalPolicy.removeVersions(Session session,
Document doc,
CoreSession coreSession) |
void |
DefaultVersionRemovalPolicy.removeVersions(Session session,
Document doc,
CoreSession coreSession) |
protected void |
StandardVersioningService.setInitialVersion(Document doc)
Sets the initial version on a document.
|
protected void |
CompatVersioningService.setInitialVersion(Document doc) |
protected void |
StandardVersioningService.setVersion(Document doc,
long major,
long minor) |
protected VersioningOption |
StandardVersioningService.validateOption(Document doc,
VersioningOption option) |
Modifier and Type | Method and Description |
---|---|
ManagedBlob |
BoxBlobProvider.freezeVersion(ManagedBlob blob,
Document doc) |
Modifier and Type | Method and Description |
---|---|
ManagedBlob |
DropboxBlobProvider.freezeVersion(ManagedBlob blob,
Document doc) |
Modifier and Type | Method and Description |
---|---|
ManagedBlob |
GoogleDriveBlobProvider.freezeVersion(ManagedBlob blob,
Document doc) |
protected void |
GoogleDriveBlobProvider.storeBlobConversion(Document doc,
String blobKey,
Blob blob)
Store a conversion of the given blob
|
Copyright © 2017 Nuxeo. All rights reserved.