io.overcoded.grid.annotation.GridMethod Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of grid-annotation Show documentation
Show all versions of grid-annotation Show documentation
An annotation library to help generate views, dialogs, and grids.
package io.overcoded.grid.annotation;
/**
* Specifies the available methods for a grid
*/
public enum GridMethod {
/**
* Create method
* When specified on a view or dialog, that means users can add new entries into the grid
*/
C,
/**
* Read method
* When specified on a view or dialog, that means the grid is displaying for the user
*
* Note: if the user has any other GridMethod, read is granted too.
*/
R,
/**
* Update method
* When specified on a view or dialog, that means users can edit any entries into the grid
*/
U,
/**
* Delete method
* When specified on a view or dialog, users can delete any entry from the grid
*/
D
}