Package step.plugins.views
Class ViewModelAccessorImpl
- java.lang.Object
-
- step.core.accessors.AbstractAccessor
-
- step.core.accessors.AbstractCRUDAccessor<ViewModel>
-
- step.plugins.views.ViewModelAccessorImpl
-
- All Implemented Interfaces:
Accessor<ViewModel>
,CRUDAccessor<ViewModel>
,ViewModelAccessor
public class ViewModelAccessorImpl extends AbstractCRUDAccessor<ViewModel> implements ViewModelAccessor
-
-
Field Summary
-
Fields inherited from class step.core.accessors.AbstractCRUDAccessor
collection
-
Fields inherited from class step.core.accessors.AbstractAccessor
mongoClientSession
-
-
Constructor Summary
Constructors Constructor Description ViewModelAccessorImpl(MongoClientSession clientSession)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends ViewModel>
Tget(String viewId, String executionId, Class<T> as)
void
removeViewsByExecutionId(String executionId)
-
Methods inherited from class step.core.accessors.AbstractCRUDAccessor
findByAttributes, findByAttributes, findManyByAttributes, findManyByAttributes, get, get, getAll, getRange, queryByAttributes, queryByAttributes, remove, save, save
-
Methods inherited from class step.core.accessors.AbstractAccessor
createOrUpdateCompoundIndex, createOrUpdateIndex, createOrUpdateTTLIndex, getJongoCollection, getMongoCollection
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface step.core.accessors.Accessor
findByAttributes, findByAttributes, findManyByAttributes, findManyByAttributes, get, get, getAll, getRange
-
Methods inherited from interface step.core.accessors.CRUDAccessor
remove, save, save
-
-
-
-
Constructor Detail
-
ViewModelAccessorImpl
public ViewModelAccessorImpl(MongoClientSession clientSession)
-
-
Method Detail
-
get
public <T extends ViewModel> T get(String viewId, String executionId, Class<T> as)
- Specified by:
get
in interfaceViewModelAccessor
-
removeViewsByExecutionId
public void removeViewsByExecutionId(String executionId)
- Specified by:
removeViewsByExecutionId
in interfaceViewModelAccessor
-
-