| java.lang.Object org.apache.lenya.cms.workflow.usecases.UsecaseWorkflowHelper
UsecaseWorkflowHelper | public class UsecaseWorkflowHelper (Code) | | Helper class for workflow related usecases.
|
ERROR_CANNOT_INVOKE_EVENT | final protected static String ERROR_CANNOT_INVOKE_EVENT(Code) | | The error message that an event can not be invoked on a document. It
takes two parameters: the event name and the document title.
|
addWorkflowError | final protected static void addWorkflowError(AbstractUsecase usecase, String event, Document doc)(Code) | | Adds an error message to a usecase that an event cannot be invoked on a
document.
Parameters: usecase - The usecase. Parameters: event - The event. Parameters: doc - The document. |
checkWorkflow | final public static void checkWorkflow(ServiceManager manager, AbstractUsecase usecase, String event, Document doc, Logger logger)(Code) | | Adds an error message if the event can not be invoked.
Parameters: manager - The service manager. Parameters: usecase - The usecase. Parameters: event - The event. Parameters: doc - The document. Parameters: logger - The logger. |
|
|