org.infoglue.deliver.controllers.kernel.impl.simple
Class NodeDeliveryController

java.lang.Object
  |
  +--org.infoglue.deliver.controllers.kernel.impl.simple.BaseDeliveryController
        |
        +--org.infoglue.deliver.controllers.kernel.impl.simple.NodeDeliveryController

public class NodeDeliveryController
extends BaseDeliveryController


Method Summary
 SiteNodeVersion getActiveSiteNodeVersion(java.lang.Integer siteNodeId, org.exolab.castor.jdo.Database db)
          This method gets the appropriate siteNodeVersion
 SiteNodeVersionVO getActiveSiteNodeVersionVO(org.exolab.castor.jdo.Database db, java.lang.Integer siteNodeId)
          This method gets the appropriate siteNodeVersion
 ContentVO getBoundContent(org.exolab.castor.jdo.Database db, InfoGluePrincipal infoGluePrincipal, java.lang.Integer siteNodeId, java.lang.Integer languageId, boolean useLanguageFallback, java.lang.String availableServiceBindingName, boolean inheritParentBindings, boolean includeFolders, DeliveryContext deliveryContext)
          This method return a single content bound.
 ContentVO getBoundContent(org.exolab.castor.jdo.Database db, InfoGluePrincipal infoGluePrincipal, java.lang.Integer siteNodeId, java.lang.Integer languageId, boolean useLanguageFallback, java.lang.String availableServiceBindingName, boolean inheritParentBindings, DeliveryContext deliveryContext)
          This method return a single content bound.
 ContentVO getBoundContent(org.exolab.castor.jdo.Database db, InfoGluePrincipal infoGluePrincipal, java.lang.Integer siteNodeId, java.lang.Integer languageId, boolean useLanguageFallback, java.lang.String availableServiceBindingName, DeliveryContext deliveryContext)
          This method return a single content bound.
 ContentVO getBoundContent(InfoGluePrincipal infoGluePrincipal, java.lang.Integer siteNodeId, java.lang.Integer languageId, boolean useLanguageFallback, java.lang.String availableServiceBindingName, DeliveryContext deliveryContext)
          This method return a single content bound.
 java.util.List getBoundContents(org.exolab.castor.jdo.Database db, InfoGluePrincipal infoGluePrincipal, java.lang.Integer siteNodeId, java.lang.Integer languageId, boolean useLanguageFallback, java.lang.String availableServiceBindingName, boolean inheritParentBindings, boolean includeFolders, DeliveryContext deliveryContext)
          This method returns a list of contents bound to the named availableServiceBinding.
 java.util.List getBoundFolderContents(org.exolab.castor.jdo.Database db, InfoGluePrincipal infoGluePrincipal, java.lang.Integer contentId, java.lang.Integer languageId, boolean searchRecursive, java.lang.Integer maximumNumberOfLevels, java.lang.String sortAttribute, java.lang.String sortOrder, boolean useLanguageFallback, boolean includeFolders, DeliveryContext deliveryContext)
          This method returns a list of children to the bound content with the named availableServiceBindingName.
 java.util.List getBoundFolderContents(org.exolab.castor.jdo.Database db, InfoGluePrincipal infoGluePrincipal, java.lang.Integer siteNodeId, java.lang.Integer languageId, java.lang.String availableServiceBindingName, boolean searchRecursive, java.lang.Integer maximumNumberOfLevels, java.lang.String sortAttribute, java.lang.String sortOrder, boolean useLanguageFallback, boolean includeFolders, DeliveryContext deliveryContext)
          This method returns a list of children to the bound content with the named availableServiceBindingName.
 SiteNodeVO getBoundSiteNode(org.exolab.castor.jdo.Database db, java.lang.Integer siteNodeId, java.lang.String availableServiceBindingName)
          This method return a single siteNode bound.
 SiteNodeVO getBoundSiteNode(org.exolab.castor.jdo.Database db, java.lang.Integer siteNodeId, java.lang.String availableServiceBindingName, int position)
          This method return a single siteNode bound.
 java.util.List getBoundSiteNodes(org.exolab.castor.jdo.Database db, java.lang.Integer siteNodeId, java.lang.String availableServiceBindingName)
          This method should be rewritten later....
 java.util.List getChildSiteNodes(org.exolab.castor.jdo.Database db, java.lang.Integer siteNodeId)
          This method returns the list of siteNodeVO which is children to this one.
 ServiceDefinitionVO getInheritedServiceDefinition(java.util.List qualifyerList, java.lang.Integer siteNodeId, AvailableServiceBindingVO availableServiceBindingVO, org.exolab.castor.jdo.Database db, boolean inheritParentBindings)
          This method checks if there is a serviceBinding with the name on this or any parent node.
 boolean getIsEditOnSightDisabled(org.exolab.castor.jdo.Database db, java.lang.Integer siteNodeId)
          This method returns true if the if the page in question (ie sitenode) has editOnSight disabled.
 boolean getIsPageCacheDisabled(org.exolab.castor.jdo.Database db, java.lang.Integer siteNodeId)
          This method returns true if the if the page in question (ie sitenode) has page-caching disabled.
 boolean getIsPageProtected(org.exolab.castor.jdo.Database db, java.lang.Integer siteNodeId)
          This method returns true if the if the page in question (ie sitenode) is protected byt the exctranet fnctionality.
 SiteNodeVersion getLatestActiveSiteNodeVersion(java.lang.Integer siteNodeId, org.exolab.castor.jdo.Database db)
          This method returns the latest sitenodeVersion there is for the given siteNode.
 SiteNodeVersionVO getLatestActiveSiteNodeVersionVO(org.exolab.castor.jdo.Database db, java.lang.Integer siteNodeId)
          This method returns the latest sitenodeVersion there is for the given siteNode.
 java.lang.Integer getMetaInfoContentId(org.exolab.castor.jdo.Database db, InfoGluePrincipal infoGluePrincipal, java.lang.Integer siteNodeId, java.lang.String metaBindingName, boolean inheritParentBindings, DeliveryContext deliveryContext)
          This method returns the contentId of the bound metainfo-content to the given page.
