|
|||||||||
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<ArchiveEntry>
com.google.gdata.data.docs.ArchiveEntry
public class ArchiveEntry
Describes an Archive entry.
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
Archive kind category. |
static java.lang.String |
KIND
Archive kind term value. |
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 | |
---|---|
ArchiveEntry()
Default mutable constructor. |
|
ArchiveEntry(BaseEntry<?> sourceEntry)
Constructs a new instance by doing a shallow copy of data from an existing BaseEntry instance. |
Method Summary | |
---|---|
void |
addArchiveConversion(ArchiveConversion archiveConversion)
Adds a new archive conversion. |
void |
addArchiveFailure(ArchiveFailure archiveFailure)
Adds a new archive failure. |
void |
addArchiveResourceId(ArchiveResourceId archiveResourceId)
Adds a new archive resource id. |
void |
declareExtensions(ExtensionProfile extProfile)
Declares the set of expected Extension types for an ExtensionPoint within the target extension profile. |
ArchiveComplete |
getArchiveComplete()
Returns the archive complete. |
java.util.List<ArchiveConversion> |
getArchiveConversions()
Returns the archive conversions. |
java.util.List<ArchiveFailure> |
getArchiveFailures()
Returns the archive failures. |
ArchiveNotify |
getArchiveNotify()
Returns the archive notify. |
ArchiveNotifyStatus |
getArchiveNotifyStatus()
Returns the archive notify status. |
java.util.List<ArchiveResourceId> |
getArchiveResourceIds()
Returns the archive resource ids. |
ArchiveStatus |
getArchiveStatus()
Returns the archive status. |
ArchiveTotal |
getArchiveTotal()
Returns the archive total. |
ArchiveTotalComplete |
getArchiveTotalComplete()
Returns the archive total complete. |
ArchiveTotalFailure |
getArchiveTotalFailure()
Returns the archive total failure. |
QuotaBytesUsed |
getQuotaBytesUsed()
Returns the quota bytes used. |
boolean |
hasArchiveComplete()
Returns whether it has the archive complete. |
boolean |
hasArchiveConversions()
Returns whether it has the archive conversions. |
boolean |
hasArchiveFailures()
Returns whether it has the archive failures. |
boolean |
hasArchiveNotify()
Returns whether it has the archive notify. |
boolean |
hasArchiveNotifyStatus()
Returns whether it has the archive notify status. |
boolean |
hasArchiveResourceIds()
Returns whether it has the archive resource ids. |
boolean |
hasArchiveStatus()
Returns whether it has the archive status. |
boolean |
hasArchiveTotal()
Returns whether it has the archive total. |
boolean |
hasArchiveTotalComplete()
Returns whether it has the archive total complete. |
boolean |
hasArchiveTotalFailure()
Returns whether it has the archive total failure. |
boolean |
hasQuotaBytesUsed()
Returns whether it has the quota bytes used. |
void |
setArchiveComplete(ArchiveComplete archiveComplete)
Sets the archive complete. |
void |
setArchiveNotify(ArchiveNotify archiveNotify)
Sets the archive notify. |
void |
setArchiveNotifyStatus(ArchiveNotifyStatus archiveNotifyStatus)
Sets the archive notify status. |
void |
setArchiveStatus(ArchiveStatus archiveStatus)
Sets the archive status. |
void |
setArchiveTotal(ArchiveTotal archiveTotal)
Sets the archive total. |
void |
setArchiveTotalComplete(ArchiveTotalComplete archiveTotalComplete)
Sets the archive total complete. |
void |
setArchiveTotalFailure(ArchiveTotalFailure archiveTotalFailure)
Sets the archive total failure. |
void |
setQuotaBytesUsed(QuotaBytesUsed quotaBytesUsed)
Sets the quota bytes used. |
java.lang.String |
toString()
|
protected void |
validate()
Checks the attributes to see if there are any problems. |
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String KIND
public static final Category CATEGORY
Constructor Detail |
---|
public ArchiveEntry()
public ArchiveEntry(BaseEntry<?> sourceEntry)
BaseEntry
instance.
sourceEntry
- source entryMethod Detail |
---|
public void declareExtensions(ExtensionProfile extProfile)
ExtensionPoint
declareExtensions
in interface Kind.Adaptor
declareExtensions
in class ExtensionPoint
extProfile
- the ExtensionProfile to initialize.ExtensionProfile.addDeclarations(Kind.Adaptor)
public ArchiveComplete getArchiveComplete()
public void setArchiveComplete(ArchiveComplete archiveComplete)
archiveComplete
- archive complete or null
to resetpublic boolean hasArchiveComplete()
public java.util.List<ArchiveConversion> getArchiveConversions()
public void addArchiveConversion(ArchiveConversion archiveConversion)
archiveConversion
- archive conversionpublic boolean hasArchiveConversions()
public java.util.List<ArchiveFailure> getArchiveFailures()
public void addArchiveFailure(ArchiveFailure archiveFailure)
archiveFailure
- archive failurepublic boolean hasArchiveFailures()
public ArchiveNotify getArchiveNotify()
public void setArchiveNotify(ArchiveNotify archiveNotify)
archiveNotify
- archive notify or null
to resetpublic boolean hasArchiveNotify()
public ArchiveNotifyStatus getArchiveNotifyStatus()
public void setArchiveNotifyStatus(ArchiveNotifyStatus archiveNotifyStatus)
archiveNotifyStatus
- archive notify status or null
to
resetpublic boolean hasArchiveNotifyStatus()
public java.util.List<ArchiveResourceId> getArchiveResourceIds()
public void addArchiveResourceId(ArchiveResourceId archiveResourceId)
archiveResourceId
- archive resource idpublic boolean hasArchiveResourceIds()
public ArchiveStatus getArchiveStatus()
public void setArchiveStatus(ArchiveStatus archiveStatus)
archiveStatus
- archive status or null
to resetpublic boolean hasArchiveStatus()
public ArchiveTotal getArchiveTotal()
public void setArchiveTotal(ArchiveTotal archiveTotal)
archiveTotal
- archive total or null
to resetpublic boolean hasArchiveTotal()
public ArchiveTotalComplete getArchiveTotalComplete()
public void setArchiveTotalComplete(ArchiveTotalComplete archiveTotalComplete)
archiveTotalComplete
- archive total complete or null
to
resetpublic boolean hasArchiveTotalComplete()
public ArchiveTotalFailure getArchiveTotalFailure()
public void setArchiveTotalFailure(ArchiveTotalFailure archiveTotalFailure)
archiveTotalFailure
- archive total failure or null
to
resetpublic boolean hasArchiveTotalFailure()
public QuotaBytesUsed getQuotaBytesUsed()
public void setQuotaBytesUsed(QuotaBytesUsed quotaBytesUsed)
quotaBytesUsed
- quota bytes used or null
to resetpublic boolean hasQuotaBytesUsed()
protected void validate()
AbstractExtension
validate
in class AbstractExtension
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |