package com.ejie.m62fb.service;


import com.ejie.x38.dto.Pagination;
import java.util.List;

import com.ejie.m62fb.model.M62fbp20s0s00;

/**
 * M62fbp20s0s00Service generated by UDA, 06-nov-2012 10:00:26.
XXXX
 */

public interface M62fbp20s0s00Service {

	/**
	 * Inserts a single row in the M62fbp20s0s00 table.
	 *
	 * @param m62fbp20s0s00 M62fbp20s0s00
	 * @return M62fbp20s0s00
	 */
    M62fbp20s0s00 add(M62fbp20s0s00 m62fbp20s0s00);

	/**
	 * Updates a single row in the M62fbp20s0s00 table.
	 *
	 * @param m62fbp20s0s00 M62fbp20s0s00
	 * @return M62fbp20s0s00
	 */
	M62fbp20s0s00 update(M62fbp20s0s00 m62fbp20s0s00);

	/**
	 * Finds a single row in the M62fbp20s0s00 table.
	 *
	 * @param m62fbp20s0s00 M62fbp20s0s00
	 * @return M62fbp20s0s00
	 */
	M62fbp20s0s00 find(M62fbp20s0s00 m62fbp20s0s00);

	/**
	 * Finds a List of rows in the M62fbp20s0s00 table.
	 *
	 * @param m62fbp20s0s00 M62fbp20s0s00
	 * @param pagination Pagination
	 * @return List
	 */
	List<M62fbp20s0s00> findAll(M62fbp20s0s00 m62fbp20s0s00, Pagination pagination);

	/**
	 * Counts rows in the M62fbp20s0s00 table.
	 *
	 * @param m62fbp20s0s00 M62fbp20s0s00
	 * @return Long
	 */
	Long findAllCount(M62fbp20s0s00 m62fbp20s0s00);
	
	/**
	 * Finds rows in the M62fbp20s0s00 table using like.
	 *
	 * @param m62fbp20s0s00 M62fbp20s0s00
	 * @param pagination Pagination
     * @param startsWith Boolean	 
	 * @return List
	 */
	List<M62fbp20s0s00> findAllLike(M62fbp20s0s00 m62fbp20s0s00, Pagination pagination, Boolean startsWith) ;

	/**
	 * Counts rows in the M62fbp20s0s00 table using like.
	 *
	 * @param m62fbp20s0s00 M62fbp20s0s00
     * @param startsWith Boolean	 
	 * @return Long
	 */
	Long findAllLikeCount(M62fbp20s0s00 m62fbp20s0s00, Boolean startsWith) ;
  
	/**
	 * Deletes a single row in the M62fbp20s0s00 table.
	 *
	 * @param m62fbp20s0s00 M62fbp20s0s00
	 * @return 
	 */
	void remove(M62fbp20s0s00 m62fbp20s0s00);
	
	/**
	 * Deletes multiple rows in the M62fbp20s0s00 table.
	 *
	 * @param m62fbp20s0s00List List
	 * @return 
	 */	
	void removeMultiple(List<M62fbp20s0s00> m62fbp20s0s00List);
    
}


