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 Summary
Constructors Constructor Description PersistedParty(I_DomainAccess domainAccess)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UUIDfindInDB(com.nedap.archie.rm.generic.PartyProxy partyProxy)find an existing party proxy or null if noneUUIDgetOrCreate(com.nedap.archie.rm.generic.PartyProxy partyProxy)retrieve a party proxy from the DB or create a new one if not yet storedUUIDstore(com.nedap.archie.rm.generic.PartyProxy partyProxy)store a party proxy relatively to its actual type-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.ehrbase.dao.access.jooq.party.I_PersistedParty
render, renderMultiple
-
-
-
-
Constructor Detail
-
PersistedParty
public PersistedParty(I_DomainAccess domainAccess)
-
-
Method Detail
-
findInDB
public UUID findInDB(com.nedap.archie.rm.generic.PartyProxy partyProxy)
Description copied from interface:I_PersistedPartyfind an existing party proxy or null if none- Specified by:
findInDBin interfaceI_PersistedParty- Returns:
-
store
public UUID store(com.nedap.archie.rm.generic.PartyProxy partyProxy)
Description copied from interface:I_PersistedPartystore a party proxy relatively to its actual type- Specified by:
storein interfaceI_PersistedParty- Returns:
-
getOrCreate
public UUID getOrCreate(com.nedap.archie.rm.generic.PartyProxy partyProxy)
Description copied from interface:I_PersistedPartyretrieve a party proxy from the DB or create a new one if not yet stored- Specified by:
getOrCreatein interfaceI_PersistedParty- Returns:
-
-