public interface

Repository

com.coupa.api.Repository<T>
Known Indirect Subclasses

Summary

Public Methods
abstract List<T> findAll()
abstract List<T> findAll(int offset, int limit)
abstract List<T> findAll(T prototype, boolean exactMatch)
abstract List<T> findAll(int offset)
abstract List<T> findAll(T prototype)
abstract List<T> findAll(Map<String, String> conditions, boolean exactMatch, int offset, Integer limit)
abstract T findById(long id)
abstract T save(T resource)

Public Methods

public abstract List<T> findAll ()

public abstract List<T> findAll (int offset, int limit)

Parameters
offset
limit

public abstract List<T> findAll (T prototype, boolean exactMatch)

Parameters
prototype
exactMatch

public abstract List<T> findAll (int offset)

Parameters
offset

public abstract List<T> findAll (T prototype)

Parameters
prototype

public abstract List<T> findAll (Map<String, String> conditions, boolean exactMatch, int offset, Integer limit)

Parameters
conditions
exactMatch
offset
limit

public abstract T findById (long id)

Parameters
id

public abstract T save (T resource)

Parameters
resource