org.exoplatform.services.workflow.impl.bonita
Class WorkflowFormsServiceImpl

java.lang.Object
  extended by org.exoplatform.services.workflow.impl.bonita.WorkflowFormsServiceImpl
All Implemented Interfaces:
WorkflowFormsService

public class WorkflowFormsServiceImpl
extends java.lang.Object
implements WorkflowFormsService

This service retrieves and caches Forms Created by Bull R&D

Author:
Rodrigue Le Gall, Brice Revenant Dec 28, 2005

Constructor Summary
WorkflowFormsServiceImpl(WorkflowFileDefinitionService fileDefinitionService)
          Creates a new instance of the service
 
Method Summary
 Form getForm(java.lang.String processId, java.lang.String stateName, java.util.Locale locale)
          Retrieves a Form based on a process model, a state and a Locale.
 void removeForms(java.lang.String processDefinitionId)
          Remove all Forms corresponding to a Process Model
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WorkflowFormsServiceImpl

public WorkflowFormsServiceImpl(WorkflowFileDefinitionService fileDefinitionService)
Creates a new instance of the service

Parameters:
fileDefinitionService - this injected reference to a File Definition service is used to store and retrieved definitions of processes, which include among others Forms.
Method Detail

getForm

public Form getForm(java.lang.String processId,
                    java.lang.String stateName,
                    java.util.Locale locale)
Retrieves a Form based on a process model, a state and a Locale. As the process instance identifier is not specified as parameter, the attributes shown are only those defined in the process model, which means propagable attributes are ignored.

Specified by:
getForm in interface WorkflowFormsService
Parameters:
processId - identifies the process
stateName - identifies the activity
locale - specifies the Locale

removeForms

public void removeForms(java.lang.String processDefinitionId)
Remove all Forms corresponding to a Process Model

Specified by:
removeForms in interface WorkflowFormsService
Parameters:
processDefinitionId - identifies the Process Model


Copyright © 2013 eXo Platform SAS. All Rights Reserved.