Class ShareInfo


  • public class ShareInfo
    extends java.lang.Object
    ShareInfo contains the result of getWorkspaceShareInfo operation.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected ShareInfo​(org.json.JSONObject shareInfo)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Set<java.lang.String> getGroupNames()
      This method is used to get the Group names of the specified workspace.
      java.util.HashMap<java.lang.String,​java.util.ArrayList<PermissionInfo>> getGroupPermissions()
      This method is used to get the Permissions of the Groups.
      java.util.ArrayList<PermissionInfo> getPrivateLinkPermissions()
      This method is used to get the Permissions of the Private Link.
      java.util.ArrayList<PermissionInfo> getPublicPermissions()
      This method is used to get the Permissions of the Public Visitors.
      java.util.HashMap<java.lang.String,​java.util.ArrayList<PermissionInfo>> getSharedUserPermissions()
      This method is used to get the Permissions of the Shared Users.
      java.util.Set<java.lang.String> getSharedUsers()
      This method is used to get the Shared Users of the specified workspace.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getSharedUsers

        public java.util.Set<java.lang.String> getSharedUsers()
        This method is used to get the Shared Users of the specified workspace.
        Returns:
        Shared Users of the workspace as Set.
      • getSharedUserPermissions

        public java.util.HashMap<java.lang.String,​java.util.ArrayList<PermissionInfo>> getSharedUserPermissions()
        This method is used to get the Permissions of the Shared Users.
        Returns:
        The HashMap<String,ArrayList<PermissionInfo>>. This HashMap contains Shared User Vs. ArrayList of PermissionInfo.
      • getGroupNames

        public java.util.Set<java.lang.String> getGroupNames()
        This method is used to get the Group names of the specified workspace.
        Returns:
        Group names of the workspace as Set.
      • getGroupPermissions

        public java.util.HashMap<java.lang.String,​java.util.ArrayList<PermissionInfo>> getGroupPermissions()
        This method is used to get the Permissions of the Groups.
        Returns:
        The HashMap<String,ArrayList<PermissionInfo>>. It contains the PermissionInfo list for the workspace Group.
      • getPrivateLinkPermissions

        public java.util.ArrayList<PermissionInfo> getPrivateLinkPermissions()
        This method is used to get the Permissions of the Private Link.
        Returns:
        The ArrayList<PermissionInfo>. It contains the PermissionInfo list for the Private Link.
      • getPublicPermissions

        public java.util.ArrayList<PermissionInfo> getPublicPermissions()
        This method is used to get the Permissions of the Public Visitors.
        Returns:
        The ArrayList<PermissionInfo>. It contains the PermissionInfo list for the Public Visitors.