public class BaseModelResource extends Object
Modifier and Type | Field and Description |
---|---|
protected com.activiti.repository.editor.ModelHistoryRepository |
historyRepository |
protected com.activiti.repository.editor.ModelRepository |
modelRepository |
protected static String |
PROCESS_NOT_FOUND_MESSAGE_KEY |
protected com.activiti.repository.editor.ModelShareInfoRepository |
shareInfoRepository |
Constructor and Description |
---|
BaseModelResource() |
Modifier and Type | Method and Description |
---|---|
protected com.activiti.domain.editor.Model |
getModel(Long modelId,
boolean checkRead,
boolean checkEdit) |
protected com.activiti.domain.editor.ModelHistory |
getModelHistory(Long modelId,
Long modelHistoryId,
boolean checkRead,
boolean checkEdit) |
protected com.activiti.domain.editor.Model |
getParentModel(Long parentModelId) |
protected com.activiti.domain.editor.Model |
getProcessModelForOwner(Long processModelId) |
protected void |
populatePermissions(com.activiti.domain.editor.Model model,
com.activiti.model.editor.ModelRepresentation response) |
protected static final String PROCESS_NOT_FOUND_MESSAGE_KEY
@Inject protected com.activiti.repository.editor.ModelRepository modelRepository
@Inject protected com.activiti.repository.editor.ModelHistoryRepository historyRepository
@Inject protected com.activiti.repository.editor.ModelShareInfoRepository shareInfoRepository
protected com.activiti.domain.editor.Model getModel(Long modelId, boolean checkRead, boolean checkEdit)
protected com.activiti.domain.editor.Model getProcessModelForOwner(Long processModelId)
protected com.activiti.domain.editor.ModelHistory getModelHistory(Long modelId, Long modelHistoryId, boolean checkRead, boolean checkEdit)
protected void populatePermissions(com.activiti.domain.editor.Model model, com.activiti.model.editor.ModelRepresentation response)
protected com.activiti.domain.editor.Model getParentModel(Long parentModelId)
Copyright © 2014–2015 Alfresco. All rights reserved.