@RestController @RequestMapping(value="/rest/form-models") public class FormsResource extends BaseModelResource
Modifier and Type | Field and Description |
---|---|
protected ModelInternalService |
modelService |
protected com.fasterxml.jackson.databind.ObjectMapper |
objectMapper |
historyRepository, modelRepository, PROCESS_NOT_FOUND_MESSAGE_KEY, shareInfoRepository
Constructor and Description |
---|
FormsResource() |
Modifier and Type | Method and Description |
---|---|
com.activiti.model.editor.EditorValuesRepresentation |
getEditorValues(javax.servlet.http.HttpServletRequest request) |
com.activiti.model.common.ResultListDataRepresentation |
getForms(Long referenceId,
javax.servlet.http.HttpServletRequest request) |
protected String |
makeValidFilterText(String filterText) |
getModel, getModelHistory, getParentModel, getProcessModelForOwner, populatePermissions
@Inject protected ModelInternalService modelService
protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
@RequestMapping(method=GET, produces="application/json") public com.activiti.model.common.ResultListDataRepresentation getForms(@RequestParam(required=true) Long referenceId, javax.servlet.http.HttpServletRequest request)
@RequestMapping(value="/editor-values", method=GET, produces="application/json") public com.activiti.model.editor.EditorValuesRepresentation getEditorValues(javax.servlet.http.HttpServletRequest request)
Copyright © 2014–2015 Alfresco. All rights reserved.