package org.fanli.facade.system.service.common;
|
|
import java.util.List;
|
|
import org.fanli.facade.system.entity.common.SystemConfig;
|
import org.fanli.facade.system.entity.common.SystemManage;
|
import org.springframework.cache.annotation.CacheEvict;
|
|
import com.yeshi.fanli.base.exception.NotExistObjectException;
|
|
|
public interface SystemConfigService {
|
|
public int getCount(SystemManage system,String key);
|
|
public List<SystemConfig> getSystemConfigList(int index,SystemManage system, String key);
|
|
public void addSystemConfig(SystemConfig sc);
|
@CacheEvict(value="childSystemCache",allEntries=true)
|
public void deleteSystem(long id, SystemManage system) throws NotExistObjectException;
|
@CacheEvict(value="childSystemCache",allEntries=true)
|
public void addSystem(long id, SystemManage system) throws NotExistObjectException;
|
|
public SystemConfig getSystemConfig(long id);
|
|
public void updateSystemConfig(SystemConfig sc) throws NotExistObjectException;
|
|
public void deleteSystemConfig(long id);
|
|
|
public String get(String key) throws NotExistObjectException;
|
|
public String get(String key, SystemManage system);
|
|
}
|