Interface PersistenceProvider
-
- All Known Implementing Classes:
PersistenceProviderImpl
public interface PersistenceProvider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.gcube.data.transfer.model.DeletionReportdelete(String persistenceId, String subPath)Set<String>getAvaileblContextIds()org.gcube.data.transfer.model.RemoteFileDescriptorgetDescriptor(String persistenceId, String subPath)FilegetPersistedFile(String persistenceId, String subPath)FilegetPersistenceFolderById(String persistenceId)FileprepareDestination(org.gcube.data.transfer.model.Destination dest)
-
-
-
Method Detail
-
getPersistenceFolderById
File getPersistenceFolderById(String persistenceId) throws DestinationAccessException
- Throws:
DestinationAccessException
-
prepareDestination
File prepareDestination(org.gcube.data.transfer.model.Destination dest) throws DestinationAccessException
- Throws:
DestinationAccessException
-
getPersistedFile
File getPersistedFile(String persistenceId, String subPath) throws DestinationAccessException
- Throws:
DestinationAccessException
-
getDescriptor
org.gcube.data.transfer.model.RemoteFileDescriptor getDescriptor(String persistenceId, String subPath) throws DestinationAccessException
- Throws:
DestinationAccessException
-
delete
org.gcube.data.transfer.model.DeletionReport delete(String persistenceId, String subPath) throws DestinationAccessException
- Throws:
DestinationAccessException
-
-