IPWorks Cloud 2020 Android Edition

Questions / Feedback?

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.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks Cloud 2020 Android Edition - Version 20.0 [Build 8265]