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 Details

    • OBJECT_TYPE

      public static final String OBJECT_TYPE
      See Also:
    • CONFIG_JSON

      public static final String 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

      public String getObjectType()
      Specified by:
      getObjectType in interface io.meeds.social.databind.plugin.DatabindPlugin
    • canHandleDatabind

      public boolean canHandleDatabind(String objectType, String objectId)
      Specified by:
      canHandleDatabind in interface io.meeds.social.databind.plugin.DatabindPlugin
    • serialize

      public void serialize(String objectId, ZipOutputStream zipOutputStream, String username)
      Specified by:
      serialize in interface io.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:
      deserialize in interface io.meeds.social.databind.plugin.DatabindPlugin
    • importSpaceTemplates

      public List<String> importSpaceTemplates(File zipFile, String username)