Biblioteca Java - Rev 9
Subversion Repositories:
(root)/Spring/SpringWebMVC/InventoryHibernate/src/main/java/com/linkscreens/inventory/dao/InventoryDao.java
package com.linkscreens.inventory.dao;
import com.linkscreens.inventory.entity.FilterParameters;
import com.linkscreens.inventory.entity.InventoryItem;
import java.util.List;
/**
*
*/
public interface InventoryDao {
void addNewInventoryItem(InventoryItem item);
InventoryItem getItemById(Long itemId);
List<InventoryItem> getAllInventoryItems();
List<InventoryItem> geFilteredInventoryItems(FilterParameters filter);
void updateInventoryItem(InventoryItem updatedItem);
void deleteItem(Long itemId);
}
import com.linkscreens.inventory.entity.FilterParameters;
import com.linkscreens.inventory.entity.InventoryItem;
import java.util.List;
/**
*
*/
public interface InventoryDao {
void addNewInventoryItem(InventoryItem item);
InventoryItem getItemById(Long itemId);
List<InventoryItem> getAllInventoryItems();
List<InventoryItem> geFilteredInventoryItems(FilterParameters filter);
void updateInventoryItem(InventoryItem updatedItem);
void deleteItem(Long itemId);
}