org.infoglue.cms.treeservice
Class SiteNodeService
java.lang.Object
|
+--javax.servlet.GenericServlet
|
+--javax.servlet.http.HttpServlet
|
+--org.infoglue.cms.treeservice.JServiceBuilder
|
+--org.infoglue.cms.treeservice.SiteNodeService
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
- public class SiteNodeService
- extends JServiceBuilder
- See Also:
- Serialized Form
| Methods inherited from class javax.servlet.http.HttpServlet |
service |
| Methods inherited from class javax.servlet.GenericServlet |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SiteNodeService
public SiteNodeService()
init
public void init(javax.servlet.ServletConfig config)
throws javax.servlet.ServletException
- Specified by:
init in interface javax.servlet.Servlet- Overrides:
init in class JServiceBuilder
javax.servlet.ServletException
execute
public CommunicationEnvelope execute(CommunicationEnvelope envelope)
- Specified by:
execute in class JServiceBuilder
getRootSiteNode
public CommunicationEnvelope getRootSiteNode(CommunicationEnvelope envelope)
- This method fetches the root SiteNode of this site
getSiteNode
public CommunicationEnvelope getSiteNode(CommunicationEnvelope envelope)
- This method fetches the SiteNode with the given id
getChildSiteNodes
public CommunicationEnvelope getChildSiteNodes(CommunicationEnvelope envelope)
- This method fetches the root SiteNode of this site
getInfoGluePrincipal
public InfoGluePrincipal getInfoGluePrincipal()
- This method returns a logged in principal if existing.