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

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

public class InterceptorController
extends BaseController

This class is a helper class for the use case handle Interceptor

Author:
Mattias Bogeblad

Constructor Summary
InterceptorController()
           
 
Method Summary
 InterceptorVO create(InterceptorVO interceptorVO)
          Creates a new InterceptorVO
 InterceptorVO create(InterceptorVO interceptorVO, org.exolab.castor.jdo.Database db)
          Creates a new InterceptorVO within a transaction
 void delete(InterceptorVO interceptorVO)
           
static InterceptorController getController()
          Factory method
 java.util.List getInterceptionPointVOList(java.lang.Integer interceptorId)
           
 java.util.List getInterceptionPointVOList(java.lang.Integer interceptorId, org.exolab.castor.jdo.Database db)
           
 Interceptor getInterceptorWithId(java.lang.Integer interceptorId, org.exolab.castor.jdo.Database db)
           
 java.util.List getInterceptorVOList()
           
 InterceptorVO getInterceptorVOWithId(java.lang.Integer interceptorId)
           
 BaseEntityVO getNewVO()
          This is a method that gives the user back an newly initialized ValueObject for this entity that the controller is handling.
 InterceptorVO update(InterceptorVO interceptorVO)
           
 void update(InterceptorVO interceptorVO, java.lang.String[] values)
           
 
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, getLogger, 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

InterceptorController

public InterceptorController()
Method Detail

getController

public static InterceptorController getController()
Factory method


getInterceptorWithId

public Interceptor getInterceptorWithId(java.lang.Integer interceptorId,
                                        org.exolab.castor.jdo.Database db)
                                 throws SystemException,
                                        Bug
Throws:
SystemException
Bug

getInterceptorVOWithId

public InterceptorVO getInterceptorVOWithId(java.lang.Integer interceptorId)
                                     throws SystemException,
                                            Bug
Throws:
SystemException
Bug

getInterceptorVOList

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

getInterceptionPointVOList

public java.util.List getInterceptionPointVOList(java.lang.Integer interceptorId)
                                          throws SystemException,
                                                 Bug
Throws:
SystemException
Bug

getInterceptionPointVOList

public java.util.List getInterceptionPointVOList(java.lang.Integer interceptorId,
                                                 org.exolab.castor.jdo.Database db)
                                          throws SystemException,
                                                 Bug
Throws:
SystemException
Bug

create

public InterceptorVO create(InterceptorVO interceptorVO)
                     throws ConstraintException,
                            SystemException
Creates a new InterceptorVO

Parameters:
interceptorVO -
Returns:
Throws:
ConstraintException
SystemException

create

public InterceptorVO create(InterceptorVO interceptorVO,
                            org.exolab.castor.jdo.Database db)
                     throws SystemException,
                            java.lang.Exception
Creates a new InterceptorVO within a transaction

Parameters:
interceptorVO -
Returns:
Throws:
ConstraintException
SystemException
java.lang.Exception

update

public InterceptorVO update(InterceptorVO interceptorVO)
                     throws ConstraintException,
                            SystemException
Throws:
ConstraintException
SystemException

update

public void update(InterceptorVO interceptorVO,
                   java.lang.String[] values)
            throws ConstraintException,
                   SystemException
Throws:
ConstraintException
SystemException

delete

public void delete(InterceptorVO interceptorVO)
            throws ConstraintException,
                   SystemException
Throws:
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


Copyright © 2005 InfoGlue.org All Rights Reserved.