DataDictionaryManager.java 1.02 KB
package com.diligrp.website.manager;

import java.util.List;

import com.diligrp.website.domain.DataDictionary;
import com.diligrp.website.domain.DataDictionaryValue;
import com.diligrp.website.util.dao.BaseQuery;
import com.diligrp.website.util.web.PageTemplate;


public interface DataDictionaryManager {

    DataDictionary getDataDictionaryByCode(String code);

    List<DataDictionaryValue> getDataDictionaryValue(Long id);

    PageTemplate query(BaseQuery query);

    boolean deleteValue(Long id);

    boolean delete(Long id);

    boolean save(DataDictionary dic);

    boolean edit(DataDictionary dic);

    DataDictionary getDataDictionaryById(Long id);

    DataDictionaryValue getDataDicValByCode(String trim, Integer ddId);
    
    boolean saveValue(DataDictionaryValue dicv);

    DataDictionaryValue getDataDicValById(Long id);

    boolean editValue(DataDictionaryValue dicv);

    DataDictionaryValue getDataDicValByName(String name, Integer ddId);

    DataDictionaryValue getDataDicValBySort(Integer sort, Integer ddId);


}