public interface StatusStorage
| Modifier and Type | Method and Description |
|---|---|
StatusDto |
createStatus(ProjectDto project,
String status) |
StatusDto |
createStatus(ProjectDto project,
String status,
int rank) |
StatusDto |
getDefaultStatus(long projectId)
Return the default status of the project which is ideally the first step in
the project workflow.
|
StatusDto |
getStatus(long statusId)
Return the
Status with given statusId. |
List<StatusDto> |
getStatuses(long projectId)
Return the list of statuses from a project with given
projectId. |
List<StatusDto> |
listStatusToDTOs(List<Status> status) |
List<Status> |
listStatusToEntitys(List<StatusDto> status) |
void |
removeStatus(long statusId) |
StatusDto |
statusToDTO(Status status) |
Status |
statusToEntity(StatusDto statusDto) |
StatusDto |
updateStatus(long statusId,
String statusName) |
StatusDto |
updateStatus(StatusDto statusDto) |
StatusDto getStatus(long statusId)
Status with given statusId.statusId - the given status id.StatusDto getDefaultStatus(long projectId)
projectId - the given project id.List<StatusDto> getStatuses(long projectId)
projectId.projectId - the given project id.StatusDto createStatus(ProjectDto project, String status)
StatusDto createStatus(ProjectDto project, String status, int rank) throws NotAllowedOperationOnEntityException
StatusDto updateStatus(long statusId, String statusName) throws EntityNotFoundException, NotAllowedOperationOnEntityException
StatusDto updateStatus(StatusDto statusDto) throws EntityNotFoundException, NotAllowedOperationOnEntityException
Copyright © 2003–2021 eXo Platform SAS. All rights reserved.