NAME

Apache::Sling::JsonQueryServletUtil - Methods to generate and check HTTP requests required for querying.

ABSTRACT

Utility library returning strings representing Rest queries that perform content operations in the system.

METHODS

USAGE

use Apache::Sling::JsonQueryServletUtil;

DESCRIPTION

JsonQueryServletUtil perl library essentially provides the request strings needed to perform queries against the jackrabbit repository embedded in sling.

Each interaction has a setup and eval method. setup provides the request, whilst eval interprets the response to give further information about the result of performing the request.

METHODS

all_nodes_setup

Returns a textual representation of the request needed to return a JSON representation of all nodes in the system.

all_nodes_eval

Check result of all_nodes call.

REQUIRED ARGUMENTS

None required.

OPTIONS

n/a

DIAGNOSTICS

n/a

EXIT STATUS

0 on success.

CONFIGURATION

None required.

DEPENDENCIES

INCOMPATIBILITIES

None known.

BUGS AND LIMITATIONS

None known.

AUTHOR

Daniel David Parry <perl@ddp.me.uk>

LICENSE AND COPYRIGHT

LICENSE: http://dev.perl.org/licenses/artistic.html

COPYRIGHT: (c) 2011 Daniel David Parry <perl@ddp.me.uk>