⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 costcenterdao.java

📁 一个关于tlms的一个小程序 看看能否帮助到别人
💻 JAVA
字号:
/**
 * =============================================
 * Copyright 2006 szmx
 *
 * Change Revision
 * --------------------------------
 *   Date          Author      Remarks
 *   2006-4-6      Allen.Zeng    Create com.szmx.tlms.finance.web.CostCenterAction
 * =============================================
 */

package com.szmx.tlms.finance.dao;

import com.szmx.tlms.finance.model.CostCenter;
import com.szmx.framework.base.dao.BaseDao;
import com.szmx.framework.base.model.Pagination;

import java.util.Collection;
import java.util.List;

/**
 *
 * @author Allen.Zeng
 * @since 2006-4-6
 */

public interface CostCenterDao extends BaseDao {
    /**
     * This method saves or updates a single cost center object
     *
     * @param costCenter  cost center object
     */
    void saveOrUpdateCostCenter(final CostCenter costCenter);

    /**
     * This method saves or updates cost centers in batches
     *
     * @param costCenters  collection of cost center objects
     */
    void saveOrUpdateCostCenter(final Collection costCenters);

    /**
     * This method remove a single cost center object
     *
     * @param costCenter  cost center object
     */
    void removeCostCenter(final CostCenter costCenter);

    /**
     * This method remove cost center objects in batches
     *
     * @param collection  collection of cost center objects
     */
    void removeCostCenter(final Collection collection);

    /**
     * This method removes cost center object through their ids
     *
     * @param idArr  array of cost centers' ids
     */
    void removeCostCenter(final String[] idArr);

    /**
     * This method get a single cost center object by its id
     *
     * @param id  id of cost center object
     * @return CostCenter  cost center object
     */
    CostCenter getCostCenter(final Long id);

    /**
     * This method searches cost center objects
     *
     * @param costCenter  cost center object
     * @return  list of cost cetner ojbect
     */
    List searchCostCenter(final CostCenter costCenter);

    /**
     * This method searches cost center objects
     *
     * @param costCenter  cost center object that includes all query condition
     * @param pagination  pagination object for paging
     * @return Pagination  pagination object
     */
    Pagination searchCostCenter(final CostCenter costCenter, final Pagination pagination);
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -