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

java.lang.Object
  extended by org.infoglue.cms.controllers.kernel.impl.simple.BaseUCCController
Direct Known Subclasses:
CreateSiteNodeVersionUCCImpl, DeleteSiteNodeVersionUCCImpl, LoginUCCImpl, UpdateSiteNodeUCCImpl, UpdateSiteNodeVersionUCCImpl, ViewSiteNodeTreeUCCImpl, ViewSiteNodeUCCImpl, ViewSiteNodeVersionUCCImpl

public abstract class BaseUCCController
extends java.lang.Object


Constructor Summary
BaseUCCController()
           
 
Method Summary
protected  void beginTransaction(org.exolab.castor.jdo.Database db)
          Begins a transaction on the named database
protected  void commitTransaction(org.exolab.castor.jdo.Database db)
          Ends a transaction on the named database
protected  org.apache.log4j.Logger getLogger()
          Gets a logger for the action class.
protected  void rollbackTransaction(org.exolab.castor.jdo.Database db)
          Rollbacks a transaction on the named database if there is an open transaction
protected  java.util.Collection toCollection(java.util.Enumeration enumeration)
          A generic method to convert an enumeration to a Collection.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseUCCController

public BaseUCCController()
Method Detail

getLogger

protected org.apache.log4j.Logger getLogger()
Gets a logger for the action class.


beginTransaction

protected void beginTransaction(org.exolab.castor.jdo.Database db)
                         throws SystemException
Begins a transaction on the named database

Throws:
SystemException

commitTransaction

protected void commitTransaction(org.exolab.castor.jdo.Database db)
                          throws SystemException
Ends a transaction on the named database

Throws:
SystemException

rollbackTransaction

protected void rollbackTransaction(org.exolab.castor.jdo.Database db)
                            throws SystemException
Rollbacks a transaction on the named database if there is an open transaction

Throws:
SystemException

toCollection

protected java.util.Collection toCollection(java.util.Enumeration enumeration)
A generic method to convert an enumeration to a Collection.



Copyright © 2005 InfoGlue.org All Rights Reserved.