View on
MetaCPAN is shutting down
For details read Perl NOC. After June 25th this page will redirect to
Michael Daum > WebService-Cmis-0.09 > WebService::Cmis::ChangeEntry



Annotate this POD


New  4
Open  0
View/Report Bugs


WebService::Cmis::ChangeEntry - Representation of an entry in a change log feed


Objects of this class are collected as part of a change log.

Parent class: WebService::Cmis::AtomEntry



resets the internal cache of this entry.

getProperties() -> %properties

returns a hash of properties of the change entry. Note that depending on the capabilities of the repository ("capabilityChanges") the list may not include the actual property values that changed.

getProperty($propName) -> $propValue

returns the value of a given property or undef if not available.

This is not covered by the cmis specs but makes live easier.

getObjectId -> $objectId

returns the object ID of the object that changed.

getChangeTime -> $epochSeconds

returns epoch seconds representing the time the change occurred.

getChangeType -> $changeType

returns the type of change that occurred. The resulting value must be one of:

  • created
  • updated
  • deleted
  • security
getACL -> $aclObject

returns the ACL object that is included with this Change Entry, or undef if the change type is "deleted".

if you call getContentChanges with includeACL=true, you will get a ACL information embedded in this ChangeEntry object. Change entries don't appear to have a self URL so instead of doing a reload with includeACL set to true, we'll either see if the XML already has an ACL element and instantiate an ACL with it, or we'll get the ACL_REL link, invoke that, and return the result.

SMELL: duplicates WebService::Cmis::Object::ACL


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

syntax highlighting: