use of org.onebusaway.users.model.properties.RouteFilter in project onebusaway-application-modules by camsys.
the class BookmarkStopAction method execute.
@Override
public String execute() throws Exception {
if (_currentUser != null && !_currentUser.isRememberPreferencesEnabled())
return "preferences_disabled";
if (_stops.isEmpty())
return INPUT;
String name = _bookmarkPresentationService.getNameForStops(_stops);
List<String> stopIds = MappingLibrary.map(_stops, "id");
_currentUserService.addStopBookmark(name, stopIds, new RouteFilter());
return SUCCESS;
}
Aggregations