Package | Description |
---|---|
com.communote.server.core.vo.query | |
com.communote.server.core.vo.query.post |
Modifier and Type | Method and Description |
---|---|
static QueryParameters.OrderDirection |
QueryParameters.OrderDirection.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static QueryParameters.OrderDirection[] |
QueryParameters.OrderDirection.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static String |
QueryParameters.OrderDirection.appendOrderBy(String orderBy,
String field,
QueryParameters.OrderDirection orderDirection)
Method to append the given orderBy clause with the new ordering.
|
Modifier and Type | Method and Description |
---|---|
QueryParameters.OrderDirection |
NoteQueryParameters.getSortByDate() |
QueryParameters.OrderDirection |
NoteQueryParameters.getSortById() |
Modifier and Type | Method and Description |
---|---|
void |
NoteQueryParameters.setSortByDate(QueryParameters.OrderDirection orderDirection)
Method to set the date sorting.
|
void |
NoteQueryParameters.setSortById(QueryParameters.OrderDirection sortById)
Method to set the id sorting.
|
Copyright © 2019 Communote team. All rights reserved.