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

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

public class InterceptionPointController
extends BaseController

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

Author:
Mattias Bogeblad

Field Summary
static java.util.Map systemInterceptionPoints
           
 
Constructor Summary
InterceptionPointController()
           
 
Method Summary
 InterceptionPointVO create(InterceptionPointVO interceptionPointVO)
          Creates a new Interception point
 InterceptionPointVO create(InterceptionPointVO interceptionPointVO, org.exolab.castor.jdo.Database db)
          Creates a new Interception point within a transaction
 void delete(InterceptionPointVO interceptionPointVO)
           
static InterceptionPointController getController()
          Factory method
 java.util.List getInterceptionPointList(java.lang.String category, org.exolab.castor.jdo.Database db)
           
 InterceptionPoint getInterceptionPointWithId(java.lang.Integer interceptionPointId, org.exolab.castor.jdo.Database db)
           
 InterceptionPoint getInterceptionPointWithName(java.lang.String interceptorPointName, org.exolab.castor.jdo.Database db)
           
 java.util.List getInterceptionPointVOList()
           
 java.util.List getInterceptionPointVOList(java.lang.String category)
           
 InterceptionPointVO getInterceptionPointVOWithId(java.lang.Integer interceptionPointId)
           
 InterceptionPointVO getInterceptionPointVOWithName(java.lang.String interceptorPointName)
           
 InterceptionPointVO getInterceptionPointVOWithName(java.lang.String interceptorPointName, org.exolab.castor.jdo.Database db)
           
 java.util.List getInterceptorsVOList(java.lang.Integer interceptionPointId)
           
 java.util.List getInterceptorsVOList(java.lang.Integer interceptionPointId, org.exolab.castor.jdo.Database db)
          Gets the interceptors for this interceptionPoint withing a transaction
 BaseEntityVO getNewVO()
          This is a method that gives the user back an newly initialized ValueObject for this entity that the controller is handling.
 java.util.List getSortedInterceptionPointVOList()
           
 InterceptionPointVO update(InterceptionPointVO interceptionPointVO)
           
 void update(InterceptionPointVO interceptionPointVO, 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, 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
 

Field Detail

systemInterceptionPoints

public static final java.util.Map systemInterceptionPoints
Constructor Detail

InterceptionPointController

public InterceptionPointController()
Method Detail

getController

public static InterceptionPointController getController()
Factory method


getInterceptionPointWithId

public InterceptionPoint getInterceptionPointWithId(java.lang.Integer interceptionPointId,
                                                    org.exolab.castor.jdo.Database db)
                                             throws SystemException,
                                                    Bug
Throws:
SystemException
Bug

getInterceptionPointVOWithId

public InterceptionPointVO getInterceptionPointVOWithId(java.lang.Integer interceptionPointId)
                                                 throws SystemException,
                                                        Bug
Throws:
SystemException
Bug

getInterceptionPointVOList

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

getSortedInterceptionPointVOList

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

getInterceptorsVOList

public java.util.List getInterceptorsVOList(java.lang.Integer interceptionPointId)
                                     throws SystemException,
                                            Bug
Throws:
SystemException
Bug

getInterceptorsVOList

public java.util.List getInterceptorsVOList(java.lang.Integer interceptionPointId,
                                            org.exolab.castor.jdo.Database db)
                                     throws SystemException,
                                            Bug
Gets the interceptors for this interceptionPoint withing a transaction

Parameters:
interceptionPointId -
db -
Returns:
Throws:
SystemException
Bug

getInterceptionPointVOWithName

public InterceptionPointVO getInterceptionPointVOWithName(java.lang.String interceptorPointName)
                                                   throws SystemException,
                                                          Bug
Throws:
SystemException
Bug

getInterceptionPointVOWithName

public InterceptionPointVO getInterceptionPointVOWithName(java.lang.String interceptorPointName,
                                                          org.exolab.castor.jdo.Database db)
                                                   throws SystemException,
                                                          Bug
Throws:
SystemException
Bug

getInterceptionPointWithName

public InterceptionPoint getInterceptionPointWithName(java.lang.String interceptorPointName,
                                                      org.exolab.castor.jdo.Database db)
                                               throws SystemException,
                                                      Bug
Throws:
SystemException
Bug

getInterceptionPointVOList

public java.util.List getInterceptionPointVOList(java.lang.String category)
                                          throws SystemException,
                                                 Bug
Throws:
SystemException
Bug

getInterceptionPointList

public java.util.List getInterceptionPointList(java.lang.String category,
                                               org.exolab.castor.jdo.Database db)
                                        throws SystemException,
                                               Bug
Throws:
SystemException
Bug

create

public InterceptionPointVO create(InterceptionPointVO interceptionPointVO)
                           throws ConstraintException,
                                  SystemException
Creates a new Interception point

Parameters:
interceptionPointVO -
Returns:
Throws:
ConstraintException
SystemException

create

public InterceptionPointVO create(InterceptionPointVO interceptionPointVO,
                                  org.exolab.castor.jdo.Database db)
                           throws SystemException,
                                  java.lang.Exception
Creates a new Interception point within a transaction

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

update

public InterceptionPointVO update(InterceptionPointVO interceptionPointVO)
                           throws ConstraintException,
                                  SystemException
Throws:
ConstraintException
SystemException

update

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

delete

public void delete(InterceptionPointVO interceptionPointVO)
            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.