Package thredds.core

Class AllowedServices

  • All Implemented Interfaces:
    thredds.server.catalog.AllowedServicesIF

    @Component
    public class AllowedServices
    extends Object
    implements thredds.server.catalog.AllowedServicesIF
    Manage Lists of Services
    Since:
    1/23/2015
    See Also:
    "src/main/webapp/WEB-INF/tdsGlobalConfig.xml"
    • Constructor Detail

      • AllowedServices

        public AllowedServices()
    • Method Detail

      • setGridServices

        public void setGridServices​(List<String> list)
      • setPointServices

        public void setPointServices​(List<String> list)
      • setPointCollectionServices

        public void setPointCollectionServices​(List<String> list)
      • setRadialServices

        public void setRadialServices​(List<String> list)
      • finish

        public void finish()
      • getStandardServices

        public thredds.client.catalog.Service getStandardServices​(String featTypeName)
      • getStandardServices

        public thredds.client.catalog.Service getStandardServices​(ucar.nc2.constants.FeatureType featType)
        Specified by:
        getStandardServices in interface thredds.server.catalog.AllowedServicesIF
      • getStandardCollectionServices

        public thredds.client.catalog.Service getStandardCollectionServices​(ucar.nc2.constants.FeatureType featType)
      • getStandardService

        @Nullable
        public thredds.client.catalog.Service getStandardService​(StandardService type)
      • clearGlobalServices

        public void clearGlobalServices()
      • addGlobalServices

        public void addGlobalServices​(List<thredds.client.catalog.Service> services)
      • findGlobalService

        public thredds.client.catalog.Service findGlobalService​(String name)
      • getGlobalServices

        public Collection<thredds.client.catalog.Service> getGlobalServices()
      • getDisallowedServices

        public List<String> getDisallowedServices​(List<thredds.client.catalog.Service> services)
        Checks if a list of services are allowed.
        Parameters:
        services - check this list of services
        Returns:
        A list of disallowed services, may be empty not null
      • makeDebugActions

        public void makeDebugActions()
      • setIsAThreddsDataset

        public void setIsAThreddsDataset​(List<String> list)
      • setIsNotAThreddsDataset

        public void setIsNotAThreddsDataset​(List<String> list)
      • isAThreddsDataset

        public boolean isAThreddsDataset​(String filename)
        Specified by:
        isAThreddsDataset in interface thredds.server.catalog.AllowedServicesIF