pulse - the web application framework Get pulse at SourceForge.net. Fast, secure and Free Open Source software downloads Ohloh project report for pulse-java

org.torweg.pulse.site.content
Class AbstractSummaryDescriptionVariant<T extends AbstractSummaryDescriptionVariant<T>>

java.lang.Object
  extended by org.torweg.pulse.util.entity.AbstractBasicEntity
      extended by org.torweg.pulse.util.entity.AbstractNamedEntity
          extended by org.torweg.pulse.util.entity.AbstractNamableEntity
              extended by org.torweg.pulse.site.content.Variant<T>
                  extended by org.torweg.pulse.site.content.AbstractBasicVariant<T>
                      extended by org.torweg.pulse.site.content.AbstractSummaryDescriptionVariant<T>
Type Parameters:
T - the actual implementation
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<T>, ExtendedJDOMable, JDOMable, IHasVariants, ILinkCorretable, INameable, INamed
Direct Known Subclasses:
StoreVariant

@MappedSuperclass
public abstract class AbstractSummaryDescriptionVariant<T extends AbstractSummaryDescriptionVariant<T>>
extends AbstractBasicVariant<T>

Version:
$Revision: 1984 $
Author:
Thomas Weber
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.torweg.pulse.site.content.Variant
LOGGER
 
Constructor Summary
AbstractSummaryDescriptionVariant()
           
 
Method Summary
 java.lang.String getDescription()
          Returns the description of the AbstractSummaryDescriptionContent.
 org.jdom.Element getDescriptionElement()
          Returns the description of the AbstractSummaryDescriptionContent as a JDOM Element.
 java.lang.StringBuilder getFullTextValue()
          Returns the AbstractSummaryDescriptionVariant<T>'s textual information as it is supposed to be supplied for the index.
 java.util.Set<ILinkCorrectableElement> getLinkCorrectables()
          a set with the Elements to be corrected.
 void setDescription(org.jdom.Element pDescription)
          Sets the description of the AbstractSummaryDescriptionContent from a JDOM Element.
 
Methods inherited from class org.torweg.pulse.site.content.AbstractBasicVariant
deserializeToJDOM, deserializeToJDOM, getContent, getSummary, getSummaryElement, setContent, setSummary
 
Methods inherited from class org.torweg.pulse.site.content.Variant
addVariant, compareTo, createCopy, equals, getAssociatedVirtualFiles, getAttachments, getParentVariant, getVariants, hashCode, onVirtualFileSystemChange, processHTML, removeVariant, setAssociatedVirtualFiles, setAttachments, setVariants, updateHTML
 
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, toString, wait, wait, wait
 
Methods inherited from interface org.torweg.pulse.util.INamed
getName
 

Constructor Detail

AbstractSummaryDescriptionVariant

public AbstractSummaryDescriptionVariant()
Method Detail

getDescription

public final java.lang.String getDescription()
Returns the description of the AbstractSummaryDescriptionContent.

Returns:
the description of the AbstractSummaryDescriptionContent

setDescription

public final void setDescription(org.jdom.Element pDescription)
Sets the description of the AbstractSummaryDescriptionContent from a JDOM Element.

Parameters:
pDescription - the JDOM Element representing the description to be set.

getDescriptionElement

public final org.jdom.Element getDescriptionElement()
Returns the description of the AbstractSummaryDescriptionContent as a JDOM Element.

Returns:
the description of the AbstractSummaryDescriptionContent as a JDOM Element.

getFullTextValue

public java.lang.StringBuilder getFullTextValue()
Returns the AbstractSummaryDescriptionVariant<T>'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.

Overrides:
getFullTextValue in class AbstractBasicVariant<T extends AbstractSummaryDescriptionVariant<T>>
Returns:
the AbstractSummaryDescriptionVariant<T>'s textual information as it is supposed to be supplied for the index.

getLinkCorrectables

public java.util.Set<ILinkCorrectableElement> getLinkCorrectables()
Description copied from interface: ILinkCorretable
a set with the Elements to be corrected.

Specified by:
getLinkCorrectables in interface ILinkCorretable
Overrides:
getLinkCorrectables in class AbstractBasicVariant<T extends AbstractSummaryDescriptionVariant<T>>
Returns:
the set of ILinkCorrectableElements
See Also:
AbstractBasicContent.getLinkCorrectables()