use of org.jmesa.core.filter.MatcherKey in project OpenClinica by OpenClinica.
the class AuditUserLoginTableFactory 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"));
tableFacade.addFilterMatcher(new MatcherKey(LoginStatus.class, "loginStatus"), new AvailableFilterMatcher());
}
use of org.jmesa.core.filter.MatcherKey in project OpenClinica by OpenClinica.
the class StudyStatisticsTableFactory 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 StudySubjectStatusStatisticsTableFactory 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 ListDiscNotesForCRFTableFactory 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());
// crf columns filtering
for (int i = 3; 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 ListStudySubjectTableFactory 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 = 6; i < 6 + studyGroupClasses.size(); i++) {
tableFacade.addFilterMatcher(new MatcherKey(Integer.class, columnNames[i]), new SubjectGroupFilterMatcher());
}
for (int i = 6 + studyGroupClasses.size(); i < columnNames.length - 1; i++) {
tableFacade.addFilterMatcher(new MatcherKey(Integer.class, columnNames[i]), new SubjectEventStatusFilterMatcher());
}
}
Aggregations