All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.nagyesta.lowkeyvault.service.common.ReadOnlyVersionedEntityMultiMap Maven / Gradle / Ivy

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();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy