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.sql.coremodel | |
org.nuxeo.ecm.platform.sync.utils | |
org.nuxeo.ecm.platform.ui.web.tag.fn |
Modifier and Type | Method and Description |
---|---|
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.
|
Collection<String> |
LifeCycle.getAllowedStateTransitionsFrom(String stateName)
Gets the allowed state transitions from a given state.
|
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) |
Collection<String> |
LifeCycleImpl.getAllowedStateTransitionsFrom(String stateName) |
void |
LifeCycleServiceImpl.initialize(Document doc) |
void |
LifeCycleServiceImpl.initialize(Document doc,
String initialStateName) |
void |
LifeCycleServiceImpl.reinitLifeCycle(Document doc) |
Modifier and Type | Method and Description |
---|---|
boolean |
MockDocument.followTransition(String transition) |
boolean |
Document.followTransition(String transition)
Follows a given life cycle transition.
|
boolean |
AbstractDocument.followTransition(String transition) |
Collection<String> |
MockDocument.getAllowedStateTransitions() |
Collection<String> |
Document.getAllowedStateTransitions()
Returns the allowed state transitions for this document.
|
Collection<String> |
AbstractDocument.getAllowedStateTransitions() |
String |
MockDocument.getLifeCyclePolicy() |
String |
Document.getLifeCyclePolicy()
Returns the life cycle policy of this document.
|
String |
MockDocument.getLifeCycleState() |
String |
Document.getLifeCycleState()
Returns the life cycle of the document.
|
void |
Document.setCurrentLifeCycleState(String state)
Sets the lifecycle state of the document.
|
void |
Document.setLifeCyclePolicy(String policy)
Sets the life cycle policy of this document.
|
Modifier and Type | Method and Description |
---|---|
boolean |
SQLDocumentProxy.followTransition(String transition) |
boolean |
SQLDocumentLive.followTransition(String transition) |
Collection<String> |
SQLDocumentProxy.getAllowedStateTransitions() |
Collection<String> |
SQLDocumentLive.getAllowedStateTransitions() |
String |
SQLDocumentProxy.getLifeCyclePolicy() |
String |
SQLDocumentLive.getLifeCyclePolicy() |
String |
SQLDocumentProxy.getLifeCycleState() |
String |
SQLDocumentLive.getLifeCycleState() |
void |
SQLDocumentProxy.setCurrentLifeCycleState(String state) |
void |
SQLDocumentLive.setCurrentLifeCycleState(String state) |
void |
SQLDocumentProxy.setLifeCyclePolicy(String policy) |
void |
SQLDocumentLive.setLifeCyclePolicy(String policy) |
Modifier and Type | Method and Description |
---|---|
static List<String> |
ImportUtils.getLifeCycleTransitions(LifeCycle lifeCycle,
String origState,
String destState)
Returns the list of transition names to follow to go from one particular
state to another.
|
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 © 2011 Nuxeo SA. All Rights Reserved.