static NodeDeliveryController getNodeDeliveryController(DeliveryContext deliveryContext)
          Factory method
static NodeDeliveryController getNodeDeliveryController(java.lang.Integer siteNodeId, java.lang.Integer languageId, java.lang.Integer contentId)
          Factory method
 java.lang.String getPageBaseUrl(org.exolab.castor.jdo.Database db)
          This method returns a url to the delivery engine
 java.lang.String getPageNavigationPath(org.exolab.castor.jdo.Database db, InfoGluePrincipal infogluePrincipal, java.lang.Integer siteNodeId, java.lang.Integer languageId, java.lang.Integer contentId, DeliveryContext deliveryContext)
           
 java.lang.String getPageNavigationTitle(org.exolab.castor.jdo.Database db, InfoGluePrincipal infoGluePrincipal, java.lang.Integer siteNodeId, java.lang.Integer languageId, java.lang.Integer contentId, java.lang.String metaBindingName, java.lang.String attributeName, boolean useLanguageFallback, DeliveryContext deliveryContext)
          This method returns the navigation-title to the given page.
 java.lang.String getPagePath(org.exolab.castor.jdo.Database db, InfoGluePrincipal infoGluePrincipal, java.lang.Integer siteNodeId, java.lang.Integer languageId, java.lang.Integer contentId, java.lang.String bindingName, java.lang.String attributeName, boolean useLanguageFallBack, DeliveryContext deliveryContext)
          This method constructs a string representing the path to the page with respect to where in the structure the page is.
 java.lang.String getPageUrl(org.exolab.castor.jdo.Database db, InfoGluePrincipal infoGluePrincipal, java.lang.Integer siteNodeId, java.lang.Integer languageId, java.lang.Integer contentId, DeliveryContext deliveryContext)
          This method returns a url to the given page.
 java.lang.String getPageUrlAfterLanguageChange(org.exolab.castor.jdo.Database db, InfoGluePrincipal infoGluePrincipal, java.lang.Integer siteNodeId, java.lang.Integer languageId, java.lang.Integer contentId, DeliveryContext deliveryContext)
           
 SiteNodeVO getParentSiteNode(org.exolab.castor.jdo.Database db, java.lang.Integer siteNodeId)
          This method returns the SiteNodeVO that is the parent to the one sent in.
 java.lang.Integer getProtectedSiteNodeVersionId(org.exolab.castor.jdo.Database db, java.lang.Integer siteNodeId)
          This method returns the id of the siteNodeVersion that is protected if any.
static SiteNodeVO getRootSiteNode(org.exolab.castor.jdo.Database db, java.lang.Integer repositoryId)
          This method returns the root siteNodeVO for the specified repository.
