[New] added tx.getCertificate()
This commit is contained in:
parent
be6f1d170f
commit
569c745cc7
|
@ -151,6 +151,11 @@ public abstract class AbstractTransaction implements StrolchTransaction {
|
|||
return this.realm;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Certificate getCertificate() {
|
||||
return certificate;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setCloseStrategy(TransactionCloseStrategy closeStrategy) {
|
||||
this.closeStrategy = closeStrategy;
|
||||
|
|
|
@ -17,6 +17,7 @@ package li.strolch.persistence.api;
|
|||
|
||||
import java.util.List;
|
||||
|
||||
import ch.eitchnet.privilege.model.Certificate;
|
||||
import li.strolch.agent.api.AuditTrail;
|
||||
import li.strolch.agent.api.OrderMap;
|
||||
import li.strolch.agent.api.ResourceMap;
|
||||
|
@ -93,6 +94,13 @@ public interface StrolchTransaction extends AutoCloseable {
|
|||
*/
|
||||
public String getRealmName();
|
||||
|
||||
/**
|
||||
* Returns the {@link Certificate} which allowed this TX to be opened
|
||||
*
|
||||
* @return the {@link Certificate} which allowed this TX to be opened
|
||||
*/
|
||||
public Certificate getCertificate();
|
||||
|
||||
/**
|
||||
* Returns a reference to the {@link AuditTrail} for the {@link StrolchRealm} for which this transaction was opened
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue