org.infoglue.cms.controllers.usecases.structuretool.impl.simple
Class ViewSiteNodeTreeUCCImpl

java.lang.Object
  |
  +--org.infoglue.cms.controllers.kernel.impl.simple.BaseUCCController
        |
        +--org.infoglue.cms.controllers.usecases.structuretool.impl.simple.ViewSiteNodeTreeUCCImpl
All Implemented Interfaces:
ViewSiteNodeTreeUCC

public class ViewSiteNodeTreeUCCImpl
extends BaseUCCController
implements ViewSiteNodeTreeUCC


Constructor Summary
ViewSiteNodeTreeUCCImpl()
           
 
Method Summary
 SiteNodeVO getRootSiteNode(java.lang.Integer repositoryId, InfoGluePrincipal infoGluePrincipal)
          This method fetches the root siteNode for a particular repository.
 SiteNodeVO getSiteNode(java.lang.Integer siteNodeId)
           
 java.util.List getSiteNodeChildren(java.lang.Integer parentSiteNodeId)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ViewSiteNodeTreeUCCImpl

public ViewSiteNodeTreeUCCImpl()
Method Detail

getRootSiteNode

public SiteNodeVO getRootSiteNode(java.lang.Integer repositoryId,
                                  InfoGluePrincipal infoGluePrincipal)
                           throws ConstraintException,
                                  SystemException
This method fetches the root siteNode for a particular repository. If there is no such siteNode we create one as all repositories need one to work.

Specified by:
getRootSiteNode in interface ViewSiteNodeTreeUCC
ConstraintException
SystemException

getSiteNode

public SiteNodeVO getSiteNode(java.lang.Integer siteNodeId)
                       throws ConstraintException,
                              SystemException
Specified by:
getSiteNode in interface ViewSiteNodeTreeUCC
ConstraintException
SystemException

getSiteNodeChildren

public java.util.List getSiteNodeChildren(java.lang.Integer parentSiteNodeId)
                                   throws ConstraintException,
                                          SystemException
Specified by:
getSiteNodeChildren in interface ViewSiteNodeTreeUCC
ConstraintException
SystemException