Package io.meeds.layout.plugin
Class SpaceNavigationDatabindPlugin
java.lang.Object
io.meeds.layout.plugin.SpaceNavigationDatabindPlugin
- All Implemented Interfaces:
io.meeds.social.databind.plugin.DatabindPlugin
@Component
public class SpaceNavigationDatabindPlugin
extends Object
implements io.meeds.social.databind.plugin.DatabindPlugin
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.exoplatform.social.attachment.AttachmentServicestatic final Stringprotected io.meeds.social.databind.service.DatabindServiceprotected org.exoplatform.commons.file.services.FileServiceprotected org.exoplatform.social.core.manager.IdentityManagerstatic final Stringstatic final Stringprotected io.meeds.social.space.template.service.SpaceTemplateServiceprotected io.meeds.social.translation.service.TranslationServiceprotected org.exoplatform.portal.config.UserACL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanHandleDatabind(String objectType, String objectId) CompletableFuture<org.apache.commons.lang3.tuple.Pair<io.meeds.social.databind.model.DatabindReport, File>> importSpaceTemplates(File zipFile, String username) voidinit()voidserialize(String objectId, ZipOutputStream zipOutputStream, String username)
-
Field Details
-
OBJECT_TYPE
- See Also:
-
NAVIGATION_JSON
- See Also:
-
CONFIG_JSON
- See Also:
-
databindService
@Autowired protected io.meeds.social.databind.service.DatabindService databindService -
fileService
@Autowired protected org.exoplatform.commons.file.services.FileService fileService -
translationService
@Autowired protected io.meeds.social.translation.service.TranslationService translationService -
spaceTemplateService
@Autowired protected io.meeds.social.space.template.service.SpaceTemplateService spaceTemplateService -
attachmentService
@Autowired protected org.exoplatform.social.attachment.AttachmentService attachmentService -
userAcl
@Autowired protected org.exoplatform.portal.config.UserACL userAcl -
identityManager
@Autowired protected org.exoplatform.social.core.manager.IdentityManager identityManager
-
-
Constructor Details
-
SpaceNavigationDatabindPlugin
public SpaceNavigationDatabindPlugin()
-
-
Method Details
-
init
@PostConstruct public void init() -
getObjectType
- Specified by:
getObjectTypein interfaceio.meeds.social.databind.plugin.DatabindPlugin
-
canHandleDatabind
- Specified by:
canHandleDatabindin interfaceio.meeds.social.databind.plugin.DatabindPlugin
-
serialize
- Specified by:
serializein interfaceio.meeds.social.databind.plugin.DatabindPlugin
-
deserialize
public CompletableFuture<org.apache.commons.lang3.tuple.Pair<io.meeds.social.databind.model.DatabindReport,File>> deserialize(File zipFile, Map<String, String> params, String username) - Specified by:
deserializein interfaceio.meeds.social.databind.plugin.DatabindPlugin
-
importSpaceTemplates
-