|
|
|
|
|
||||||||||
| 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
org.torweg.pulse.site.content.URLContent
@Entity public class URLContent
An URLContent represents a Content which simply
provides a URL, e.g. for providing an external link via the menu.
| Field Summary |
|---|
| Fields inherited from class org.torweg.pulse.site.content.AbstractBasicContent |
|---|
DEFAULT_SUFFIX |
| Constructor Summary | |
|---|---|
protected |
URLContent()
Default constructor. |
|
URLContent(java.util.Locale locale, Bundle bundle)
Creates a URLContent with the given Locale and
the given Bundle. |
|
URLContent(java.lang.String name,
java.util.Locale locale, Bundle bundle)
Creates a URLContent with the given Locale and
the given Bundle. |
| Method Summary | |
|---|---|
URLContent |
createCopy(java.util.Locale l, User u)
Creates a copy of the URLContent with the given
Locale. |
org.jdom.Element |
deserializeToJDOM()
Deserialises the state of the URLContent as a JDOM
Element. |
org.jdom.Element |
deserializeToJDOM(ServiceRequest request)
Deserialises the state of the URLContent as a JDOM
Element building access URLs based on the
current request. |
java.lang.String |
getUrl()
Returns the URL of the URLContent. |
boolean |
isGroup()
Determines whether this Contentis a group. |
void |
onVirtualFileSystemChange(VirtualFile f)
Is called by the VirtualFileSystem, if any associated
VirtualFiles have been moved in the file system. |
void |
setUrl(java.lang.String urlString)
Sets the URL of the URLContent. |
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 |
|---|
getFullTextValue, getKeywords, getLinkCorrectables, getMetaDescription, getMetaKeywords, getSuffix, getSummary, getSummaryElement, getTitle, setKeywords, setMetaDescription, setMetaKeywords, setSuffix, setSummary, setTitle |
| 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 |
| Constructor Detail |
|---|
protected URLContent()
public URLContent(java.util.Locale locale, Bundle bundle)
URLContent with the given Locale and
the given Bundle.
locale - the Localebundle - the Bundle
public URLContent(java.lang.String name,
java.util.Locale locale, Bundle bundle)
URLContent with the given Locale and
the given Bundle.
name - the namelocale - the Localebundle - the Bundle| Method Detail |
|---|
public final java.lang.String getUrl()
URLContent.
URLContentpublic final void setUrl(java.lang.String urlString)
URLContent.
urlString - the URL to setpublic boolean isGroup()
Contentis a group.
isGroup in class Contentfalse always.Content.isGroup()public URLContent createCopy(java.util.Locale l, User u)
URLContent with the given
Locale.
createCopy in class AbstractBasicContentl - the Localeu - the User to be used as the creator/last modifier
of the copied Content
URLContent, the created copypublic final void updateAssociatedVirtualFiles()
VirtualFiles.
updateAssociatedVirtualFiles in class Contentpublic final void onVirtualFileSystemChange(VirtualFile f)
VirtualFileSystem, if any associated
VirtualFiles have been moved in the file system.
onVirtualFileSystemChange in class Contentf - the files that have been moved.Content.onVirtualFileSystemChange(VirtualFile)public final org.jdom.Element deserializeToJDOM()
URLContent as a JDOM
Element.
deserializeToJDOM in interface JDOMabledeserializeToJDOM in class AbstractBasicContentURLContent as a JDOM
Elementpublic final org.jdom.Element deserializeToJDOM(ServiceRequest request)
URLContent as a JDOM
Element building access URLs based on the
current request.
deserializeToJDOM in interface ExtendedJDOMabledeserializeToJDOM in class AbstractBasicContentrequest - the current ServiceRequest
URLContent as a JDOM
Element
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||