public class AnnouncementsPageEntry extends BasePageEntry<AnnouncementsPageEntry>
BaseEntry.AtomHandler, BaseEntry.EntryState
ExtensionPoint.CumulativeBlobHandler, ExtensionPoint.ExtensionHandler
AbstractExtension.AttributesHandler
Modifier and Type | Field and Description |
---|---|
static Category |
CATEGORY
Announcementspage announcements page kind kind category.
|
static java.lang.String |
KIND
Announcementspage announcements page kind kind term value.
|
xmlBlob
localName, namespace
Constructor and Description |
---|
AnnouncementsPageEntry()
Default mutable constructor.
|
AnnouncementsPageEntry(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.
|
Link |
getAtomAttachmentsLink()
Returns the attachments sites link.
|
Link |
getAtomRepliesLink()
Returns the replies sites link.
|
FeedLink |
getFeedLink()
Returns the A feedLink element representing the feed for announcements in
this page.
|
Link |
getHtmlAttachmentsLink()
Returns the attachments sites link.
|
Link |
getHtmlRepliesLink()
Returns the replies sites link.
|
Link |
getParentLink()
Returns the parent sites link.
|
boolean |
hasFeedLink()
Returns whether it has the A feedLink element representing the feed for
announcements in this page.
|
void |
setFeedLink(FeedLink feedLink)
Sets the A feedLink element representing the feed for announcements in this
page.
|
java.lang.String |
toString() |
protected void |
validate()
Checks the attributes to see if there are any problems.
|
getPageName, getTemplateLink, hasPageName, setPageName
getBatchId, getBatchInterrupted, getBatchOperation, getBatchStatus, getDeleted, getEntryPostLink, getPublisher, getRevision, getRevisionLink, hasBatchId, hasBatchInterrupted, hasBatchOperation, hasBatchStatus, hasDeleted, hasPublisher, hasRevision, setBatchId, setBatchInterrupted, setBatchOperation, setBatchStatus, setDeleted, setPublisher, setRevision
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 AnnouncementsPageEntry()
public void declareExtensions(ExtensionProfile extProfile)
ExtensionPoint
declareExtensions
in interface Kind.Adaptor
declareExtensions
in class BasePageEntry<AnnouncementsPageEntry>
extProfile
- the ExtensionProfile to initialize.ExtensionProfile.addDeclarations(Kind.Adaptor)
public FeedLink getFeedLink()
public void setFeedLink(FeedLink feedLink)
feedLink
- A feedLink element representing the feed for announcements
in this page or null
to resetpublic boolean hasFeedLink()
public Link getAtomAttachmentsLink()
null
for none.public Link getAtomRepliesLink()
null
for none.public Link getHtmlAttachmentsLink()
null
for none.public Link getHtmlRepliesLink()
null
for none.public Link getParentLink()
null
for none.protected void validate()
AbstractExtension
validate
in class BasePageEntry<AnnouncementsPageEntry>
public java.lang.String toString()
toString
in class BasePageEntry<AnnouncementsPageEntry>