|
|
|
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.torweg.pulse.util.entity.AbstractBasicEntity
org.torweg.pulse.util.entity.AbstractNamedEntity
org.torweg.pulse.util.entity.AbstractNamableEntity
org.torweg.pulse.site.content.Content
org.torweg.pulse.site.content.AbstractBasicContent
@MappedSuperclass public abstract class AbstractBasicContent
| Field Summary | |
|---|---|
static java.lang.String |
DEFAULT_SUFFIX
The default suffix of the AbstractBasicContent. |
| Constructor Summary | |
|---|---|
AbstractBasicContent()
|
|
| Method Summary | |
|---|---|
abstract AbstractBasicContent |
createCopy(java.util.Locale l, User u)
overrides Content.createCopy(Locale, User). |
org.jdom.Element |
deserializeToJDOM()
Returns the state of the AbstractBasicContent as a JDOM
Element. |
org.jdom.Element |
deserializeToJDOM(ServiceRequest pServiceRequest)
Returns the state of the AbstractBasicContent as a JDOM
Element. |
java.lang.StringBuilder |
getFullTextValue()
Returns the AbstractBasicContent's textual information as it is
supposed to be supplied for the index. |
java.lang.String |
getKeywords()
Returns the keywords of the AbstractBasicContent. |
java.util.Set<ILinkCorrectableElement> |
getLinkCorrectables()
a set with the Elements to be corrected. |
java.lang.String |
getMetaDescription()
returns the description to be used for mark-up languages with a support for document descriptions, e.g. |
java.lang.String |
getMetaKeywords()
returns the keywords to be used for mark-up languages with a support for document keywords, e.g. |
java.lang.String |
getSuffix()
Returns the suffix of the AbstractBasicContent. |
java.lang.String |
getSummary()
Returns the summary of the AbstractBasicContent. |
org.jdom.Element |
getSummaryElement()
Returns the summary of the AbstractBasicContent as a JDOM
Element. |
java.lang.String |
getTitle()
returns the title to be used for mark-up languages with a support for document titles, e.g. |
void |
setKeywords(java.lang.String pKeywords)
Sets the keywords of the AbstractBasicContent. |
void |
setMetaDescription(java.lang.String md)
sets the keywords to be used for mark-up languages with a support for document descriptions, e.g. |
void |
setMetaKeywords(java.lang.String kw)
sets the keywords to be used for mark-up languages with a support for document keywords, e.g. |
void |
setSuffix(java.lang.String pSuffix)
Sets the suffix of the AbstractBasicContent. |
void |
setSummary(org.jdom.Element pSummaryElement)
Sets the summary of the AbstractBasicContent from a JDOM
Element. |
void |
setTitle(java.lang.String t)
sets the title to be used for mark-up languages with a support for document titles, e.g. |
| Methods inherited from class org.torweg.pulse.util.entity.AbstractNamableEntity |
|---|
setName |
| Methods inherited from class org.torweg.pulse.util.entity.AbstractNamedEntity |
|---|
getName |
| Methods inherited from class org.torweg.pulse.util.entity.AbstractBasicEntity |
|---|
compareTo, getFullQualifiedClassNameJAXB, getId |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.torweg.pulse.util.INameable |
|---|
setName |
| Methods inherited from interface org.torweg.pulse.util.INamed |
|---|
getName |
| Field Detail |
|---|
public static final java.lang.String DEFAULT_SUFFIX
AbstractBasicContent.
| Constructor Detail |
|---|
public AbstractBasicContent()
| Method Detail |
|---|
public final java.lang.String getSummary()
AbstractBasicContent.
AbstractBasicContent.public final void setSummary(org.jdom.Element pSummaryElement)
AbstractBasicContent from a JDOM
Element.
pSummaryElement - the JDOM Element representing the summary to be set.public final org.jdom.Element getSummaryElement()
AbstractBasicContent as a JDOM
Element.
AbstractBasicContent as a JDOM
Element.public final java.lang.String getTitle()
public final void setTitle(java.lang.String t)
t - the title to setpublic final java.lang.String getMetaKeywords()
public final void setMetaKeywords(java.lang.String kw)
kw - the meta keywords to setpublic final java.lang.String getMetaDescription()
public final void setMetaDescription(java.lang.String md)
md - the meta description to setpublic final java.lang.String getSuffix()
AbstractBasicContent.
AbstractBasicContent.public final void setSuffix(java.lang.String pSuffix)
AbstractBasicContent.
If the given String contains at least one /, the part
after its last occurrence will be set as suffix. If the given
String is null, the suffix will be set to
DEFAULTSUFFIX.
pSuffix - the suffix to be set.public final java.lang.String getKeywords()
AbstractBasicContent.
AbstractBasicContent.public final void setKeywords(java.lang.String pKeywords)
AbstractBasicContent.
If the given String is longer than 255 characters, it will be
shortened to a maximum length of 255 characters, ending at the last space
character within this range.
pKeywords - the keywords to be set.public java.lang.StringBuilder getFullTextValue()
AbstractBasicContent's textual information as it is
supposed to be supplied for the index.
Implementing classes may override the method to supply more information for the index.
getFullTextValue in class ContentAbstractBasicContent's textual information as it is
supposed to be supplied for the index.public org.jdom.Element deserializeToJDOM()
AbstractBasicContent as a JDOM
Element.
deserializeToJDOM in interface JDOMableAbstractBasicContent as a JDOM
Element.public org.jdom.Element deserializeToJDOM(ServiceRequest pServiceRequest)
AbstractBasicContent as a JDOM
Element.
deserializeToJDOM in interface ExtendedJDOMablepServiceRequest - the current ServiceRequest or null.
AbstractBasicContent as a JDOM
Element.public abstract AbstractBasicContent createCopy(java.util.Locale l, User u)
Content.createCopy(Locale, User).
createCopy in class Contentl - the locale for the copyu - the user for the copy
AbstractBasicContentpublic java.util.Set<ILinkCorrectableElement> getLinkCorrectables()
ILinkCorretableElements to be corrected.
getLinkCorrectables in interface ILinkCorretableILinkCorrectableElementsILinkCorretable.getLinkCorrectables()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||