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

com.talk2object.plum.repository.biz.interafce.Collection Maven / Gradle / Ivy

There is a newer version: 0.1.22
Show newest version
package com.talk2object.plum.repository.biz.interafce;

import java.io.Serializable;
import java.util.List;

import com.talk2object.plum.domain.repository.search.condition.Condition;

/***
 * 
 * collection is for one type of entity. it maps a table.
 * 
 * @author jack
 * 
 * @param 
 */
public interface Collection {

	long size();

	List getAll();

	T get(Serializable id);

	List getByPage(int pageLength, int pageNumber);

	void add(T entity);

	void update(T entity);

	void remove(T entity);

	List find(Condition condition);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy