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

java.lang.Object
  extended by org.infoglue.deliver.controllers.kernel.impl.simple.BaseDeliveryController
      extended by org.infoglue.deliver.controllers.kernel.impl.simple.RepositoryDeliveryController

public class RepositoryDeliveryController
extends BaseDeliveryController


Method Summary
 RepositoryVO getMasterRepository(org.exolab.castor.jdo.Database db)
          This method returns the master repository.
 java.lang.String getPropertyValue(java.lang.Integer repositoryId, java.lang.String propertyName)
          This method fetches a property for a repository.
static RepositoryDeliveryController getRepositoryDeliveryController()
          Factory method
 java.util.List getRepositoryVOList(org.exolab.castor.jdo.Database db)
          This method returns all the repositories.
 java.util.List getRepositoryVOListFromServerName(org.exolab.castor.jdo.Database db, java.lang.String serverName, java.lang.String portNumber, java.lang.String repositoryName)
           
 
Methods inherited from class org.infoglue.deliver.controllers.kernel.impl.simple.BaseDeliveryController
beginTransaction, closeDatabase, closeTransaction, commitTransaction, createQuery, executeQuery, executeQuery, getAllVOObjects, getAllVOObjects, getLogger, getObjectWithId, getVOWithId, rollbackTransaction, toVOList
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getRepositoryDeliveryController

public static RepositoryDeliveryController getRepositoryDeliveryController()
Factory method


getMasterRepository

public RepositoryVO getMasterRepository(org.exolab.castor.jdo.Database db)
                                 throws SystemException,
                                        java.lang.Exception
This method returns the master repository.

Throws:
SystemException
java.lang.Exception

getRepositoryVOListFromServerName

public java.util.List getRepositoryVOListFromServerName(org.exolab.castor.jdo.Database db,
                                                        java.lang.String serverName,
                                                        java.lang.String portNumber,
                                                        java.lang.String repositoryName)
                                                 throws SystemException,
                                                        java.lang.Exception
Throws:
SystemException
java.lang.Exception

getRepositoryVOList

public java.util.List getRepositoryVOList(org.exolab.castor.jdo.Database db)
                                   throws SystemException,
                                          java.lang.Exception
This method returns all the repositories.

Throws:
SystemException
java.lang.Exception

getPropertyValue

public java.lang.String getPropertyValue(java.lang.Integer repositoryId,
                                         java.lang.String propertyName)
This method fetches a property for a repository.



Copyright © 2005 InfoGlue.org All Rights Reserved.