Class PublishersRequest
- java.lang.Object
-
- com.treescrub.spedran.ResourceCollectionRequest<Publisher>
-
- com.treescrub.spedran.requests.builders.PublishersRequest
-
public class PublishersRequest extends ResourceCollectionRequest<Publisher>
-
-
Constructor Summary
Constructors Constructor Description PublishersRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PublishersRequestsortByName()Sorts the results alphanumerically by name.PublishersRequestsortDirection(SortDirection direction)Sets the direction (ascending or descending) of the sorting.-
Methods inherited from class com.treescrub.spedran.ResourceCollectionRequest
complete
-
-
-
-
Method Detail
-
sortByName
public PublishersRequest sortByName()
Sorts the results alphanumerically by name.- Returns:
- this
GenresRequestbuilder
-
sortDirection
public PublishersRequest sortDirection(SortDirection direction)
Sets the direction (ascending or descending) of the sorting.- Parameters:
direction- the sort direction- Returns:
- this
PublishersRequestbuilder
-
-