DataDictionaryService.java 816 Bytes
package com.diligrp.website.service;

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.domain.Result;
import com.diligrp.website.util.web.PageTemplate;

public interface DataDictionaryService {

	DataDictionary getDataDictionaryByCode(String code);

	List<DataDictionaryValue> getDataDictionaryValue(Long id);

	PageTemplate query(BaseQuery query);

	Result deleteValue(Long id);

	Result delete(Long id);

	Result save(DataDictionary dic);

	Result edit(DataDictionary dic);

	Result saveValue(DataDictionaryValue dicv);

	DataDictionaryValue getDataDicValById(Long id);

	Result editValue(DataDictionaryValue dicv);

	DataDictionary findById(Long id);

}