Class NtsLocationHelper


  • @ConditionalOnProperty(prefix="nts.helper.location",
                           name="enabled",
                           havingValue="true")
    @Service
    public class NtsLocationHelper
    extends Object
    • Method Detail

      • findAll

        public Set<org.nentangso.core.service.dto.LocationDTO> findAll()
      • findById

        public Optional<org.nentangso.core.service.dto.LocationDTO> findById​(Long id)
      • getGrantedLocationIds

        public Set<Long> getGrantedLocationIds()
      • isGrantedAnyLocations

        public boolean isGrantedAnyLocations()
      • hasGrantedLocation

        public boolean hasGrantedLocation​(@Min(1L)
                                          @Min(1L) Integer id)