Class PermissionInfo

java.lang.Object
com.zoho.analytics.client.PermissionInfo

public class PermissionInfo extends Object
PermissionInfo contains the complete information of each permission entry.
  • Constructor Details

    • PermissionInfo

      protected PermissionInfo(String viewName, long viewId, String sharedBy)
  • Method Details

    • getViewName

      public String getViewName()
      This method is used to get the name of the View that is shared.
      Returns:
      A String value 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 Long value holds the id of the view.
    • getSharedBy

      public String getSharedBy()
      This method is used to get the email address of the user who shared the View.
      Returns:
      A String value holds the email address of the user who shared the view.
    • getFilterCriteria

      public String getFilterCriteria()
      This method is used to get the filter criteria associated to this PermissionInfo.
      Returns:
      A String value holds the filter criteria.
    • hasReadPermission

      public Boolean hasReadPermission()
      This method is used to find whether this permission entry has READ permission.
      Returns:
      A Boolean value holds whether the READ operation is allowed or not.
    • hasExportPermission

      public Boolean hasExportPermission()
      This method is used to find whether this permission entry has EXPORT permission.
      Returns:
      A Boolean value holds whether EXPORT operation is allowed or not.
    • hasVUDPermission

      public Boolean hasVUDPermission()
      This method is used to find whether this permission entry has View Underlying Data permission.
      Returns:
      A Boolean value holds whether View Underlying Data operation is allowed or not.
    • hasAddRowPermission

      public Boolean hasAddRowPermission()
      This method is used to find whether this permission entry has ADDROW permission.
      Returns:
      A Boolean value holds whether the ADDROW operation is allowed or not.
    • hasUpdateRowPermission

      public Boolean hasUpdateRowPermission()
      This method is used to find whether this permission entry has UPDATEROW permission.
      Returns:
      A Boolean value holds whether the UPDATEROW operation is allowed or not.
    • hasDeleteRowPermission

      public Boolean hasDeleteRowPermission()
      This method is used to find whether this permission entry has DELETEROW permission.
      Returns:
      A Boolean value holds whether the DELETEROW operation is allowed or not.
    • hasDeleteAllRowsPermission

      public Boolean hasDeleteAllRowsPermission()
      This method is used to find whether this permission entry has DELETEALLROWS permission.
      Returns:
      A Boolean value holds whether the DELETE ALL ROWS operation is allowed or not.
    • hasAppendImportPermission

      public Boolean hasAppendImportPermission()
      This method is used to find whether this permission entry has APPEND IMPORT permission.
      Returns:
      A Boolean value holds whether the APPEND IMPORT operation is allowed or not.
    • hasUpdateImportPermission

      public Boolean hasUpdateImportPermission()
      This method is used to find whether this permission entry has UPDATE IMPORT permission.
      Returns:
      A Boolean value holds whether the UPDATE IMPORT operation is allowed or not.
    • hasTruncateImportPermission

      public Boolean hasTruncateImportPermission()
      This method is used to find whether this permission entry has TRUNCATE IMPORT permission.
      Returns:
      A Boolean value holds whether the TRUNCATE IMPORT operation is allowed or not.
    • hasDeleteUpdateAddImportPermission

      public Boolean hasDeleteUpdateAddImportPermission()
      This method is used to find whether this permission entry has DELETE UPDATEADD IMPORT permission.
      Returns:
      A Boolean value holds whether the DELETE UPDATEADD IMPORT operation is allowed or not.
    • hasDrillDownPermission

      public Boolean hasDrillDownPermission()
      This method is used to find whether this permission entry has DRILLDOWN permission.
      Returns:
      A Boolean value holds whether the DRILLDOWN permission operation is allowed or not.
    • hasSharePermission

      public Boolean hasSharePermission()
      This method is used to find whether this permission entry has SHARE permission.
      Returns:
      A Boolean value holds whether the SHARE permission operation is allowed or not.
    • hasDiscussionPermission

      public Boolean hasDiscussionPermission()
      This method is used to find whether this permission entry has DISCUSSION permission.
      Returns:
      A Boolean value holds whether the DISCUSSION permission operation is allowed or not.