Interface StatusItemService
public interface StatusItemService
Service to manage the items of the status field
- 
Method SummaryModifier and TypeMethodDescriptioncreate(StatusItemBuilder builder) Create a new status itemvoiddelete(StatusItem item) Delete the status itemGet list of all items in the systemgetItemByText(StatusField field, String text) Get the item in Status by its textgetItems(StatusField field) Get the list of items for a status fieldGet a new builder to create items for a status fieldvoidupdate(StatusItem item) Change the status item
- 
Method Details- 
newBuilderStatusItemBuilder newBuilder()Get a new builder to create items for a status field- Returns:
- the status builder
 
- 
createCreate a new status item- Parameters:
- builder- The specific builder
- Returns:
- The status item
 
- 
getItemsGet the list of items for a status field- Parameters:
- field- The status field
- Returns:
- the list of items
 
- 
getAllItemsList<StatusItem> getAllItems()Get list of all items in the system- Returns:
- the list of items
 
- 
updateChange the status item- Parameters:
- item- The status item to change
 
- 
deleteDelete the status item- Parameters:
- item- The item to delete
 
- 
getItemByTextGet the item in Status by its text- Parameters:
- field- The status field
- text- The text to find
- Returns:
- The item or null
 
 
-