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

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

public class ServiceBindingController
extends BaseController

Author:
ss To change this generated comment edit the template variable "typecomment": Window>Preferences>Java>Templates. To enable and disable the creation of type comments go to Window>Preferences>Java>Code Generation.

Constructor Summary
ServiceBindingController()
           
 
Method Summary
 ServiceBindingVO create(org.exolab.castor.jdo.Database db, ServiceBindingVO serviceBindingVO, java.lang.String qualifyerXML, java.lang.Integer availableServiceBindingId, java.lang.Integer siteNodeVersionId, java.lang.Integer serviceDefinitionId)
          This is a method that lets you create a new service binding within a transaction.
static ServiceBindingVO create(ServiceBindingVO serviceBindingVO, java.lang.String qualifyerXML, java.lang.Integer availableServiceBindingId, java.lang.Integer siteNodeVersionId, java.lang.Integer serviceDefinitionId)
           
static void delete(ServiceBindingVO serviceBindingVO)
          This method deletes a service binding an all associated qualifyers.
static void delete(ServiceBindingVO serviceBindingVO, org.exolab.castor.jdo.Database db)
          This method deletes a service binding an all associated qualifyers.
static void deleteServiceBindingsReferencingContent(Content content, org.exolab.castor.jdo.Database db)
          This method deletes all service bindings pointing to a content.
static void deleteServiceBindingsReferencingSiteNode(SiteNode siteNode, org.exolab.castor.jdo.Database db)
          This method deletes all service bindings pointing to a content.
static ServiceBindingController getController()
           
 BaseEntityVO getNewVO()
          This is a method that gives the user back an newly initialized ValueObject for this entity that the controller is handling.
static java.util.List getQualifyerVOList(java.lang.Integer serviceBindingId)
          This method returns a list with QualifyerVO-objects which are available for the serviceBinding sent in
static ServiceBinding getServiceBindingWithId(java.lang.Integer serviceBindingId, org.exolab.castor.jdo.Database db)
           
 java.util.List getServiceBindingVOList()
           
static ServiceBindingVO getServiceBindingVOWithId(java.lang.Integer serviceBindingId)
           
static ServiceBindingVO update(ServiceBindingVO serviceBindingVO, java.lang.String qualifyerXML)
           
 
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

ServiceBindingController

public ServiceBindingController()
Method Detail

getController

public static ServiceBindingController getController()

getServiceBindingVOWithId

public static ServiceBindingVO getServiceBindingVOWithId(java.lang.Integer serviceBindingId)
                                                  throws SystemException,
                                                         Bug
SystemException
Bug

getServiceBindingWithId

public static ServiceBinding getServiceBindingWithId(java.lang.Integer serviceBindingId,
                                                     org.exolab.castor.jdo.Database db)
                                              throws SystemException,
                                                     Bug
SystemException
Bug

getServiceBindingVOList

public java.util.List getServiceBindingVOList()
                                       throws SystemException,
                                              Bug
SystemException
Bug

create

public static ServiceBindingVO create(ServiceBindingVO serviceBindingVO,
                                      java.lang.String qualifyerXML,
                                      java.lang.Integer availableServiceBindingId,
                                      java.lang.Integer siteNodeVersionId,
                                      java.lang.Integer serviceDefinitionId)
                               throws ConstraintException,
                                      SystemException
ConstraintException
SystemException

create

public ServiceBindingVO create(org.exolab.castor.jdo.Database db,
                               ServiceBindingVO serviceBindingVO,
                               java.lang.String qualifyerXML,
                               java.lang.Integer availableServiceBindingId,
                               java.lang.Integer siteNodeVersionId,
                               java.lang.Integer serviceDefinitionId)
                        throws ConstraintException,
                               SystemException
This is a method that lets you create a new service binding within a transaction.

ConstraintException
SystemException

update

public static ServiceBindingVO update(ServiceBindingVO serviceBindingVO,
                                      java.lang.String qualifyerXML)
                               throws ConstraintException,
                                      SystemException
ConstraintException
SystemException

deleteServiceBindingsReferencingContent

public static void deleteServiceBindingsReferencingContent(Content content,
                                                           org.exolab.castor.jdo.Database db)
                                                    throws ConstraintException,
                                                           SystemException,
                                                           java.lang.Exception
This method deletes all service bindings pointing to a content.

ConstraintException
SystemException
java.lang.Exception

deleteServiceBindingsReferencingSiteNode

public static void deleteServiceBindingsReferencingSiteNode(SiteNode siteNode,
                                                            org.exolab.castor.jdo.Database db)
                                                     throws ConstraintException,
                                                            SystemException,
                                                            java.lang.Exception
This method deletes all service bindings pointing to a content.

ConstraintException
SystemException
java.lang.Exception

delete

public static void delete(ServiceBindingVO serviceBindingVO)
                   throws ConstraintException,
                          SystemException
This method deletes a service binding an all associated qualifyers.

ConstraintException
SystemException

delete

public static void delete(ServiceBindingVO serviceBindingVO,
                          org.exolab.castor.jdo.Database db)
                   throws ConstraintException,
                          SystemException,
                          java.lang.Exception
This method deletes a service binding an all associated qualifyers.

ConstraintException
SystemException
java.lang.Exception

getQualifyerVOList

public static java.util.List getQualifyerVOList(java.lang.Integer serviceBindingId)
                                         throws ConstraintException,
                                                SystemException
This method returns a list with QualifyerVO-objects which are available for the serviceBinding sent in

ConstraintException
SystemException

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