use of org.ehrbase.jooq.pg.enums.ContributionDataType in project ehrbase by ehrbase.
the class ContributionAccess method update.
@Override
public Boolean update(Timestamp transactionTime, UUID committerId, UUID systemId, String contributionType, String contributionState, String contributionChangeType, String description) {
// set contribution attributes
ContributionDataType type = null;
ContributionDef.ContributionState state = null;
I_ConceptAccess.ContributionChangeType changeType = null;
if (contributionType == null)
type = ContributionDataType.valueOf(contributionType);
if (contributionState != null)
state = ContributionDef.ContributionState.valueOf(contributionState);
if (contributionChangeType != null)
changeType = I_ConceptAccess.ContributionChangeType.valueOf(contributionChangeType);
// audit handling will be executed centralized in the following called method
return update(transactionTime, committerId, systemId, type, state, changeType, description);
}
Aggregations