Class CompoXRefAccess

    • Constructor Detail

      • CompoXRefAccess

        public CompoXRefAccess​(I_DomainAccess domainAccess)
    • Method Detail

      • getLinkList

        public Map<UUID,​Timestamp> getLinkList​(UUID masterUid)
        Description copied from interface: I_CompoXrefAccess
        Retrieves list of children matching given parent/master ID
        Specified by:
        getLinkList in interface I_CompoXrefAccess
        Parameters:
        masterUid - parent or master UUID
        Returns:
        A list of children represented as map, where each child has its system transaction time as value
      • getLastLink

        public UUID getLastLink​(UUID masterUid)
        Description copied from interface: I_CompoXrefAccess
        Retrieve only the latest (by system transaction time) of children matching given parent/master ID
        Specified by:
        getLastLink in interface I_CompoXrefAccess
        Parameters:
        masterUid - parent or master UUID
        Returns:
        UUID of newest child
      • setLink

        public int setLink​(UUID masterUid,
                           UUID childUid)
        Description copied from interface: I_CompoXrefAccess
        Insert a new link between given master and child
        Specified by:
        setLink in interface I_CompoXrefAccess
        Parameters:
        masterUid - parent or master UUID
        childUid - child UUID
        Returns:
        the number of inserted records