NAME

WebService::Cmis::ACL

Representation of a cmis ACL object

SYNOPSIS

DESCRIPTION

METHODS

new(%params)
toString()

return a string representation of this object

getSize() -> $number

returns the number of ACE objects part of this list

addEntry($ace) -> WebService::Cmis::ACL

adds an ACE entry to the ACL. returns $this object.

removeEntry($idOrAce) -> WebService::Cmis::ACL

removes all specified entries. $idOrAce can either be a principalId or an ACE object. In the first case all ACEs for the principalId will be removed. When an ACE object is specified, all equivalent ACEs in the ACL will be removed. returns $this object.

getEntries -> @aces

returns a list of ACE objects for each access control entry in the ACL.

getXmlDoc -> $xmlDoc

This method rebuilds the local XML representation of the ACL based on the ACE objects in the entries list and returns the resulting XML Document.

COPYRIGHT AND LICENSE

Copyright 2012-2013 Michael Daum

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See http://dev.perl.org/licenses/artistic.html.