The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

WebService::Cmis::AtomEntry - Representation of a cmis object

DESCRIPTION

Base class for entries in a atom feed.

Sub classes:

METHODS

new()
_initData

resets the internal cache of this entry.

reload

a plain AtomEntry has got no way to reload itself. that's only possible for cmis objects comping from a repository.

_xmlDoc

internal helper to make sure the xmlDoc is loaded. don't use on plain AtomEntries without providing an xmlDoc to the constructor

_getDocumentElement -> $xmlNode

returns the document element of the current xmlDoc or the xmlDoc itself if this object is constructed using an element instead of a complete document.

toString()

return a string representation of this object

getId

returns the unique ID of the change entry.

getTitle -> $title

returns the value of the object's atom:title property.

getSummary -> $summary

returns the value of the object's atom:summary property.

updateSummary($text) -> $this

changes the atom:summary of this object

Warning: some repos don't maintain the atom:summary field. As a consequence, updateSummary() might fail with a 400 Bad Request error message. Try using the dublin core's dc:description via WebService::Cmis::Object::updateProperties for that instead.

getUpdated -> $epoch

returns the value of the object's atom:updated property.

getPublished -> $epoch

returns the value of the object's atom:published property,

getEdited -> $epoch

returns the value of the object's app:edited property,

getAuthor -> $author

returns the value of the object's atom:author property.

getLink($relation, $linkType) -> $href

returns the href attribute of an Atom link element for the specified relation.

AUTHOR

Michael Daum <daum@michaeldaumconsulting.com>

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.