public class SidewikiEntry extends BaseEntry<SidewikiEntry>
BaseEntry.AtomHandler, BaseEntry.EntryStateExtensionPoint.CumulativeBlobHandler, ExtensionPoint.ExtensionHandlerAbstractExtension.AttributesHandlerxmlBloblocalName, namespace| Constructor and Description |
|---|
SidewikiEntry()
Default mutable constructor.
|
SidewikiEntry(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.
|
Source |
getEntrySource()
Returns the Sidewiki entry source.
|
Rating |
getRating()
Returns the Entry ratings given by all users and by the user issued the
request.
|
ResourceId |
getResourceId()
Returns the Sidewiki author id.
|
Usefulness |
getUsefulness()
Returns the usefulness of entry.
|
boolean |
hasEntrySource()
Returns whether it has the Sidewiki entry source.
|
boolean |
hasRating()
Returns whether it has the Entry ratings given by all users and by the user
issued the request.
|
boolean |
hasResourceId()
Returns whether it has the Sidewiki author id.
|
boolean |
hasUsefulness()
Returns whether it has the usefulness of entry.
|
void |
setEntrySource(Source entrySource)
Sets the Sidewiki entry source.
|
void |
setRating(Rating rating)
Sets the Entry ratings given by all users and by the user issued the
request.
|
void |
setResourceId(ResourceId resourceId)
Sets the Sidewiki author id.
|
void |
setUsefulness(Usefulness usefulness)
Sets the usefulness of entry.
|
java.lang.String |
toString() |
protected void |
validate()
Checks the attributes to see if there are any problems.
|
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, visitChildrenaddExtension, 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, visitChildconsumeAttributes, disableStrictValidation, enableStrictValidation, eq, generateAttributes, getExtensionLocalName, getExtensionNamespace, isImmutable, isStrictValidation, putAttributes, sameClassAs, setImmutable, throwExceptionForMissingAttribute, throwExceptionIfImmutablepublic void declareExtensions(ExtensionProfile extProfile)
ExtensionPointdeclareExtensions in interface Kind.AdaptordeclareExtensions in class ExtensionPointextProfile - the ExtensionProfile to initialize.ExtensionProfile.addDeclarations(Kind.Adaptor)public Source getEntrySource()
public void setEntrySource(Source entrySource)
entrySource - Sidewiki entry source or null to resetpublic boolean hasEntrySource()
public Rating getRating()
public void setRating(Rating rating)
rating - Entry ratings given by all users and by the user issued the
request or null to resetpublic boolean hasRating()
public ResourceId getResourceId()
public void setResourceId(ResourceId resourceId)
resourceId - Sidewiki author id or null to resetpublic boolean hasResourceId()
public Usefulness getUsefulness()
public void setUsefulness(Usefulness usefulness)
usefulness - usefulness of entry or null to resetpublic boolean hasUsefulness()
protected void validate()
AbstractExtensionvalidate in class AbstractExtensionpublic java.lang.String toString()
toString in class java.lang.Object