@Transactional(propagation=REQUIRED) public abstract class TransactionManagementBase extends Object implements TransactionManagement
Spring Service base class for
com.communote.server.service.general.TransactionManagement
, provides access
to all services and entities referenced by this service.
TransactionManagement
Constructor and Description |
---|
TransactionManagementBase() |
Modifier and Type | Method and Description |
---|---|
void |
execute(RunInTransaction runInTransaction) |
protected Principal |
getPrincipal()
Gets the current
principal if one has been set, otherwise returns
null . |
protected abstract void |
handleExecute(RunInTransaction runInTransaction) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
execute, executeInNew, executeInNew
public void execute(RunInTransaction runInTransaction)
execute
in interface TransactionManagement
runInTransaction
- RunInTransaction
protected Principal getPrincipal()
principal
if one has been set, otherwise returns
null
.protected abstract void handleExecute(RunInTransaction runInTransaction)
Copyright © 2019 Communote team. All rights reserved.