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

java.lang.Object
  extended by org.infoglue.cms.controllers.kernel.impl.simple.BaseController
      extended by org.infoglue.cms.controllers.kernel.impl.simple.ServiceDefinitionController

public class ServiceDefinitionController
extends BaseController


Constructor Summary
ServiceDefinitionController()
           
 
Method Summary
 ServiceDefinitionVO create(ServiceDefinitionVO vo)
           
 void delete(ServiceDefinitionVO vo)
          The service definition can only be removed if no serviceBinding uses it.
 void deleteServiceDefinition(java.lang.Integer serviceDefinitionId, org.exolab.castor.jdo.Database db)
          This method deletes the ServiceDefinition sent in from the system.
static ServiceDefinitionController getController()
           
 BaseEntityVO getNewVO()
          This is a method that gives the user back an newly initialized ValueObject for this entity that the controller is handling.
 ServiceDefinition getServiceDefinitionWithId(java.lang.Integer serviceDefinitionId, org.exolab.castor.jdo.Database db)
           
 ServiceDefinition getServiceDefinitionWithName(java.lang.String name, org.exolab.castor.jdo.Database db, boolean readOnly)
          Returns the ServiceDefinition with the given name fetched within a given transaction.
 java.util.List getServiceDefinitionVOList()
           
 ServiceDefinitionVO getServiceDefinitionVOWithId(java.lang.Integer serviceDefinitionId)
           
 ServiceDefinitionVO getServiceDefinitionVOWithName(java.lang.String name)
          This method fetches an ServiceDefinition with the given name.
 ServiceDefinitionVO update(ServiceDefinitionVO serviceDefinitionVO)
           
 
Methods inherited from class org.infoglue.cms.controllers.kernel.impl.simple.BaseController
beginTransaction, beginTransaction, closeDatabase, commitTransaction, createEntity, createEntity, createQuery, deleteEntity, deleteEntity, deleteEntity, deleteEntity, executeQuery, executeQuery, executeQuery, executeQuery, getAllObjects, getAllVOObjects, getAllVOObjects, getAllVOObjects, getAllVOObjects, getObjectWithId, getObjectWithId, getObjectWithIdAsReadOnly, getVOWithId, getVOWithId, getVOWithId, getVOWithId, intercept, intercept, rollbackTransaction, toModifiableVOList, toVOList, updateEntity, updateEntity, updateEntity, updateEntity, validateEntity
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceDefinitionController

public ServiceDefinitionController()
Method Detail

getController

public static ServiceDefinitionController getController()

getServiceDefinitionVOWithId

public ServiceDefinitionVO getServiceDefinitionVOWithId(java.lang.Integer serviceDefinitionId)
                                                 throws SystemException,
                                                        Bug
Throws:
SystemException
Bug

create

public ServiceDefinitionVO create(ServiceDefinitionVO vo)
                           throws ConstraintException,
                                  SystemException
Throws:
ConstraintException
SystemException

delete

public void delete(ServiceDefinitionVO vo)
            throws ConstraintException,
                   SystemException
The service definition can only be removed if no serviceBinding uses it.

Throws:
ConstraintException
SystemException

getServiceDefinitionWithId

public ServiceDefinition getServiceDefinitionWithId(java.lang.Integer serviceDefinitionId,
                                                    org.exolab.castor.jdo.Database db)
                                             throws SystemException,
                                                    Bug
Throws:
SystemException
Bug

getServiceDefinitionVOList

public java.util.List getServiceDefinitionVOList()
                                          throws SystemException,
                                                 Bug
Throws:
SystemException
Bug

deleteServiceDefinition

public void deleteServiceDefinition(java.lang.Integer serviceDefinitionId,
                                    org.exolab.castor.jdo.Database db)
                             throws SystemException,
                                    Bug
This method deletes the ServiceDefinition sent in from the system.

Throws:
SystemException
Bug

update

public ServiceDefinitionVO update(ServiceDefinitionVO serviceDefinitionVO)
                           throws ConstraintException,
                                  SystemException
Throws:
ConstraintException
SystemException

getServiceDefinitionVOWithName

public ServiceDefinitionVO getServiceDefinitionVOWithName(java.lang.String name)
                                                   throws SystemException,
                                                          Bug
This method fetches an ServiceDefinition with the given name.

Throws:
SystemException
Bug

getServiceDefinitionWithName

public ServiceDefinition getServiceDefinitionWithName(java.lang.String name,
                                                      org.exolab.castor.jdo.Database db,
                                                      boolean readOnly)
                                               throws SystemException,
                                                      Bug
Returns the ServiceDefinition with the given name fetched within a given transaction.

Parameters:
name -
database -
Returns:
Throws:
SystemException
Bug

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


Copyright © 2005 InfoGlue.org All Rights Reserved.