public interface StatusItemService
Modifier and Type | Method and Description |
---|---|
StatusItem |
create(StatusItemBuilder builder)
Create a new status item
|
void |
delete(StatusItem item)
Delete the status item
|
List<StatusItem> |
getAllItems()
Get list of all items in the system
|
StatusItem |
getItemByText(StatusField field,
String text)
Get the item in Status by its text
|
List<StatusItem> |
getItems(StatusField field)
Get the list of items for a status field
|
StatusItemBuilder |
newBuilder()
Get a new builder to create items for a status field
|
void |
update(StatusItem item)
Change the status item
|
StatusItemBuilder newBuilder()
StatusItem create(StatusItemBuilder builder)
builder
- The specific builderList<StatusItem> getItems(StatusField field)
field
- The status fieldList<StatusItem> getAllItems()
void update(StatusItem item)
item
- The status item to changevoid delete(StatusItem item)
item
- The item to deleteStatusItem getItemByText(StatusField field, String text)
field
- The status fieldtext
- The text to findCopyright © 2022 DEISER. All Rights Reserved.