01: package com.bostechcorp.cbesb.console.rpc;
02:
03: import com.bostechcorp.cbesb.console.common.ConsoleSettingResult;
04: import com.bostechcorp.cbesb.console.common.ConsoleSystemSettingInfo;
05: import com.bostechcorp.cbesb.console.common.ConsoleUserSettingInfo;
06: import com.bostechcorp.cbesb.console.common.ServerSideException;
07: import com.google.gwt.user.client.rpc.RemoteService;
08:
09: public interface ConsoleSetting extends RemoteService {
10: /**
11: * @param userId
12: * @return ConsoleUserSettingInfo
13: */
14: public ConsoleUserSettingInfo getConsoleUserSetting(String userId);
15:
16: /**
17: * @param userId
18: * @return
19: */
20: public void restoreConsoleUserSetting(String userId)
21: throws ServerSideException;
22:
23: /**
24: * @param userId
25: * @param consoleUserSettingInfo
26: */
27: public ConsoleSettingResult saveConsoleUserSetting(String userId,
28: ConsoleUserSettingInfo consoleUserSettingInfo);
29:
30: /**
31: * @param userId
32: * @return
33: */
34: public ConsoleSystemSettingInfo getConsoleSystemSetting();
35:
36: /**
37: * @param userId
38: * @param consoleSystemSettingInfo
39: */
40: public void saveConsoleSystemSetting(String userId,
41: ConsoleSystemSettingInfo consoleSystemSettingInfo);
42:
43: }
|