Apache::Sling::GroupUtil Methods to generate and check HTTP requests required for manipulating groups.
Utility library returning strings representing Rest queries that perform group related actions in the system.
Returns a textual representation of the request needed to add the group to the system.
Check result of adding group to the system.
Returns a textual representation of the request needed to delete the group from the system.
Check result of deleting group from the system.
Returns a textual representation of the request needed to test whether a given group exists in the system.
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.
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.
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.
use Apache::Sling::GroupUtil;
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.
None required.
n/a
0 on success.
None known.
Daniel David Parry <perl@ddp.me.uk>
LICENSE: http://dev.perl.org/licenses/artistic.html
COPYRIGHT: (c) 2011 Daniel David Parry <perl@ddp.me.uk>
To install Apache::Sling, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Apache::Sling
CPAN shell
perl -MCPAN -e shell install Apache::Sling
For more information on module installation, please visit the detailed CPAN module installation guide.