cst.loggingTool.persistenceLayer
Class CompositeFilter

java.lang.Object
  extended by cst.loggingTool.persistenceLayer.CompositeFilter

public class CompositeFilter
extends java.lang.Object


 Copyright 2010 Medical Research Council Unit for Lifelong Health and Ageing
 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
 You may obtain a copy of the License at
      http://www.apache.org/licenses/LICENSE-2.0
 Unless required by applicable law or agreed to in writing, software 
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.  
 

Version:
1.0
Author:
Kevin Garwood (kgarwood@users.sourceforge.net)

Nested Class Summary
static class CompositeFilter.FilterType
           
 
Constructor Summary
CompositeFilter(SessionProperties sessionProperties)
           
 
Method Summary
 java.lang.String getDescription()
           
 java.util.ArrayList<java.lang.String> getMatchingTrialSubjectIdentifiers(User user)
          choices are: show all records show results of a subject filter show results of an activity filter show results of applying both a subject and an activity filter
 void setCompletionFilterCommand(CompletionFilterCommand completionFilterCommand)
           
 void setDataTypeFilterCommand(DateFilterCommand dateFilterCommand)
           
 void setShowAllFilter(ShowAllFilterCommand showAllFilterCommand)
           
 void setSubjectFilter(SubjectAttributeFilterCommand coreFieldFilterCommand)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompositeFilter

public CompositeFilter(SessionProperties sessionProperties)
Method Detail

setShowAllFilter

public void setShowAllFilter(ShowAllFilterCommand showAllFilterCommand)

setSubjectFilter

public void setSubjectFilter(SubjectAttributeFilterCommand coreFieldFilterCommand)

setCompletionFilterCommand

public void setCompletionFilterCommand(CompletionFilterCommand completionFilterCommand)

setDataTypeFilterCommand

public void setDataTypeFilterCommand(DateFilterCommand dateFilterCommand)

getDescription

public java.lang.String getDescription()

getMatchingTrialSubjectIdentifiers

public java.util.ArrayList<java.lang.String> getMatchingTrialSubjectIdentifiers(User user)
                                                                         throws CSTException
choices are: