Uses of Class
org.rostore.client.VersionedObject
Packages that use VersionedObject
-
Uses of VersionedObject in org.rostore.client
Methods in org.rostore.client that return VersionedObjectModifier and TypeMethodDescriptionstatic <K,V> VersionedObject <K, V> Creates a versioned object (general case)static <K,V1, V2>
VersionedObject<K, V2> VersionedObject.createDeserialized(VersionedObject<K, V1> original, V2 value) static <K,V> VersionedObject <K, V> VersionedObject.createEternal(K key, V object, Long version) Creates an eternal versioned objectstatic <K,V> VersionedObject <K, V> VersionedObject.createNewVersioned(K key, V value, Long unixEol) Creates first version of the entity with the expiration timestampstatic <K,V> VersionedObject <K, V> VersionedObject.createNewVersionedEternal(K key, V value) Creates first version of eternal objectstatic <K,V> VersionedObject <K, V> VersionedObject.createUnversionedEternal(K key, V value) Creates an eternal unversioned objectVersionedObject<String, org.rostore.entity.apikey.ApiKeyPermissions> Get the api-key permissions by the key<V> VersionedObject<K, V> GeneralContainer.get(K key, EnumSet<org.rostore.entity.media.RecordOption> options, Function<InputStream, V> deserializer) <V> VersionedObject<K, V> GeneralContainer.get(K key, Function<InputStream, V> deserializer) <V> VersionedObject<K, V> Retrieves the object from the storage<V> VersionedObject<K, V> GeneralContainer.getWrapped(K key, EnumSet<org.rostore.entity.media.RecordOption> options, Function<VersionedObject<K, InputStream>, VersionedObject<K, V>> transformation) VersionedObject<String, org.rostore.entity.apikey.ApiKeyPermissions> ApiKeys.post(VersionedObject<String, org.rostore.entity.apikey.ApiKeyPermissions> apiKeyPermissions) Creates a new api-key and associate the permissions with itGeneralContainer.post(VersionedObject<K, InputStream> versionedObject) GeneralContainer.post(VersionedObject<K, InputStream> versionedObject, EnumSet<org.rostore.entity.media.RecordOption> options) <V> VersionedObject<K, V> GeneralContainer.post(VersionedObject<K, V> versionedObject, EnumSet<org.rostore.entity.media.RecordOption> options, Function<V, InputStream> serializer) <V> VersionedObject<K, V> GeneralContainer.post(VersionedObject<K, V> versionedObject, Function<V, InputStream> serializer) <V> VersionedObject<K, V> MappedContainer.post(VersionedObject<K, V> versionedObject) Creates a new key-value pair.<V> VersionedObject<K, V> MappedContainer.post(VersionedObject<K, V> versionedObject, EnumSet<org.rostore.entity.media.RecordOption> options) Creates a new key-value pair.VersionedObject<String, org.rostore.entity.apikey.ApiKeyPermissions> ApiKeys.put(VersionedObject<String, org.rostore.entity.apikey.ApiKeyPermissions> apiKeyPermissions) Updates given api-key<V> VersionedObject<K, V> GeneralContainer.update(VersionedObject<K, V> original, Function<V, V> updateFunction, Function<V, InputStream> serializer, Function<InputStream, V> deserializer) Updates the given entity<V> VersionedObject<K, V> GeneralContainer.update(VersionedObject<K, V> original, KeyExpirationUpdateFunction keyExpirationUpdateFunction, Function<V, V> updateFunction, Function<V, InputStream> serializer, Function<InputStream, V> deserializer) Updates the given entity<V> VersionedObject<K, V> MappedContainer.update(VersionedObject<K, V> original, Function<V, V> updateFunction) Updates a versioned key-value pair.<V> VersionedObject<K, V> MappedContainer.update(VersionedObject<K, V> original, Function<V, V> updateFunction, KeyExpirationUpdateFunction keyExpirationUpdateFunction) Updates a versioned key-value pair.Methods in org.rostore.client with parameters of type VersionedObjectModifier and TypeMethodDescriptionstatic <K,V1, V2>
VersionedObject<K, V2> VersionedObject.createDeserialized(VersionedObject<K, V1> original, V2 value) VersionedObject<String, org.rostore.entity.apikey.ApiKeyPermissions> ApiKeys.post(VersionedObject<String, org.rostore.entity.apikey.ApiKeyPermissions> apiKeyPermissions) Creates a new api-key and associate the permissions with itGeneralContainer.post(VersionedObject<K, InputStream> versionedObject) GeneralContainer.post(VersionedObject<K, InputStream> versionedObject, EnumSet<org.rostore.entity.media.RecordOption> options) <V> VersionedObject<K, V> GeneralContainer.post(VersionedObject<K, V> versionedObject, EnumSet<org.rostore.entity.media.RecordOption> options, Function<V, InputStream> serializer) <V> VersionedObject<K, V> GeneralContainer.post(VersionedObject<K, V> versionedObject, Function<V, InputStream> serializer) <V> VersionedObject<K, V> MappedContainer.post(VersionedObject<K, V> versionedObject) Creates a new key-value pair.<V> VersionedObject<K, V> MappedContainer.post(VersionedObject<K, V> versionedObject, EnumSet<org.rostore.entity.media.RecordOption> options) Creates a new key-value pair.VersionedObject<String, org.rostore.entity.apikey.ApiKeyPermissions> ApiKeys.put(VersionedObject<String, org.rostore.entity.apikey.ApiKeyPermissions> apiKeyPermissions) Updates given api-key<K,V> long KeyExpirationUpdateFunction.unixEol(VersionedObject<K, V> originalObject) <V> VersionedObject<K, V> GeneralContainer.update(VersionedObject<K, V> original, Function<V, V> updateFunction, Function<V, InputStream> serializer, Function<InputStream, V> deserializer) Updates the given entity<V> VersionedObject<K, V> GeneralContainer.update(VersionedObject<K, V> original, KeyExpirationUpdateFunction keyExpirationUpdateFunction, Function<V, V> updateFunction, Function<V, InputStream> serializer, Function<InputStream, V> deserializer) Updates the given entity<V> VersionedObject<K, V> MappedContainer.update(VersionedObject<K, V> original, Function<V, V> updateFunction) Updates a versioned key-value pair.<V> VersionedObject<K, V> MappedContainer.update(VersionedObject<K, V> original, Function<V, V> updateFunction, KeyExpirationUpdateFunction keyExpirationUpdateFunction) Updates a versioned key-value pair.Method parameters in org.rostore.client with type arguments of type VersionedObjectModifier and TypeMethodDescription<V> VersionedObject<K, V> GeneralContainer.getWrapped(K key, EnumSet<org.rostore.entity.media.RecordOption> options, Function<VersionedObject<K, InputStream>, VersionedObject<K, V>> transformation) <V> VersionedObject<K, V> GeneralContainer.getWrapped(K key, EnumSet<org.rostore.entity.media.RecordOption> options, Function<VersionedObject<K, InputStream>, VersionedObject<K, V>> transformation)