|
|
|
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.torweg.pulse.site.content.ContentResult
public class ContentResult
a Result used to display Content.
| Constructor Summary | |
|---|---|
ContentResult(AbstractContentGroup c,
java.util.List<SitemapNode> n, ServiceRequest r)
creates a new ContentResult for the given Content and
ServiceRequest. |
|
ContentResult(Content c, ServiceRequest r)
creates a new ContentResult for the given Content and
ServiceRequest. |
|
| Method Summary | |
|---|---|
protected void |
deserializeChildren(org.jdom.Element jdom)
adds the children of ContentGroups. |
org.jdom.Element |
deserializeToJDOM()
returns a JDOM representation of the Result encapsuling the
Content. |
org.jdom.Element |
deserializeToJDOM(ServiceRequest r)
returns an extended JDOM representation of the Result encapsuling
the Content. |
java.util.List<SitemapNode> |
getChildren()
returns the children. |
Content |
getContent()
returns the content. |
ServiceRequest |
getRequest()
returns the request. |
void |
setChildren(java.util.List<SitemapNode> c)
sets the children. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ContentResult(Content c, ServiceRequest r)
ContentResult for the given Content and
ServiceRequest.
c - the Contentr - the ServiceRequest
public ContentResult(AbstractContentGroup c,
java.util.List<SitemapNode> n, ServiceRequest r)
ContentResult for the given Content and
ServiceRequest.
c - the AbstractContentGroupn - the child SitemapNodesr - the ServiceRequest| Method Detail |
|---|
public final org.jdom.Element deserializeToJDOM()
Result encapsuling the
Content.
deserializeToJDOM in interface JDOMableResult encapsuling the ContentJDOMable.deserializeToJDOM()public org.jdom.Element deserializeToJDOM(ServiceRequest r)
Result encapsuling
the Content.
deserializeToJDOM in interface ExtendedJDOMabler - the current request
Result encapsuling the ContentExtendedJDOMable.deserializeToJDOM(ServiceRequest)public final Content getContent()
public final ServiceRequest getRequest()
public final java.util.List<SitemapNode> getChildren()
public final void setChildren(java.util.List<SitemapNode> c)
c - the children to setprotected void deserializeChildren(org.jdom.Element jdom)
ContentGroups.
jdom - the deserialisation result
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||