com.counterclaim.openefm.model.lxml.ozone
Class OzoneLxmlFilingManagerImpl

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.lxml.ozone.OzoneLxmlFilingManagerImpl
All Implemented Interfaces:
java.lang.Comparable, LxmlFilingManager, ModelObject, ObjectManager, org.ozoneDB.OzoneCompatible, OzoneLxmlFilingManager, OzoneModelObject, OzoneObjectManager, org.ozoneDB.OzoneRemote, java.io.Serializable

public class OzoneLxmlFilingManagerImpl
extends OzoneObjectManagerImpl
implements OzoneLxmlFilingManager

See Also:
Serialized Form
 

Field Summary
private  java.util.Map acceptedFilingIdMap
          A map of accepted filings.
private  java.util.Map filingIdMap
          A map of all filings.
private static org.apache.log4j.Logger log
           
private  java.util.Map pendingFilingIdMap
          A map of pending filings.
private  java.util.Map rejectedFilingIdMap
          A map of rejected filings.
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.lxml.LxmlFilingManager
NAME
 
Constructor Summary
OzoneLxmlFilingManagerImpl()
           
 
Method Summary
 void acceptFiling(Id filingId)
           
 void addFiling(InternalLxmlFiling filing)
           
 InternalLxmlFiling createLxmlFiling()
           
protected  void deindex(OzoneModelObject obj)
           
 java.util.List getAcceptedFilings()
           
 java.util.List getAllFilings()
           
 java.util.List getAllFilingsByCourt(Id courtId)
           
 java.util.List getAllFilingsByCourtAndEfilingProvider()
           
 java.util.List getAllFilingsByEfilingProvider(Id efspId)
           
 InternalLxmlFiling getFiling(Id filingId)
           
 java.util.List getFilingsOlderThan(java.util.Date date)
          NOTE: This method uses the lead documents date submitted
 java.util.List getPendingFilings()
           
 java.util.List getRejectedFilings()
           
private  void indexByStatus(InternalLxmlFiling filing)
           
private  OzoneLxmlFiling newLxmlFiling(boolean withNewId)
           
protected  void reindex(OzoneModelObject obj)
           
 void rejectFiling(Id filingId)
           
 void removeFiling(Id filingId)
           
 
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

filingIdMap

private java.util.Map filingIdMap
A map of all filings. filingId -> filing


pendingFilingIdMap

private java.util.Map pendingFilingIdMap
A map of pending filings. filingId -> filing


acceptedFilingIdMap

private java.util.Map acceptedFilingIdMap
A map of accepted filings. filingId -> filing


rejectedFilingIdMap

private java.util.Map rejectedFilingIdMap
A map of rejected filings. filingId -> filing


serialVersionUID

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

OzoneLxmlFilingManagerImpl

public OzoneLxmlFilingManagerImpl()
                           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

indexByStatus

private void indexByStatus(InternalLxmlFiling filing)
                    throws ModelException
Throws:
ModelException

getAllFilings

public java.util.List getAllFilings()
                             throws ModelException
Specified by:
getAllFilings in interface LxmlFilingManager
Throws:
ModelException

getPendingFilings

public java.util.List getPendingFilings()
                                 throws ModelException
Specified by:
getPendingFilings in interface LxmlFilingManager
Throws:
ModelException

getRejectedFilings

public java.util.List getRejectedFilings()
                                  throws ModelException
Specified by:
getRejectedFilings in interface LxmlFilingManager
Throws:
ModelException

getAcceptedFilings

public java.util.List getAcceptedFilings()
                                  throws ModelException
Specified by:
getAcceptedFilings in interface LxmlFilingManager
Throws:
ModelException

getFilingsOlderThan

public java.util.List getFilingsOlderThan(java.util.Date date)
                                   throws ModelException
NOTE: This method uses the lead documents date submitted.. - It could maybe use filing.getCreation() instead .. They are both the same date I believe in counterclaim's EFSP..

Specified by:
getFilingsOlderThan in interface LxmlFilingManager
Throws:
ModelException

getAllFilingsByCourt

public java.util.List getAllFilingsByCourt(Id courtId)
                                    throws ModelException
Specified by:
getAllFilingsByCourt in interface LxmlFilingManager
Throws:
ModelException

getAllFilingsByEfilingProvider

public java.util.List getAllFilingsByEfilingProvider(Id efspId)
                                              throws ModelException
Specified by:
getAllFilingsByEfilingProvider in interface LxmlFilingManager
Throws:
ModelException

getAllFilingsByCourtAndEfilingProvider

public java.util.List getAllFilingsByCourtAndEfilingProvider()
                                                      throws ModelException
Specified by:
getAllFilingsByCourtAndEfilingProvider in interface LxmlFilingManager
Throws:
ModelException

newLxmlFiling

private OzoneLxmlFiling newLxmlFiling(boolean withNewId)
                               throws ModelException
Throws:
ModelException

createLxmlFiling

public InternalLxmlFiling createLxmlFiling()
                                    throws ModelException
Specified by:
createLxmlFiling in interface OzoneLxmlFilingManager
Throws:
ModelException

addFiling

public void addFiling(InternalLxmlFiling filing)
               throws ModelException
Specified by:
addFiling in interface OzoneLxmlFilingManager
Throws:
ModelException

getFiling

public InternalLxmlFiling getFiling(Id filingId)
                             throws ModelException
Specified by:
getFiling in interface LxmlFilingManager
Throws:
ModelException

removeFiling

public void removeFiling(Id filingId)
                  throws ModelException
Specified by:
removeFiling in interface OzoneLxmlFilingManager
Throws:
ModelException

acceptFiling

public void acceptFiling(Id filingId)
                  throws ModelException
Specified by:
acceptFiling in interface OzoneLxmlFilingManager
Throws:
ModelException

rejectFiling

public void rejectFiling(Id filingId)
                  throws ModelException
Specified by:
rejectFiling in interface OzoneLxmlFilingManager
Throws:
ModelException


Copyright © 2002 counterclaim.com. All Rights Reserved.