public class ToursServiceImpl extends Object implements ToursService
PERMISSION_TYPE_EDIT, PERMISSION_TYPE_VIEW
Constructor and Description |
---|
ToursServiceImpl() |
Modifier and Type | Method and Description |
---|---|
de.micromata.opengis.kml.v_2_2_0.Kml |
createTourKml(Tour tour) |
void |
deletePoiById(Long poiId) |
void |
deleteTourById(Long id) |
void |
duplicatePoiById(Long id) |
void |
duplicateTourById(Long id) |
List<POI> |
findAllCommonPOI() |
List<Tour> |
findAllTours() |
POI |
findPoiById(Long id) |
POI |
findPoiByOrder(Long tourId,
Integer order) |
Tour |
findTourById(Long id) |
Tour |
findTourByName(String name) |
boolean |
hasAccessToEditPOI(User user,
POI poi) |
boolean |
hasAccessToEditTour(User user,
Tour tour) |
boolean |
hasAccessToPublish(User user) |
boolean |
hasAccessToViewPOI(User user,
POI poi) |
boolean |
hasAccessToViewTour(User user,
Tour tour) |
Long |
savePoi(POI poi) |
Long |
saveTour(Tour tour) |
void |
setConfigParamDao(ToursDao toursDao) |
void |
setConfigParamService(ConfigParamService configParamService) |
public ToursServiceImpl()
public void setConfigParamService(ConfigParamService configParamService)
public void setConfigParamDao(ToursDao toursDao)
public Tour findTourById(Long id)
findTourById
in interface ToursService
public Tour findTourByName(String name)
findTourByName
in interface ToursService
public Long saveTour(Tour tour)
saveTour
in interface ToursService
public List<Tour> findAllTours()
findAllTours
in interface ToursService
public void deleteTourById(Long id)
deleteTourById
in interface ToursService
public void duplicateTourById(Long id)
duplicateTourById
in interface ToursService
public void duplicatePoiById(Long id)
duplicatePoiById
in interface ToursService
public POI findPoiById(Long id)
findPoiById
in interface ToursService
public POI findPoiByOrder(Long tourId, Integer order)
findPoiByOrder
in interface ToursService
public Long savePoi(POI poi)
savePoi
in interface ToursService
public void deletePoiById(Long poiId)
deletePoiById
in interface ToursService
public List<POI> findAllCommonPOI()
findAllCommonPOI
in interface ToursService
public boolean hasAccessToEditTour(User user, Tour tour)
hasAccessToEditTour
in interface ToursService
public boolean hasAccessToViewTour(User user, Tour tour)
hasAccessToViewTour
in interface ToursService
public boolean hasAccessToEditPOI(User user, POI poi)
hasAccessToEditPOI
in interface ToursService
public boolean hasAccessToViewPOI(User user, POI poi)
hasAccessToViewPOI
in interface ToursService
public boolean hasAccessToPublish(User user)
hasAccessToPublish
in interface ToursService
public de.micromata.opengis.kml.v_2_2_0.Kml createTourKml(Tour tour)
createTourKml
in interface ToursService
Copyright © 2011-2013 The Kuali Foundation. All Rights Reserved.