Class PersistedParty

java.lang.Object
org.ehrbase.dao.access.jooq.party.PersistedParty
All Implemented Interfaces:
I_PersistedParty
Direct Known Subclasses:
PersistedPartyIdentified

public abstract class PersistedParty extends Object implements I_PersistedParty
Abstract class for PartyProxy DB operations
  • Constructor Details

  • Method Details

    • findInDB

      public UUID findInDB(com.nedap.archie.rm.generic.PartyProxy partyProxy)
      Description copied from interface: I_PersistedParty
      find an existing party proxy or null if none
      Specified by:
      findInDB in interface I_PersistedParty
      Returns:
    • store

      public UUID store(com.nedap.archie.rm.generic.PartyProxy partyProxy, Short sysTenant)
      Description copied from interface: I_PersistedParty
      store a party proxy relatively to its actual type
      Specified by:
      store in interface I_PersistedParty
      Returns:
    • getOrCreate

      public UUID getOrCreate(com.nedap.archie.rm.generic.PartyProxy partyProxy, Short sysTenant)
      Description copied from interface: I_PersistedParty
      retrieve a party proxy from the DB or create a new one if not yet stored
      Specified by:
      getOrCreate in interface I_PersistedParty
      Returns: