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.google.gwt.user.client.rpc.AsyncCallback;
07:
08: public interface ConsoleSettingAsync {
09: /**
10: * @param userId
11: * @return ConsoleUserSettingInfo
12: */
13: public void getConsoleUserSetting(String userId,
14: AsyncCallback callback);
15:
16: /**
17: * @param userId
18: * @return
19: */
20: public void restoreConsoleUserSetting(String userId,
21: AsyncCallback callback);
22:
23: /**
24: * @param userId
25: * @param consoleUserSettingInfo
26: */
27: public void saveConsoleUserSetting(String userId,
28: ConsoleUserSettingInfo consoleUserSettingInfo,
29: AsyncCallback callback);
30:
31: /**
32: * @param userId
33: * @return
34: */
35: public void getConsoleSystemSetting(AsyncCallback callback);
36:
37: /**
38: * @param userId
39: * @param consoleSystemSettingInfo
40: */
41: public void saveConsoleSystemSetting(String userId,
42: ConsoleSystemSettingInfo consoleSystemSettingInfo,
43: AsyncCallback callback);
44:
45: }
|