public class CreateProcessAction extends ServiceableAction
Modifier and Type | Field and Description |
---|---|
private BPMWorkflowManager |
_bpmWorkflowManager |
private AmetysObjectResolver |
_resolver |
private static String |
PARAM_ATTACHMENTS |
private static String |
PARAM_ATTACHMENTS_UNTOUCHED |
private static String |
PARAM_DESCRIPTION |
private static String |
PARAM_PROCESS_ID |
private static String |
PARAM_TITLE |
private static String |
PARAM_WORKFLOW |
manager
EMPTY_MAP
Constructor and Description |
---|
CreateProcessAction() |
Modifier and Type | Method and Description |
---|---|
private String |
_createProcess(String workflowId,
String title,
String description,
String site,
List<PartOnDisk> uploadedAttachments) |
private void |
_editProcess(String processId,
String title,
String description,
List<String> attachmentsUntouchedObject,
List<PartOnDisk> uploadedAttachments) |
Map |
act(Redirector redirector,
SourceResolver resolver,
Map objectModel,
String source,
Parameters parameters) |
void |
service(ServiceManager smanager) |
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
private static final String PARAM_PROCESS_ID
private static final String PARAM_WORKFLOW
private static final String PARAM_TITLE
private static final String PARAM_DESCRIPTION
private static final String PARAM_ATTACHMENTS
private static final String PARAM_ATTACHMENTS_UNTOUCHED
private BPMWorkflowManager _bpmWorkflowManager
private AmetysObjectResolver _resolver
public CreateProcessAction()
public void service(ServiceManager smanager) throws ServiceException
service
in interface Serviceable
service
in class ServiceableAction
ServiceException
public Map act(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters) throws Exception
Exception
private String _createProcess(String workflowId, String title, String description, String site, List<PartOnDisk> uploadedAttachments) throws IllegalAccessException, com.opensymphony.workflow.WorkflowException
IllegalAccessException
com.opensymphony.workflow.WorkflowException
private void _editProcess(String processId, String title, String description, List<String> attachmentsUntouchedObject, List<PartOnDisk> uploadedAttachments) throws com.opensymphony.workflow.WorkflowException
com.opensymphony.workflow.WorkflowException