Search in sources :

Example 6 with DateFilterMatcher

use of org.jmesa.core.filter.DateFilterMatcher in project OpenClinica by OpenClinica.

the class EventStatusStatisticsTableFactory 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"));
}
Also used : DateFilterMatcher(org.jmesa.core.filter.DateFilterMatcher) Date(java.util.Date) MatcherKey(org.jmesa.core.filter.MatcherKey)

Example 7 with DateFilterMatcher

use of org.jmesa.core.filter.DateFilterMatcher 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"));
}
Also used : DateFilterMatcher(org.jmesa.core.filter.DateFilterMatcher) Date(java.util.Date) MatcherKey(org.jmesa.core.filter.MatcherKey)

Example 8 with DateFilterMatcher

use of org.jmesa.core.filter.DateFilterMatcher 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());
}
Also used : Status(org.akaza.openclinica.bean.core.Status) UserAccountBean(org.akaza.openclinica.bean.login.UserAccountBean) DateFilterMatcher(org.jmesa.core.filter.DateFilterMatcher) Date(java.util.Date) MatcherKey(org.jmesa.core.filter.MatcherKey)

Aggregations

Date (java.util.Date)8 DateFilterMatcher (org.jmesa.core.filter.DateFilterMatcher)8 MatcherKey (org.jmesa.core.filter.MatcherKey)8 Status (org.akaza.openclinica.bean.core.Status)2 UserAccountBean (org.akaza.openclinica.bean.login.UserAccountBean)2 LoginStatus (org.akaza.openclinica.domain.technicaladmin.LoginStatus)2