Search in sources :

Example 1 with AgencyWithCoverageBeanComparator

use of org.onebusaway.presentation.impl.AgencyWithCoverageBeanComparator in project onebusaway-application-modules by camsys.

the class AgenciesAction method execute.

@Override
@Actions({ @Action(value = "/where/iphone/agencies") })
public String execute() throws ServiceException {
    _model = _transitDataService.getAgenciesWithCoverage();
    Collections.sort(_model, new AgencyWithCoverageBeanComparator());
    return SUCCESS;
}
Also used : AgencyWithCoverageBeanComparator(org.onebusaway.presentation.impl.AgencyWithCoverageBeanComparator) Actions(org.apache.struts2.convention.annotation.Actions)

Aggregations

Actions (org.apache.struts2.convention.annotation.Actions)1 AgencyWithCoverageBeanComparator (org.onebusaway.presentation.impl.AgencyWithCoverageBeanComparator)1