Skip to content
This repository was archived by the owner on Jun 27, 2020. It is now read-only.
This repository was archived by the owner on Jun 27, 2020. It is now read-only.

Add IRepo interface #9

@yev-kanivets

Description

@yev-kanivets

IRepo interface will represent a contract of access to abstract storage with CRUD operations:

interface IRepo<T> {
    T create(T instance);
    T read(long id);
    T update(T instance);
    boolean delete(T instance);
    List<T> readAll();
    List<T> readWithCondition(String condition, String[] args);
}

Metadata

Metadata

Assignees

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions