Package step.resources
Class ResourceRevisionAccessorImpl
java.lang.Object
step.core.accessors.AbstractAccessor<ResourceRevision>
step.resources.ResourceRevisionAccessorImpl
- All Implemented Interfaces:
step.core.accessors.Accessor<ResourceRevision>
,ResourceRevisionAccessor
- Direct Known Subclasses:
InMemoryResourceRevisionAccessor
public class ResourceRevisionAccessorImpl
extends step.core.accessors.AbstractAccessor<ResourceRevision>
implements ResourceRevisionAccessor
-
Field Summary
Fields inherited from class step.core.accessors.AbstractAccessor
collectionDriver, newVersionThresholdMs, versionedCollectionDriver
-
Constructor Summary
ConstructorDescriptionResourceRevisionAccessorImpl
(step.core.collections.Collection<ResourceRevision> collectionDriver) -
Method Summary
Modifier and TypeMethodDescriptiongetResourceRevisionsByChecksum
(String checksum) getResourceRevisionsByResourceId
(String resourceId) Methods inherited from class step.core.accessors.AbstractAccessor
createOrUpdateCompoundIndex, createOrUpdateIndex, enableVersioning, findByAttributes, findByAttributes, findByCriteria, findManyByAttributes, findManyByAttributes, findManyByCriteria, get, get, getAll, getCollectionDriver, getHistory, getRange, isVersioningEnabled, remove, restoreVersion, save, save, stream, streamLazy
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
enableVersioning, findByAttributes, findByAttributes, findByCriteria, findManyByAttributes, findManyByAttributes, findManyByCriteria, get, get, getAll, getCollectionDriver, getHistory, getRange, isVersioningEnabled, remove, restoreVersion, save, save, stream, streamLazy
-
Constructor Details
-
ResourceRevisionAccessorImpl
public ResourceRevisionAccessorImpl(step.core.collections.Collection<ResourceRevision> collectionDriver)
-
-
Method Details
-
getResourceRevisionsByResourceId
- Specified by:
getResourceRevisionsByResourceId
in interfaceResourceRevisionAccessor
-
getResourceRevisionsByChecksum
- Specified by:
getResourceRevisionsByChecksum
in interfaceResourceRevisionAccessor
-