public class TaxonGraphBeforeTransactionCompleteProcess extends AbstractHibernateTaxonGraphProcessor implements org.hibernate.action.spi.BeforeTransactionCompletionProcess
secReferenceUUID
Constructor and Description |
---|
TaxonGraphBeforeTransactionCompleteProcess(org.hibernate.event.spi.PostInsertEvent event,
IRunAs runAs) |
TaxonGraphBeforeTransactionCompleteProcess(org.hibernate.event.spi.PostUpdateEvent event,
IRunAs runAs) |
Modifier and Type | Method and Description |
---|---|
protected void |
createTempSession(org.hibernate.engine.spi.SessionImplementor session)
Concept of creation of sub-sessions found in AuditProcess.doBeforeTransactionCompletion(SessionImplementor session)
and adapted to make it work for this case.
|
void |
doBeforeTransactionCompletion(org.hibernate.engine.spi.SessionImplementor session) |
org.hibernate.Session |
getSession() |
void |
onNameOrRankChange(TaxonName taxonName) |
void |
onNewTaxonName(TaxonName taxonName) |
void |
onNomReferenceChange(TaxonName taxonName,
Reference oldNomReference) |
assureSingleTaxon, assureSingleTaxon, conceptReference, getSecReferenceUUID, getTaxonRelationships, listNamesAtRank, listNamesBelowRank, relatedHigherNames, relatedLowerNames, relType, removeEdges, secReference, setSecReferenceUUID, taxonGraphRelationsFrom, taxonGraphRelationsTo, updateConceptReferenceInEdges, updateEdges, updateReferenceInEdges
public TaxonGraphBeforeTransactionCompleteProcess(org.hibernate.event.spi.PostUpdateEvent event, IRunAs runAs)
public TaxonGraphBeforeTransactionCompleteProcess(org.hibernate.event.spi.PostInsertEvent event, IRunAs runAs)
public void doBeforeTransactionCompletion(org.hibernate.engine.spi.SessionImplementor session)
doBeforeTransactionCompletion
in interface org.hibernate.action.spi.BeforeTransactionCompletionProcess
protected void createTempSession(org.hibernate.engine.spi.SessionImplementor session)
session
- public void onNewTaxonName(TaxonName taxonName) throws TaxonGraphException
TaxonGraphException
public void onNameOrRankChange(TaxonName taxonName) throws TaxonGraphException
TaxonGraphException
public void onNomReferenceChange(TaxonName taxonName, Reference oldNomReference) throws TaxonGraphException
TaxonGraphException
public org.hibernate.Session getSession()
getSession
in class AbstractHibernateTaxonGraphProcessor
Copyright © 2007-2020 EDIT. All Rights Reserved.