Interface ExplicitRelationship

    • Method Detail

      • getOwnerNode

        SchemaNode getOwnerNode()
        Returns the node that defines the foreign key constraint, the selection link or the association link.
      • getResult

        RequestResult getResult​(Adaptation aRecord)
                         throws QueryPermissionException
        Returns the result of the relationship, in the context of the specified record. Permissions are applied on the resulting records if this relationship has been retrieved using a session. As a consequence:
        • the returned records will be filtered using the access rules on records if any;
        • a QueryPermissionException will be thrown on execution if at least one forbidden node is used in the request.
        Throws:
        QueryPermissionException - if a session is provided and at least one forbidden node is used in the request.