Skip to content

Ease creation of QuerySpecs #93

Closed
Closed
@mlopezFC

Description

@mlopezFC

If I want a QuerySpec that returns everything I need to:

    QuerySpec querySpec = new QuerySpec();
    querySpec.setFirstResult(0);
    querySpec.setMaxResult(Integer.MAX_VALUE);

Maybe it would be better to use something like QuerySpec.withNoRestrictions();

Also it would be great to have a builder pattern to make it easier to build a new instance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions