|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.gdata.data.AbstractExtension
com.google.gdata.data.ExtensionPoint
com.google.gdata.data.BaseEntry<RevisionEntry>
com.google.gdata.data.docs.RevisionEntry
public class RevisionEntry
Defines an entry in a feed of revisions of a document.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.google.gdata.data.BaseEntry |
|---|
BaseEntry.AtomHandler, BaseEntry.EntryState |
| Nested classes/interfaces inherited from class com.google.gdata.data.ExtensionPoint |
|---|
ExtensionPoint.CumulativeBlobHandler, ExtensionPoint.ExtensionHandler |
| Nested classes/interfaces inherited from class com.google.gdata.data.AbstractExtension |
|---|
AbstractExtension.AttributesHandler |
| Field Summary | |
|---|---|
static Category |
CATEGORY
Category used to label revision entries. |
static java.lang.String |
KIND
Kind category term used to label revision entries. |
static java.lang.String |
LABEL
Label for category. |
static java.lang.String |
PUBLISH_NAMESPACE
|
| Fields inherited from class com.google.gdata.data.BaseEntry |
|---|
state |
| Fields inherited from class com.google.gdata.data.ExtensionPoint |
|---|
xmlBlob |
| Fields inherited from class com.google.gdata.data.AbstractExtension |
|---|
localName, namespace |
| Constructor Summary | |
|---|---|
RevisionEntry()
|
|
RevisionEntry(BaseEntry<?> sourceEntry)
|
|
| Method Summary | |
|---|---|
void |
declareExtensions(ExtensionProfile extProfile)
Declares the set of expected Extension types for an ExtensionPoint within the target extension profile. |
java.lang.String |
getMd5Checksum()
Returns the MD5 checksum calculated for the document. |
Person |
getModifyingUser()
|
Link |
getPublishLink()
Returns the publically accessible link for the published revision. |
java.lang.Boolean |
isPublish()
Returns whether the revision is published. |
java.lang.Boolean |
isPublishAuto()
Returns whether changes to the document are automatically re-published. |
java.lang.Boolean |
isPublishOutsideDomain()
Sets whether the document is published outside of its domain. |
void |
setMd5Checksum(java.lang.String md5Checksum)
Set the MD5 checksum calculated for the document. |
void |
setModifyingUser(Person modifyingUser)
Revisions have only one author, the user who modified the document to create that revision. |
void |
setPublish(java.lang.Boolean publish)
Sets whether the revision is published. |
void |
setPublishAuto(java.lang.Boolean publishAuto)
Sets whether changes to the document are automatically re-published. |
void |
setPublishOutsideDomain(java.lang.Boolean publishOutsideDomain)
Sets whether the document is published outside of its domain. |
| Methods inherited from class com.google.gdata.data.BaseEntry |
|---|
addAdaptor, addHtmlLink, addLink, addLink, delete, generate, generateAtom, generateRss, getAdaptedEntry, getAdaptor, getAdaptors, getAuthors, getCanEdit, getCategories, getContent, getContentHandlerInfo, getContributors, getEdited, getEditLink, getEtag, getHandler, getHtmlLink, getId, getKind, getLink, getLinks, getLinks, getMediaEditLink, 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, setService, setSource, setSummary, setTitle, setUpdated, setVersionId, update, visitChildren |
| Methods inherited from class com.google.gdata.data.AbstractExtension |
|---|
consumeAttributes, disableStrictValidation, enableStrictValidation, eq, generateAttributes, getExtensionLocalName, getExtensionNamespace, isImmutable, isStrictValidation, putAttributes, sameClassAs, setImmutable, throwExceptionForMissingAttribute, throwExceptionIfImmutable, validate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String PUBLISH_NAMESPACE
public static final java.lang.String LABEL
public static final java.lang.String KIND
public static final Category CATEGORY
| Constructor Detail |
|---|
public RevisionEntry()
public RevisionEntry(BaseEntry<?> sourceEntry)
| Method Detail |
|---|
public void declareExtensions(ExtensionProfile extProfile)
ExtensionPoint
declareExtensions in interface Kind.AdaptordeclareExtensions in class ExtensionPointextProfile - the ExtensionProfile to initialize.ExtensionProfile.addDeclarations(Kind.Adaptor)public java.lang.String getMd5Checksum()
public void setMd5Checksum(java.lang.String md5Checksum)
md5Checksum - the MD5 checksumpublic void setModifyingUser(Person modifyingUser)
modifyingUser - the user who modified the document/created the revisionpublic Person getModifyingUser()
public Link getPublishLink()
public java.lang.Boolean isPublish()
public void setPublish(java.lang.Boolean publish)
publish - true if revision is publishedpublic java.lang.Boolean isPublishAuto()
public void setPublishAuto(java.lang.Boolean publishAuto)
publishAuto - true if auto re-publishedpublic java.lang.Boolean isPublishOutsideDomain()
public void setPublishOutsideDomain(java.lang.Boolean publishOutsideDomain)
publishOutsideDomain - true if outside domain
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||