Package com.zoho.analytics.client
Class ShareInfo
- java.lang.Object
-
- com.zoho.analytics.client.ShareInfo
-
public class ShareInfo extends java.lang.ObjectShareInfo contains the result of getWorkspaceShareInfo operation.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedShareInfo(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.
-
-
-
Constructor Detail
-
ShareInfo
protected ShareInfo(org.json.JSONObject shareInfo) throws ParseException- Throws:
ParseException
-
-
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.ArrayListofPermissionInfo.
-
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.
-
-