Class SpaceDocumentsSecuritySettingsPlugin

java.lang.Object
org.exoplatform.documents.plugin.SpaceDocumentsSecuritySettingsPlugin
All Implemented Interfaces:
io.meeds.social.space.security.plugin.SpaceSecuritySettingsPlugin

@Service("documentsSpaceSecuritySettingsPlugin") public class SpaceDocumentsSecuritySettingsPlugin extends Object implements io.meeds.social.space.security.plugin.SpaceSecuritySettingsPlugin
Removes the public links of a space's documents before its "Keep documents inside the space" setting changes. Social collects it from every addon's beans: it carries @Service under a name of its own and is not final.
  • Field Details

  • Constructor Details

    • SpaceDocumentsSecuritySettingsPlugin

      public SpaceDocumentsSecuritySettingsPlugin()
  • Method Details

    • beforeDocumentsKeptInsideChange

      public void beforeDocumentsKeptInsideChange(org.exoplatform.social.core.space.model.Space space, boolean newValue, String username)
      Specified by:
      beforeDocumentsKeptInsideChange in interface io.meeds.social.space.security.plugin.SpaceSecuritySettingsPlugin