org.infoglue.cms.controllers.kernel.impl.simple
Class QualifyerController

java.lang.Object
  |
  +--org.infoglue.cms.controllers.kernel.impl.simple.BaseController
        |
        +--org.infoglue.cms.controllers.kernel.impl.simple.QualifyerController

public class QualifyerController
extends BaseController

Author:
Mattias Bogeblad

Constructor Summary
QualifyerController()
           
 
Method Summary
static java.util.Collection createQualifyers(java.lang.String qualifyerXML, ServiceBinding serviceBinding)
          This method creates a new qualifyer for a serviceBinding.
static java.util.List getBindingQualifyers(java.lang.Integer serviceBindingId)
          This method returns a sorted list of qualifyers.
 BaseEntityVO getNewVO()
          This is a method that gives the user back an newly initialized ValueObject for this entity that the controller is handling.
static Qualifyer getQualifyerWithId(java.lang.Integer qualifyerId, org.exolab.castor.jdo.Database db)
           
static QualifyerVO screate(QualifyerVO qualifyerVO, java.lang.Integer serviceBindingId, org.exolab.castor.jdo.Database db)
          This method creates a new qualifyer for a serviceBinding.
 
Methods inherited from class org.infoglue.cms.controllers.kernel.impl.simple.BaseController
deleteEntity, deleteEntity, deleteEntity, getAllVOObjects, getAllVOObjects, getAllVOObjects, getAllVOObjects, getVOWithId, getVOWithId, getVOWithId, toModifiableVOList, toVOList, updateEntity, updateEntity, updateEntity, validateEntity
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QualifyerController

public QualifyerController()
Method Detail

getQualifyerWithId

public static Qualifyer getQualifyerWithId(java.lang.Integer qualifyerId,
                                           org.exolab.castor.jdo.Database db)
                                    throws SystemException,
                                           Bug
SystemException
Bug

createQualifyers

public static java.util.Collection createQualifyers(java.lang.String qualifyerXML,
                                                    ServiceBinding serviceBinding)
                                             throws ConstraintException,
                                                    SystemException
This method creates a new qualifyer for a serviceBinding. It is basically this qualifyer that specifies which stuff to fetch from the serviceDefinition.

ConstraintException
SystemException

screate

public static QualifyerVO screate(QualifyerVO qualifyerVO,
                                  java.lang.Integer serviceBindingId,
                                  org.exolab.castor.jdo.Database db)
                           throws ConstraintException,
                                  SystemException,
                                  java.lang.Exception
This method creates a new qualifyer for a serviceBinding. It is basically this qualifyer that specifies which stuff to fetch from the serviceDefinition.

ConstraintException
SystemException
java.lang.Exception

getBindingQualifyers

public static java.util.List getBindingQualifyers(java.lang.Integer serviceBindingId)
                                           throws SystemException,
                                                  Bug,
                                                  java.lang.Exception
This method returns a sorted list of qualifyers.

SystemException
Bug
java.lang.Exception

getNewVO

public BaseEntityVO getNewVO()
This is a method that gives the user back an newly initialized ValueObject for this entity that the controller is handling.

Specified by:
getNewVO in class BaseController