Package com.zoho.analytics.client
Class PermissionInfo
- java.lang.Object
-
- com.zoho.analytics.client.PermissionInfo
-
public class PermissionInfo extends java.lang.ObjectPermissionInfo contains the complete information of each permission entry.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedPermissionInfo(java.lang.String viewName, long viewId, java.lang.String sharedBy)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetFilterCriteria()This method is used to get the filter criteria associated to this PermissionInfo.java.lang.StringgetSharedBy()This method is used to get the email address of the user who shared the View.longgetViewId()This method is used to get the id of the View that is shared.java.lang.StringgetViewName()This method is used to get the name of the View that is shared.java.lang.BooleanhasAddRowPermission()This method is used to find whether this permission entry has ADDROW permission.java.lang.BooleanhasAppendImportPermission()This method is used to find whether this permission entry has APPEND IMPORT permission.java.lang.BooleanhasDeleteAllRowsPermission()This method is used to find whether this permission entry has DELETEALLROWS permission.java.lang.BooleanhasDeleteRowPermission()This method is used to find whether this permission entry has DELETEROW permission.java.lang.BooleanhasDeleteUpdateAddImportPermission()This method is used to find whether this permission entry has DELETE UPDATEADD IMPORT permission.java.lang.BooleanhasDiscussionPermission()This method is used to find whether this permission entry has DISCUSSION permission.java.lang.BooleanhasDrillDownPermission()This method is used to find whether this permission entry has DRILLDOWN permission.java.lang.BooleanhasExportPermission()This method is used to find whether this permission entry has EXPORT permission.java.lang.BooleanhasReadPermission()This method is used to find whether this permission entry has READ permission.java.lang.BooleanhasSharePermission()This method is used to find whether this permission entry has SHARE permission.java.lang.BooleanhasTruncateImportPermission()This method is used to find whether this permission entry has TRUNCATE IMPORT permission.java.lang.BooleanhasUpdateImportPermission()This method is used to find whether this permission entry has UPDATE IMPORT permission.java.lang.BooleanhasUpdateRowPermission()This method is used to find whether this permission entry has UPDATEROW permission.java.lang.BooleanhasVUDPermission()This method is used to find whether this permission entry has View Underlying Data permission.
-
-
-
Method Detail
-
getViewName
public java.lang.String getViewName()
This method is used to get the name of the View that is shared.- Returns:
- A
Stringvalue holds the name of the view.
-
getViewId
public long getViewId()
This method is used to get the id of the View that is shared.- Returns:
- A
Longvalue holds the id of the view.
-
getSharedBy
public java.lang.String getSharedBy()
This method is used to get the email address of the user who shared the View.- Returns:
- A
Stringvalue holds the email address of the user who shared the view.
-
getFilterCriteria
public java.lang.String getFilterCriteria()
This method is used to get the filter criteria associated to this PermissionInfo.- Returns:
- A
Stringvalue holds the filter criteria.
-
hasReadPermission
public java.lang.Boolean hasReadPermission()
This method is used to find whether this permission entry has READ permission.- Returns:
- A
Booleanvalue holds whether the READ operation is allowed or not.
-
hasExportPermission
public java.lang.Boolean hasExportPermission()
This method is used to find whether this permission entry has EXPORT permission.- Returns:
- A
Booleanvalue holds whether EXPORT operation is allowed or not.
-
hasVUDPermission
public java.lang.Boolean hasVUDPermission()
This method is used to find whether this permission entry has View Underlying Data permission.- Returns:
- A
Booleanvalue holds whether View Underlying Data operation is allowed or not.
-
hasAddRowPermission
public java.lang.Boolean hasAddRowPermission()
This method is used to find whether this permission entry has ADDROW permission.- Returns:
- A
Booleanvalue holds whether the ADDROW operation is allowed or not.
-
hasUpdateRowPermission
public java.lang.Boolean hasUpdateRowPermission()
This method is used to find whether this permission entry has UPDATEROW permission.- Returns:
- A
Booleanvalue holds whether the UPDATEROW operation is allowed or not.
-
hasDeleteRowPermission
public java.lang.Boolean hasDeleteRowPermission()
This method is used to find whether this permission entry has DELETEROW permission.- Returns:
- A
Booleanvalue holds whether the DELETEROW operation is allowed or not.
-
hasDeleteAllRowsPermission
public java.lang.Boolean hasDeleteAllRowsPermission()
This method is used to find whether this permission entry has DELETEALLROWS permission.- Returns:
- A
Booleanvalue holds whether the DELETE ALL ROWS operation is allowed or not.
-
hasAppendImportPermission
public java.lang.Boolean hasAppendImportPermission()
This method is used to find whether this permission entry has APPEND IMPORT permission.- Returns:
- A
Booleanvalue holds whether the APPEND IMPORT operation is allowed or not.
-
hasUpdateImportPermission
public java.lang.Boolean hasUpdateImportPermission()
This method is used to find whether this permission entry has UPDATE IMPORT permission.- Returns:
- A
Booleanvalue holds whether the UPDATE IMPORT operation is allowed or not.
-
hasTruncateImportPermission
public java.lang.Boolean hasTruncateImportPermission()
This method is used to find whether this permission entry has TRUNCATE IMPORT permission.- Returns:
- A
Booleanvalue holds whether the TRUNCATE IMPORT operation is allowed or not.
-
hasDeleteUpdateAddImportPermission
public java.lang.Boolean hasDeleteUpdateAddImportPermission()
This method is used to find whether this permission entry has DELETE UPDATEADD IMPORT permission.- Returns:
- A
Booleanvalue holds whether the DELETE UPDATEADD IMPORT operation is allowed or not.
-
hasDrillDownPermission
public java.lang.Boolean hasDrillDownPermission()
This method is used to find whether this permission entry has DRILLDOWN permission.- Returns:
- A
Booleanvalue holds whether the DRILLDOWN permission operation is allowed or not.
-
hasSharePermission
public java.lang.Boolean hasSharePermission()
This method is used to find whether this permission entry has SHARE permission.- Returns:
- A
Booleanvalue holds whether the SHARE permission operation is allowed or not.
-
hasDiscussionPermission
public java.lang.Boolean hasDiscussionPermission()
This method is used to find whether this permission entry has DISCUSSION permission.- Returns:
- A
Booleanvalue holds whether the DISCUSSION permission operation is allowed or not.
-
-