Package thredds.core
Class AllowedServices
java.lang.Object
thredds.core.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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddGlobalServices(List<thredds.client.catalog.Service> services) voidthredds.client.catalog.ServicefindGlobalService(String name) voidfinish()getDisallowedServices(List<thredds.client.catalog.Service> services) Checks if a list of services are allowed.Collection<thredds.client.catalog.Service>thredds.client.catalog.ServicegetStandardCollectionServices(ucar.nc2.constants.FeatureType featType) thredds.client.catalog.Servicethredds.client.catalog.ServicegetStandardServices(String featTypeName) thredds.client.catalog.ServicegetStandardServices(ucar.nc2.constants.FeatureType featType) booleanisAllowed(StandardService type) booleanisAThreddsDataset(String filename) voidvoidvoidsetAllowService(StandardService service, Boolean allow) voidsetGridServices(List<String> list) voidsetIsAThreddsDataset(List<String> list) voidsetIsNotAThreddsDataset(List<String> list) voidsetPointCollectionServices(List<String> list) voidsetPointServices(List<String> list) voidsetRadialServices(List<String> list)
-
Constructor Details
-
AllowedServices
public AllowedServices()
-
-
Method Details
-
setAllow
-
setAllowService
-
setGridServices
-
setPointServices
-
setPointCollectionServices
-
setRadialServices
-
finish
public void finish() -
getStandardServices
-
getStandardServices
public thredds.client.catalog.Service getStandardServices(ucar.nc2.constants.FeatureType featType) - Specified by:
getStandardServicesin interfacethredds.server.catalog.AllowedServicesIF
-
getStandardCollectionServices
public thredds.client.catalog.Service getStandardCollectionServices(ucar.nc2.constants.FeatureType featType) -
isAllowed
-
getStandardService
-
clearGlobalServices
public void clearGlobalServices() -
addGlobalServices
-
findGlobalService
-
getGlobalServices
-
getDisallowedServices
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
-
setIsNotAThreddsDataset
-
isAThreddsDataset
- Specified by:
isAThreddsDatasetin interfacethredds.server.catalog.AllowedServicesIF
-