Elexis API documentation
Version 2.1.6 as of December 11 2011

ch.elexis.actions
Class KonsFilter

java.lang.Object
  extended by ch.elexis.actions.KonsFilter

public class KonsFilter
extends java.lang.Object

Ein Filter für Konsultationen

Author:
gerry

Field Summary
static int AND
           
static int NOT
           
static int OR
           
 
Constructor Summary
KonsFilter()
           
 
Method Summary
 void addConstraint(int link, java.lang.String word)
           
 void clear()
           
 boolean pass(Konsultation k)
          Entscheiden, ob eine bestimmte Konsultation durch den Filter geht
 void setAsRegEx(boolean asRegEx)
          Festlegen, ob Suchausdrücke als Regular Expressions betrachtet werden sollen
 void setCaseSensitive(boolean caseSensitive)
          Festlegen, ob Suchausdrücke case-sensitive betrachtet werden sollen
 void setFall(Fall f)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

AND

public static final int AND
See Also:
Constant Field Values

OR

public static final int OR
See Also:
Constant Field Values

NOT

public static final int NOT
See Also:
Constant Field Values
Constructor Detail

KonsFilter

public KonsFilter()
Method Detail

setFall

public void setFall(Fall f)

addConstraint

public void addConstraint(int link,
                          java.lang.String word)

clear

public void clear()

setCaseSensitive

public void setCaseSensitive(boolean caseSensitive)
Festlegen, ob Suchausdrücke case-sensitive betrachtet werden sollen


setAsRegEx

public void setAsRegEx(boolean asRegEx)
Festlegen, ob Suchausdrücke als Regular Expressions betrachtet werden sollen


pass

public boolean pass(Konsultation k)
Entscheiden, ob eine bestimmte Konsultation durch den Filter geht

Parameters:
k - die Konsultation, die getestet werden soll
Returns:
true: Kons. geht durch (default)

Elexis API documentation
Version 2.1.6 as of December 11 2011

Copyright 2005-2011 by Gerry Weirich, Elexis