PermissionList Event
This event fires once for each permission returned when ListPermissions or GetPermissionInfo is called.
Syntax
public class DefaultSharefileEventListener implements SharefileEventListener { ... public void permissionList(SharefilePermissionListEvent e) {} ... } public class SharefilePermissionListEvent { public String folderId; public String userId; public boolean canDelete; public boolean canDownload; public boolean canManagePermissions; public boolean canUpload; public boolean canView; public boolean isOwner; public boolean notifyOnDownload; public boolean notifyOnUpload; }
Remarks
This event fires once for each permission returned when ListPermissions or GetPermissionInfo is called. The permissions cannot be modified from this event. The FolderId represents the item Id for the specific folder the permission is for. The UserId represents the Id for the user the permission is for.