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

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

public class TransactionHistoryController
extends BaseController


Constructor Summary
TransactionHistoryController()
           
 
Method Summary
 java.lang.Integer create(NotificationMessage notificationMessage)
          This method is a bit different from other creates as it does not use the common base-class-method.
 void deleteTransactionHistory(java.lang.Integer transactionHistoryId, org.exolab.castor.jdo.Database db)
          This method deletes the TransactionHistory sent in from the system.
static TransactionHistoryController getController()
          Factory method
 TransactionHistoryVO getLatestTransactionHistoryVOForEntity(java.lang.Class entClass, java.lang.Integer entityId)
           
 BaseEntityVO getNewVO()
          This is a method that gives the user back an newly initialized ValueObject for this entity that the controller is handling.
 TransactionHistory getTransactionHistoryWithId(java.lang.Integer transactionHistoryId, org.exolab.castor.jdo.Database db)
           
 java.util.List getTransactionHistoryVOList()
           
 TransactionHistoryVO getTransactionHistoryVOWithId(java.lang.Integer transactionHistoryId)
           
 TransactionHistoryVO update(TransactionHistoryVO transactionHistoryVO)
           
 
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

TransactionHistoryController

public TransactionHistoryController()
Method Detail

getController

public static TransactionHistoryController getController()
Factory method


getTransactionHistoryVOWithId

public TransactionHistoryVO getTransactionHistoryVOWithId(java.lang.Integer transactionHistoryId)
                                                   throws SystemException,
                                                          Bug
Throws:
SystemException
Bug

getTransactionHistoryWithId

public TransactionHistory getTransactionHistoryWithId(java.lang.Integer transactionHistoryId,
                                                      org.exolab.castor.jdo.Database db)
                                               throws SystemException,
                                                      Bug
Throws:
SystemException
Bug

getTransactionHistoryVOList

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

deleteTransactionHistory

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

Throws:
SystemException
Bug

getLatestTransactionHistoryVOForEntity

public TransactionHistoryVO getLatestTransactionHistoryVOForEntity(java.lang.Class entClass,
                                                                   java.lang.Integer entityId)
                                                            throws SystemException
Throws:
SystemException

update

public TransactionHistoryVO update(TransactionHistoryVO transactionHistoryVO)
                            throws ConstraintException,
                                   SystemException
Throws:
ConstraintException
SystemException

create

public java.lang.Integer create(NotificationMessage notificationMessage)
                         throws SystemException
This method is a bit different from other creates as it does not use the common base-class-method. Using it would result in a recursive loop of new notificationMessages.

Throws:
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.