org.torweg.pulse.site.content
Class ContentGroup
java.lang.Object
org.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
org.torweg.pulse.site.content.AbstractSummaryDescriptionContent
org.torweg.pulse.site.content.AbstractContentGroup
org.torweg.pulse.site.content.ContentGroup
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<Content>, ExtendedJDOMable, JDOMable, ILinkCorretable, INameable, INamed
@Entity
public final class ContentGroup
- extends AbstractContentGroup
Is used for displaying content-overview-pages (content-group).
- Version:
- $Revision: 1398 $
- Author:
- Christian Schatt, Daniel Dietz
- See Also:
- Serialized Form
|
Constructor Summary |
ContentGroup()
Deprecated. |
ContentGroup(java.util.Locale locale, Bundle bundle)
The Constructor that sets the Locale and the
Bundle of the ContentGroup. |
|
Method Summary |
ContentGroup |
createCopy(java.util.Locale l, User u)
creates and returns a non-persistent (therefore id = null) copy of the
current ContentGroup with a given Locale. |
void |
onVirtualFileSystemChange(VirtualFile file)
method which gets called by the VirtualFileSystem, if any of
the associated VirtualFiles has been moved in the file
system. |
void |
updateAssociatedVirtualFiles()
is called by the editors upon save actions to update the list of
associated VirtualFiles. |
| Methods inherited from class org.torweg.pulse.site.content.AbstractBasicContent |
getKeywords, getMetaDescription, getMetaKeywords, getSuffix, getSummary, getSummaryElement, getTitle, setKeywords, setMetaDescription, setMetaKeywords, setSuffix, setSummary, setTitle |
| Methods inherited from class org.torweg.pulse.site.content.Content |
compareTo, equals, getAssociatedViews, getAssociatedVirtualFiles, getAttachments, getBundle, getCreated, getCreatedMillis, getCreator, getLastModified, getLastModifier, getLocale, getLocalizationMap, getLocalizationMapJAXB, getReferenceDuration, getViewTypes, hashCode, hasReferenceDuration, initLazyFields, initLazyImageGroups, initLazyVariants, processHTML, removeReferenceDuration, setAssociatedVirtualFiles, setAttachments, setBundle, setCreator, setLastModifier, setLocale, setLocalizationMap, setReferenceDuration, toString, updateHTML, updateLocalizationMap |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.torweg.pulse.util.INamed |
getName |
ContentGroup
@Deprecated
public ContentGroup()
- Deprecated.
- used for HibernateTM.
ContentGroup
public ContentGroup(java.util.Locale locale, Bundle bundle)
- The
Constructor that sets the Locale and the
Bundle of the ContentGroup.
- Parameters:
bundle - the Bundle to be setlocale - the Locale to be set
onVirtualFileSystemChange
public void onVirtualFileSystemChange(VirtualFile file)
- method which gets called by the
VirtualFileSystem, if any of
the associated VirtualFiles has been moved in the file
system.
- Specified by:
onVirtualFileSystemChange in class Content
- Parameters:
file - the affected file
updateAssociatedVirtualFiles
public void updateAssociatedVirtualFiles()
- is called by the editors upon save actions to update the list of
associated
VirtualFiles.
- Specified by:
updateAssociatedVirtualFiles in class Content
createCopy
public ContentGroup createCopy(java.util.Locale l, User u)
- creates and returns a non-persistent (therefore id = null) copy of the
current
ContentGroup with a given Locale.
- Specified by:
createCopy in class AbstractBasicContent
- Parameters:
l - the Locale to use for the the copyu - the User to be used as the creator/last modifier
of the copied Content
- Returns:
- a copy of this
ContentGroup