Class DefaultISProvider
- java.lang.Object
-
- org.gcube.application.cms.implementations.DefaultISProvider
-
- All Implemented Interfaces:
Engine<ISInterface>,ISInterface
public class DefaultISProvider extends Object implements ISInterface, Engine<ISInterface>
-
-
Constructor Summary
Constructors Constructor Description DefaultISProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.gcube.common.resources.gcore.GenericResourcecreateUpdateGR(org.gcube.common.resources.gcore.GenericResource resource)StringdecryptString(String toDecrypt)StringencryptString(String toEncrypt)List<org.gcube.common.resources.gcore.GenericResource>getGenericResource(String secondaryType, String name)ISInterfacegetObject()voidinit()List<org.gcube.common.resources.gcore.ServiceEndpoint.AccessPoint>performGetAP(String category, String platform, String flagName, String flagValue)org.gcube.application.geoportal.common.model.rest.DatabaseConnectionqueryForDatabase(String category, String platform, String flagName, String flagValue)voidshutdown()
-
-
-
Method Detail
-
queryForDatabase
public org.gcube.application.geoportal.common.model.rest.DatabaseConnection queryForDatabase(String category, String platform, String flagName, String flagValue) throws org.gcube.application.geoportal.common.model.rest.ConfigurationException
- Specified by:
queryForDatabasein interfaceISInterface- Throws:
org.gcube.application.geoportal.common.model.rest.ConfigurationException
-
performGetAP
public List<org.gcube.common.resources.gcore.ServiceEndpoint.AccessPoint> performGetAP(String category, String platform, String flagName, String flagValue)
- Specified by:
performGetAPin interfaceISInterface
-
decryptString
public String decryptString(String toDecrypt)
- Specified by:
decryptStringin interfaceISInterface
-
encryptString
public String encryptString(String toEncrypt)
- Specified by:
encryptStringin interfaceISInterface
-
getGenericResource
public List<org.gcube.common.resources.gcore.GenericResource> getGenericResource(String secondaryType, String name)
- Specified by:
getGenericResourcein interfaceISInterface
-
createUpdateGR
public org.gcube.common.resources.gcore.GenericResource createUpdateGR(org.gcube.common.resources.gcore.GenericResource resource)
- Specified by:
createUpdateGRin interfaceISInterface
-
init
public void init()
- Specified by:
initin interfaceEngine<ISInterface>
-
shutdown
public void shutdown()
- Specified by:
shutdownin interfaceEngine<ISInterface>
-
getObject
public ISInterface getObject() throws org.gcube.application.geoportal.common.model.rest.ConfigurationException
- Specified by:
getObjectin interfaceEngine<ISInterface>- Throws:
org.gcube.application.geoportal.common.model.rest.ConfigurationException
-
-