com.github.nagyesta.lowkeyvault.service.common.ReadOnlyVersionedEntityMultiMap Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of lowkey-vault-app Show documentation
Show all versions of lowkey-vault-app Show documentation
Assembled application of Lowkey Vault.
The newest version!
package com.github.nagyesta.lowkeyvault.service.common;
import com.github.nagyesta.lowkeyvault.model.v7_2.common.constants.RecoveryLevel;
import com.github.nagyesta.lowkeyvault.service.EntityId;
import java.util.Deque;
import java.util.List;
import java.util.Optional;
import java.util.function.Predicate;
public interface ReadOnlyVersionedEntityMultiMap> {
List listLatestEntities();
List listLatestNonManagedEntities();
Deque getVersions(K entityId);
boolean containsName(String name);
boolean containsEntityMatching(String name, Predicate predicate);
boolean containsEntity(K entityId);
void assertContainsEntity(V entityId);
V getLatestVersionOfEntity(K entityId);
R getEntity(V entityId, Class type);
RE getReadOnlyEntity(V entityId);
RecoveryLevel getRecoveryLevel();
Optional getRecoverableDays();
}