BrainGrid Controller
Window creation
Enumerations

Manage Enumerations

This documentation describes how users can view, add, delete, restore, view details, and update enumerations within the system.

Viewing All Enumerations

Users can view all enumerations and their options in the system.

Example:

Given a user named "John Doe" and the system has enumerations "Status" with options "Open, Close, Pending" and "Priority" with options "High, Medium, Low":

  • Action: John Doe navigates to the enumerations section.
  • Result: John Doe sees a list of all enumerations including "Status" and "Priority" with their respective options.

Adding a New Enumeration

Users can add new enumerations to the system.

Example:

Given a user named "John Doe":

  • Action: John Doe navigates to the enumerations section and adds a new enumeration named "Severity" with options "Critical, Major, Minor."
  • Result: "Severity" is added to the list of enumerations and the options "Critical, Major, Minor" are available for use in any form.

Deleting an Existing Enumeration

Users can delete existing enumerations from the system.

Example:

Given a user named "John Doe" and the system has an enumeration named "Status" with options "Open, Close, Pending":

  • Action: John Doe deletes the enumeration "Status."
  • Result: "Status" is removed from the list of enumerations and the options "Open, Close, Pending" are no longer available for use in any form.

Restoring a Deleted Enumeration

Users can restore deleted enumerations.

Example:

Given a user named "John Doe" who has deleted an enumeration named "Status":

  • Action: John Doe restores the enumeration "Status."
  • Result: "Status" is restored to the list of enumerations and the options "Open, Close, Pending" are available for use in any form.

Viewing Details of an Enumeration

Users can view the details of a specific enumeration.

Example:

Given a user named "John Doe" and the system has an enumeration named "Priority" with options "High, Medium, Low":

  • Action: John Doe selects the enumeration "Priority" for details.
  • Result: John Doe sees the options "High, Medium, Low" for the enumeration "Priority."

Updating an Existing Enumeration

Users can update existing enumerations by adding new options.

Example:

Given a user named "John Doe" and the system has an enumeration named "Status" with options "Open, Close, Pending":

  • Action: John Doe updates the enumeration "Status" to add a new option "In Progress."
  • Result: "In Progress" is added to the options for "Status" and the updated options "Open, Close, Pending, In Progress" are available for use in any form.