Package | Description |
---|---|
org.nuxeo.ecm.core.api | |
org.nuxeo.ecm.core.lifecycle |
LifeCycle API.
|
org.nuxeo.ecm.core.lifecycle.impl |
Implementation of the LifeCycle API.
|
org.nuxeo.ecm.core.model | |
org.nuxeo.ecm.core.storage.dbs | |
org.nuxeo.ecm.core.storage.sql.coremodel | |
org.nuxeo.ecm.platform.task | |
org.nuxeo.ecm.platform.ui.web.tag.fn |
Modifier and Type | Method and Description |
---|---|
boolean |
AbstractSession.followTransition(DocumentModel docModel,
String transition) |
boolean |
CoreSession.followTransition(DocumentModel doc,
String transition)
Follows a given life cycle transition.
|
boolean |
AbstractSession.followTransition(DocumentRef docRef,
String transition) |
boolean |
CoreSession.followTransition(DocumentRef docRef,
String transition)
Follows a given life cycle transition.
|
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).
|
Modifier and Type | Method and Description |
---|---|
void |
LifeCycleService.followTransition(Document doc,
String transitionName)
Follows a given transition.
|
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) |
void |
LifeCycleServiceImpl.initialize(Document doc) |
void |
LifeCycleServiceImpl.initialize(Document doc,
String initialStateName) |
void |
LifeCycleServiceImpl.reinitLifeCycle(Document doc) |
Modifier and Type | Method and Description |
---|---|
void |
Document.followTransition(String transition)
Follows a given life cycle transition.
|
Modifier and Type | Method and Description |
---|---|
void |
DBSDocument.followTransition(String transition) |
Collection<String> |
DBSDocument.getAllowedStateTransitions() |
void |
DBSDocument.setCurrentLifeCycleState(String lifeCycleState) |
void |
DBSDocument.setLifeCyclePolicy(String policy) |
Modifier and Type | Method and Description |
---|---|
void |
SQLDocumentProxy.followTransition(String transition) |
void |
SQLDocumentLive.followTransition(String transition) |
Modifier and Type | Method and Description |
---|---|
protected void |
TaskImpl.followTransition(CoreSession coreSession,
String transition) |
Modifier and Type | Method and Description |
---|---|
static Collection<String> |
DocumentModelFunctions.getAvailableLifeCycleTransitions(String lifeCycleName,
String currentState)
Returns all the available transitions given the current state.
|
Copyright © 2019 Nuxeo. All rights reserved.