static SiteNodeVO getRootSiteNode(org.exolab.castor.jdo.Database db, java.lang.String repositoryName)
          This method returns the root siteNodeVO for the specified repository.
 SiteNode getSiteNode(org.exolab.castor.jdo.Database db, java.lang.Integer siteNodeId)
          This method returns the SiteNodeVO that is sent in.
 java.lang.Integer getSiteNodeId(org.exolab.castor.jdo.Database db, InfoGluePrincipal infogluePrincipal, java.lang.Integer repositoryId, java.lang.String path, java.lang.String attributeName, java.lang.Integer parentSiteNodeId, java.lang.Integer languageId, DeliveryContext deliveryContext)
           
static java.lang.Integer getSiteNodeIdFromPath(org.exolab.castor.jdo.Database db, InfoGluePrincipal infogluePrincipal, java.lang.Integer repositoryId, java.lang.String[] path, java.lang.String attributeName, java.lang.Integer languageId, DeliveryContext deliveryContext)
           
static java.lang.Integer getSiteNodeIdFromPath(InfoGluePrincipal infogluePrincipal, java.lang.Integer repositoryId, java.lang.String[] path, java.lang.String attributeName, java.lang.Integer languageId, DeliveryContext deliveryContext)
           
 boolean isValidSiteNode(org.exolab.castor.jdo.Database db, java.lang.Integer siteNodeId)
          Returns if a siteNode is between dates and has a siteNode version suitable for this delivery mode.
 boolean isValidSiteNode(SiteNode siteNode, org.exolab.castor.jdo.Database db)
          Returns if a siteNode is between dates and has a SiteNode version suitable for this delivery mode.
 
Methods inherited from class org.infoglue.deliver.controllers.kernel.impl.simple.BaseDeliveryController
beginTransaction, closeDatabase, closeTransaction, commitTransaction, getAllVOObjects, getAllVOObjects, rollbackTransaction
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getNodeDeliveryController

public static NodeDeliveryController getNodeDeliveryController(java.lang.Integer siteNodeId,
                                                               java.lang.Integer languageId,
                                                               java.lang.Integer contentId)
                                                        throws SystemException,
                                                               java.lang.Exception
Factory method

SystemException
java.lang.Exception

getNodeDeliveryController

public static NodeDeliveryController getNodeDeliveryController(DeliveryContext deliveryContext)
                                                        throws SystemException,
                                                               java.lang.Exception
Factory method

SystemException
java.lang.Exception

getActiveSiteNodeVersionVO

public SiteNodeVersionVO getActiveSiteNodeVersionVO(org.exolab.castor.jdo.Database db,
                                                    java.lang.Integer siteNodeId)
                                             throws java.lang.Exception
This method gets the appropriate siteNodeVersion

java.lang.Exception

getActiveSiteNodeVersion

public SiteNodeVersion getActiveSiteNodeVersion(java.lang.Integer siteNodeId,
                                                org.exolab.castor.jdo.Database db)
                                         throws java.lang.Exception
This method gets the appropriate siteNodeVersion

java.lang.Exception

getInheritedServiceDefinition

public ServiceDefinitionVO getInheritedServiceDefinition(java.util.List qualifyerList,
                                                         java.lang.Integer siteNodeId,
                                                         AvailableServiceBindingVO availableServiceBindingVO,
                                                         org.exolab.castor.jdo.Database db,
                                                         boolean inheritParentBindings)
                                                  throws SystemException,
                                                         java.lang.Exception
This method checks if there is a serviceBinding with the name on this or any parent node.

SystemException
java.lang.Exception

getSiteNode

public SiteNode getSiteNode(org.exolab.castor.jdo.Database db,
                            java.lang.Integer siteNodeId)
                     throws SystemException
This method returns the SiteNodeVO that is sent in.

SystemException

getLatestActiveSiteNodeVersionVO

public SiteNodeVersionVO getLatestActiveSiteNodeVersionVO(org.exolab.castor.jdo.Database db,
                                                          java.lang.Integer siteNodeId)
                                                   throws SystemException,
                                                          java.lang.Exception
This method returns the latest sitenodeVersion there is for the given siteNode.

SystemException
java.lang.Exception

getLatestActiveSiteNodeVersion

public SiteNodeVersion getLatestActiveSiteNodeVersion(java.lang.Integer siteNodeId,
                                                      org.exolab.castor.jdo.Database db)
                                               throws SystemException,
                                                      java.lang.Exception
