Class PermissionInfo


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

      Constructors 
      Modifier Constructor Description
      protected PermissionInfo​(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.String getFilterCriteria()
      This method is used to get the filter criteria associated to this PermissionInfo.
      java.lang.String getSharedBy()
      This method is used to get the email address of the user who shared the View.
      long getViewId()
      This method is used to get the id of the View that is shared.
      java.lang.String getViewName()
      This method is used to get the name of the View that is shared.
      java.lang.Boolean hasAddRowPermission()
      This method is used to find whether this permission entry has ADDROW permission.
      java.lang.Boolean hasAppendImportPermission()
      This method is used to find whether this permission entry has APPEND IMPORT permission.
      java.lang.Boolean hasDeleteAllRowsPermission()
      This method is used to find whether this permission entry has DELETEALLROWS permission.
      java.lang.Boolean hasDeleteRowPermission()
      This method is used to find whether this permission entry has DELETEROW permission.
      java.lang.Boolean hasDeleteUpdateAddImportPermission()
      This method is used to find whether this permission entry has DELETE UPDATEADD IMPORT permission.
      java.lang.Boolean hasDiscussionPermission()
      This method is used to find whether this permission entry has DISCUSSION permission.
      java.lang.Boolean hasDrillDownPermission()
      This method is used to find whether this permission entry has DRILLDOWN permission.
      java.lang.Boolean hasExportPermission()
      This method is used to find whether this permission entry has EXPORT permission.
      java.lang.Boolean hasReadPermission()
      This method is used to find whether this permission entry has READ permission.
      java.lang.Boolean hasSharePermission()
      This method is used to find whether this permission entry has SHARE permission.
      java.lang.Boolean hasTruncateImportPermission()
      This method is used to find whether this permission entry has TRUNCATE IMPORT permission.
      java.lang.Boolean hasUpdateImportPermission()
      This method is used to find whether this permission entry has UPDATE IMPORT permission.
      java.lang.Boolean hasUpdateRowPermission()
      This method is used to find whether this permission entry has UPDATEROW permission.
      java.lang.Boolean hasVUDPermission()
      This method is used to find whether this permission entry has View Underlying Data permission.
      • Methods inherited from class java.lang.Object

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

      • PermissionInfo

        protected PermissionInfo​(java.lang.String viewName,
                                 long viewId,
                                 java.lang.String sharedBy)
    • Method Detail

      • getViewName

        public java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.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.