public enum UserQueriesSQL extends Enum<UserQueriesSQL> implements NativeSQLQueries
| Enum Constant and Description |
|---|
USER_DELETE |
USER_FIND_BY_EMAIL_WITH_ROLES |
USER_FIND_BY_ID_WITH_ROLES |
USER_INSERT_WITH_ROLES |
USER_UPDATE_WITH_ROLES |
| Modifier and Type | Method and Description |
|---|---|
String |
getQuery()
Return SQL query as a plain string
|
static UserQueriesSQL |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UserQueriesSQL[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UserQueriesSQL USER_DELETE
public static final UserQueriesSQL USER_FIND_BY_ID_WITH_ROLES
public static final UserQueriesSQL USER_FIND_BY_EMAIL_WITH_ROLES
public static final UserQueriesSQL USER_INSERT_WITH_ROLES
public static final UserQueriesSQL USER_UPDATE_WITH_ROLES
public static UserQueriesSQL[] values()
for (UserQueriesSQL c : UserQueriesSQL.values()) System.out.println(c);
public static UserQueriesSQL valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getQuery()
NativeSQLQueriesgetQuery in interface NativeSQLQueries