You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

95 lines
1.5 KiB

5 years ago
package service;
import java.util.List;
import java.util.Map;
import model.Classify;
import model.PageBean;
import model.Product;
import model.User;
import model.UserAndAdmin;
public interface IUserService {
/**
*
* @param product
*/
void saveProduct(Product product);
/**
*
* @return
*/
List<Classify> searchClassifyList();
/**
*
* @param map
* @return
*/
PageBean<Product> searchProductList(Map<Object, String> map);
/**
*
* @param id
* @return
*/
Product getProductDetail(String id);
/**
* id
* @param classifyId
*/
Classify getClassifyById(Integer classifyId);
User getUserById(Integer creatorId);
void updateProduct(Product product);
/**
* <p>Description: </p>
* @param map
* @return
*/
PageBean<Product> searchMyProductByPage(Map<Object, String> map);
/**
* <p>Description: </p>
* @param pid
*/
void delectProductById(int pid);
/**
*
* @param uaa
*/
void saveUserMessage(UserAndAdmin uaa);
/**
*
* @throws Exception
* @param flag 0,1
*/
PageBean<UserAndAdmin> searchMessageByPage(Map<Object, String> map);
/**
* id
* @param parseInt
*/
void deleteMessage(int id);
}