|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@PublicApi public interface StatusManager
Manager for Statuses.
| Method Summary | |
|---|---|
Status |
createStatus(String name,
String description,
String iconUrl)
Creates a new status. |
Status |
createStatus(String name,
String description,
String iconUrl,
StatusCategory statusCategory)
Creates a new status. |
void |
editStatus(Status status,
String name,
String description,
String iconUrl)
Edit an existing status. |
void |
editStatus(Status status,
String name,
String description,
String iconUrl,
StatusCategory statusCategory)
Edit an existing status. |
Status |
getStatus(String id)
Get a status by id. |
Collection<Status> |
getStatuses()
|
void |
removeStatus(String id)
Removes a status. |
| Method Detail |
|---|
Status createStatus(String name,
String description,
String iconUrl,
StatusCategory statusCategory)
name - name of the status. Cannot be blank or null and has to be unique.description - description of the status.iconUrl - icon url for this status. Cannot be blank or null.statusCategory - status category of the status. Cannot be null
Status.
Status createStatus(String name,
String description,
String iconUrl)
name - name of the status. Cannot be blank or null and has to be unique.description - description of the status.iconUrl - icon url for this status. Cannot be blank or null.
Status.
void editStatus(Status status,
String name,
String description,
String iconUrl,
StatusCategory statusCategory)
status - status to edit.name - new name. Has to be unique.description - new descriptioniconUrl - new icon urlstatusCategory - status category of the status. Cannot be null
void editStatus(Status status,
String name,
String description,
String iconUrl)
status - status to edit.name - new name. Has to be unique.description - new descriptioniconUrl - new icon urlCollection<Status> getStatuses()
Statusesvoid removeStatus(String id)
id - status id
IllegalArgumentException - if this status is associated with any workflow.Status getStatus(String id)
id - status id
Status, or null if no status with this id exists.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||