use of org.jmesa.core.filter.MatcherKey in project OpenClinica by OpenClinica.
the class SiteStatisticsTableFactory method configureTableFacade.
@Override
public void configureTableFacade(HttpServletResponse response, TableFacade tableFacade) {
super.configureTableFacade(response, tableFacade);
tableFacade.addFilterMatcher(new MatcherKey(Date.class, "loginAttemptDate"), new DateFilterMatcher("yyyy-MM-dd hh:mm"));
}
use of org.jmesa.core.filter.MatcherKey in project OpenClinica by OpenClinica.
the class SubjectIdSDVFactory method configureTableFacade.
@Override
public void configureTableFacade(HttpServletResponse response, TableFacade tableFacade) {
super.configureTableFacade(response, tableFacade);
tableFacade.addFilterMatcher(new MatcherKey(String.class, "sdvStatus"), new SdvStatusMatcher());
}
use of org.jmesa.core.filter.MatcherKey in project OpenClinica by OpenClinica.
the class ListEventsForSubjectTableFactory method configureTableFacade.
@Override
public void configureTableFacade(HttpServletResponse response, TableFacade tableFacade) {
super.configureTableFacade(response, tableFacade);
getColumnNamesMap();
tableFacade.addFilterMatcher(new MatcherKey(Character.class), new CharFilterMatcher());
tableFacade.addFilterMatcher(new MatcherKey(Status.class), new StatusFilterMatcher());
tableFacade.addFilterMatcher(new MatcherKey(String.class, "event.status"), new SubjectEventStatusFilterMatcher());
// subject group class filter matcher
for (int i = 4; i < 4 + studyGroupClasses.size(); i++) {
tableFacade.addFilterMatcher(new MatcherKey(String.class, columnNames[i]), new SubjectGroupFilterMatcher());
}
// crf columns filtering
for (int i = 6 + studyGroupClasses.size(); i < columnNames.length - 1; i++) {
tableFacade.addFilterMatcher(new MatcherKey(String.class, columnNames[i]), new SubjectEventCRFStatusFilterMatcher());
}
}
use of org.jmesa.core.filter.MatcherKey in project OpenClinica by OpenClinica.
the class ListDiscNotesSubjectTableFactory method configureTableFacade.
@Override
public void configureTableFacade(HttpServletResponse response, TableFacade tableFacade) {
super.configureTableFacade(response, tableFacade);
// getColumnNames();
getColumnNamesMap();
tableFacade.addFilterMatcher(new MatcherKey(Character.class), new CharFilterMatcher());
tableFacade.addFilterMatcher(new MatcherKey(Status.class), new StatusFilterMatcher());
for (int i = 3; i < columnNames.length - 1; i++) {
tableFacade.addFilterMatcher(new MatcherKey(Integer.class, columnNames[i]), new SubjectEventStatusFilterMatcher());
}
}
use of org.jmesa.core.filter.MatcherKey in project OpenClinica by OpenClinica.
the class StudyAuditLogTableFactory method configureTableFacade.
@Override
public void configureTableFacade(HttpServletResponse response, TableFacade tableFacade) {
super.configureTableFacade(response, tableFacade);
tableFacade.addFilterMatcher(new MatcherKey(Date.class, "subject.dateOfBirth"), new DateFilterMatcher(getDateFormat()));
tableFacade.addFilterMatcher(new MatcherKey(Status.class, "studySubject.status"), new GenericFilterMatecher());
tableFacade.addFilterMatcher(new MatcherKey(UserAccountBean.class, "studySubject.owner"), new GenericFilterMatecher());
}
Aggregations