Package com.alfresco.content.models
Class RequestSortDefinitionInner
-
- All Implemented Interfaces:
@JsonClass(generateAdapter = true) public final class RequestSortDefinitionInner
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumRequestSortDefinitionInner.TypeEnumHow to order - using a field, when position of the document in the index, score/relevence. Values: FIELD, DOCUMENT, SCORE
-
Constructor Summary
Constructors Constructor Description RequestSortDefinitionInner(RequestSortDefinitionInner.TypeEnum type, String field, Boolean ascending)
-
Method Summary
Modifier and Type Method Description final RequestSortDefinitionInner.TypeEnumgetType()How to order - using a field, when position of the document in the index, score/relevence. final UnitsetType(@Json(name = "type") RequestSortDefinitionInner.TypeEnum type)How to order - using a field, when position of the document in the index, score/relevence. final StringgetField()The name of the field final UnitsetField(@Json(name = "field") String field)The name of the field final BooleangetAscending()The sort order. final UnitsetAscending(@Json(name = "ascending") Boolean ascending)The sort order. -
-
Constructor Detail
-
RequestSortDefinitionInner
RequestSortDefinitionInner(RequestSortDefinitionInner.TypeEnum type, String field, Boolean ascending)
-
-
Method Detail
-
getType
final RequestSortDefinitionInner.TypeEnum getType()
How to order - using a field, when position of the document in the index, score/relevence.
-
setType
final Unit setType(@Json(name = "type") RequestSortDefinitionInner.TypeEnum type)
How to order - using a field, when position of the document in the index, score/relevence.
-
getAscending
final Boolean getAscending()
The sort order. (The ordering of nulls is determined by the SOLR configuration)
-
setAscending
final Unit setAscending(@Json(name = "ascending") Boolean ascending)
The sort order. (The ordering of nulls is determined by the SOLR configuration)
-
-
-
-