Modifier and Type | Method and Description |
---|---|
BusinessAdapter |
BusinessUpdateOperation.run(BusinessAdapter input) |
BusinessAdapter |
BusinessCreateOperation.run(BusinessAdapter input) |
Modifier and Type | Class and Description |
---|---|
class |
ConcurrentUpdateDocumentException
A document exception thrown if a concurrent update was detected.
|
Modifier and Type | Method and Description |
---|---|
static DataModel |
DocumentModelFactory.createDataModel(Document doc,
Schema schema)
Creates a data model from a document and a schema.
|
static DocumentModelImpl |
DocumentModelFactory.createDocumentModel(Document doc) |
static DocumentModelImpl |
DocumentModelFactory.createDocumentModel(Document doc,
String[] schemas)
Creates a document model for an existing document.
|
static DocumentModelImpl |
DocumentModelFactory.createDocumentModel(String sessionId,
DocumentType docType)
Creates a document model for a new document.
|
static DocumentModel |
DocumentModelFactory.createDocumentModel(String type,
String id)
Create an empty documentmodel for a given type with its id already setted.
|
<T extends Serializable> |
CoreSession.getDocumentSystemProp(DocumentRef ref,
String systemProperty,
Class<T> type)
Gets system property of the specified type for the document ref.
|
<T extends Serializable> |
AbstractSession.getDocumentSystemProp(DocumentRef ref,
String systemProperty,
Class<T> type) |
<T extends Serializable> |
DocumentModel.getSystemProp(String systemProperty,
Class<T> type)
Gets system property of the specified type.
|
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).
|
<T extends Serializable> |
CoreSession.setDocumentSystemProp(DocumentRef ref,
String systemProperty,
T value)
Sets given value as a system property.
|
<T extends Serializable> |
AbstractSession.setDocumentSystemProp(DocumentRef ref,
String systemProperty,
T value) |
static DocumentModel |
DocumentModelFactory.writeDocumentModel(DocumentModel docModel,
Document doc)
Writes a document model to a document.
|
Modifier and Type | Method and Description |
---|---|
Long |
VersioningDocument.getMajorVersion()
Deprecated.
use
VersioningService#getVersionLabel instead |
Long |
VersioningDocument.getMinorVersion()
Deprecated.
use
VersioningService#getVersionLabel instead |
Modifier and Type | Method and Description |
---|---|
<T extends Serializable> |
SimpleDocumentModel.getSystemProp(String systemProperty,
Class<T> type) |
<T extends Serializable> |
DocumentModelImpl.getSystemProp(String systemProperty,
Class<T> type) |
Modifier and Type | Method and Description |
---|---|
<T extends Serializable> |
ShallowDocumentModel.getSystemProp(String systemProperty,
Class<T> type) |
Modifier and Type | Class and Description |
---|---|
class |
DocumentExistsException |
class |
NoSuchDocumentException |
class |
NoSuchPropertyException |
class |
PropertyExistsException |
class |
PropertyTypeException |
Modifier and Type | Method and Description |
---|---|
Document |
MockDocument.addChild(String name,
String typeName) |
Document |
Document.addChild(String name,
String typeName)
Creates a new child document of the given type.
|
boolean |
MockDocument.addFacet(String facet) |
boolean |
Document.addFacet(String facet)
Adds a facet to this document.
|
Document |
MockDocument.checkIn(String label,
String description) |
Document |
Document.checkIn(String label,
String checkinComment)
Creates a new version.
|
void |
MockDocument.checkOut() |
void |
Document.checkOut() |
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 |
MockDocument.getBaseVersion() |
Document |
Document.getBaseVersion()
Gets the version to which a checked in document is linked.
|
Map<String,String> |
Session.getBinaryFulltext(String id)
Gets the fulltext extracted from the binary fields.
|
String |
MockDocument.getCheckinComment() |
String |
Document.getCheckinComment()
Gets the version check in comment of this document if it's a version or a proxy.
|
Document |
MockDocument.getChild(String name) |
Document |
Document.getChild(String name)
Gets a child document given its name.
|
Iterator<Document> |
MockDocument.getChildren() |
Iterator<Document> |
Document.getChildren()
Gets an iterator over the children of the document.
|
List<String> |
MockDocument.getChildrenIds() |
List<String> |
Document.getChildrenIds()
Gets a list of the children ids.
|
Document |
Session.getDocumentByUUID(String uuid)
Gets a document given its ID.
|
Document |
MockDocument.getLastVersion() |
Document |
Document.getLastVersion()
Gets the last version of this document.
|
Lock |
MockDocument.getLock() |
Lock |
Document.getLock()
Gets the lock if one set on this document.
|
Document |
Session.getNullDocument()
Gets the null document, to be used as a fake parent to add placeless children.
|
Document |
MockDocument.getParent() |
Document |
Document.getParent()
Gets the parent document, or
null if this is the root document. |
String |
MockDocument.getPath() |
String |
Document.getPath()
Gets the path of this document.
|
Serializable |
MockDocument.getPropertyValue(String name) |
Serializable |
Document.getPropertyValue(String name)
Gets a property value.
|
Collection<Document> |
Session.getProxies(Document doc,
Document folder)
Finds the proxies for a document.
|
Document |
Session.getRootDocument()
Gets the root document in this repository.
|
Session |
Repository.getSession(String sessionId) |
Document |
MockDocument.getSourceDocument() |
Document |
Document.getSourceDocument()
Gets the source for this document.
|
<T extends Serializable> |
MockDocument.getSystemProp(String name,
Class<T> type) |
<T extends Serializable> |
Document.getSystemProp(String name,
Class<T> type)
Gets a system property.
|
Document |
Document.getTargetDocument()
Gets the document (version or live document) to which this proxy points.
|
Document |
MockDocument.getVersion(String label) |
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.
|
Calendar |
MockDocument.getVersionCreationDate() |
Calendar |
Document.getVersionCreationDate()
Gets the version creation date of this document if it's a version or a proxy.
|
String |
MockDocument.getVersionLabel() |
String |
Document.getVersionLabel()
Gets the version label.
|
List<Document> |
MockDocument.getVersions() |
List<Document> |
Document.getVersions()
Gets the versions for this document.
|
String |
MockDocument.getVersionSeriesId() |
String |
Document.getVersionSeriesId()
Gets the version series id.
|
List<String> |
MockDocument.getVersionsIds() |
List<String> |
Document.getVersionsIds()
Gets the list of version ids for this document.
|
Document |
MockDocument.getWorkingCopy() |
Document |
Document.getWorkingCopy()
Gets the working copy for this document.
|
boolean |
MockDocument.hasChild(String name) |
boolean |
Document.hasChild(String name)
Checks whether this document has a child of the given name.
|
boolean |
MockDocument.hasChildren() |
boolean |
Document.hasChildren()
Tests if the document has any children.
|
Document |
Session.importDocument(String uuid,
Document parent,
String name,
String typeName,
Map<String,Serializable> properties)
Imports a document with a given id and parent.
|
boolean |
MockDocument.isCheckedOut() |
boolean |
Document.isCheckedOut()
Checks whether this document is checked out.
|
boolean |
MockDocument.isLatestMajorVersion() |
boolean |
Document.isLatestMajorVersion()
Checks whether this document is the latest major version.
|
boolean |
MockDocument.isLatestVersion() |
boolean |
Document.isLatestVersion()
Checks whether this document is the latest version.
|
boolean |
MockDocument.isMajorVersion() |
boolean |
Document.isMajorVersion()
Checks whether this document is a major version.
|
boolean |
MockDocument.isVersionSeriesCheckedOut() |
boolean |
Document.isVersionSeriesCheckedOut()
Checks if there is a checked out working copy for the version series of this document.
|
Document |
Session.move(Document src,
Document dst,
String name)
Moves the source document to the given folder.
|
void |
MockDocument.orderBefore(String src,
String dest) |
void |
Document.orderBefore(String src,
String dest)
Orders the given source child before the destination child.
|
void |
MockDocument.remove() |
void |
Document.remove()
Removes this document and all its children, if any.
|
boolean |
MockDocument.removeFacet(String facet) |
boolean |
Document.removeFacet(String facet)
Removes a facet from this document.
|
Lock |
MockDocument.removeLock(String owner) |
Lock |
Document.removeLock(String owner)
Removes a lock from this document.
|
Document |
Session.resolvePath(String path)
Gets the document at the given path, if any.
|
void |
MockDocument.restore(Document version) |
void |
Document.restore(Document version)
Replaces this document's content with the version specified.
|
void |
Session.save()
Saves this session.
|
void |
Session.setACP(Document doc,
ACP acp,
boolean overwrite) |
Lock |
MockDocument.setLock(Lock lock) |
Lock |
Document.setLock(Lock lock)
Sets a lock on this document.
|
void |
MockDocument.setPropertyValue(String name,
Serializable value) |
void |
Document.setPropertyValue(String name,
Serializable value)
Sets a property value.
|
void |
Session.setProxyTarget(Document proxy,
Document target)
Sets a proxies' target.
|
void |
MockDocument.setSystemProp(String name,
Serializable value) |
void |
Document.setSystemProp(String name,
Serializable value)
Sets a system property.
|
void |
MockDocument.setTargetDocument(Document target) |
void |
Document.setTargetDocument(Document target)
Sets the document (version or live document) to which this proxy points.
|
Modifier and Type | Class and Description |
---|---|
class |
SecurityException
Is thrown when an exception related to the security manager occurs.
|
Modifier and Type | Method and Description |
---|---|
Document |
DBSDocument.addChild(String name,
String typeName) |
boolean |
DBSDocument.addFacet(String facet) |
Document |
DBSDocument.checkIn(String label,
String checkinComment) |
void |
DBSDocument.checkOut() |
void |
DBSTransactionState.commit()
Saves and flushes to database.
|
void |
DBSSession.commit() |
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) |
void |
DBSRepository.createState(State state)
Creates a document.
|
void |
DBSRepository.deleteStates(Set<String> ids)
Deletes a set of document.
|
Document |
DBSDocument.getBaseVersion() |
Map<String,String> |
DBSSession.getBinaryFulltext(String id) |
String |
DBSDocument.getCheckinComment() |
Document |
DBSDocument.getChild(String name) |
Iterator<Document> |
DBSDocument.getChildren() |
List<String> |
DBSDocument.getChildrenIds() |
Document |
DBSSession.getDocumentByUUID(String id) |
Document |
DBSDocument.getLastVersion() |
Lock |
DBSDocument.getLock() |
Document |
DBSSession.getNullDocument() |
Document |
DBSDocument.getParent() |
String |
DBSDocument.getPath() |
Serializable |
DBSDocument.getPropertyValue(String name) |
Collection<Document> |
DBSSession.getProxies(Document doc,
Document folder) |
Document |
DBSSession.getRootDocument() |
Session |
DBSRepositoryBase.getSession(String sessionId) |
Document |
DBSDocument.getSourceDocument() |
<T extends Serializable> |
DBSDocument.getSystemProp(String name,
Class<T> type) |
Document |
DBSDocument.getTargetDocument() |
Document |
DBSDocument.getVersion(String label) |
Document |
DBSSession.getVersion(String versionSeriesId,
VersionModel versionModel) |
Calendar |
DBSDocument.getVersionCreationDate() |
String |
DBSDocument.getVersionLabel() |
List<Document> |
DBSDocument.getVersions() |
String |
DBSDocument.getVersionSeriesId() |
List<String> |
DBSDocument.getVersionsIds() |
Document |
DBSDocument.getWorkingCopy() |
boolean |
DBSDocument.hasChild(String name) |
boolean |
DBSDocument.hasChildren() |
Document |
DBSSession.importDocument(String id,
Document parent,
String name,
String typeName,
Map<String,Serializable> properties) |
boolean |
DBSDocument.isCheckedOut() |
boolean |
DBSDocument.isLatestMajorVersion() |
boolean |
DBSDocument.isLatestVersion() |
boolean |
DBSDocument.isMajorVersion() |
boolean |
DBSDocument.isVersionSeriesCheckedOut() |
Document |
DBSSession.move(Document source,
Document parent,
String name) |
void |
DBSDocument.orderBefore(String src,
String dest) |
void |
DBSDocument.remove() |
boolean |
DBSDocument.removeFacet(String facet) |
Lock |
DBSDocument.removeLock(String owner) |
void |
DBSTransactionState.removeStates(Set<String> ids)
Removes a list of documents.
|
Document |
DBSSession.resolvePath(String path) |
void |
DBSDocument.restore(Document version) |
void |
DBSTransactionState.save()
Writes transient state to database.
|
void |
DBSSession.save() |
void |
DBSSession.setACP(Document doc,
ACP acp,
boolean overwrite) |
Lock |
DBSDocument.setLock(Lock lock) |
void |
DBSDocument.setPropertyValue(String name,
Serializable value) |
void |
DBSSession.setProxyTarget(Document proxy,
Document target) |
void |
DBSDocument.setSystemProp(String name,
Serializable value) |
void |
DBSDocument.setTargetDocument(Document target) |
void |
DBSRepository.updateState(String id,
State.StateDiff diff)
Updates a document.
|
Modifier and Type | Method and Description |
---|---|
void |
MemRepository.createState(State state) |
void |
MemRepository.deleteStates(Set<String> ids) |
void |
MemRepository.updateState(String id,
State.StateDiff diff) |
Modifier and Type | Method and Description |
---|---|
void |
MongoDBRepository.createState(State state) |
void |
MongoDBRepository.deleteStates(Set<String> ids) |
void |
MongoDBRepository.updateState(String id,
State.StateDiff diff) |
Modifier and Type | Method and Description |
---|---|
Document |
SQLDocumentVersion.addChild(String name,
String typeName) |
Document |
SQLDocumentProxy.addChild(String name,
String typeName) |
Document |
SQLDocumentLive.addChild(String name,
String typeName) |
boolean |
SQLDocumentProxy.addFacet(String facet) |
boolean |
SQLDocumentLive.addFacet(String facet) |
Document |
SQLDocumentProxy.checkIn(String label,
String checkinComment) |
Document |
SQLDocumentLive.checkIn(String label,
String checkinComment) |
void |
SQLDocumentProxy.checkOut() |
void |
SQLDocumentLive.checkOut() |
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() |
Map<String,String> |
SQLSession.getBinaryFulltext(String id) |
String |
SQLDocumentProxy.getCheckinComment() |
String |
SQLDocumentLive.getCheckinComment() |
Document |
SQLDocumentVersion.getChild(String name) |
Document |
SQLDocumentProxy.getChild(String name) |
Document |
SQLDocumentLive.getChild(String name) |
Iterator<Document> |
SQLDocumentVersion.getChildren() |
Iterator<Document> |
SQLDocumentProxy.getChildren() |
Iterator<Document> |
SQLDocumentLive.getChildren() |
List<String> |
SQLDocumentVersion.getChildrenIds() |
List<String> |
SQLDocumentProxy.getChildrenIds() |
List<String> |
SQLDocumentLive.getChildrenIds() |
Document |
SQLSession.getDocumentByUUID(String uuid) |
Document |
SQLDocumentProxy.getLastVersion() |
Document |
SQLDocumentLive.getLastVersion() |
Document |
SQLSession.getLastVersion(String versionSeriesId) |
Lock |
SQLDocumentProxy.getLock() |
Lock |
SQLDocumentLive.getLock() |
Document |
SQLDocumentVersion.getParent() |
Document |
SQLDocumentProxy.getParent() |
Document |
SQLDocumentLive.getParent() |
String |
SQLDocumentVersion.getPath() |
String |
SQLDocumentProxy.getPath() |
String |
SQLDocumentLive.getPath() |
Serializable |
SQLDocumentProxy.getPropertyValue(String name) |
Serializable |
SQLDocumentLive.getPropertyValue(String name) |
Collection<Document> |
SQLSession.getProxies(Document document,
Document parent) |
Session |
SQLRepository.getSession(String sessionId) |
Document |
SQLDocumentVersion.getSourceDocument() |
Document |
SQLDocumentProxy.getSourceDocument() |
Document |
SQLDocumentLive.getSourceDocument() |
<T extends Serializable> |
SQLDocumentProxy.getSystemProp(String name,
Class<T> type) |
<T extends Serializable> |
SQLDocumentLive.getSystemProp(String name,
Class<T> type) |
Document |
SQLDocumentProxy.getVersion(String label) |
Document |
SQLDocumentLive.getVersion(String label) |
Document |
SQLSession.getVersion(String versionableId,
VersionModel versionModel) |
Calendar |
SQLDocumentProxy.getVersionCreationDate() |
Calendar |
SQLDocumentLive.getVersionCreationDate() |
String |
SQLDocumentProxy.getVersionLabel() |
String |
SQLDocumentLive.getVersionLabel() |
List<Document> |
SQLDocumentProxy.getVersions() |
List<Document> |
SQLDocumentLive.getVersions() |
String |
SQLDocumentVersion.getVersionSeriesId() |
String |
SQLDocumentProxy.getVersionSeriesId() |
String |
SQLDocumentLive.getVersionSeriesId() |
List<String> |
SQLDocumentProxy.getVersionsIds() |
List<String> |
SQLDocumentLive.getVersionsIds() |
Document |
SQLDocumentVersion.getWorkingCopy() |
Document |
SQLDocumentProxy.getWorkingCopy() |
Document |
SQLDocumentLive.getWorkingCopy() |
boolean |
SQLDocumentVersion.hasChild(String name) |
boolean |
SQLDocumentProxy.hasChild(String name) |
boolean |
SQLDocumentLive.hasChild(String name) |
boolean |
SQLDocumentVersion.hasChildren() |
boolean |
SQLDocumentProxy.hasChildren() |
boolean |
SQLDocumentLive.hasChildren() |
Document |
SQLSession.importDocument(String uuid,
Document parent,
String name,
String typeName,
Map<String,Serializable> properties) |
boolean |
SQLDocumentVersion.isCheckedOut() |
boolean |
SQLDocumentProxy.isCheckedOut() |
boolean |
SQLDocumentLive.isCheckedOut() |
boolean |
SQLDocumentVersion.isLatestMajorVersion() |
boolean |
SQLDocumentProxy.isLatestMajorVersion() |
boolean |
SQLDocumentLive.isLatestMajorVersion() |
boolean |
SQLDocumentVersion.isLatestVersion() |
boolean |
SQLDocumentProxy.isLatestVersion() |
boolean |
SQLDocumentLive.isLatestVersion() |
boolean |
SQLDocumentVersion.isMajorVersion() |
boolean |
SQLDocumentProxy.isMajorVersion() |
boolean |
SQLDocumentLive.isMajorVersion() |
boolean |
SQLDocumentVersion.isVersionSeriesCheckedOut() |
boolean |
SQLDocumentProxy.isVersionSeriesCheckedOut() |
boolean |
SQLDocumentLive.isVersionSeriesCheckedOut() |
Document |
SQLSession.move(Document source,
Document parent,
String name) |
void |
SQLDocumentVersion.orderBefore(String src,
String dest) |
void |
SQLDocumentProxy.orderBefore(String src,
String dest) |
void |
SQLDocumentLive.orderBefore(String src,
String dest) |
void |
SQLDocumentProxy.remove() |
void |
SQLDocumentLive.remove() |
boolean |
SQLDocumentProxy.removeFacet(String facet) |
boolean |
SQLDocumentLive.removeFacet(String facet) |
Lock |
SQLDocumentProxy.removeLock(String owner) |
Lock |
SQLDocumentLive.removeLock(String owner) |
Document |
SQLSession.resolvePath(String path) |
void |
SQLDocumentProxy.restore(Document version) |
void |
SQLDocumentLive.restore(Document version) |
void |
SQLSession.save() |
Lock |
SQLDocumentProxy.setLock(Lock lock) |
Lock |
SQLDocumentLive.setLock(Lock lock) |
void |
SQLDocumentVersion.setPropertyValue(String name,
Serializable value) |
void |
SQLDocumentProxy.setPropertyValue(String name,
Serializable value) |
void |
SQLDocumentLive.setPropertyValue(String name,
Serializable value) |
void |
SQLSession.setProxyTarget(Document proxy,
Document target) |
void |
SQLDocumentProxy.setSystemProp(String name,
Serializable value) |
void |
SQLDocumentLive.setSystemProp(String name,
Serializable value) |
void |
SQLDocumentProxy.setTargetDocument(Document target) |
void |
SQLDocumentLive.setTargetDocument(Document target) |
Constructor and Description |
---|
SQLSession(Session session,
Repository repository,
String sessionId) |
Modifier and Type | Method and Description |
---|---|
Session |
ConnectionFactoryImpl.getSession(String sessionId) |
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) |
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) |
Long |
VersioningDocumentAdapter.getMajorVersion() |
Long |
VersioningDocumentAdapter.getMinorVersion() |
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) |
Modifier and Type | Method and Description |
---|---|
String |
UIDGenerator.createUID(DocumentModel document)
Returns a new UID for the given doc.
|
String |
UIDGenerator.getSequenceKey(DocumentModel document) |
void |
UIDGenerator.setUID(DocumentModel document)
Creates a new UID for the given doc and sets the field configured in the generator component with this value.
|
void |
AbstractUIDGenerator.setUID(DocumentModel document) |
Modifier and Type | Method and Description |
---|---|
String |
UIDGenerator1.createUID(DocumentModel doc) |
String |
UIDGCoreDocument.createUID(DocumentModel document) |
String |
UIDGenerator1.getSequenceKey(DocumentModel doc) |
String |
UIDGCoreDocument.getSequenceKey(DocumentModel document) |
Modifier and Type | Method and Description |
---|---|
String |
UIDGeneratorService.createUID(DocumentModel doc) |
void |
UIDGeneratorService.setUID(DocumentModel doc)
Creates a new UID for the given doc and sets the field configured in the generator component with this value.
|
Copyright © 2015 Nuxeo SA. All rights reserved.