Search in sources :

Example 1 with DateFilterMatcher

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

Example 2 with DateFilterMatcher

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

Example 3 with DateFilterMatcher

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

Example 4 with DateFilterMatcher

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

the class ViewRuleAssignmentTableFactory method configureTableFacade.

@Override
public void configureTableFacade(HttpServletResponse response, TableFacade tableFacade) {
    super.configureTableFacade(response, tableFacade);
    getColumnNamesMap();
    tableFacade.addFilterMatcher(new MatcherKey(Date.class, "loginAttemptDate"), new DateFilterMatcher("yyyy-MM-dd HH:mm"));
    tableFacade.addFilterMatcher(new MatcherKey(LoginStatus.class, "loginStatus"), new AvailableFilterMatcher());
    tableFacade.addFilterMatcher(new MatcherKey(String.class, "actionExecuteOn"), new GenericFilterMatcher());
    tableFacade.addFilterMatcher(new MatcherKey(String.class, "actionType"), new GenericFilterMatcher());
    tableFacade.addFilterMatcher(new MatcherKey(String.class, "actionSummary"), new GenericFilterMatcher());
    tableFacade.addFilterMatcher(new MatcherKey(String.class, "ruleSetRuleStatus"), new GenericFilterMatcher());
}
Also used : LoginStatus(org.akaza.openclinica.domain.technicaladmin.LoginStatus) DateFilterMatcher(org.jmesa.core.filter.DateFilterMatcher) Date(java.util.Date) MatcherKey(org.jmesa.core.filter.MatcherKey)

Example 5 with DateFilterMatcher

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

the class ListSubjectTableFactory method configureTableFacade.

@Override
public void configureTableFacade(HttpServletResponse response, TableFacade tableFacade) {
    super.configureTableFacade(response, tableFacade);
    tableFacade.addFilterMatcher(new MatcherKey(Date.class, "subject.createdDate"), new DateFilterMatcher(getDateFormat()));
    tableFacade.addFilterMatcher(new MatcherKey(Date.class, "subject.updatedDate"), new DateFilterMatcher(getDateFormat()));
    // tableFacade.addFilterMatcher(new MatcherKey(Status.class, "subject.status"), new GenericFilterMatecher());
    tableFacade.addFilterMatcher(new MatcherKey(Status.class, "subject.status"), new StatusFilterMatecher());
    tableFacade.addFilterMatcher(new MatcherKey(UserAccountBean.class, "subject.owner"), new GenericFilterMatecher());
    tableFacade.addFilterMatcher(new MatcherKey(UserAccountBean.class, "subject.updater"), 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