| Package | Description |
|---|---|
| li.strolch.agent.api | |
| li.strolch.agent.impl | |
| li.strolch.persistence.api | |
| li.strolch.persistence.inmemory | |
| li.strolch.policy | |
| li.strolch.service.api |
| Modifier and Type | Method and Description |
|---|---|
StrolchTransaction |
StrolchRealm.openTx(Certificate certificate,
Class<?> clazz) |
StrolchTransaction |
StrolchRealm.openTx(Certificate certificate,
String action) |
| Modifier and Type | Method and Description |
|---|---|
void |
AuditTrail.add(StrolchTransaction tx,
Audit audit) |
void |
ElementMap.add(StrolchTransaction tx,
T element)
Adds the given element to the underlying persistence layer.
|
void |
AuditTrail.addAll(StrolchTransaction tx,
List<Audit> audits) |
void |
ElementMap.addAll(StrolchTransaction tx,
List<T> elements)
Adds the given elements to the underlying persistence layer.
|
<U> List<U> |
ActivityMap.doQuery(StrolchTransaction tx,
ActivityQuery<U> query) |
<U> List<U> |
AuditTrail.doQuery(StrolchTransaction tx,
AuditQuery<U> query) |
<U> List<U> |
OrderMap.doQuery(StrolchTransaction tx,
OrderQuery<U> query) |
<U> List<U> |
ResourceMap.doQuery(StrolchTransaction tx,
ResourceQuery<U> query) |
List<T> |
ElementMap.getAllElements(StrolchTransaction tx)
Returns all elements in the underlying persistence layer regardless of type
|
List<Audit> |
AuditTrail.getAllElements(StrolchTransaction tx,
String type,
li.strolch.utils.collections.DateRange dateRange) |
Set<String> |
ElementMap.getAllKeys(StrolchTransaction tx)
Returns all keys/IDs of all elements in the underlying persistence layer, regardless of type
|
List<T> |
ElementMap.getBy(StrolchTransaction tx,
StringListParameter refP,
boolean assertExists)
Returns all elements which are referenced by the given
StringListParameter. |
Audit |
AuditTrail.getBy(StrolchTransaction tx,
String type,
Long id)
Retrieves the audit with the given id, or null if it does not exist
|
T |
ElementMap.getBy(StrolchTransaction tx,
StringParameter refP,
boolean assertExists)
Returns the element which is referenced by the given
StringParameter. |
T |
ElementMap.getBy(StrolchTransaction tx,
String type,
String id)
Retrieves the element with the given type and id, or null if it does not exist
|
T |
ElementMap.getBy(StrolchTransaction tx,
String type,
String id,
boolean assertExists)
Retrieves the element with the given type and id, or null if it does not exist
|
T |
ElementMap.getBy(StrolchTransaction tx,
String type,
String id,
int version)
Retrieves the specific version of the element with the given type and id, or null if it does not exist
|
T |
ElementMap.getBy(StrolchTransaction tx,
String type,
String id,
int version,
boolean assertExists)
Retrieves the specific version of the element with the given type and id, or null if it does not exist
|
List<T> |
ElementMap.getElementsBy(StrolchTransaction tx,
String type)
Returns all elements in the underlying persistence layer of the given type
|
Set<String> |
ElementMap.getKeysBy(StrolchTransaction tx,
String type)
Returns all keys/IDs of all elements in the underlying persistence layer, of the given type
|
T |
ElementMap.getTemplate(StrolchTransaction tx,
String type)
Returns a copy of the element with the type "Template" and the id = type
|
T |
ElementMap.getTemplate(StrolchTransaction tx,
String type,
boolean assertExists)
Returns a copy of the element with the type "Template" and the id = type
|
Set<String> |
AuditTrail.getTypes(StrolchTransaction tx) |
Set<String> |
ElementMap.getTypes(StrolchTransaction tx)
Returns all the types known in the underlying persistence layer
|
List<T> |
ElementMap.getVersionsFor(StrolchTransaction tx,
String type,
String id)
Queries and returns all the versions of the element with the given type and ID
|
boolean |
AuditTrail.hasAudit(StrolchTransaction tx,
String type,
Long id) |
boolean |
ElementMap.hasElement(StrolchTransaction tx,
String type,
String id)
Returns true if the underlying persistence layer has an element with the given type and ID
|
boolean |
ElementMap.hasType(StrolchTransaction tx,
String type)
Returns true if the underlying persistence layer has elements with the given type
|
long |
ElementMap.querySize(StrolchTransaction tx)
Returns the number of elements regardless of type in the underlying persistence layer
|
long |
AuditTrail.querySize(StrolchTransaction tx,
li.strolch.utils.collections.DateRange dateRange) |
long |
ElementMap.querySize(StrolchTransaction tx,
String type)
Returns the number of elements of the given type in the underlying persistence layer
|
long |
AuditTrail.querySize(StrolchTransaction tx,
String type,
li.strolch.utils.collections.DateRange dateRange) |
void |
AuditTrail.remove(StrolchTransaction tx,
Audit audit) |
void |
ElementMap.remove(StrolchTransaction tx,
T element)
Removes the given element
|
long |
ElementMap.removeAll(StrolchTransaction tx)
Removes all elements regardless of the type
|
void |
AuditTrail.removeAll(StrolchTransaction tx,
List<Audit> audits) |
void |
ElementMap.removeAll(StrolchTransaction tx,
List<T> elements)
Removes the given elements
|
long |
AuditTrail.removeAll(StrolchTransaction tx,
String type,
li.strolch.utils.collections.DateRange dateRange) |
long |
ElementMap.removeAllBy(StrolchTransaction tx,
String type)
Removes all elements of the given type
|
T |
ElementMap.revertToVersion(StrolchTransaction tx,
String type,
String id,
int version)
Reverts to the given version of the specified element.
|
T |
ElementMap.revertToVersion(StrolchTransaction tx,
T element)
Reverts to the given version of the specified element.
|
void |
ElementMap.undoVersion(StrolchTransaction tx,
T element)
Undoes the given version by reverting to the previous version of the element given.
|
Audit |
AuditTrail.update(StrolchTransaction tx,
Audit audit) |
void |
ElementMap.update(StrolchTransaction tx,
T element)
Updates the existing element
|
List<Audit> |
AuditTrail.updateAll(StrolchTransaction tx,
List<Audit> audits) |
void |
ElementMap.updateAll(StrolchTransaction tx,
List<T> elements)
Updates all the existing elements
|
| Modifier and Type | Method and Description |
|---|---|
StrolchTransaction |
TransactionalRealm.openTx(Certificate certificate,
Class<?> clazz) |
StrolchTransaction |
CachedRealm.openTx(Certificate certificate,
Class<?> clazz) |
StrolchTransaction |
TransientRealm.openTx(Certificate certificate,
Class<?> clazz) |
StrolchTransaction |
EmptyRealm.openTx(Certificate certificate,
Class<?> clazz) |
StrolchTransaction |
TransactionalRealm.openTx(Certificate certificate,
String action) |
StrolchTransaction |
CachedRealm.openTx(Certificate certificate,
String action) |
StrolchTransaction |
TransientRealm.openTx(Certificate certificate,
String action) |
StrolchTransaction |
EmptyRealm.openTx(Certificate certificate,
String action) |
| Modifier and Type | Method and Description |
|---|---|
void |
TransactionalAuditTrail.add(StrolchTransaction tx,
Audit audit) |
void |
CachedAuditTrail.add(StrolchTransaction tx,
Audit audit) |
void |
NoStrategyAuditTrail.add(StrolchTransaction tx,
Audit audit) |
void |
AuditingAuditMapFacade.add(StrolchTransaction tx,
Audit audit) |
void |
CachedElementMap.add(StrolchTransaction tx,
T element) |
void |
TransactionalElementMap.add(StrolchTransaction tx,
T element) |
void |
AuditingElementMapFacade.add(StrolchTransaction tx,
T element) |
void |
TransactionalAuditTrail.addAll(StrolchTransaction tx,
List<Audit> audits) |
void |
CachedAuditTrail.addAll(StrolchTransaction tx,
List<Audit> audits) |
void |
NoStrategyAuditTrail.addAll(StrolchTransaction tx,
List<Audit> audits) |
void |
AuditingAuditMapFacade.addAll(StrolchTransaction tx,
List<Audit> audits) |
void |
CachedElementMap.addAll(StrolchTransaction tx,
List<T> elements) |
void |
TransactionalElementMap.addAll(StrolchTransaction tx,
List<T> elements) |
void |
AuditingElementMapFacade.addAll(StrolchTransaction tx,
List<T> elements) |
<U> List<U> |
CachedActivityMap.doQuery(StrolchTransaction tx,
ActivityQuery<U> query) |
<U> List<U> |
AuditingActivityMap.doQuery(StrolchTransaction tx,
ActivityQuery<U> query) |
<U> List<U> |
TransactionalActivityMap.doQuery(StrolchTransaction tx,
ActivityQuery<U> query) |
<U> List<U> |
TransactionalAuditTrail.doQuery(StrolchTransaction tx,
AuditQuery<U> query) |
<U> List<U> |
CachedAuditTrail.doQuery(StrolchTransaction tx,
AuditQuery<U> query) |
<U> List<U> |
NoStrategyAuditTrail.doQuery(StrolchTransaction tx,
AuditQuery<U> query) |
<U> List<U> |
AuditingAuditMapFacade.doQuery(StrolchTransaction tx,
AuditQuery<U> query) |
<U> List<U> |
CachedOrderMap.doQuery(StrolchTransaction tx,
OrderQuery<U> query) |
<U> List<U> |
AuditingOrderMap.doQuery(StrolchTransaction tx,
OrderQuery<U> query) |
<U> List<U> |
TransactionalOrderMap.doQuery(StrolchTransaction tx,
OrderQuery<U> query) |
<U> List<U> |
AuditingResourceMap.doQuery(StrolchTransaction tx,
ResourceQuery<U> query) |
<U> List<U> |
CachedResourceMap.doQuery(StrolchTransaction tx,
ResourceQuery<U> query) |
<U> List<U> |
TransactionalResourceMap.doQuery(StrolchTransaction tx,
ResourceQuery<U> query) |
List<T> |
CachedElementMap.getAllElements(StrolchTransaction tx) |
List<T> |
TransactionalElementMap.getAllElements(StrolchTransaction tx) |
List<T> |
AuditingElementMapFacade.getAllElements(StrolchTransaction tx) |
List<Audit> |
TransactionalAuditTrail.getAllElements(StrolchTransaction tx,
String type,
li.strolch.utils.collections.DateRange dateRange) |
List<Audit> |
CachedAuditTrail.getAllElements(StrolchTransaction tx,
String type,
li.strolch.utils.collections.DateRange dateRange) |
List<Audit> |
NoStrategyAuditTrail.getAllElements(StrolchTransaction tx,
String type,
li.strolch.utils.collections.DateRange dateRange) |
List<Audit> |
AuditingAuditMapFacade.getAllElements(StrolchTransaction tx,
String type,
li.strolch.utils.collections.DateRange dateRange) |
Set<String> |
CachedElementMap.getAllKeys(StrolchTransaction tx) |
Set<String> |
TransactionalElementMap.getAllKeys(StrolchTransaction tx) |
Set<String> |
AuditingElementMapFacade.getAllKeys(StrolchTransaction tx) |
List<T> |
CachedElementMap.getBy(StrolchTransaction tx,
StringListParameter refP,
boolean assertExists) |
List<T> |
TransactionalElementMap.getBy(StrolchTransaction tx,
StringListParameter refP,
boolean assertExists) |
List<T> |
AuditingElementMapFacade.getBy(StrolchTransaction tx,
StringListParameter refP,
boolean assertExists) |
Audit |
TransactionalAuditTrail.getBy(StrolchTransaction tx,
String type,
Long id) |
Audit |
CachedAuditTrail.getBy(StrolchTransaction tx,
String type,
Long id) |
Audit |
NoStrategyAuditTrail.getBy(StrolchTransaction tx,
String type,
Long id) |
Audit |
AuditingAuditMapFacade.getBy(StrolchTransaction tx,
String type,
Long id) |
T |
CachedElementMap.getBy(StrolchTransaction tx,
StringParameter refP,
boolean assertExists) |
T |
TransactionalElementMap.getBy(StrolchTransaction tx,
StringParameter refP,
boolean assertExists) |
T |
AuditingElementMapFacade.getBy(StrolchTransaction tx,
StringParameter refP,
boolean assertExists) |
T |
CachedElementMap.getBy(StrolchTransaction tx,
String type,
String id) |
T |
TransactionalElementMap.getBy(StrolchTransaction tx,
String type,
String id) |
T |
AuditingElementMapFacade.getBy(StrolchTransaction tx,
String type,
String id) |
T |
CachedElementMap.getBy(StrolchTransaction tx,
String type,
String id,
boolean assertExists) |
T |
TransactionalElementMap.getBy(StrolchTransaction tx,
String type,
String id,
boolean assertExists) |
T |
AuditingElementMapFacade.getBy(StrolchTransaction tx,
String type,
String id,
boolean assertExists) |
T |
CachedElementMap.getBy(StrolchTransaction tx,
String type,
String id,
int version) |
T |
TransactionalElementMap.getBy(StrolchTransaction tx,
String type,
String id,
int version) |
T |
AuditingElementMapFacade.getBy(StrolchTransaction tx,
String type,
String id,
int version) |
T |
CachedElementMap.getBy(StrolchTransaction tx,
String type,
String id,
int version,
boolean assertExists) |
T |
TransactionalElementMap.getBy(StrolchTransaction tx,
String type,
String id,
int version,
boolean assertExists) |
T |
AuditingElementMapFacade.getBy(StrolchTransaction tx,
String type,
String id,
int version,
boolean assertExists) |
protected abstract StrolchDao<T> |
TransactionalElementMap.getDao(StrolchTransaction tx) |
protected AuditDao |
TransactionalAuditTrail.getDao(StrolchTransaction tx) |
protected ResourceDao |
TransactionalResourceMap.getDao(StrolchTransaction tx) |
protected ActivityDao |
TransactionalActivityMap.getDao(StrolchTransaction tx) |
protected OrderDao |
TransactionalOrderMap.getDao(StrolchTransaction tx) |
protected abstract StrolchDao<T> |
CachedElementMap.getDbDao(StrolchTransaction tx) |
protected ActivityDao |
CachedActivityMap.getDbDao(StrolchTransaction tx) |
protected AuditDao |
CachedAuditTrail.getDbDao(StrolchTransaction tx) |
protected OrderDao |
CachedOrderMap.getDbDao(StrolchTransaction tx) |
protected ResourceDao |
CachedResourceMap.getDbDao(StrolchTransaction tx) |
List<T> |
CachedElementMap.getElementsBy(StrolchTransaction tx,
String type) |
List<T> |
TransactionalElementMap.getElementsBy(StrolchTransaction tx,
String type) |
List<T> |
AuditingElementMapFacade.getElementsBy(StrolchTransaction tx,
String type) |
Set<String> |
CachedElementMap.getKeysBy(StrolchTransaction tx,
String type) |
Set<String> |
TransactionalElementMap.getKeysBy(StrolchTransaction tx,
String type) |
Set<String> |
AuditingElementMapFacade.getKeysBy(StrolchTransaction tx,
String type) |
T |
CachedElementMap.getTemplate(StrolchTransaction tx,
String type) |
T |
TransactionalElementMap.getTemplate(StrolchTransaction tx,
String type) |
T |
AuditingElementMapFacade.getTemplate(StrolchTransaction tx,
String type) |
T |
CachedElementMap.getTemplate(StrolchTransaction tx,
String type,
boolean assertExists) |
T |
TransactionalElementMap.getTemplate(StrolchTransaction tx,
String type,
boolean assertExists) |
T |
AuditingElementMapFacade.getTemplate(StrolchTransaction tx,
String type,
boolean assertExists) |
Set<String> |
CachedElementMap.getTypes(StrolchTransaction tx) |
Set<String> |
TransactionalElementMap.getTypes(StrolchTransaction tx) |
Set<String> |
TransactionalAuditTrail.getTypes(StrolchTransaction tx) |
Set<String> |
CachedAuditTrail.getTypes(StrolchTransaction tx) |
Set<String> |
NoStrategyAuditTrail.getTypes(StrolchTransaction tx) |
Set<String> |
AuditingAuditMapFacade.getTypes(StrolchTransaction tx) |
Set<String> |
AuditingElementMapFacade.getTypes(StrolchTransaction tx) |
List<T> |
CachedElementMap.getVersionsFor(StrolchTransaction tx,
String type,
String id) |
List<T> |
TransactionalElementMap.getVersionsFor(StrolchTransaction tx,
String type,
String id) |
List<T> |
AuditingElementMapFacade.getVersionsFor(StrolchTransaction tx,
String type,
String id) |
boolean |
TransactionalAuditTrail.hasAudit(StrolchTransaction tx,
String type,
Long id) |
boolean |
CachedAuditTrail.hasAudit(StrolchTransaction tx,
String type,
Long id) |
boolean |
NoStrategyAuditTrail.hasAudit(StrolchTransaction tx,
String type,
Long id) |
boolean |
AuditingAuditMapFacade.hasAudit(StrolchTransaction tx,
String type,
Long id) |
boolean |
CachedElementMap.hasElement(StrolchTransaction tx,
String type,
String id) |
boolean |
TransactionalElementMap.hasElement(StrolchTransaction tx,
String type,
String id) |
boolean |
AuditingElementMapFacade.hasElement(StrolchTransaction tx,
String type,
String id) |
boolean |
CachedElementMap.hasType(StrolchTransaction tx,
String type) |
boolean |
TransactionalElementMap.hasType(StrolchTransaction tx,
String type) |
boolean |
AuditingElementMapFacade.hasType(StrolchTransaction tx,
String type) |
long |
CachedElementMap.querySize(StrolchTransaction tx) |
long |
TransactionalElementMap.querySize(StrolchTransaction tx) |
long |
AuditingElementMapFacade.querySize(StrolchTransaction tx) |
long |
TransactionalAuditTrail.querySize(StrolchTransaction tx,
li.strolch.utils.collections.DateRange dateRange) |
long |
CachedAuditTrail.querySize(StrolchTransaction tx,
li.strolch.utils.collections.DateRange dateRange) |
long |
NoStrategyAuditTrail.querySize(StrolchTransaction tx,
li.strolch.utils.collections.DateRange dateRange) |
long |
AuditingAuditMapFacade.querySize(StrolchTransaction tx,
li.strolch.utils.collections.DateRange dateRange) |
long |
CachedElementMap.querySize(StrolchTransaction tx,
String type) |
long |
TransactionalElementMap.querySize(StrolchTransaction tx,
String type) |
long |
AuditingElementMapFacade.querySize(StrolchTransaction tx,
String type) |
long |
TransactionalAuditTrail.querySize(StrolchTransaction tx,
String type,
li.strolch.utils.collections.DateRange dateRange) |
long |
CachedAuditTrail.querySize(StrolchTransaction tx,
String type,
li.strolch.utils.collections.DateRange dateRange) |
long |
NoStrategyAuditTrail.querySize(StrolchTransaction tx,
String type,
li.strolch.utils.collections.DateRange dateRange) |
long |
AuditingAuditMapFacade.querySize(StrolchTransaction tx,
String type,
li.strolch.utils.collections.DateRange dateRange) |
void |
TransactionalAuditTrail.remove(StrolchTransaction tx,
Audit audit) |
void |
CachedAuditTrail.remove(StrolchTransaction tx,
Audit audit) |
void |
NoStrategyAuditTrail.remove(StrolchTransaction tx,
Audit audit) |
void |
AuditingAuditMapFacade.remove(StrolchTransaction tx,
Audit audit) |
void |
CachedElementMap.remove(StrolchTransaction tx,
T element) |
void |
TransactionalElementMap.remove(StrolchTransaction tx,
T element) |
void |
AuditingElementMapFacade.remove(StrolchTransaction tx,
T element) |
long |
CachedElementMap.removeAll(StrolchTransaction tx) |
long |
TransactionalElementMap.removeAll(StrolchTransaction tx) |
long |
AuditingElementMapFacade.removeAll(StrolchTransaction tx) |
void |
TransactionalAuditTrail.removeAll(StrolchTransaction tx,
List<Audit> audits) |
void |
CachedAuditTrail.removeAll(StrolchTransaction tx,
List<Audit> audits) |
void |
NoStrategyAuditTrail.removeAll(StrolchTransaction tx,
List<Audit> audits) |
void |
AuditingAuditMapFacade.removeAll(StrolchTransaction tx,
List<Audit> audits) |
void |
CachedElementMap.removeAll(StrolchTransaction tx,
List<T> elements) |
void |
TransactionalElementMap.removeAll(StrolchTransaction tx,
List<T> elements) |
void |
AuditingElementMapFacade.removeAll(StrolchTransaction tx,
List<T> elements) |
long |
TransactionalAuditTrail.removeAll(StrolchTransaction tx,
String type,
li.strolch.utils.collections.DateRange dateRange) |
long |
CachedAuditTrail.removeAll(StrolchTransaction tx,
String type,
li.strolch.utils.collections.DateRange dateRange) |
long |
NoStrategyAuditTrail.removeAll(StrolchTransaction tx,
String type,
li.strolch.utils.collections.DateRange dateRange) |
long |
AuditingAuditMapFacade.removeAll(StrolchTransaction tx,
String type,
li.strolch.utils.collections.DateRange dateRange) |
long |
CachedElementMap.removeAllBy(StrolchTransaction tx,
String type) |
long |
TransactionalElementMap.removeAllBy(StrolchTransaction tx,
String type) |
long |
AuditingElementMapFacade.removeAllBy(StrolchTransaction tx,
String type) |
T |
CachedElementMap.revertToVersion(StrolchTransaction tx,
String type,
String id,
int version) |
T |
TransactionalElementMap.revertToVersion(StrolchTransaction tx,
String type,
String id,
int version) |
T |
AuditingElementMapFacade.revertToVersion(StrolchTransaction tx,
String type,
String id,
int version) |
T |
CachedElementMap.revertToVersion(StrolchTransaction tx,
T element) |
T |
TransactionalElementMap.revertToVersion(StrolchTransaction tx,
T element) |
T |
AuditingElementMapFacade.revertToVersion(StrolchTransaction tx,
T element) |
void |
CachedElementMap.undoVersion(StrolchTransaction tx,
T element) |
void |
TransactionalElementMap.undoVersion(StrolchTransaction tx,
T element) |
void |
AuditingElementMapFacade.undoVersion(StrolchTransaction tx,
T element) |
Audit |
TransactionalAuditTrail.update(StrolchTransaction tx,
Audit audit) |
Audit |
CachedAuditTrail.update(StrolchTransaction tx,
Audit audit) |
Audit |
NoStrategyAuditTrail.update(StrolchTransaction tx,
Audit audit) |
Audit |
AuditingAuditMapFacade.update(StrolchTransaction tx,
Audit audit) |
void |
CachedElementMap.update(StrolchTransaction tx,
T element) |
void |
TransactionalElementMap.update(StrolchTransaction tx,
T element) |
void |
AuditingElementMapFacade.update(StrolchTransaction tx,
T element) |
List<Audit> |
TransactionalAuditTrail.updateAll(StrolchTransaction tx,
List<Audit> audits) |
List<Audit> |
CachedAuditTrail.updateAll(StrolchTransaction tx,
List<Audit> audits) |
List<Audit> |
NoStrategyAuditTrail.updateAll(StrolchTransaction tx,
List<Audit> audits) |
List<Audit> |
AuditingAuditMapFacade.updateAll(StrolchTransaction tx,
List<Audit> audits) |
void |
CachedElementMap.updateAll(StrolchTransaction tx,
List<T> elements) |
void |
TransactionalElementMap.updateAll(StrolchTransaction tx,
List<T> elements) |
void |
AuditingElementMapFacade.updateAll(StrolchTransaction tx,
List<T> elements) |
| Constructor and Description |
|---|
InMemoryElementListener(StrolchTransaction tx) |
StoreToDaoElementListener(StrolchTransaction tx) |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractTransaction |
| Modifier and Type | Method and Description |
|---|---|
StrolchTransaction |
PersistenceHandler.openTx(StrolchRealm realm,
Certificate certificate,
String action)
Opens a
StrolchTransaction on the given StrolchRealm. |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
TransactionCloseStrategy.close(StrolchTransaction tx) |
ActivityDao |
PersistenceHandler.getActivityDao(StrolchTransaction tx)
Returns the
ActivityDao for the given transaction. |
AuditDao |
PersistenceHandler.getAuditDao(StrolchTransaction tx)
Returns the
AuditDao for the given transaction. |
OrderDao |
PersistenceHandler.getOrderDao(StrolchTransaction tx)
Returns the
OrderDao for the given transaction. |
ResourceDao |
PersistenceHandler.getResourceDao(StrolchTransaction tx)
Returns the
ResourceDao for the given transaction. |
| Modifier and Type | Class and Description |
|---|---|
class |
InMemoryTransaction |
| Modifier and Type | Method and Description |
|---|---|
StrolchTransaction |
InMemoryPersistence.openTx(StrolchRealm realm,
Certificate certificate,
String action) |
| Modifier and Type | Method and Description |
|---|---|
ActivityDao |
InMemoryPersistence.getActivityDao(StrolchTransaction tx) |
AuditDao |
InMemoryPersistence.getAuditDao(StrolchTransaction tx) |
OrderDao |
InMemoryPersistence.getOrderDao(StrolchTransaction tx) |
ResourceDao |
InMemoryPersistence.getResourceDao(StrolchTransaction tx) |
| Modifier and Type | Method and Description |
|---|---|
protected StrolchTransaction |
StrolchPolicy.tx()
Returns the
StrolchTransaction bound to this Command's runtime |
| Modifier and Type | Method and Description |
|---|---|
<T extends StrolchPolicy> |
PolicyHandler.getPolicy(PolicyDef policyDef,
StrolchTransaction tx)
Instantiates the actual policy by resolving the
PolicyDef using a PolicyDefVisitor |
<T extends StrolchPolicy> |
DefaultPolicyHandler.getPolicy(PolicyDef policyDef,
StrolchTransaction tx) |
| Constructor and Description |
|---|
StrolchPolicy(ComponentContainer container,
StrolchTransaction tx)
Instantiate a new
Command |
| Modifier and Type | Method and Description |
|---|---|
protected StrolchTransaction |
AbstractService.openArgOrUserTx(ServiceArgument arg)
Opens a
StrolchTransaction by evaluating if the given argument has a realm defined, if not, then the
realm from the user certificate is used. |
protected StrolchTransaction |
AbstractService.openArgOrUserTx(ServiceArgument arg,
String action)
Opens a
StrolchTransaction by evaluating if the given argument has a realm defined, if not, then the
realm from the user certificate is used. |
protected StrolchTransaction |
AbstractService.openTx(String realm)
Opens a
StrolchTransaction for the given realm, the action for the TX is this implementation's class
name. |
protected StrolchTransaction |
AbstractService.openTx(String realm,
String action)
Opens a
StrolchTransaction for the given realm. |
protected StrolchTransaction |
AbstractService.openUserTx()
Opens a
StrolchTransaction where the realm retrieved using
ComponentContainer.getRealm(Certificate), the action for the TX is this implementation's class name. |
protected StrolchTransaction |
AbstractService.openUserTx(String action)
Opens a
StrolchTransaction where the realm retrieved using
ComponentContainer.getRealm(Certificate). |
protected StrolchTransaction |
Command.tx()
Returns the
StrolchTransaction bound to this Command's runtime |
| Constructor and Description |
|---|
Command(ComponentContainer container,
StrolchTransaction tx)
Instantiate a new
Command |
Copyright © 2011–2016 Strolch. All rights reserved.