package com.rizki.mufrizal.aplikasi.inventory.repository;

import com.rizki.mufrizal.aplikasi.inventory.domain.Barang;
import java.util.List;

/**
 *
 * @Author Rizki Mufrizal <mufrizalrizki@gmail.com>
 * @Since Mar 18, 2016
 * @Time 10:52:36 PM
 * @Encoding UTF-8
 * @Project Aplikasi-Inventory
 * @Package com.rizki.mufrizal.aplikasi.inventory.repository
 *
 */
public interface BarangRepository {

    public void simpanBarang(Barang barang);

    public void editBarang(Barang barang);

    public void hapusBarang(Barang barang);

    public List<Barang> ambilBarangs();
    
}

@@ -544,40 +544,111 @@
 lic 
-List%3CBarang%3E ambilBarangs();%0A    
+Integer jumlahBarang();%0A%0A    public List%3CBarang%3E ambilBarangs(Integer pageNumber, Integer rowsPerPage);%0A
 %0A%7D%0A

update barang repository