|
|
|
|
|
||||||||||
| 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.Node
org.torweg.pulse.site.content.AbstractRegistryNode
org.torweg.pulse.site.content.RegistryLocaleNode
@Entity public class RegistryLocaleNode
a subdivision of the ContentRegistry representing a Locale.
These RegistryLocaleNodes are used internally for structuring
purposes.
| Field Summary |
|---|
| Fields inherited from class org.torweg.pulse.site.content.AbstractRegistryNode |
|---|
LOGGER |
| Constructor Summary | |
|---|---|
protected |
RegistryLocaleNode()
Deprecated. |
|
RegistryLocaleNode(java.util.Locale l)
creates a new RegistryLocaleNode with the given Locale. |
| Method Summary | ||
|---|---|---|
void |
addChild(int pos, Node n)
adds a child to the children list at the given position. |
|
void |
addChild(Node n)
adds a child to the children list. |
|
org.jdom.Element |
deserializeToJDOM(ServiceRequest req)
serializes the RegistryLocaleNode to JDOM. |
|
java.util.Map<java.lang.String,java.lang.String> |
getActionURLs(ServiceRequest req)
returns the createFolder action URL. |
|
java.lang.String |
getDisabledActions()
returns MOVE.EDIT.REMOVE:ENABLE_CREATEFOLDER. |
|
java.util.Locale |
getLocale()
|
|
|
setChildren(java.util.List<E> nodeList)
sets the children list. |
|
void |
setLocale(java.util.Locale l)
sets the Locale for the RegistryLocaleNode. |
|
net.sf.json.JSONObject |
toJSON()
/** returns a JSONObject representation of the RegistryBundleNode. |
|
| Methods inherited from class org.torweg.pulse.site.content.AbstractRegistryNode |
|---|
deserializeToJDOM, getBundle, getChildByName, getName, getPathBuilder, setBundle, setName |
| Methods inherited from class org.torweg.pulse.util.entity.Node |
|---|
getChild, getChildIndex, getChildren, getParent, hasChildren, removeChild |
| Methods inherited from class org.torweg.pulse.util.entity.AbstractBasicEntity |
|---|
compareTo, equals, getFullQualifiedClassNameJAXB, getId, hashCode |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
@Deprecated protected RegistryLocaleNode()
public RegistryLocaleNode(java.util.Locale l)
RegistryLocaleNode with the given Locale.
l - the Locale of the node| Method Detail |
|---|
public final void setLocale(java.util.Locale l)
Locale for the RegistryLocaleNode.
l - the Locale to be setpublic final java.util.Locale getLocale()
public void addChild(int pos, Node n)
If the child is an instance of RegistryLocaleNode, its Locale is checked to equal the RegistryLocaleNode's Locale.
addChild in class AbstractRegistryNodepos - the positionn - the nodeNode.addChild(int, Node)public void addChild(Node n)
If the child is an instance of RegistryLocaleNode, its Locale is checked to equal the RegistryLocaleNode's Locale.
addChild in class AbstractRegistryNoden - the nodeNode.addChild(Node)public <E extends Node> void setChildren(java.util.List<E> nodeList)
If a child is an instance of RegistryLocaleNode, its Locale is checked to equal the RegistryLocaleNode's Locale.
setChildren in class AbstractRegistryNodeE - extends NodenodeList - the list of childrenNode.setChildren(List)public org.jdom.Element deserializeToJDOM(ServiceRequest req)
RegistryLocaleNode to JDOM.
deserializeToJDOM in class AbstractRegistryNodereq - the current request
Element representing the RegistryBundleNode.public java.lang.String getDisabledActions()
MOVE.EDIT.REMOVE:ENABLE_CREATEFOLDER.
getDisabledActions in class AbstractRegistryNodeMOVE.EDIT.REMOVE:ENABLE_CREATEFOLDERpublic java.util.Map<java.lang.String,java.lang.String> getActionURLs(ServiceRequest req)
createFolder action URL.
getActionURLs in class AbstractRegistryNodereq - the current request
createFolder action URLpublic net.sf.json.JSONObject toJSON()
JSONObject representation of the RegistryBundleNode.
toJSON in class AbstractRegistryNodeJSONObject representation of the RegistryBundleNode
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||