com.counterclaim.openefm.model.court.ozone
Class OzoneCourtManagerImpl

java.lang.Object
  extended byorg.ozoneDB.OzoneObject
      extended bycom.counterclaim.openefm.model.ozone.OzoneModelObjectImpl
          extended bycom.counterclaim.openefm.model.ozone.OzoneObjectManagerImpl
              extended bycom.counterclaim.openefm.model.court.ozone.OzoneCourtManagerImpl
All Implemented Interfaces:
java.lang.Comparable, CourtManager, ModelObject, ObjectManager, org.ozoneDB.OzoneCompatible, OzoneCourtManager, OzoneModelObject, OzoneObjectManager, org.ozoneDB.OzoneRemote, java.io.Serializable

public class OzoneCourtManagerImpl
extends OzoneObjectManagerImpl
implements OzoneCourtManager

See Also:
Serialized Form
 

Field Summary
private  java.util.Map courtIdMap
           
private  java.util.Map courtNameMap
           
private static org.apache.log4j.Logger log
           
private static long serialVersionUID
           
 
Fields inherited from class com.counterclaim.openefm.model.ozone.OzoneObjectManagerImpl
 
Fields inherited from class com.counterclaim.openefm.model.ozone.OzoneModelObjectImpl
id, manager
 
Fields inherited from class org.ozoneDB.OzoneObject
 
Fields inherited from interface com.counterclaim.openefm.model.court.CourtManager
NAME
 
Constructor Summary
OzoneCourtManagerImpl()
           
 
Method Summary
private  void addCourt(Court court)
           
 Court createCourt()
           
protected  void deindex(OzoneModelObject obj)
           
 Court findCourtByName(java.lang.String courtName)
           
 java.util.List getAllCourts()
           
 Court getCourt(Id courtId)
           
private  Court newCourt(boolean withNewId)
           
protected  void reindex(OzoneModelObject obj)
           
 void removeCourt(Court court)
           
 
Methods inherited from class com.counterclaim.openefm.model.ozone.OzoneObjectManagerImpl
getModel, nextId, postObjectModified, preObjectModified, setModel
 
Methods inherited from class com.counterclaim.openefm.model.ozone.OzoneModelObjectImpl
compareTo, getId, getObjectManager, log, log, postModify, preModify, setId, setObjectManager
 
Methods inherited from class org.ozoneDB.OzoneObject
container, database, deleteRecursive, handle, hashCode, onCreate, onDelete, self, setContainer, size, toString, toXML
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.counterclaim.openefm.model.ObjectManager
getModel, setModel
 
Methods inherited from interface com.counterclaim.openefm.model.ozone.OzoneObjectManager
postObjectModified, preObjectModified
 
Methods inherited from interface com.counterclaim.openefm.model.ozone.OzoneModelObject
setId, setObjectManager
 
Methods inherited from interface com.counterclaim.openefm.model.ModelObject
getId, getObjectManager
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Field Detail

log

private static org.apache.log4j.Logger log

courtIdMap

private java.util.Map courtIdMap

courtNameMap

private java.util.Map courtNameMap

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

OzoneCourtManagerImpl

public OzoneCourtManagerImpl()
                      throws ModelException
Method Detail

deindex

protected void deindex(OzoneModelObject obj)
Specified by:
deindex in class OzoneObjectManagerImpl

reindex

protected void reindex(OzoneModelObject obj)
Specified by:
reindex in class OzoneObjectManagerImpl

newCourt

private Court newCourt(boolean withNewId)
                throws ModelException
Throws:
ModelException

createCourt

public Court createCourt()
                  throws ModelException
Specified by:
createCourt in interface OzoneCourtManager
Throws:
ModelException

addCourt

private void addCourt(Court court)
               throws ModelException
Throws:
ModelException

getCourt

public Court getCourt(Id courtId)
               throws ModelException
Specified by:
getCourt in interface CourtManager
Throws:
ModelException

getAllCourts

public java.util.List getAllCourts()
                            throws ModelException
Specified by:
getAllCourts in interface CourtManager
Throws:
ModelException

removeCourt

public void removeCourt(Court court)
                 throws ModelException
Specified by:
removeCourt in interface OzoneCourtManager
Throws:
ModelException

findCourtByName

public Court findCourtByName(java.lang.String courtName)
                      throws ModelException
Specified by:
findCourtByName in interface CourtManager
Throws:
ModelException


Copyright © 2002 counterclaim.com. All Rights Reserved.