Daniel David Parry

NAME

Apache::Sling::GroupUtil Methods to generate and check HTTP requests required for manipulating groups.

ABSTRACT

Utility library returning strings representing Rest queries that perform group related actions in the system.

METHODS

add_setup

Returns a textual representation of the request needed to add the group to the system.

add_eval

Check result of adding group to the system.

delete_setup

Returns a textual representation of the request needed to delete the group from the system.

delete_eval

Check result of deleting group from the system.

exists_setup

Returns a textual representation of the request needed to test whether a given group exists in the system.

exists_eval

Inspects the result returned from issuing the request generated in exists_setup returning true if the result indicates the group does exist in the system, else false.

view_setup

Returns a textual representation of the request needed to view a given group in the system. This function is similar to exists expect authentication is forced.

view_eval

Inspects the result returned from issuing the request generated in view_setup returning true if the result indicates the group view was returned, else false.

USAGE

use Apache::Sling::GroupUtil;

DESCRIPTION

GroupUtil perl library essentially provides the request strings needed to interact with group functionality exposed over the system rest interfaces.

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.

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>