This method returns the latest sitenodeVersion there is for the given siteNode.

SystemException
java.lang.Exception

getParentSiteNode

public SiteNodeVO getParentSiteNode(org.exolab.castor.jdo.Database db,
                                    java.lang.Integer siteNodeId)
                             throws SystemException
This method returns the SiteNodeVO that is the parent to the one sent in.

SystemException

getIsPageCacheDisabled

public boolean getIsPageCacheDisabled(org.exolab.castor.jdo.Database db,
                                      java.lang.Integer siteNodeId)
This method returns true if the if the page in question (ie sitenode) has page-caching disabled. This is essential to turn off when you have a dynamic page like an external application or searchresult.


getIsEditOnSightDisabled

public boolean getIsEditOnSightDisabled(org.exolab.castor.jdo.Database db,
                                        java.lang.Integer siteNodeId)
This method returns true if the if the page in question (ie sitenode) has editOnSight disabled.


getIsPageProtected

public boolean getIsPageProtected(org.exolab.castor.jdo.Database db,
                                  java.lang.Integer siteNodeId)
This method returns true if the if the page in question (ie sitenode) is protected byt the exctranet fnctionality. This is essential to turn off when you have a dynamic page like an external application or searchresult.


getProtectedSiteNodeVersionId

public java.lang.Integer getProtectedSiteNodeVersionId(org.exolab.castor.jdo.Database db,
                                                       java.lang.Integer siteNodeId)
This method returns the id of the siteNodeVersion that is protected if any.


getBoundContent

public ContentVO getBoundContent(org.exolab.castor.jdo.Database db,
                                 InfoGluePrincipal infoGluePrincipal,
                                 java.lang.Integer siteNodeId,
                                 java.lang.Integer languageId,
                                 boolean useLanguageFallback,
                                 java.lang.String availableServiceBindingName,
                                 boolean inheritParentBindings,
                                 DeliveryContext deliveryContext)
                          throws SystemException,
                                 java.lang.Exception
This method return a single content bound.

SystemException
java.lang.Exception

getBoundContent

public ContentVO getBoundContent(org.exolab.castor.jdo.Database db,
                                 InfoGluePrincipal infoGluePrincipal,
                                 java.lang.Integer siteNodeId,
                                 java.lang.Integer languageId,
                                 boolean useLanguageFallback,
                                 java.lang.String availableServiceBindingName,
                                 boolean inheritParentBindings,
                                 boolean includeFolders,
                                 DeliveryContext deliveryContext)
                          throws SystemException,
                                 java.lang.Exception
This method return a single content bound.

SystemException
java.lang.Exception

getBoundContent

public ContentVO getBoundContent(org.exolab.castor.jdo.Database db,
                                 InfoGluePrincipal infoGluePrincipal,
                                 java.lang.Integer siteNodeId,
                                 java.lang.Integer languageId,
                                 boolean useLanguageFallback,
                                 java.lang.String availableServiceBindingName,
                                 DeliveryContext deliveryContext)
                          throws SystemException,
                                 java.lang.Exception
This method return a single content bound.

SystemException
java.lang.Exception

getBoundContent

public ContentVO getBoundContent(InfoGluePrincipal infoGluePrincipal,
                                 java.lang.Integer siteNodeId,
                                 java.lang.Integer languageId,
                                 boolean useLanguageFallback,
                                 java.lang.String availableServiceBindingName,
                                 DeliveryContext deliveryContext)
                          throws SystemException,
                                 java.lang.Exception
This method return a single content bound.

SystemException
java.lang.Exception

getBoundContents

public java.util.List getBoundContents(org.exolab.castor.jdo.Database db,
                                       InfoGluePrincipal infoGluePrincipal,
                                       java.lang.Integer siteNodeId,
                                       java.lang.Integer languageId,
                                       boolean useLanguageFallback,
                                       java.lang.String availableServiceBindingName,
                                       boolean inheritParentBindings,
                                       boolean includeFolders,
                                       DeliveryContext deliveryContext)
                                throws SystemException,
                                       java.lang.Exception
This method returns a list of contents bound to the named availableServiceBinding.

SystemException
java.lang.Exception

getBoundFolderContents

