Package org.exoplatform.dlp.utils
Class DlpUtils
java.lang.Object
org.exoplatform.dlp.utils.DlpUtils
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.exoplatform.commons.api.notification.model.ArgumentLiteral<Long> static final org.exoplatform.commons.api.notification.model.ArgumentLiteral<String> static final org.exoplatform.commons.api.notification.model.ArgumentLiteral<String> static final org.exoplatform.commons.api.notification.model.ArgumentLiteral<String> static final Stringstatic final String -
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetDlpRestoredUri(String reference) Gets the link of restored dlp filestatic StringgetDlpRestoredUrl(String reference) Get the Redirect restored item urlstatic StringGets the link of quarantine pagestatic StringGet the Redirect quarantine page urlstatic boolean
-
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
- See Also:
-
PRIVATE_PATH
- See Also:
-
-
Method Details
-
getQuarantinePageUri
Gets the link of quarantine page- Returns:
-
getDlpRestoredUri
Gets the link of restored dlp file- Returns:
-
getQuarantineRedirectURL
Get the Redirect quarantine page url- Returns:
- the quarantine page url
-
getDlpRestoredUrl
Get the Redirect restored item url- Returns:
- the Redirect restored item url
-
isDlpAdmin
public static boolean isDlpAdmin()
-