Interface PermissionCRUDService

    • Method Detail

      • canReadType

        boolean canReadType​(java.lang.String typeCode)
        Returns true if the current user is granted PermissionsConstants.READ permission to the given type. Returns false otherwise.
      • canReadAttribute

        boolean canReadAttribute​(java.lang.String typeCode,
                                 java.lang.String attributeQualifier)
        Returns true if the current user is granted PermissionsConstants.READ permission to the given attribute descriptor. Returns false otherwise.
      • canChangeType

        boolean canChangeType​(java.lang.String typeCode)
        Returns true if the current user is granted PermissionsConstants.CHANGE permission to the given type. Returns false otherwise.
      • canChangeAttribute

        boolean canChangeAttribute​(java.lang.String typeCode,
                                   java.lang.String attributeQualifier)
        Returns true if the current user is granted PermissionsConstants.CHANGE permission to the given attribute descriptor. Returns false otherwise.
      • canCreateTypeInstance

        boolean canCreateTypeInstance​(java.lang.String typeCode)
        Returns true if the current user is granted PermissionsConstants.CREATE permission to the given type. Returns false otherwise.
      • canRemoveTypeInstance

        boolean canRemoveTypeInstance​(java.lang.String typeCode)
        Returns true if the current user is granted PermissionsConstants.REMOVE permission to the given type. Returns false otherwise.
      • canChangeTypePermission

        boolean canChangeTypePermission​(java.lang.String typeCode)
        Returns true if the current user is granted PermissionsConstants.CHANGE_PERMISSIONS permission to the given type. Returns false otherwise.
      • canChangeAttributePermission

        boolean canChangeAttributePermission​(java.lang.String typeCode,
                                             java.lang.String attributeQualifier)
        Returns true if the current user is granted PermissionsConstants.CHANGE_PERMISSIONS permission to the given attribute descriptor. Returns false otherwise.