public class QuotaPolicyFilter extends BasicRightPolicyFilter
REVISIONorder| Constructor and Description |
|---|
QuotaPolicyFilter() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkAfterUpload(DocUploadInfo info)
Checks if the uploaded file must be accepted or rejected.
|
boolean |
checkBeforeUpload(java.lang.String fieldName,
java.lang.String contentType,
java.lang.String fileName)
Checks if the uploaded file must be accepted or rejected.
|
callCanBeReadBy, callCanBeReadBy, canBeReadBy, canBeReadBy, canBeReadBy, canBeReadBy, canBeReadBy, canCreateContact, canCreateWorkspace, canDeleteOther, canDeleteOther, canManageCategory, canPublish, canUpdateOther, canUpdateOther, canUseCategory, canWorkOn, canWorkOn, checkAccess, checkHtml, getWorkspaceSet, init, isAdmin, isWorkercompareTo, equals, getOrder, setOrderclone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetOrderpublic boolean checkBeforeUpload(java.lang.String fieldName,
java.lang.String contentType,
java.lang.String fileName)
RightPolicyFiltercheckBeforeUpload in interface RightPolicyFiltercheckBeforeUpload in class BasicRightPolicyFilterfieldName - the name of the field for the given filecontentType - the content type of the filefileName - the name of the fileRightPolicyFilter.checkBeforeUpload(String, String, String)public boolean checkAfterUpload(DocUploadInfo info)
RightPolicyFiltercheckAfterUpload in interface RightPolicyFiltercheckAfterUpload in class BasicRightPolicyFilterinfo - information about the uploaded fileRightPolicyFilter.checkAfterUpload(DocUploadInfo)Copyright © 2001-2017 Jalios SA. All Rights Reserved.