Elexis API documentation
Version 2.1.6 as of December 11 2011

ch.elexis.views
Class PatFilterImpl

java.lang.Object
  extended by ch.elexis.views.PatFilterImpl
All Implemented Interfaces:
PatListFilterBox.IPatFilter

public class PatFilterImpl
extends java.lang.Object
implements PatListFilterBox.IPatFilter

Default implementation of IPatFilter. Will be called after all other filters returned DONT_HANDLE

Author:
Gerry

Field Summary
 
Fields inherited from interface ch.elexis.views.PatListFilterBox.IPatFilter
ACCEPT, DONT_HANDLE, FILTER_FAULT, REJECT
 
Constructor Summary
PatFilterImpl()
           
 
Method Summary
 boolean aboutToStart(IPersistentObject filter)
           
 int accept(Patient p, IPersistentObject o)
          Will the Patient be accepted for the Filter depending on the Object?
 boolean finished(IPersistentObject filter)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PatFilterImpl

public PatFilterImpl()
Method Detail

accept

public int accept(Patient p,
                  IPersistentObject o)
Description copied from interface: PatListFilterBox.IPatFilter
Will the Patient be accepted for the Filter depending on the Object?

Specified by:
accept in interface PatListFilterBox.IPatFilter
Parameters:
p - The Patient to consider
o - The Object to check
Returns:
one of REJECT, ACCEPT, DONT_HANDLE

aboutToStart

public boolean aboutToStart(IPersistentObject filter)
Specified by:
aboutToStart in interface PatListFilterBox.IPatFilter

finished

public boolean finished(IPersistentObject filter)
Specified by:
finished in interface PatListFilterBox.IPatFilter

Elexis API documentation
Version 2.1.6 as of December 11 2011

Copyright 2005-2011 by Gerry Weirich, Elexis