org.jbpm.formbuilder.shared.form
Interface FormDefinitionService
- All Known Implementing Classes:
- GuvnorFormDefinitionService, MockFormDefinitionService
public interface FormDefinitionService
|
Method Summary |
FormRepresentation |
createFormFromTask(TaskRef task)
|
void |
deleteForm(String pkgName,
String formId)
|
void |
deleteFormItem(String pkgName,
String formItemId)
|
FormRepresentation |
getAssociatedForm(String pkgName,
TaskRef task)
|
FormRepresentation |
getForm(String pkgName,
String formId)
|
FormRepresentation |
getFormByUUID(String packageName,
String uuid)
|
FormItemRepresentation |
getFormItem(String pkgName,
String formItemId)
|
Map<String,FormItemRepresentation> |
getFormItems(String pkgName)
|
List<FormRepresentation> |
getForms(String pkgName)
|
String |
saveForm(String pkgName,
FormRepresentation form)
|
String |
saveFormItem(String pkgName,
String formItemName,
FormItemRepresentation formItem)
|
void |
saveTemplate(String packageName,
String templateName,
String content)
|
getForms
List<FormRepresentation> getForms(String pkgName)
throws FormServiceException
- Throws:
FormServiceException
getFormItems
Map<String,FormItemRepresentation> getFormItems(String pkgName)
throws FormServiceException
- Throws:
FormServiceException
saveForm
String saveForm(String pkgName,
FormRepresentation form)
throws FormServiceException
- Throws:
FormServiceException
saveFormItem
String saveFormItem(String pkgName,
String formItemName,
FormItemRepresentation formItem)
throws FormServiceException
- Throws:
FormServiceException
deleteForm
void deleteForm(String pkgName,
String formId)
throws FormServiceException
- Throws:
FormServiceException
deleteFormItem
void deleteFormItem(String pkgName,
String formItemId)
throws FormServiceException
- Throws:
FormServiceException
getForm
FormRepresentation getForm(String pkgName,
String formId)
throws FormServiceException
- Throws:
FormServiceException
getFormByUUID
FormRepresentation getFormByUUID(String packageName,
String uuid)
throws FormServiceException
- Throws:
FormServiceException
getFormItem
FormItemRepresentation getFormItem(String pkgName,
String formItemId)
throws FormServiceException
- Throws:
FormServiceException
getAssociatedForm
FormRepresentation getAssociatedForm(String pkgName,
TaskRef task)
throws FormServiceException
- Throws:
FormServiceException
createFormFromTask
FormRepresentation createFormFromTask(TaskRef task)
throws FormServiceException
- Throws:
FormServiceException
saveTemplate
void saveTemplate(String packageName,
String templateName,
String content)
throws FormServiceException
- Throws:
FormServiceException
Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.