PromotionService.java 1.21 KB
package com.diligrp.mobsite.man.service;

import com.diligrp.mobsite.man.domain.Promotion;
import com.diligrp.mobsite.man.domain.exception.DiliException;
import com.diligrp.website.util.dao.BaseQuery;
import com.diligrp.website.util.web.PageTemplate;

import java.util.Map;

/**
 * <B>Description</B>  <br />
 * <B>Copyright</B> Copyright (c) 2014 www.diligrp.com All rights reserved. <br />
 * 本软件源代码版权归地利集团,未经许可不得任意复制与传播.<br />
 * <B>Company</B> 地利集团
 * @createTime 2014-9-24 16:53:43
 * @author template
 */
public interface PromotionService {

    public Map<?, ?> preSave(Promotion obj) throws DiliException;

    public Promotion findOne(Long pk) throws DiliException ;

    public Boolean save(Promotion promotion) throws DiliException ;

    public PageTemplate find(BaseQuery bq) throws DiliException ;

    public Boolean del(Long id) throws DiliException ;

    public Boolean update(Promotion promotion) throws DiliException ;

    java.util.List<com.diligrp.titan.sdk.domain.Category> getCategory(BaseQuery bq) throws DiliException ;

    PageTemplate getProduct(BaseQuery bq) throws DiliException ;

    PageTemplate getShop(BaseQuery bq) throws DiliException ;
}