Package io.meeds.social.databind.plugin
Interface DatabindPlugin
public interface DatabindPlugin
-
Method Summary
Modifier and TypeMethodDescriptionbooleancanHandleDatabind(String objectType, String objectId) CompletableFuture<org.apache.commons.lang3.tuple.Pair<DatabindReport, File>> voidserialize(String objectId, ZipOutputStream zipOutputStream, String username)
-
Method Details
-
getObjectType
String getObjectType() -
canHandleDatabind
-
serialize
void serialize(String objectId, ZipOutputStream zipOutputStream, String username) throws org.exoplatform.commons.exception.ObjectNotFoundException, IllegalAccessException - Throws:
org.exoplatform.commons.exception.ObjectNotFoundExceptionIllegalAccessException
-
deserialize
CompletableFuture<org.apache.commons.lang3.tuple.Pair<DatabindReport,File>> deserialize(File zipFile, Map<String, String> params, String username)
-