public class QuotaPolicyFilter extends BasicRightPolicyFilter
REVISION
order
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, isWorker
compareTo, equals, getOrder, setOrder
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getOrder
public boolean checkBeforeUpload(java.lang.String fieldName, java.lang.String contentType, java.lang.String fileName)
RightPolicyFilter
checkBeforeUpload
in interface RightPolicyFilter
checkBeforeUpload
in class BasicRightPolicyFilter
fieldName
- 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)
RightPolicyFilter
checkAfterUpload
in interface RightPolicyFilter
checkAfterUpload
in class BasicRightPolicyFilter
info
- information about the uploaded fileRightPolicyFilter.checkAfterUpload(DocUploadInfo)
Copyright © 2001-2010 Jalios SA. All Rights Reserved.