public class ChangelogEntry extends BaseDocumentListEntry<ChangelogEntry>
DocumentListEntry.MediaType
BaseEntry.AtomHandler, BaseEntry.EntryState
ExtensionPoint.CumulativeBlobHandler, ExtensionPoint.ExtensionHandler
AbstractExtension.AttributesHandler
Modifier and Type | Field and Description |
---|---|
static Category |
CATEGORY
Changelog kind category.
|
static java.lang.String |
KIND
Changelog kind term value.
|
FOLDERS_NAMESPACE, LABEL, PARENT_NAMESPACE, REVISIONS_NAMESPACE, THUMBNAIL_NAMESPACE, UNKNOWN_CATEGORY, UNKNOWN_KIND, UNKNOWN_LABEL
xmlBlob
localName, namespace
Constructor and Description |
---|
ChangelogEntry()
Default mutable constructor.
|
ChangelogEntry(BaseEntry<?> sourceEntry)
Constructs a new instance by doing a shallow copy of data from an existing
BaseEntry instance. |
Modifier and Type | Method and Description |
---|---|
void |
declareExtensions(ExtensionProfile extProfile)
Declares the set of expected Extension types for an ExtensionPoint within
the target extension profile.
|
Changestamp |
getChangestamp()
Returns the changestamp.
|
Removed |
getRemoved()
Returns the removed.
|
boolean |
hasChangestamp()
Returns whether it has the changestamp.
|
boolean |
hasRemoved()
Returns whether it has the removed.
|
void |
setChangestamp(Changestamp changestamp)
Sets the changestamp.
|
void |
setRemoved(Removed removed)
Sets the removed.
|
java.lang.String |
toString() |
protected void |
validate()
Checks the attributes to see if there are any problems.
|
addFolder, getAclFeed, getAclFeedLink, getDescription, getDocId, getDocumentLink, getFolders, getKey, getLastModifiedBy, getLastViewed, getMd5Checksum, getMimeTypeFromFileName, getParentLinks, getQuotaBytesUsed, getResourceId, getType, isHidden, isStarred, isTrashed, isViewed, isWritersCanInvite, setDescription, setFile, setFile, setHidden, setLastModifiedBy, setLastViewed, setMd5Checksum, setQuotaBytesUsed, setResourceId, setStarred, setTrashed, setViewed, setWritersCanInvite
getContentHandlerInfo, getMediaEditLink, getMediaSource, setMediaSource, setService, updateMedia
addAdaptor, addHtmlLink, addLink, addLink, delete, generate, generateAtom, generateRss, getAdaptedEntry, getAdaptor, getAdaptors, getAuthors, getCanEdit, getCategories, getContent, getContributors, getEdited, getEditLink, getEtag, getHandler, getHtmlLink, getId, getKind, getLink, getLinks, getLinks, getPlainTextContent, getPubControl, getPublished, getResumableEditMediaLink, getRights, getSelectedFields, getSelf, getSelfLink, getService, getSource, getSummary, getTextContent, getTitle, getUpdated, getVersionId, isDraft, parseAtom, parseAtom, parseAtom, readEntry, readEntry, removeLinks, removeLinks, setCanEdit, setContent, setContent, setDraft, setEdited, setEtag, setId, setKind, setPubControl, setPublished, setRights, setSelectedFields, setSource, setSummary, setTitle, setUpdated, setVersionId, update, visitChildren
addExtension, addExtension, addRepeatingExtension, addRepeatingExtension, checkRequiredExtensions, createExtensionInstance, generate, generateCumulativeXmlBlob, generateExtensions, generateStartElement, getExtension, getExtensionDescription, getExtensionHandler, getExtensions, getManifest, getRepeatingExtension, getRepeatingExtensions, getXmlBlob, hasExtension, hasRepeatingExtension, initializeArbitraryXml, parseCumulativeXmlBlob, removeExtension, removeExtension, removeRepeatingExtension, setExtension, setXmlBlob, visit, visitChild
consumeAttributes, disableStrictValidation, enableStrictValidation, eq, generateAttributes, getExtensionLocalName, getExtensionNamespace, isImmutable, isStrictValidation, putAttributes, sameClassAs, setImmutable, throwExceptionForMissingAttribute, throwExceptionIfImmutable
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getCanEdit, getContent, getEdited, getEditLink, getPublished, getResumableEditMediaLink, getSelectedFields, getSummary, setCanEdit, setEdited, setPublished, setSelectedFields
addLink, getAuthors, getCategories, getEtag, getId, getKind, getLink, getLinks, getSelfLink, getTitle, getUpdated, getVersionId, removeLinks, removeLinks, setEtag, setId, setKind, setUpdated, setVersionId
public static final java.lang.String KIND
public static final Category CATEGORY
public void declareExtensions(ExtensionProfile extProfile)
ExtensionPoint
declareExtensions
in interface Kind.Adaptor
declareExtensions
in class DocumentListEntry
extProfile
- the ExtensionProfile to initialize.ExtensionProfile.addDeclarations(Kind.Adaptor)
public Changestamp getChangestamp()
public void setChangestamp(Changestamp changestamp)
changestamp
- changestamp or null
to resetpublic boolean hasChangestamp()
public Removed getRemoved()
public void setRemoved(Removed removed)
removed
- removed or null
to resetpublic boolean hasRemoved()
protected void validate()
AbstractExtension
validate
in class AbstractExtension
public java.lang.String toString()
toString
in class java.lang.Object