Interface ISupportsAccessModifier

    • Method Detail

      • getAccessModifier

        @ThingworxExtensionApiMethod(since={9,4})
        default org.json.JSONObject getAccessModifier()


        The method returns JSONObject for accessModifier aspect. If accessModifier is empty or not set, then it will return null.

        Returns:
        JSONObject for accessModifier aspect.
      • getAccessModifierScope

        @ThingworxExtensionApiMethod(since={9,4})
        default java.lang.String getAccessModifierScope()


        The method returns value of Scope of accessModifier aspect. If accessModifier is empty or not set, then it will return null.

        Returns:
        String scope value of accessModifier aspect.
      • isPrivateAccess

        @ThingworxExtensionApiMethod(since={9,4})
        default boolean isPrivateAccess()


        The method returns true if the scope is PRIVATE for accessModifier aspect. It will return false otherwise.

        Returns:
        true if the scope is PRIVATE else returns false.
      • isRestrictedAccess

        @ThingworxExtensionApiMethod(since={9,4})
        default boolean isRestrictedAccess()


        The method returns true if the scope is RESTRICTED for accessModifier aspect. It will return false otherwise.

        Returns:
        true if the scope is RESTRICTED else returns false.
      • isInternalAccess

        @ThingworxExtensionApiMethod(since={9,4})
        default boolean isInternalAccess()


        The method returns true if the scope is INTERNAL for accessModifier aspect. It will return false otherwise.

        Returns:
        true if the scope is INTERNAL else returns false.
      • getExemptList

        @ThingworxExtensionApiMethod(since={9,4})
        default org.json.JSONArray getExemptList()


        The method returns exemptList JSONArray for RESTRICTED accessModifier. It will return null in case of other accessModifier scope values.

        Returns:
        JSONArray exemptList for accessModifier aspect.