public java.util.List getBoundFolderContents(org.exolab.castor.jdo.Database db,
                                             InfoGluePrincipal infoGluePrincipal,
                                             java.lang.Integer siteNodeId,
                                             java.lang.Integer languageId,
                                             java.lang.String availableServiceBindingName,
                                             boolean searchRecursive,
                                             java.lang.Integer maximumNumberOfLevels,
                                             java.lang.String sortAttribute,
                                             java.lang.String sortOrder,
                                             boolean useLanguageFallback,
                                             boolean includeFolders,
                                             DeliveryContext deliveryContext)
                                      throws SystemException,
                                             java.lang.Exception
This method returns a list of children to the bound content with the named availableServiceBindingName. The collection of contents are also sorted on given arguments.

SystemException
java.lang.Exception

getBoundFolderContents

public java.util.List getBoundFolderContents(org.exolab.castor.jdo.Database db,
                                             InfoGluePrincipal infoGluePrincipal,
                                             java.lang.Integer contentId,
                                             java.lang.Integer languageId,
                                             boolean searchRecursive,
                                             java.lang.Integer maximumNumberOfLevels,
                                             java.lang.String sortAttribute,
                                             java.lang.String sortOrder,
                                             boolean useLanguageFallback,
                                             boolean includeFolders,
                                             DeliveryContext deliveryContext)
                                      throws SystemException,
                                             java.lang.Exception
This method returns a list of children to the bound content with the named availableServiceBindingName. The collection of contents are also sorted on given arguments.

SystemException
java.lang.Exception

getBoundSiteNode

public SiteNodeVO getBoundSiteNode(org.exolab.castor.jdo.Database db,
                                   java.lang.Integer siteNodeId,
                                   java.lang.String availableServiceBindingName)
                            throws SystemException,
                                   java.lang.Exception
This method return a single siteNode bound.

SystemException
java.lang.Exception

getBoundSiteNode

public SiteNodeVO getBoundSiteNode(org.exolab.castor.jdo.Database db,
                                   java.lang.Integer siteNodeId,
                                   java.lang.String availableServiceBindingName,
                                   int position)
                            throws SystemException,
                                   java.lang.Exception
This method return a single siteNode bound.

SystemException
java.lang.Exception

getBoundSiteNodes

public java.util.List getBoundSiteNodes(org.exolab.castor.jdo.Database db,
                                        java.lang.Integer siteNodeId,
                                        java.lang.String availableServiceBindingName)
                                 throws SystemException,
                                        java.lang.Exception
This method should be rewritten later.... The concept is to fetch the bound siteNode

SystemException
java.lang.Exception

getPageUrl

public java.lang.String getPageUrl(org.exolab.castor.jdo.Database db,
                                   InfoGluePrincipal infoGluePrincipal,
                                   java.lang.Integer siteNodeId,
                                   java.lang.Integer languageId,
                                   java.lang.Integer contentId,
                                   DeliveryContext deliveryContext)
                            throws SystemException
This method returns a url to the given page. The url is composed of siteNode, language and content

SystemException

getPageUrlAfterLanguageChange

public java.lang.String getPageUrlAfterLanguageChange(org.exolab.castor.jdo.Database db,
                                                      InfoGluePrincipal infoGluePrincipal,
                                                      java.lang.Integer siteNodeId,
                                                      java.lang.Integer languageId,
                                                      java.lang.Integer contentId,
                                                      DeliveryContext deliveryContext)
                                               throws SystemException
SystemException

getPagePath

public java.lang.String getPagePath(org.exolab.castor.jdo.Database db,
                                    InfoGluePrincipal infoGluePrincipal,
                                    java.lang.Integer siteNodeId,
                                    java.lang.Integer languageId,
                                    java.lang.Integer contentId,
                                    java.lang.String bindingName,
                                    java.lang.String attributeName,
                                    boolean useLanguageFallBack,
                                    DeliveryContext deliveryContext)
                             throws SystemException,
                                    java.lang.Exception
This method constructs a string representing the path to the page with respect to where in the structure the page is. It also takes the page title into consideration. It is done by recursively going up in the structure until the root is reached. On each node we collect the pageTitle.

SystemException
java.lang.Exception

getPageBaseUrl

public java.lang.String getPageBaseUrl(org.exolab.castor.jdo.Database db)
                                throws SystemException
This method returns a url to the delivery engine

SystemException

getPageNavigationTitle

public java.lang.String getPageNavigationTitle(org.exolab.castor.jdo.Database db,
                                               InfoGluePrincipal infoGluePrincipal,
                                               java.lang.Integer siteNodeId,
                                               java.lang.Integer languageId,
                                               java.lang.Integer contentId,
                                               java.lang.String metaBindingName,
                                               java.lang.String attributeName,
                                               boolean useLanguageFallback,
                                               DeliveryContext deliveryContext)
                                        throws SystemException,
                                               java.lang.Exception
