public class AbstractModelsResource extends BaseModelResource
Modifier and Type | Field and Description |
---|---|
protected org.activiti.editor.language.json.converter.BpmnJsonConverter |
bpmnJsonConverter |
protected BpmnXMLConverter |
bpmnXmlConverter |
protected static String |
FILTER_FAVORITE |
protected static String |
FILTER_SHARED_WITH_ME |
protected static String |
FILTER_SHARED_WITH_OTHERS |
protected static int |
MIN_FILTER_LENGTH |
protected com.activiti.repository.editor.ModelRepository |
modelRepository |
protected ModelInternalService |
modelService |
protected com.fasterxml.jackson.databind.ObjectMapper |
objectMapper |
protected static String |
SORT_MODIFIED_ASC |
protected static String |
SORT_NAME_ASC |
protected static String |
SORT_NAME_DESC |
historyRepository, PROCESS_NOT_FOUND_MESSAGE_KEY, shareInfoRepository
Constructor and Description |
---|
AbstractModelsResource() |
Modifier and Type | Method and Description |
---|---|
protected com.activiti.model.editor.ModelRepresentation |
createModelRepresentation(com.activiti.domain.editor.AbstractModel model) |
com.activiti.model.common.ResultListDataRepresentation |
getModels(String filter,
String sort,
Integer modelType,
javax.servlet.http.HttpServletRequest request) |
com.activiti.model.common.ResultListDataRepresentation |
getModelsToIncludeInAppDefinition() |
protected org.springframework.data.domain.Sort |
getSort(String sort,
boolean prefixWithProcessModel) |
com.activiti.model.editor.ModelRepresentation |
importProcessModel(javax.servlet.http.HttpServletRequest request,
org.springframework.web.multipart.MultipartFile file) |
protected String |
makeValidFilterText(String filterText) |
getModel, getModelHistory, getParentModel, getProcessModelForOwner, populatePermissions
protected static final String FILTER_SHARED_WITH_ME
protected static final String FILTER_SHARED_WITH_OTHERS
protected static final String FILTER_FAVORITE
protected static final String SORT_NAME_ASC
protected static final String SORT_NAME_DESC
protected static final String SORT_MODIFIED_ASC
protected static final int MIN_FILTER_LENGTH
@Inject protected com.activiti.repository.editor.ModelRepository modelRepository
@Inject protected ModelInternalService modelService
@Inject protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
protected BpmnXMLConverter bpmnXmlConverter
protected org.activiti.editor.language.json.converter.BpmnJsonConverter bpmnJsonConverter
public com.activiti.model.common.ResultListDataRepresentation getModels(String filter, String sort, Integer modelType, javax.servlet.http.HttpServletRequest request)
public com.activiti.model.common.ResultListDataRepresentation getModelsToIncludeInAppDefinition()
public com.activiti.model.editor.ModelRepresentation importProcessModel(javax.servlet.http.HttpServletRequest request, org.springframework.web.multipart.MultipartFile file)
protected com.activiti.model.editor.ModelRepresentation createModelRepresentation(com.activiti.domain.editor.AbstractModel model)
protected org.springframework.data.domain.Sort getSort(String sort, boolean prefixWithProcessModel)
Copyright © 2014–2015 Alfresco. All rights reserved.