Class DlpUtils

java.lang.Object
org.exoplatform.dlp.utils.DlpUtils

public class DlpUtils extends Object
  • Field Details

    • DLP_DETECTED_ITEM_ID

      public static final org.exoplatform.commons.api.notification.model.ArgumentLiteral<Long> DLP_DETECTED_ITEM_ID
    • DLP_RESTORED_ITEM_TITLE

      public static final org.exoplatform.commons.api.notification.model.ArgumentLiteral<String> DLP_RESTORED_ITEM_TITLE
    • DLP_RESTORED_ITEM_REFERENCE

      public static final org.exoplatform.commons.api.notification.model.ArgumentLiteral<String> DLP_RESTORED_ITEM_REFERENCE
    • DLP_RESTORED_ITEM_AUTHOR

      public static final org.exoplatform.commons.api.notification.model.ArgumentLiteral<String> DLP_RESTORED_ITEM_AUTHOR
    • TYPE

      public static final String TYPE
      See Also:
    • PRIVATE_PATH

      public static final String PRIVATE_PATH
      See Also:
  • Method Details

    • getQuarantinePageUri

      public static String getQuarantinePageUri()
      Gets the link of quarantine page
      Returns:
    • getDlpRestoredUri

      public static String getDlpRestoredUri(String reference)
      Gets the link of restored dlp file
      Returns:
    • getQuarantineRedirectURL

      public static String getQuarantineRedirectURL()
      Get the Redirect quarantine page url
      Returns:
      the quarantine page url
    • getDlpRestoredUrl

      public static String getDlpRestoredUrl(String reference)
      Get the Redirect restored item url
      Returns:
      the Redirect restored item url
    • isDlpAdmin

      public static boolean isDlpAdmin()