This method returns the navigation-title to the given page. The title is based on the content sent in firstly, secondly the siteNode. The actual text is fetched from either the content or the metacontent bound to the sitenode.

SystemException
java.lang.Exception

getSiteNodeId

public java.lang.Integer getSiteNodeId(org.exolab.castor.jdo.Database db,
                                       InfoGluePrincipal infogluePrincipal,
                                       java.lang.Integer repositoryId,
                                       java.lang.String path,
                                       java.lang.String attributeName,
                                       java.lang.Integer parentSiteNodeId,
                                       java.lang.Integer languageId,
                                       DeliveryContext deliveryContext)
                                throws SystemException,
                                       java.lang.Exception
SystemException
java.lang.Exception

getPageNavigationPath

public java.lang.String getPageNavigationPath(org.exolab.castor.jdo.Database db,
                                              InfoGluePrincipal infogluePrincipal,
                                              java.lang.Integer siteNodeId,
                                              java.lang.Integer languageId,
                                              java.lang.Integer contentId,
                                              DeliveryContext deliveryContext)
                                       throws SystemException,
                                              java.lang.Exception
SystemException
java.lang.Exception

getSiteNodeIdFromPath

public static java.lang.Integer getSiteNodeIdFromPath(org.exolab.castor.jdo.Database db,
                                                      InfoGluePrincipal infogluePrincipal,
                                                      java.lang.Integer repositoryId,
                                                      java.lang.String[] path,
                                                      java.lang.String attributeName,
                                                      java.lang.Integer languageId,
                                                      DeliveryContext deliveryContext)
                                               throws SystemException,
                                                      java.lang.Exception
SystemException
java.lang.Exception

getSiteNodeIdFromPath

public static java.lang.Integer getSiteNodeIdFromPath(InfoGluePrincipal infogluePrincipal,
                                                      java.lang.Integer repositoryId,
                                                      java.lang.String[] path,
                                                      java.lang.String attributeName,
                                                      java.lang.Integer languageId,
                                                      DeliveryContext deliveryContext)
                                               throws SystemException,
                                                      java.lang.Exception
SystemException
java.lang.Exception

getMetaInfoContentId

public java.lang.Integer getMetaInfoContentId(org.exolab.castor.jdo.Database db,
                                              InfoGluePrincipal infoGluePrincipal,
                                              java.lang.Integer siteNodeId,
                                              java.lang.String metaBindingName,
                                              boolean inheritParentBindings,
                                              DeliveryContext deliveryContext)
                                       throws SystemException,
                                              java.lang.Exception
This method returns the contentId of the bound metainfo-content to the given page.

SystemException
java.lang.Exception

getRootSiteNode

public static SiteNodeVO getRootSiteNode(org.exolab.castor.jdo.Database db,
                                         java.lang.String repositoryName)
                                  throws SystemException,
                                         java.lang.Exception
This method returns the root siteNodeVO for the specified repository. If the repositoryName is null we fetch the name of the master repository.

SystemException
java.lang.Exception

getRootSiteNode

public static SiteNodeVO getRootSiteNode(org.exolab.castor.jdo.Database db,
                                         java.lang.Integer repositoryId)
                                  throws SystemException,
                                         java.lang.Exception
This method returns the root siteNodeVO for the specified repository. If the repositoryName is null we fetch the name of the master repository.

SystemException
java.lang.Exception

getChildSiteNodes

public java.util.List getChildSiteNodes(org.exolab.castor.jdo.Database db,
                                        java.lang.Integer siteNodeId)
                                 throws SystemException,
                                        java.lang.Exception
This method returns the list of siteNodeVO which is children to this one.

SystemException
java.lang.Exception

isValidSiteNode

public boolean isValidSiteNode(org.exolab.castor.jdo.Database db,
                               java.lang.Integer siteNodeId)
                        throws java.lang.Exception
Returns if a siteNode is between dates and has a siteNode version suitable for this delivery mode.

Throws:
java.lang.Exception

isValidSiteNode

public boolean isValidSiteNode(SiteNode siteNode,
                               org.exolab.castor.jdo.Database db)
                        throws java.lang.Exception
Returns if a siteNode is between dates and has a SiteNode version suitable for this delivery mode.

Throws:
java.lang.Exception