Package com.cloudimpl.outstack.runtime
Interface ITransaction<R extends RootEntity>
- Type Parameters:
R-
- All Superinterfaces:
QueryOperations<R>
- All Known Implementing Classes:
EntityContextProvider.Transaction,EntityContextProvider.UnboundedTransaction,EntityQueryContextProvider.ReadOnlyTransaction,SimpleTransaction
public interface ITransaction<R extends RootEntity> extends QueryOperations<R>
- Author:
- nuwan
-
Method Summary
Modifier and Type Method Description <K> KgetAttachment()<C extends ChildEntity<R>, K extends Entity, Z extends EntityQueryContext>
ZgetContext(java.lang.Class<K> entityType)java.util.Map<java.lang.String,Entity>getDeletedEntities()java.util.Collection<Entity>getEntityList()java.util.List<Event>getEventList()InputMetaProvidergetInputMetaProvider()java.util.Map<java.lang.String,Entity>getRenameEntities()<K> KgetReply()java.lang.Class<R>getRootType()default java.util.Collection<ITransaction<R>>getTxList()default booleanisEntityRenamed(java.lang.String trn)voidsetAttachment(java.lang.Object attachment)Methods inherited from interface com.cloudimpl.outstack.runtime.QueryOperations
getAllByRootType, getAllByRootType, getAllChildByType, getAllChildByType, getChildById, getEventsByChildId, getEventsByRootId, getRootById, isIdExist
-
Method Details
-
getEventList
java.util.List<Event> getEventList() -
getEntityList
java.util.Collection<Entity> getEntityList() -
getDeletedEntities
java.util.Map<java.lang.String,Entity> getDeletedEntities() -
getRenameEntities
java.util.Map<java.lang.String,Entity> getRenameEntities() -
setAttachment
void setAttachment(java.lang.Object attachment) -
getAttachment
<K> K getAttachment() -
isEntityRenamed
default boolean isEntityRenamed(java.lang.String trn) -
getTxList
-
getReply
<K> K getReply() -
getContext
<C extends ChildEntity<R>, K extends Entity, Z extends EntityQueryContext> Z getContext(java.lang.Class<K> entityType) -
getInputMetaProvider
InputMetaProvider getInputMetaProvider() -
getRootType
java.lang.Class<R> getRootType()
-