@RestController public class ModelShareInfoResource extends BaseModelResource
| Modifier and Type | Field and Description |
|---|---|
protected GroupService |
groupService |
protected ModelShareService |
shareService |
protected UserCache |
userCache |
protected UserService |
userService |
historyRepository, modelRepository, PROCESS_NOT_FOUND_MESSAGE_KEY, shareInfoRepository| Constructor and Description |
|---|
ModelShareInfoResource() |
| Modifier and Type | Method and Description |
|---|---|
com.activiti.model.common.ResultListDataRepresentation |
getProcessModelShareInfo(Long modelId) |
void |
updateShareInfoForProcess(Long modelId,
com.activiti.model.editor.ShareInfoUpdateRepresentation update) |
getModel, getModelHistory, getParentModel, getProcessModelForOwner, populatePermissions@Autowired protected ModelShareService shareService
@Autowired protected UserService userService
@Autowired protected UserCache userCache
@Autowired protected GroupService groupService
@RequestMapping(value="/rest/models/{modelId}/share-info",
method=GET,
produces="application/json")
public com.activiti.model.common.ResultListDataRepresentation getProcessModelShareInfo(@PathVariable
Long modelId)
@RequestMapping(value="/rest/models/{modelId}/share-info",
method=PUT,
produces="application/json")
public void updateShareInfoForProcess(@PathVariable
Long modelId,
@RequestBody
com.activiti.model.editor.ShareInfoUpdateRepresentation update)
Copyright © 2014–2015 Alfresco. All rights reserved.