|
|
|
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.torweg.pulse.site.content.ContentRegistry
@Entity public class ContentRegistry
The base of the ContentRegistry.
TODO: explain
| Constructor Summary | |
|---|---|
ContentRegistry()
builds a new empty ContentRegistry. |
|
| Method Summary | |
|---|---|
void |
addBundleNode(RegistryBundleNode n)
adds a new Bundle to the ContentRegistry. |
org.jdom.Element |
deserializeToJDOM()
this will deserialize the state of the JDOMable as a JDOM
Element. |
org.jdom.Content |
deserializeToJDOM(ServiceRequest request)
return the ContentRegistry as a JDOM with the action URLs of
all children initialised. |
RegistryBundleNode |
getBundleNode(java.lang.String bundleName)
get the RegistryBundleNode for the named Bundle
. |
long |
getId()
returns the primary key. |
java.util.Set<RegistryBundleNode> |
getRootNodes()
|
void |
setRootNode(java.util.Set<RegistryBundleNode> n)
set the set of RegistryBundleNodes of the
ContentRegistry. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ContentRegistry()
ContentRegistry.
| Method Detail |
|---|
public final void setRootNode(java.util.Set<RegistryBundleNode> n)
RegistryBundleNodes of the
ContentRegistry.
n - the set of RegistryBundleNodespublic final java.util.Set<RegistryBundleNode> getRootNodes()
RegistryBundleNodes of the
ContentRegistrypublic final void addBundleNode(RegistryBundleNode n)
Bundle to the ContentRegistry.
n - the Node of the Bundle to be addedpublic final RegistryBundleNode getBundleNode(java.lang.String bundleName)
RegistryBundleNode for the named Bundle
.
bundleName - the name of the Bundle
RegistryBundleNode for the named
Bundle, or null, if no matching
RegistryBundleNode could be found in the
ContentRegistrypublic final long getId()
id of the ContentRegistrypublic final org.jdom.Element deserializeToJDOM()
JDOMableJDOMable as a JDOM
Element.
deserializeToJDOM in interface JDOMableContentRegistry as an Elementpublic org.jdom.Content deserializeToJDOM(ServiceRequest request)
ContentRegistry as a JDOM with the action URLs of
all children initialised.
request - the current request
ContentRegistry as a JDOM with the action URLs
of all children initialised.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||