[overlord-issues] [JBoss JIRA] (ARTIF-225) CLI Query: option to print the next page in a query

Brett Meyer (JIRA) issues at jboss.org
Thu Jul 9 12:08:04 EDT 2015


    [ https://issues.jboss.org/browse/ARTIF-225?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13088270#comment-13088270 ] 

Brett Meyer commented on ARTIF-225:
-----------------------------------

Adding full paging support:

{code}
	@Option(name = "startIndex", hasValue = true, required = false,
			description = "Paging: start index (begins at 0)")
	private Integer startIndex;

	@Option(name = "count", hasValue = true, required = false,
			description = "Paging: count (# to include on page)")
	private Integer count;

	@Option(name = "page", hasValue = true, required = false,
			description = "Paging: page # (assumes 0 startIndex and 100 count, unless startIndex/count provided now or in the past)")
	private Integer page;

	@Option(name = "orderBy", hasValue = true, required = false,
			description = "Sort by this field (defaults to uuid)", defaultValue = "uuid")
	private String orderBy;

	@Option(name = "ascending", hasValue = false, required = false,
			description = "Sort ascending (default)")
	private Boolean ascending;

	@Option(name = "descending", hasValue = false, required = false,
			description = "Sort descending")
	private Boolean descending;
{code}

> CLI Query: option to print the next page in a query
> ---------------------------------------------------
>
>                 Key: ARTIF-225
>                 URL: https://issues.jboss.org/browse/ARTIF-225
>             Project: Artificer
>          Issue Type: Enhancement
>          Components: Shell
>    Affects Versions: 0.3.0 - JBPM6 Integration
>            Reporter: Eric Wittmann
>            Assignee: Brett Meyer
>
> The CLI query command currently prints the first 100 items from the query results.  It would be nice to have an option to show the next page.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the overlord-issues mailing list