How to use execute method in Cypress

Best JavaScript code snippet using cypress

Run Cypress automation tests on LambdaTest cloud grid

Perform automation testing on 3000+ real desktop and mobile devices online.

actions.js

Source: actions.js Github

copy
1/* eslint-env mocha */
2import expect, { createSpy } from "expect"
3import { fromJS } from "immutable"
4import { execute, executeRequest } from "corePlugins/spec/actions"
5
6describe("spec plugin - actions", function(){
7
8  describe("execute", function(){
9
10    xit("should collect a full request and call fn.executeRequest", function(){
11      // Given
12      const system = {
13        fn: {
14          fetch: 1
15        },
16        specActions: {
17          executeRequest: createSpy()
18        },
19        specSelectors: {
20          spec: () => fromJS({spec: 1}),
21          parameterValues: () => fromJS({values: 2}),
22          contentTypeValues: () => fromJS({requestContentType: "one", responseContentType: "two"})
23        }
24      }
25
26      // When
27      let executeFn = execute({ path: "/one", method: "get"})
28      executeFn(system)
29
30      // Then
31      expect(system.specActions.executeRequest.calls[0].arguments[0]).toEqual({
32        fetch: 1,
33        method: "get",
34        pathName: "/one",
35        parameters: {
36          values: 2
37        },
38        requestContentType: "one",
39        responseContentType: "two",
40        spec: {
41          spec: 1
42        }
43      })
44    })
45
46    xit("should allow passing _extra_ properties to executeRequest", function(){
47
48      // Given
49      const system = {
50        fn: {},
51        specActions: {
52          executeRequest: createSpy()
53        },
54        specSelectors: {
55          spec: () => fromJS({}),
56          parameterValues: () => fromJS({}),
57          contentTypeValues: () => fromJS({})
58        }
59      }
60
61      // When
62      let executeFn = execute({ hi: "hello" })
63      executeFn(system)
64
65      // Then
66      expect(system.specActions.executeRequest.calls[0].arguments[0]).toInclude({hi: "hello"})
67    })
68
69  })
70
71  describe("executeRequest", function(){
72
73    xit("should call fn.execute with arg ", function(){
74
75      const system = {
76        fn: {
77          execute: createSpy().andReturn(Promise.resolve())
78        },
79        specActions: {
80          setResponse: createSpy()
81        }
82      }
83
84      // When
85      let executeFn = executeRequest({one: 1})
86      let res = executeFn(system)
87
88      // Then
89      expect(res).toBeA(Promise)
90      expect(system.fn.execute.calls.length).toEqual(1)
91      expect(system.fn.execute.calls[0].arguments[0]).toEqual({
92        one: 1
93      })
94    })
95
96    it("should pass requestInterceptor/responseInterceptor to fn.execute", function(){
97      // Given
98      let configs = {
99        requestInterceptor: createSpy(),
100        responseInterceptor: createSpy()
101      }
102      const system = {
103        fn: {
104          buildRequest: createSpy(),
105          execute: createSpy().andReturn(Promise.resolve())
106        },
107        specActions: {
108          executeRequest: createSpy(),
109          setMutatedRequest: createSpy(),
110          setRequest: createSpy()
111        },
112        specSelectors: {
113          spec: () => fromJS({}),
114          parameterValues: () => fromJS({}),
115          contentTypeValues: () => fromJS({}),
116          url: () => fromJS({}),
117          isOAS3: () => false
118        },
119        getConfigs: () => configs
120      }
121      // When
122      let executeFn = executeRequest({
123        pathName: "/one",
124        method: "GET",
125        operation: fromJS({operationId: "getOne"})
126      })
127      let res = executeFn(system)
128
129      // Then
130      expect(system.fn.execute.calls.length).toEqual(1)
131      expect(system.fn.execute.calls[0].arguments[0]).toIncludeKey("requestInterceptor")
132      expect(system.fn.execute.calls[0].arguments[0]).toInclude({
133        responseInterceptor: configs.responseInterceptor
134      })
135      expect(system.specActions.setMutatedRequest.calls.length).toEqual(0)
136      expect(system.specActions.setRequest.calls.length).toEqual(1)
137
138
139      let wrappedRequestInterceptor = system.fn.execute.calls[0].arguments[0].requestInterceptor
140      wrappedRequestInterceptor(system.fn.execute.calls[0].arguments[0])
141      expect(configs.requestInterceptor.calls.length).toEqual(1)
142      expect(system.specActions.setMutatedRequest.calls.length).toEqual(1)
143      expect(system.specActions.setRequest.calls.length).toEqual(1)
144    })
145  })
146
147  xit("should call specActions.setResponse, when fn.execute resolves", function(){
148
149    const response = {serverResponse: true}
150    const system = {
151      fn: {
152        execute: createSpy().andReturn(Promise.resolve(response))
153      },
154      specActions: {
155        setResponse: createSpy()
156      },
157      errActions: {
158        newSpecErr: createSpy()
159      }
160    }
161
162    // When
163    let executeFn = executeRequest({
164      pathName: "/one",
165      method: "GET"
166    })
167    let executePromise = executeFn(system)
168
169    // Then
170    return executePromise.then( () => {
171      expect(system.specActions.setResponse.calls.length).toEqual(1)
172      expect(system.specActions.setResponse.calls[0].arguments).toEqual([
173        "/one",
174        "GET",
175        response
176      ])
177    })
178  })
179
180  describe("requestResolvedSubtree", () => {
181    it("should return a promise ")
182  })
183
184  it.skip("should call errActions.newErr, if the fn.execute rejects", function(){
185  })
186
187})
188
Full Screen

job.js

Source: job.js Github

copy
1const matchUtils = require('./match');
2const compileUtils = require('./compile');
3const executeUtils = require('./execute');
4const codeStatusUtils = require('./codeStatus');
5const compileBoxUtils = require('./compileBox');
6const CompileQueue = require('../models').compilequeue;
7const ExecuteQueue = require('../models').executequeue;
8
9const sendJob = async () => {
10  const idleCompileBoxId = await compileBoxUtils.getIdleCompileBox();
11  if (idleCompileBoxId === -1) return;
12
13  const compileJob = await compileUtils.getOldestCompileJob();
14  const executeJob = await executeUtils.getOldestExecuteJob();
15
16  let jobtype;
17  if (compileJob && executeJob) {
18    if (compileJob.createdAt.getTime() > executeJob.createdAt.getTime()) {
19      jobtype = 'execute';
20    } else {
21      jobtype = 'compile';
22    }
23  } else if (compileJob && !executeJob) {
24    jobtype = 'compile';
25  } else if (executeJob && !compileJob) {
26    jobtype = 'execute';
27  } else {
28    return;
29  }
30
31  if (jobtype === 'compile') {
32    const { userId, commitHash } = compileJob;
33
34    await compileUtils.setCompileQueueJobStatus(compileJob.id, 'COMPILING');
35    await compileUtils.sendCompileJob(userId, idleCompileBoxId, commitHash);
36
37    await codeStatusUtils.setUserCodeStatus(userId, 'Idle');
38    await CompileQueue.destroy({
39      where: { id: compileJob.id },
40    });
41  } else {
42    await executeUtils.setExecuteQueueJobStatus(executeJob.id, 'EXECUTING');
43
44    const {
45      popFromQueue,
46      matchId,
47      score1,
48      score2,
49      interestingness,
50    } = await executeUtils.sendExecuteJob(
51      executeJob.gameId,
52      idleCompileBoxId,
53      executeJob.userId1,
54      executeJob.userId2,
55      executeJob.aiId,
56      executeJob.mapId,
57      executeJob.type,
58      executeJob.dll1Path,
59      executeJob.dll2Path,
60    );
61
62    if (popFromQueue) {
63      await ExecuteQueue.destroy({
64        where: {
65          id: executeJob.id,
66        },
67      });
68      if (executeJob.type === 'USER_MATCH') {
69        await matchUtils.updateMatchResults(matchId, score1, score2, interestingness);
70      }
71    }
72  }
73
74  sendJob();
75};
76
77const startJobs = async () => {
78  const compileJobs = (await CompileQueue.update({ status: 'QUEUED' }, { where: {} }))[0];
79  const executeJobs = (await ExecuteQueue.update({ status: 'QUEUED' }, { where: {} }))[0];
80  for (let i = 0; i < compileJobs + executeJobs; i += 1) {
81    sendJob();
82  }
83};
84
85module.exports = {
86  sendJob,
87  startJobs,
88};
89
Full Screen

createCommandSpec.js

Source: createCommandSpec.js Github

copy
1defineSuite([
2        'Widgets/createCommand',
3        'Specs/getArguments',
4        'ThirdParty/knockout'
5    ], function(
6        createCommand,
7        getArguments,
8        knockout) {
9    'use strict';
10
11    var spyFunction;
12    var spyFunctionReturnValue = 5;
13
14    beforeEach(function() {
15        spyFunction = jasmine.createSpy('spyFunction').and.returnValue(spyFunctionReturnValue);
16    });
17
18    it('works with default value of canExecute', function() {
19        var command = createCommand(spyFunction);
20        expect(command.canExecute).toBe(true);
21        expect(command()).toBe(spyFunctionReturnValue);
22        expect(spyFunction).toHaveBeenCalled();
23    });
24
25    it('throws when canExecute value is false', function() {
26        var command = createCommand(spyFunction, false);
27        expect(function() {
28            command();
29        }).toThrowDeveloperError();
30        expect(spyFunction).not.toHaveBeenCalled();
31    });
32
33    it('throws without a func parameter', function() {
34        expect(function() {
35            return createCommand(undefined);
36        }).toThrowDeveloperError();
37    });
38
39    it('works with custom canExecute observable', function() {
40        var canExecute = knockout.observable(false);
41        var command = createCommand(spyFunction, canExecute);
42
43        expect(command.canExecute).toBe(false);
44        expect(function() {
45            command();
46        }).toThrowDeveloperError();
47        expect(spyFunction).not.toHaveBeenCalled();
48
49        canExecute(true);
50
51        expect(command.canExecute).toBe(true);
52        expect(command()).toBe(spyFunctionReturnValue);
53        expect(spyFunction).toHaveBeenCalled();
54    });
55
56    it('calls pre/post events', function() {
57        var command = createCommand(spyFunction);
58        var myArg = {};
59
60        var beforeExecuteSpy = jasmine.createSpy('beforeExecute');
61        command.beforeExecute.addEventListener(beforeExecuteSpy);
62
63        var afterExecuteSpy = jasmine.createSpy('afterExecute');
64        command.afterExecute.addEventListener(afterExecuteSpy);
65
66        expect(command(myArg)).toBe(spyFunctionReturnValue);
67
68        expect(beforeExecuteSpy.calls.count()).toEqual(1);
69        expect(beforeExecuteSpy).toHaveBeenCalledWith({
70            cancel : false,
71            args : getArguments(myArg)
72        });
73
74        expect(afterExecuteSpy.calls.count()).toEqual(1);
75        expect(afterExecuteSpy).toHaveBeenCalledWith(spyFunctionReturnValue);
76    });
77
78    it('cancels a command if beforeExecute sets cancel to true', function() {
79        var command = createCommand(spyFunction);
80        var myArg = {};
81
82        var beforeExecuteSpy = jasmine.createSpy('beforeExecute').and.callFake(function(info) {
83            info.cancel = true;
84        });
85        command.beforeExecute.addEventListener(beforeExecuteSpy);
86
87        var afterExecuteSpy = jasmine.createSpy('afterExecute');
88        command.afterExecute.addEventListener(afterExecuteSpy);
89
90        expect(command(myArg)).toBeUndefined();
91
92        expect(beforeExecuteSpy.calls.count()).toEqual(1);
93        expect(afterExecuteSpy).not.toHaveBeenCalled();
94    });
95});
96
Full Screen

commands.js

Source: commands.js Github

copy
1try {
2    load("nashorn:mozilla_compat.js");
3    this.println = print
4    stringClass = Java.type("java.lang.String")['class']
5} catch (e) {
6    stringClass = java.lang.String.prototype
7}
8
9importClass(org.ow2.proactive_grid_cloud_portal.cli.ApplicationContextImpl);
10
11importClass(org.ow2.proactive_grid_cloud_portal.cli.CLIException);
12importClass(org.ow2.proactive_grid_cloud_portal.cli.cmd.SetUrlCommand);
13
14importClass(org.ow2.proactive_grid_cloud_portal.cli.cmd.AbstractLoginCommand);
15importClass(org.ow2.proactive_grid_cloud_portal.cli.cmd.LoginCommand);
16importClass(org.ow2.proactive_grid_cloud_portal.cli.cmd.LoginWithCredentialsCommand);
17importClass(org.ow2.proactive_grid_cloud_portal.cli.cmd.AbstractIModeCommand);
18importClass(org.ow2.proactive_grid_cloud_portal.cli.cmd.PrintSessionCommand);
19importClass(org.ow2.proactive_grid_cloud_portal.cli.cmd.SetSilentCommand);
20importClass(org.ow2.proactive_grid_cloud_portal.cli.cmd.EvalScriptCommand);
21importClass(org.ow2.proactive_grid_cloud_portal.cli.cmd.JsHelpCommand);
22importClass(org.ow2.proactive_grid_cloud_portal.cli.cmd.SetDebugModeCommand);
23
24importClass(org.ow2.proactive_grid_cloud_portal.cli.cmd.rm.RmJsHelpCommand);
25importClass(org.ow2.proactive_grid_cloud_portal.cli.cmd.rm.AddNodeCommand);
26importClass(org.ow2.proactive_grid_cloud_portal.cli.cmd.rm.RemoveNodeCommand);
27importClass(org.ow2.proactive_grid_cloud_portal.cli.cmd.rm.SetInfrastructureCommand);
28importClass(org.ow2.proactive_grid_cloud_portal.cli.cmd.rm.SetPolicyCommand);
29importClass(org.ow2.proactive_grid_cloud_portal.cli.cmd.rm.DefineNodeSourceCommand);
30importClass(org.ow2.proactive_grid_cloud_portal.cli.cmd.rm.EditNodeSourceCommand);
31importClass(org.ow2.proactive_grid_cloud_portal.cli.cmd.rm.UpdateDynamicParametersCommand);
32importClass(org.ow2.proactive_grid_cloud_portal.cli.cmd.rm.CreateNodeSourceCommand);
33importClass(org.ow2.proactive_grid_cloud_portal.cli.cmd.rm.DeployNodeSourceCommand);
34importClass(org.ow2.proactive_grid_cloud_portal.cli.cmd.rm.UndeployNodeSourceCommand);
35importClass(org.ow2.proactive_grid_cloud_portal.cli.cmd.rm.RemoveNodeSourceCommand);
36importClass(org.ow2.proactive_grid_cloud_portal.cli.cmd.rm.LockNodeCommand);
37importClass(org.ow2.proactive_grid_cloud_portal.cli.cmd.rm.UnlockNodeCommand);
38importClass(org.ow2.proactive_grid_cloud_portal.cli.cmd.rm.ListNodeCommand);
39importClass(org.ow2.proactive_grid_cloud_portal.cli.cmd.rm.ListNodeSourceCommand);
40importClass(org.ow2.proactive_grid_cloud_portal.cli.cmd.rm.ListInfrastructureCommand);
41importClass(org.ow2.proactive_grid_cloud_portal.cli.cmd.rm.ListPolicyCommand);
42importClass(org.ow2.proactive_grid_cloud_portal.cli.cmd.rm.GetNodeInfoCommand);
43importClass(org.ow2.proactive_grid_cloud_portal.cli.cmd.rm.GetRMThreadDumpCommand);
44importClass(org.ow2.proactive_grid_cloud_portal.cli.cmd.rm.GetNodeThreadDumpCommand);
45importClass(org.ow2.proactive_grid_cloud_portal.cli.cmd.rm.RmStatsCommand);
46importClass(org.ow2.proactive_grid_cloud_portal.cli.cmd.rm.GetTopologyCommand);
47importClass(org.ow2.proactive_grid_cloud_portal.cli.cmd.rm.ShutdownCommand);
48
49importClass(org.ow2.proactive_grid_cloud_portal.cli.cmd.sched.LoginSchedCommand);
50importClass(org.ow2.proactive_grid_cloud_portal.cli.cmd.sched.PutThirdPartyCredentialCommand);
51importClass(org.ow2.proactive_grid_cloud_portal.cli.cmd.sched.RemoveThirdPartyCredentialCommand);
52importClass(org.ow2.proactive_grid_cloud_portal.cli.cmd.sched.ThirdPartyCredentialKeySetCommand);
53importClass(org.ow2.proactive_grid_cloud_portal.cli.cmd.sched.SchedJsHelpCommand);
54importClass(org.ow2.proactive_grid_cloud_portal.cli.cmd.sched.StartCommand);
55importClass(org.ow2.proactive_grid_cloud_portal.cli.cmd.sched.StopCommand);
56importClass(org.ow2.proactive_grid_cloud_portal.cli.cmd.sched.PauseCommand);
57importClass(org.ow2.proactive_grid_cloud_portal.cli.cmd.sched.ResumeCommand);
58importClass(org.ow2.proactive_grid_cloud_portal.cli.cmd.sched.FreezeCommand);
59importClass(org.ow2.proactive_grid_cloud_portal.cli.cmd.sched.KillCommand);
60importClass(org.ow2.proactive_grid_cloud_portal.cli.cmd.sched.LinkRmCommand);
61importClass(org.ow2.proactive_grid_cloud_portal.cli.cmd.sched.SchedStatsCommand);
62importClass(org.ow2.proactive_grid_cloud_portal.cli.cmd.sched.ListJobCommand);
63importClass(org.ow2.proactive_grid_cloud_portal.cli.cmd.sched.ListJobTasksCommand);
64importClass(org.ow2.proactive_grid_cloud_portal.cli.cmd.sched.SubmitJobCommand);
65importClass(org.ow2.proactive_grid_cloud_portal.cli.cmd.sched.ReSubmitJobCommand);
66importClass(org.ow2.proactive_grid_cloud_portal.cli.cmd.sched.GetJobStateCommand);
67importClass(org.ow2.proactive_grid_cloud_portal.cli.cmd.sched.ChangeJobPriorityCommand);
68importClass(org.ow2.proactive_grid_cloud_portal.cli.cmd.sched.PauseJobCommand);
69importClass(org.ow2.proactive_grid_cloud_portal.cli.cmd.sched.ResumeJobCommand);
70importClass(org.ow2.proactive_grid_cloud_portal.cli.cmd.sched.ResumeAllPausedTasksCommand);
71importClass(org.ow2.proactive_grid_cloud_portal.cli.cmd.sched.RestartAllInErrorTasksCommand);
72importClass(org.ow2.proactive_grid_cloud_portal.cli.cmd.sched.ResumeAllPausedTasksAndRestartAllInErrorTasksCommand);
73importClass(org.ow2.proactive_grid_cloud_portal.cli.cmd.sched.KillJobCommand);
74importClass(org.ow2.proactive_grid_cloud_portal.cli.cmd.sched.RemoveJobCommand);
75importClass(org.ow2.proactive_grid_cloud_portal.cli.cmd.sched.GetJobResultCommand);
76importClass(org.ow2.proactive_grid_cloud_portal.cli.cmd.sched.GetJobOutputCommand);
77importClass(org.ow2.proactive_grid_cloud_portal.cli.cmd.sched.GetJobContentCommand);
78importClass(org.ow2.proactive_grid_cloud_portal.cli.cmd.sched.PreemptTaskCommand);
79importClass(org.ow2.proactive_grid_cloud_portal.cli.cmd.sched.RestartInErrorTaskCommand);
80importClass(org.ow2.proactive_grid_cloud_portal.cli.cmd.sched.RestartRunningTaskCommand);
81importClass(org.ow2.proactive_grid_cloud_portal.cli.cmd.sched.RestartTaskCommand);
82importClass(org.ow2.proactive_grid_cloud_portal.cli.cmd.sched.GetTaskOutputCommand);
83importClass(org.ow2.proactive_grid_cloud_portal.cli.cmd.sched.ListTaskStatesCommand);
84importClass(org.ow2.proactive_grid_cloud_portal.cli.cmd.sched.GetTaskResultCommand);
85importClass(org.ow2.proactive_grid_cloud_portal.cli.cmd.sched.UploadFileCommand);
86importClass(org.ow2.proactive_grid_cloud_portal.cli.cmd.sched.DownloadFileCommand);
87importClass(org.ow2.proactive_grid_cloud_portal.cli.cmd.sched.LiveLogCommand);
88importClass(org.ow2.proactive_grid_cloud_portal.cli.cmd.sched.InstallPackageCommand);
89importClass(org.ow2.proactive_grid_cloud_portal.cli.cmd.JsVersionCommand);
90
91importClass(org.ow2.proactive_grid_cloud_portal.cli.cmd.AbstractCommand);
92importClass(com.google.common.collect.ObjectArrays);
93
94
95var currentContext = ApplicationContextImpl.currentContext();
96
97function url(url) {
98    execute(new SetUrlCommand('' + url));
99}
100
101function silent() {
102    execute(new SetSilentCommand());
103}
104
105function exit() {
106    currentContext.setProperty(AbstractIModeCommand.TERMINATE, true);
107}
108
109function printWelcomeMsg() {
110    print('Type help() for interactive help \r\n');
111    if (getUser(currentContext) == null && getCredFile(currentContext) == null) {
112        print('Warning: You are not currently logged in.\r\n');
113    }
114}
115
116function prints() {
117    execute(new PrintSessionCommand());
118}
119
120function printError(error, currentContext) {
121    print("An error occurred while executing the command:\r\n" + error.message + "\r\n");
122    if (AbstractCommand.isDebugModeEnabled(currentContext)) {
123        if (error.javaException != null) {
124            error.javaException.printStackTrace();
125        } else {
126            error.printStackTrace(); // if executed with JDK8
127        }
128    }
129}
130
131function reconnect() {
132    if (getCredFile(currentContext) != null) {
133        loginwithcredentials(getCredFile(currentContext));
134    } else if (getUser(currentContext) != null) {
135        login(getUser(currentContext));
136    } else {
137        print('use either login(username) or loginwithcredentials(cred-file) function\r\n')
138
139    }
140}
141
142function debug(flag) {
143    execute(new SetDebugModeCommand(string(flag)));
144}
145
146function string(obj) {
147    return '' + obj;
148}
149
150function getUser(context) {
151    return context.getProperty(LoginCommand.USERNAME, stringClass);
152}
153
154function getCredFile(context) {
155    return context.getProperty(LoginWithCredentialsCommand.CRED_FILE, stringClass);
156}
157
158function execute(cmd) {
159    var tryAfterReLogin = false;
160    try {
161        cmd.execute(currentContext);
162    } catch (e) {
163        if (e.javaException instanceof CLIException
164            && (e.javaException.reason() == CLIException.REASON_UNAUTHORIZED_ACCESS)
165            && currentContext.getProperty(AbstractLoginCommand.PROP_PERSISTED_SESSION, java.lang.Boolean.TYPE, false)) {
166            tryAfterReLogin = true;
167        } else {
168            printError(e, currentContext);
169        }
170    }
171    if (tryAfterReLogin) {
172        currentContext.setProperty(AbstractLoginCommand.PROP_RENEW_SESSION, java.lang.Boolean.TRUE);
173        try {
174            if (getCredFile(currentContext) != null) {
175                execute(new LoginWithCredentialsCommand(getCredFile(currentContext)));
176            } else if (getUser(currentContext) != null) {
177                execute(new LoginCommand(getUser(currentContext)));
178            }
179            cmd.execute(currentContext);
180        } catch (e) {
181            printError(e, currentContext);
182        }
183    }
184}
185
186function schedulerlogin(user) {
187    currentContext.setSessionId('');
188    execute(new LoginSchedCommand('' + user));
189}
190
191function login(user) {
192    currentContext.setProperty(AbstractLoginCommand.PROP_RENEW_SESSION, true);
193    execute(new LoginCommand('' + user));
194}
195
196function loginwithcredentials(pathname) {
197    currentContext.setProperty(AbstractLoginCommand.PROP_RENEW_SESSION, true);
198    execute(new LoginWithCredentialsCommand('' + pathname));
199}
200
201// scheduler
202
203function schedulerhelp() {
204    execute(new SchedJsHelpCommand());
205}
206
207function putcredential(key, value) {
208    execute(new PutThirdPartyCredentialCommand(string(key), string(value)));
209}
210
211function removecredential(key) {
212    execute(new RemoveThirdPartyCredentialCommand(string(key)));
213}
214
215function listcredentials() {
216    execute(new ThirdPartyCredentialKeySetCommand());
217}
218
219function submit(pathname, variables, genericInfos) {
220    if (typeof genericInfos == 'undefined') {
221        if (typeof variables == 'undefined') {
222            execute(new SubmitJobCommand('' + pathname));
223        } else {
224            execute(new SubmitJobCommand('' + pathname, '' + variables));
225        }
226    } else {
227        execute(new SubmitJobCommand('' + pathname, '' + variables, '' + genericInfos));
228    }
229}
230
231function resubmit(pathname, variables, genericInfos) {
232    if (typeof variables == 'undefined') {
233        execute(new ReSubmitJobCommand([string(pathname)]));
234    } else {
235        execute(new ReSubmitJobCommand(new Array([string(pathname)], variables, genericInfos)));
236    }
237}
238
239
240
241function submitarchive(pathname, variables) {
242     if (typeof variables == 'undefined') {
243        execute(new SubmitJobCommand([string(pathname)]));
244    } else {
245        execute(new SubmitJobCommand(ObjectArrays.concat([string(pathname)], variables, java.lang.String)));
246    }
247}
248
249function jobpriority(jobId, priority) {
250    execute(new ChangeJobPriorityCommand('' + jobId, '' + priority));
251}
252
253
254
255
256function pausejob(jobId) {
257    execute(new PauseJobCommand('' + jobId));
258}
259
260function resumejob(jobId) {
261    execute(new ResumeJobCommand('' + jobId));
262}
263
264function resumeAllPausedTasks(jobId) {
265    execute(new ResumeAllPausedTasksCommand('' + jobId));
266}
267
268function restartAllInErrorTasks(jobId) {
269    execute(new RestartAllInErrorTasksCommand('' + jobId));
270}
271
272function resumeAllPausedTasksAndRestartAllInErrorTasks(jobId) {
273    execute(new ResumeAllPausedTasksAndRestartAllInErrorTasksCommand('' + jobId));
274}
275
276function killjob(jobId) {
277    execute(new KillJobCommand('' + jobId));
278}
279
280function removejob(jobId) {
281    execute(new RemoveJobCommand('' + jobId));
282}
283
284function jobstate(jobId) {
285    execute(new GetJobStateCommand('' + jobId));
286}
287
288function listjobs(x, y) {
289    if (typeof x == 'undefined') {
290        execute(new ListJobCommand());
291    } else if (typeof y == 'undefined') {
292        execute(new ListJobCommand('latest=' + x));
293    } else {
294        execute(new ListJobCommand(['from=' + x, 'limit=' + y]));
295    }
296}
297
298/*
299 * The following parameters have different meaning whether
300 * listtasks is called with 1,2,3 or 4 parameters.
301 * 1 parameter : arg1 is the jobId
302 * 2 parameters : arg1 is the jobId
303 * 				  arg2 is the tag
304 * 3 parameters : arg1 is the jobId
305 * 				  arg2 is the offset
306 * 				  arg3 is the limit
307 * 4 parameters : arg1 is the jobId
308 * 				  arg2 is the tag
309 * 				  arg3 is the offset
310 * 				  arg4 is the limit
311 * 
312 */
313function listtasks(arg1, arg2, arg3, arg4) {
314	// There is only one parameter, the jobId
315	if (arguments.length == 1 && typeof arg1 != 'undefined') {
316		execute(ListJobTasksCommand.LJTCommandBuilder.newInstance().jobId(arg1).instance());
317	}
318	// Two arguments: jobId and tag
319	if (arguments.length == 2 && typeof arg1 != 'undefined'
320		&& typeof arg2 != 'undefined') {
321		execute(ListJobTasksCommand.LJTCommandBuilder.newInstance().jobId(arg1).tag(arg2).instance());
322	}
323	// Three parameters: jobId, offset and limit
324	if (arguments.length == 3 && typeof arg1 != 'undefined'
325		&& typeof arg2 != 'undefined' && typeof arg3 != 'undefined') {
326		execute(ListJobTasksCommand.LJTCommandBuilder.newInstance().jobId(arg1).offset(arg2).limit(arg3).instance());
327	}
328	// Four parameters: jobId, tag, offset and limit
329	// We don't parse any parameters after the fourth one
330	if (arguments.length >= 4 && typeof arg1 != 'undefined'
331		&& typeof arg2 != 'undefined' && typeof arg3 != 'undefined'
332			&& typeof arg4 != 'undefined') {
333		execute(ListJobTasksCommand.LJTCommandBuilder.newInstance().jobId(arg1).tag(arg2).offset(arg3).limit(arg4).instance());
334	}
335}
336
337function schedulerstats() {
338    execute(new SchedStatsCommand());
339}
340
341function jobresult(jobId, tag) {
342    if(typeof tag == 'undefined'){
343        execute(new GetJobResultCommand('' + jobId));
344    }
345    else{
346        execute(new GetJobResultCommand('' + jobId, tag));
347    }
348
349}
350
351function joboutput(jobId, tag) {
352    if(typeof tag == 'undefined'){
353        execute(new GetJobOutputCommand('' + jobId));
354    }
355    else{
356        execute(new GetJobOutputCommand('' + jobId, tag));
357    }
358
359}
360
361function jobcontent(jobId) {
362    execute(new GetJobContentCommand('' + jobId))
363}
364
365function taskresult(jobId, taskId) {
366    execute(new GetTaskResultCommand('' + jobId, '' + taskId));
367}
368
369function taskoutput(jobId, taskId) {
370    execute(new GetTaskOutputCommand('' + jobId, '' + taskId));
371}
372
373/*
374 * The following parameters have different meaning whether
375 * taskstates is called with 1,2,3 or 4 parameters.
376 * 1 parameter : arg1 is the jobId
377 * 2 parameters : arg1 is the jobId
378 * 				  arg2 is the tag
379 * 3 parameters : arg1 is the jobId
380 * 				  arg2 is the offset
381 * 				  arg3 is the limit
382 * 4 parameters : arg1 is the jobId
383 * 				  arg2 is the tag
384 * 				  arg3 is the offset
385 * 				  arg4 is the limit
386 * 
387 */
388function taskstates(arg1, arg2, arg3, arg4){
389	// There is only one parameter, the jobId
390	if (arguments.length == 1 && typeof arg1 != 'undefined') {
391		execute(new ListTaskStatesCommand(arg1));
392	}
393	// Two arguments: jobId and tag
394	if (arguments.length == 2 && typeof arg1 != 'undefined'
395		&& typeof arg2 != 'undefined') {
396		execute(new ListTaskStatesCommand(arg1, arg2));
397	}
398	// Three parameters: jobId, offset and limit
399	if (arguments.length == 3 && typeof arg1 != 'undefined'
400		&& typeof arg2 != 'undefined' && typeof arg3 != 'undefined') {
401		execute(new ListTaskStatesCommand(arg1, arg2, arg3));
402	}
403	// Four parameters: jobId, tag, offset and limit
404	// We don't parse any parameters after the fourth one
405	if (arguments.length >= 4 && typeof arg1 != 'undefined'
406		&& typeof arg2 != 'undefined' && typeof arg3 != 'undefined'
407			&& typeof arg4 != 'undefined') {
408		execute(new ListTaskStatesCommand(arg1, arg2, arg3, arg4));
409	}
410}
411
412function preempttask(jobId, taskId) {
413    execute(new PreemptTaskCommand('' + jobId, '' + taskId));
414}
415
416function restarttask(jobId, taskId) {
417    execute(new RestartTaskCommand('' + jobId, '' + taskId));
418}
419
420function restartInErrorTask(jobId, taskId) {
421    execute(new RestartInErrorTaskCommand('' + jobId, '' + taskId));
422}
423
424function restartRunningTask(jobId, taskId) {
425    execute(new RestartRunningTaskCommand('' + jobId, '' + taskId));
426}
427
428function uploadfile(spaceName, filePath, fileName, localFile) {
429    execute(new UploadFileCommand(string(spaceName), string(filePath),string(fileName), string(localFile)));
430}
431
432function downloadfile(spaceName, pathName, localFile) {
433    execute(new DownloadFileCommand(string(spaceName), string(pathName), string(localFile))) ;
434}
435
436function livelog(jobId) {
437    execute(new LiveLogCommand(string(jobId)));
438}
439
440function installpackage(packagePath) {
441    execute(new InstallPackageCommand(string(packagePath)));
442}
443
444function start() {
445    execute(new StartCommand());
446}
447
448function stop() {
449    execute(new StopCommand());
450}
451
452function pause() {
453    execute(new PauseCommand());
454}
455
456function resume() {
457    execute(new ResumeCommand());
458}
459
460function freeze() {
461    execute(new FreezeCommand());
462}
463
464function kill() {
465    execute(new KillCommand());
466}
467
468function script(path, args) {
469    execute(new EvalScriptCommand('' + path, '' + args));
470}
471
472function linkrm(rmUrl) {
473    execute(new LinkRmCommand('' + rmUrl));
474}
475
476// rm
477
478function rmhelp() {
479    execute(new RmJsHelpCommand());
480}
481
482function addnode(nodeUrl, nodeSource) {
483    if (nodeSource) {
484        execute(new AddNodeCommand('' + nodeUrl, '' + nodeSource));
485    } else {
486        execute(new AddNodeCommand('' + nodeUrl));
487    }
488}
489
490function removenode(nodeUrl, preempt) {
491    execute(new RemoveNodeCommand('' + nodeUrl, preempt));
492}
493
494function definens(nodeSource, infrastructure, policy, nodesRecoverable) {
495    execute(new SetInfrastructureCommand(infrastructure));
496    execute(new SetPolicyCommand(policy));
497    if(typeof nodesRecoverable == 'undefined'){
498        execute(new DefineNodeSourceCommand('' + nodeSource));
499    }
500    else{
501        execute(new DefineNodeSourceCommand('' + nodeSource, '' + nodesRecoverable));
502    }
503}
504
505function editns(nodeSource, infrastructure, policy, nodesRecoverable) {
506    execute(new SetInfrastructureCommand(infrastructure));
507    execute(new SetPolicyCommand(policy));
508    execute(new EditNodeSourceCommand('' + nodeSource, '' + nodesRecoverable));
509}
510
511function updatensparam(nodeSource, infrastructure, policy) {
512    execute(new SetInfrastructureCommand(infrastructure));
513    execute(new SetPolicyCommand(policy));
514    execute(new UpdateDynamicParametersCommand('' + nodeSource));
515}
516
517function createns(nodeSource, infrastructure, policy, nodesRecoverable) {
518    execute(new SetInfrastructureCommand(infrastructure));
519    execute(new SetPolicyCommand(policy));
520    if(typeof nodesRecoverable == 'undefined'){
521        execute(new CreateNodeSourceCommand('' + nodeSource));
522    }
523    else{
524        execute(new CreateNodeSourceCommand('' + nodeSource, '' + nodesRecoverable));
525    }
526}
527
528function deployns(nodeSourceName) {
529    execute(new DeployNodeSourceCommand('' + nodeSourceName));
530}
531
532function undeployns(nodeSourceName, preempt) {
533    if(typeof preempt == 'undefined'){
534        execute(new UndeployNodeSourceCommand('' + nodeSourceName));
535    } else {
536        execute(new UndeployNodeSourceCommand('' + nodeSourceName, preempt));
537    }
538}
539
540function removens(nodeSource, preempt) {
541    execute(new RemoveNodeSourceCommand('' + nodeSource, preempt));
542}
543
544function locknodes(nodeUrl) {
545	var result = [];
546	for (var i = 0; i < arguments.length; i++) {
547	    result[i] = arguments[i];
548	}
549    execute(new LockNodeCommand(result));
550}
551
552function unlocknodes(nodeUrl) {
553	var result = [];
554	for (var i = 0; i < arguments.length; i++) {
555	    result[i] = arguments[i];
556	}
557    execute(new UnlockNodeCommand(result));
558}
559
560function listnodes(nodeSource) {
561    if (nodeSource) {
562        execute(new ListNodeCommand('' + nodeSource));
563    } else {
564        execute(new ListNodeCommand());
565    }
566}
567
568function listns() {
569    execute(new ListNodeSourceCommand());
570}
571
572function nodeinfo(nodeUrl) {
573    execute(new GetNodeInfoCommand('' + nodeUrl));
574}
575
576function rmthreaddump() {
577    execute(new GetRMThreadDumpCommand());
578}
579
580function nodethreaddump(nodeUrl) {
581    execute(new GetNodeThreadDumpCommand('' + nodeUrl));
582}
583
584function listinfrastructures() {
585    execute(new ListInfrastructureCommand());
586}
587
588function listpolicies() {
589    execute(new ListPolicyCommand());
590}
591
592function topology() {
593    execute(new GetTopologyCommand());
594}
595
596function rmstats() {
597    execute(new RmStatsCommand());
598}
599
600function shutdown() {
601    execute(new ShutdownCommand());
602}
603
604function help() {
605    execute(new JsHelpCommand());
606}
607
608function version() {
609    execute(new JsVersionCommand())
610}
611
612printWelcomeMsg();
613
614
Full Screen

interface.js

Source: interface.js Github

copy
1if(dwr==null)var dwr={};
2if(dwr.engine==null)dwr.engine={};
3if(DWREngine==null)var DWREngine=dwr.engine;
4if(NewAlbum==null)var NewAlbum={};
5NewAlbum._path='/dwr';
6NewAlbum.updateAlbumAccessCount=function(p0,callback){
7dwr.engine._execute(NewAlbum._path,'NewAlbum','updateAlbumAccessCount',p0,callback);
8}
9NewAlbum.getNewAlbum=function(p0,callback){
10dwr.engine._execute(NewAlbum._path,'NewAlbum','getNewAlbum',p0,callback);
11}
12NewAlbum.deleteNewAlbum=function(p0,callback){
13dwr.engine._execute(NewAlbum._path,'NewAlbum','deleteNewAlbum',p0,callback);
14}
15NewAlbum.isFriend=function(p0,callback){
16dwr.engine._execute(NewAlbum._path,'NewAlbum','isFriend',p0,callback);
17}
18NewAlbum.getAlbumAccessCount=function(p0,callback){
19dwr.engine._execute(NewAlbum._path,'NewAlbum','getAlbumAccessCount',p0,callback);
20}
21NewAlbum.addAlbumFeedback=function(p0,p1,callback){
22dwr.engine._execute(NewAlbum._path,'NewAlbum','addAlbumFeedback',p0,p1,callback);
23}
24NewAlbum.needUpdateModifyTime=function(p0,callback){
25dwr.engine._execute(NewAlbum._path,'NewAlbum','needUpdateModifyTime',p0,callback);
26}
27NewAlbum.monitorAlbumCommCreate=function(){
28dwr.engine._execute(NewAlbum._path,'NewAlbum','monitorAlbumCommCreate');
29}
30if(dwr==null)var dwr={};
31if(dwr.engine==null)dwr.engine={};
32if(DWREngine==null)var DWREngine=dwr.engine;
33if(NewPhoto==null)var NewPhoto={};
34NewPhoto._path='/dwr';
35NewPhoto.getNewPhotos=function(p0,callback){
36dwr.engine._execute(NewPhoto._path,'NewPhoto','getNewPhotos',p0,callback);
37}
38NewPhoto.updatePhotoAccessCount=function(p0,p1,callback){
39dwr.engine._execute(NewPhoto._path,'NewPhoto','updatePhotoAccessCount',p0,p1,callback);
40}
41NewPhoto.deleteNewPhotos=function(p0,callback){
42dwr.engine._execute(NewPhoto._path,'NewPhoto','deleteNewPhotos',p0,callback);
43}
44NewPhoto.setProfile=function(p0,callback){
45dwr.engine._execute(NewPhoto._path,'NewPhoto','setProfile',p0,false,callback);
46}
47NewPhoto.addOrDelTag=function(p0,p1,p2,p3,p4,p5,p6,p7,p8,callback){
48dwr.engine._execute(NewPhoto._path,'NewPhoto','addOrDelTag',p0,p1,p2,p3,p4,p5,p6,p7,p8,false,callback);
49}
50NewPhoto.copyPhotos=function(p0,callback){
51dwr.engine._execute(NewPhoto._path,'NewPhoto','copyPhotos',p0,callback);
52}
53NewPhoto.isFriend=function(p0,callback){
54dwr.engine._execute(NewPhoto._path,'NewPhoto','isFriend',p0,callback);
55}
56NewPhoto.getPhotosAccessCount=function(p0,callback){
57dwr.engine._execute(NewPhoto._path,'NewPhoto','getPhotosAccessCount',p0,callback);
58}
59NewPhoto.needUpdateModifyTime=function(p0){
60dwr.engine._execute(NewPhoto._path,'NewPhoto','needUpdateModifyTime',p0);
61}
62if(dwr==null)var dwr={};
63if(dwr.engine==null)dwr.engine={};
64if(DWREngine==null)var DWREngine=dwr.engine;
65if(Photo163==null)var Photo163={};
66Photo163._path='http://photo.163.com/photo/dwrcross/';
67Photo163.getUserSpace=function(p0,p1,callback){
68var t=dwr.engine._rpcType;
69var v=!!p1?'/u/'+p1:'';
70dwr.engine.setMethod(dwr.engine.ScriptTag);
71dwr.engine._execute(Photo163._path+p0+v+'/dwr','UserSpaceBean','getUserSpace',p0,callback);
72dwr.engine.setMethod(t);
73}
74Photo163.getAlbumData=function(p0,p1,id,password,key,modifyTime,callback){
75var t=dwr.engine._rpcType;
76var v=!!p1?'/u/'+p1:'';
77dwr.engine.setMethod(dwr.engine.ScriptTag);
78dwr.engine._execute(Photo163._path+p0+v+'/dwr','AlbumBean','getAlbumData',id,password,key,modifyTime,false,callback);
79dwr.engine.setMethod(t);
80}
81Photo163.getAlbumData4PwdInSession=function(p0,p1,callback){
82var t=dwr.engine._rpcType;
83var v=!!p1?'/u/'+p1:'';
84dwr.engine.setMethod(dwr.engine.ScriptTag);
85dwr.engine._execute(Photo163._path+p0+v+'/dwr','AlbumBean','getAlbumData4PwdInSession',false,callback);
86dwr.engine.setMethod(t);
87}
88Photo163.getUserSpaceWithSec=function(p0,p1,callback){
89var t=dwr.engine._rpcType;
90var v=!!p1?'/u/'+p1:'';
91dwr.engine.setMethod(dwr.engine.ScriptTag);
92dwr.engine._execute(Photo163._path+p0+v+'/dwr','UserSpaceBean','getUserSpaceWithSec',p0,callback);
93dwr.engine.setMethod(t);
94}
95Photo163.getAlbumData4Fav=function(p0,p1,id,apUserName,callback){
96var t=dwr.engine._rpcType;
97var v=!!p1?'/u/'+p1:'';
98dwr.engine.setMethod(dwr.engine.ScriptTag);
99dwr.engine._execute(Photo163._path+p0+v+'/dwr','AlbumBean','getAlbumData4BlogFavo',id,apUserName,callback);
100dwr.engine.setMethod(t);
101}
102Photo163.reloadAlbumData=function(p0,p1,albumId,callback){
103var t=dwr.engine._rpcType;
104var v=!!p1?'/u/'+p1:'';
105dwr.engine.setMethod(dwr.engine.ScriptTag);
106dwr.engine._execute(Photo163._path+p0+v+'/dwr','AlbumBean','getAlbumData',albumId,'','','',false,callback);
107dwr.engine.setMethod(t);
108}
109Photo163.reloadCommentsInAlbum=function(p0,p1,albumId,userId,callback){
110var t=dwr.engine._rpcType;
111var v=!!p1?'/u/'+p1:'';
112dwr.engine.setMethod(dwr.engine.ScriptTag);
113dwr.engine._execute(Photo163._path+p0+v+'/dwr','AlbumBean','getCommentData',albumId,userId,callback);
114dwr.engine.setMethod(t);
115}
116Photo163.reloadCommentsInPhoto=function(p0,p1,albumId,photoId,userId,callback){
117var t=dwr.engine._rpcType;
118var v=!!p1?'/u/'+p1:'';
119dwr.engine.setMethod(dwr.engine.ScriptTag);
120dwr.engine._execute(Photo163._path+p0+v+'/dwr','PhotoBean','getCommentData',albumId,photoId,userId,callback);
121dwr.engine.setMethod(t);
122}
123if(dwr==null)var dwr={};
124if(dwr.engine==null)dwr.engine={};
125if(DWREngine==null)var DWREngine=dwr.engine;
126if(Photo==null)var Photo={};
127Photo._path='/dwr'
128Photo.getHostAllTags=function(callback){
129dwr.engine._execute(Photo._path,'Photo','getHostAllTags',false,callback);
130}
131Photo.updatePhotoPrivacy=function(p0,p1,p2,callback){
132dwr.engine._execute(Photo._path,'Photo','updatePhotoPrivacy',p0,p1,p2,false,callback);
133}
134Photo.getUAStyle=function(callback){
135dwr.engine._execute(Photo._path,'Photo','getUAStyle',callback);
136}
137Photo.addPhotoNote=function(p0,p1,p2,callback){
138dwr.engine._execute(Photo._path,'Photo','addPhotoNote',p0,p1,p2,callback);
139}
140Photo.deletePhotos=function(p0,callback){
141dwr.engine._execute(Photo._path,'Photo','deletePhotos',p0,false,callback);
142}
143Photo.getAllPhotoNote=function(p0,callback){
144dwr.engine._execute(Photo._path,'Photo','getAllPhotoNote',p0,callback);
145}
146Photo.getPhoto=function(p0,callback){
147dwr.engine._execute(Photo._path,'Photo','getPhoto',p0,callback);
148}
149Photo.getPhotosInAlbum=function(p0,p1,p2,p3,callback){
150dwr.engine._execute(Photo._path,'Photo','getPhotosInAlbum',p0,p1,p2,p3,false,callback);
151}
152Photo.getPhotosInAlbum4MailAlbum=function(p0,p1,p2,p3,callback){
153dwr.engine._execute(Photo._path,'Photo','getPhotosInAlbum4MailAlbum',p0,p1,p2,p3,false,callback);
154}
155Photo.getPhContextInAlbum=function(p0,p1,p2,p3,p4,p5,callback){
156dwr.engine._execute(Photo._path,'Photo','getPhContextInAlbum',p0,p1,p2,p3,p4,p5,false,callback);
157}
158Photo.getPhContextInUser=function(p0,p1,p2,p3,callback){
159dwr.engine._execute(Photo._path,'Photo','getPhContextInUser',p0,p1,p2,p3,false,callback);
160}
161Photo.getPhContextInUserById=function(p0,p1,p2,p3,callback){
162dwr.engine._execute(Photo._path,'Photo','getPhContextInUserById',p0,p1,p2,p3,false,callback);
163}
164Photo.updatePhoto=function(p0,p1,p2,callback){
165dwr.engine._execute(Photo._path,'Photo','updatePhoto',p0,p1,p2,false,callback);
166}
167Photo.getPhotosInUser=function(p0,p1,callback){
168dwr.engine._execute(Photo._path,'Photo','getPhotosInUser',p0,p1,false,callback);
169}
170Photo.getPhotosInUser2=function(p0,p1,p2,p3,callback){
171dwr.engine._execute(Photo._path,'Photo','getPhotosInUser2',p0,p1,p2,p3,false,callback);
172}
173Photo.getPhotosInUser4MailAlbum=function(p0,p1,callback){
174dwr.engine._execute(Photo._path,'Photo','getPhotosInUser4MailAlbum',p0,p1,false,callback);
175}
176Photo.getPhotosInUserByTime=function(p0,p1,p2,p3,callback){
177dwr.engine._execute(Photo._path,'Photo','getPhotosInUserByTime',p0,p1,p2,p3,callback);
178}
179Photo.getPhotosInUserByDate=function(p0,p1,p2,callback){
180dwr.engine._execute(Photo._path,'Photo','getPhotosInUserByDate',p0,p1,p2,false,callback);
181}
182Photo.removePhotoNote=function(p0,p1,callback){
183dwr.engine._execute(Photo._path,'Photo','removePhotoNote',p0,p1,callback);
184}
185Photo.updatePhotoNote=function(p0,p1,p2,callback){
186dwr.engine._execute(Photo._path,'Photo','updatePhotoNote',p0,p1,p2,callback);
187}
188Photo.rotatePhoto=function(p0,p1,p2,p3,callback){
189dwr.engine._execute(Photo._path,'Photo','rotatePhoto',p0,p1,p2,p3,false,callback);
190}
191Photo.trimPhoto=function(p0,p1,p2,p3,p4,callback){
192dwr.engine._execute(Photo._path,'Photo','trimPhoto',p0,p1,p2,p3,p4,false,callback);
193}
194Photo.addPh2Favo=function(p0,p1,callback){
195dwr.engine._execute(Photo._path,'Photo','addPh2Favo',p0,p1,callback);
196}
197Photo.getPhoInFavo=function(p0,p1,p2,callback){
198dwr.engine._execute(Photo._path,'Photo','getPhoInFavo',p0,p1,p2,callback);
199}
200Photo.cleanPhoInFavo=function(p0,callback){
201dwr.engine._execute(Photo._path,'Photo','cleanPhoInFavo',p0,callback);
202}
203Photo.removePhoFavo=function(p0,p1,p2,callback){
204dwr.engine._execute(Photo._path,'Photo','removePhoFavo',p0,p1,p2,callback);
205}
206Photo.setProfile=function(p0,callback){
207dwr.engine._execute(Photo._path,'Photo','setProfile',p0,false,callback);
208}
209Photo.recountAlbumCountInPhoto=function(p0,callback){
210dwr.engine._execute(Photo._path,'Photo','recountAlbumCountInPhoto',p0,callback);
211}
212Photo.pushPhoto2Top=function(p0,callback){
213dwr.engine._execute(Photo._path,'Photo','pushPhoto2Top',p0,callback);
214}
215Photo.getExif=function(p0,p1,callback){
216dwr.engine._execute(Photo._path,'Photo','getExif',p0,p1,callback);
217}
218Photo.copyPhotos=function(p0,callback){
219dwr.engine._execute(Photo._path,'Photo','copyPhotos',p0,false,callback);
220}
221Photo.getPhotosByUserIdForZipai=function(p0,p1,callback){
222dwr.engine._execute(Photo._path,'Photo','getPhotosByUserIdForZipai',p0,p1,callback);
223}
224Photo.getSelfCapPhotos=function(p0,p1,p2,callback){
225dwr.engine._execute(Photo._path,'Photo','getSelfCapPhotos',p0,p1,p2,callback);
226}
227Photo.refreshMailAlbum=function(callback){
228dwr.engine._execute(Photo._path,'Photo','refreshMailAlbum',callback);
229}
230if(dwr==null)var dwr={};
231if(dwr.engine==null)dwr.engine={};
232if(DWREngine==null)var DWREngine=dwr.engine;
233if(SubscriptionBean==null)var SubscriptionBean={};
234SubscriptionBean._path='/dwr';
235SubscriptionBean.setEmailProducer=function(p0,callback){
236dwr.engine._execute(SubscriptionBean._path,'SubscriptionBean','setEmailProducer',p0,callback);
237}
238SubscriptionBean.subscribByEmail=function(p0,p1,p2,callback){
239dwr.engine._execute(SubscriptionBean._path,'SubscriptionBean','subscribByEmail',p0,p1,p2,callback);
240}
241SubscriptionBean.subscribByRss=function(p0,callback){
242dwr.engine._execute(SubscriptionBean._path,'SubscriptionBean','subscribByRss',p0,callback);
243}
244SubscriptionBean.getEmailLimit=function(callback){
245dwr.engine._execute(SubscriptionBean._path,'SubscriptionBean','getEmailLimit',callback);
246}
247SubscriptionBean.ShareByEmail=function(p0,p1,callback){
248dwr.engine._execute(SubscriptionBean._path,'SubscriptionBean','ShareByEmail',p0,p1,callback);
249}
250SubscriptionBean.vaildMail=function(p0,p1,callback){
251dwr.engine._execute(SubscriptionBean._path,'SubscriptionBean','vaildMail',p0,p1,callback);
252}
253SubscriptionBean.getSubList=function(p0,p1,p2,callback){
254dwr.engine._execute(SubscriptionBean._path,'SubscriptionBean','getSubList',p0,p1,p2,callback);
255}
256SubscriptionBean.deleteSubs=function(p0,p1,callback){
257dwr.engine._execute(SubscriptionBean._path,'SubscriptionBean','deleteSubs',p0,p1,callback);
258}
259SubscriptionBean.updateSubFreqc=function(p0,p1,p2,callback){
260dwr.engine._execute(SubscriptionBean._path,'SubscriptionBean','updateSubFreqc',p0,p1,p2,callback);
261}
262SubscriptionBean.getVisitorRssLists=function(callback){
263dwr.engine._execute(SubscriptionBean._path,'SubscriptionBean','getVisitorRssLists',callback);
264}
265if(dwr==null)var dwr={};
266if(dwr.engine==null)dwr.engine={};
267if(DWREngine==null)var DWREngine=dwr.engine;
268if(FocusMeBean==null)var FocusMeBean={};
269FocusMeBean._path='/dwr';
270FocusMeBean.getList=function(p0,callback){
271dwr.engine._execute(FocusMeBean._path,'FocusMeBean','getList',p0,callback);
272}
273FocusMeBean.collectBlog=function(p0,p1,callback){
274dwr.engine._execute(FocusMeBean._path,'FocusMeBean','collectBlog',p0,p1,false,callback);
275}
276if(dwr==null)var dwr={};
277if(dwr.engine==null)dwr.engine={};
278if(DWREngine==null)var DWREngine=dwr.engine;
279if(SpaceCircleBean==null)var SpaceCircleBean={};
280SpaceCircleBean._path='/dwr';
281SpaceCircleBean.setSecurityContextService=function(p0,callback){
282dwr.engine._execute(SpaceCircleBean._path,'SpaceCircleBean','setSecurityContextService',p0,callback);
283}
284SpaceCircleBean.setEncryptService=function(p0,callback){
285dwr.engine._execute(SpaceCircleBean._path,'SpaceCircleBean','setEncryptService',p0,callback);
286}
287SpaceCircleBean.getSecurityContextService=function(callback){
288dwr.engine._execute(SpaceCircleBean._path,'SpaceCircleBean','getSecurityContextService',callback);
289}
290SpaceCircleBean.setSpaceCircleService=function(p0,callback){
291dwr.engine._execute(SpaceCircleBean._path,'SpaceCircleBean','setSpaceCircleService',p0,callback);
292}
293SpaceCircleBean.isBlogRecommended=function(p0,callback){
294dwr.engine._execute(SpaceCircleBean._path,'SpaceCircleBean','isBlogRecommended',p0,callback);
295}
296SpaceCircleBean.getBlogCircles=function(p0,p1,callback){
297dwr.engine._execute(SpaceCircleBean._path,'SpaceCircleBean','getBlogCircles',p0,p1,callback);
298}
299SpaceCircleBean.getRecommendedBlogs=function(p0,p1,callback){
300dwr.engine._execute(SpaceCircleBean._path,'SpaceCircleBean','getRecommendedBlogs',p0,p1,callback);
301}
302SpaceCircleBean.setRemindService=function(p0,callback){
303dwr.engine._execute(SpaceCircleBean._path,'SpaceCircleBean','setRemindService',p0,callback);
304}
305SpaceCircleBean.getCircleConfig=function(callback){
306dwr.engine._execute(SpaceCircleBean._path,'SpaceCircleBean','getCircleConfig',callback);
307}
308SpaceCircleBean.setCircleConfig=function(p0,callback){
309dwr.engine._execute(SpaceCircleBean._path,'SpaceCircleBean','setCircleConfig',p0,callback);
310}
311SpaceCircleBean.getSpaceCircleService=function(callback){
312dwr.engine._execute(SpaceCircleBean._path,'SpaceCircleBean','getSpaceCircleService',callback);
313}
314SpaceCircleBean.getUserShowCircles=function(p0,callback){
315dwr.engine._execute(SpaceCircleBean._path,'SpaceCircleBean','getUserShowCircles',p0,callback);
316}
317SpaceCircleBean.getCircle=function(p0,callback){
318dwr.engine._execute(SpaceCircleBean._path,'SpaceCircleBean','getCircle',p0,callback);
319}
320SpaceCircleBean.getUserSuccessCircles=function(p0,callback){
321dwr.engine._execute(SpaceCircleBean._path,'SpaceCircleBean','getUserSuccessCircles',p0,callback);
322}
323SpaceCircleBean.getCircleType1List=function(callback){
324dwr.engine._execute(SpaceCircleBean._path,'SpaceCircleBean','getCircleType1List',callback);
325}
326SpaceCircleBean.createCircle=function(p0,p1,callback){
327dwr.engine._execute(SpaceCircleBean._path,'SpaceCircleBean','createCircle',p0,p1,callback);
328}
329SpaceCircleBean.getCircleByName=function(p0,callback){
330dwr.engine._execute(SpaceCircleBean._path,'SpaceCircleBean','getCircleByName',p0,callback);
331}
332SpaceCircleBean.getUserCircles=function(p0,callback){
333dwr.engine._execute(SpaceCircleBean._path,'SpaceCircleBean','getUserCircles',p0,callback);
334}
335SpaceCircleBean.deleteCircleUser=function(p0,p1,callback){
336dwr.engine._execute(SpaceCircleBean._path,'SpaceCircleBean','deleteCircleUser',p0,p1,callback);
337}
338SpaceCircleBean.sendInvitation=function(p0,p1,callback){
339dwr.engine._execute(SpaceCircleBean._path,'SpaceCircleBean','sendInvitation',p0,p1,false,callback);
340}
341SpaceCircleBean.acceptCircleInvitation=function(p0,p1,callback){
342dwr.engine._execute(SpaceCircleBean._path,'SpaceCircleBean','acceptCircleInvitation',p0,p1,callback);
343}
344SpaceCircleBean.getRecommendedUsers=function(p0,p1,callback){
345dwr.engine._execute(SpaceCircleBean._path,'SpaceCircleBean','getRecommendedUsers',p0,p1,callback);
346}
347SpaceCircleBean.getUserAdminCircles=function(callback){
348dwr.engine._execute(SpaceCircleBean._path,'SpaceCircleBean','getUserAdminCircles',callback);
349}
350SpaceCircleBean.addAlbumToCircles=function(p0,p1,callback){
351dwr.engine._execute(SpaceCircleBean._path,'SpaceCircleBean','addAlbumToCircles',p0,p1,callback);
352}
353SpaceCircleBean.getCircleService=function(callback){
354dwr.engine._execute(SpaceCircleBean._path,'SpaceCircleBean','getCircleService',callback);
355}
356SpaceCircleBean.setCircleService=function(p0,callback){
357dwr.engine._execute(SpaceCircleBean._path,'SpaceCircleBean','setCircleService',p0,callback);
358}
359SpaceCircleBean.getCircleByUrlName=function(p0,callback){
360dwr.engine._execute(SpaceCircleBean._path,'SpaceCircleBean','getCircleByUrlName',p0,callback);
361}
362SpaceCircleBean.getCircleType2List=function(p0,callback){
363dwr.engine._execute(SpaceCircleBean._path,'SpaceCircleBean','getCircleType2List',p0,callback);
364}
365SpaceCircleBean.checkCircleUnique=function(p0,callback){
366dwr.engine._execute(SpaceCircleBean._path,'SpaceCircleBean','checkCircleUnique',p0,callback);
367}
368SpaceCircleBean.checkCreateCirclePriv=function(callback){
369dwr.engine._execute(SpaceCircleBean._path,'SpaceCircleBean','checkCreateCirclePriv',callback);
370}
371SpaceCircleBean.getCircleCardData=function(p0,p1,p2,callback){
372dwr.engine._execute(SpaceCircleBean._path,'SpaceCircleBean','getCircleCardData',p0,p1,p2,callback);
373}
374SpaceCircleBean.getUserCirclesByIdentity=function(p0,callback){
375dwr.engine._execute(SpaceCircleBean._path,'SpaceCircleBean','getUserCirclesByIdentity',p0,callback);
376}
377SpaceCircleBean.getUserCirclesWithLimit=function(p0,p1,p2,callback){
378dwr.engine._execute(SpaceCircleBean._path,'SpaceCircleBean','getUserCirclesWithLimit',p0,p1,p2,callback);
379}
380SpaceCircleBean.getCircleInvitationService=function(callback){
381dwr.engine._execute(SpaceCircleBean._path,'SpaceCircleBean','getCircleInvitationService',callback);
382}
383SpaceCircleBean.setCircleInvitationService=function(p0,callback){
384dwr.engine._execute(SpaceCircleBean._path,'SpaceCircleBean','setCircleInvitationService',p0,callback);
385}
386SpaceCircleBean.getCirclePushInfo=function(p0,callback){
387dwr.engine._execute(SpaceCircleBean._path,'SpaceCircleBean','getCirclePushInfo',p0,callback);
388}
389if(dwr==null)var dwr={};
390if(dwr.engine==null)dwr.engine={};
391if(DWREngine==null)var DWREngine=dwr.engine;
392if(CircleBean==null)var CircleBean={};
393CircleBean._path='http://q.163.com/dwr';
394CircleBean.deleteCircle=function(p0,p1,callback){
395var t=dwr.engine._rpcType;
396dwr.engine.setMethod(dwr.engine.ScriptTag);
397dwr.engine._execute(CircleBean._path,'CircleBean','deleteCircle',p0,p1,callback);
398dwr.engine.setMethod(t);
399};
400if(dwr==null)var dwr={};
401if(dwr.engine==null)dwr.engine={};
402if(DWREngine==null)var DWREngine=dwr.engine;
403if(HomepageSetupBean==null)var HomepageSetupBean={};
404HomepageSetupBean._path='/dwr';
405HomepageSetupBean.getCurUserPageSetup=function(callback){
406dwr.engine._execute(HomepageSetupBean._path,'HomepageSetupBean','getCurUserPageSetup',false,callback);
407}
408HomepageSetupBean.changeModuleLayout=function(p0,callback){
409dwr.engine._execute(HomepageSetupBean._path,'HomepageSetupBean','changeModuleLayout',p0,false,callback);
410}
411HomepageSetupBean.getLayouts=function(callback){
412dwr.engine._execute(HomepageSetupBean._path,'HomepageSetupBean','getLayouts',false,callback);
413}
414HomepageSetupBean.getModules=function(callback){
415dwr.engine._execute(HomepageSetupBean._path,'HomepageSetupBean','getModules',false,callback);
416}
417HomepageSetupBean.savePageSetup=function(p0,callback){
418dwr.engine._execute(HomepageSetupBean._path,'HomepageSetupBean','savePageSetup',p0,false,callback);
419}
420HomepageSetupBean.initNewUserSettings=function(p0,p1,callback){
421dwr.engine._execute(HomepageSetupBean._path,'HomepageSetupBean','initNewUserSettings',p0,p1,callback);
422}
423HomepageSetupBean.updateUserThemeToFixed=function(p0,callback){
424dwr.engine._execute(HomepageSetupBean._path,'HomepageSetupBean','updateUserThemeToFixed',p0,false,callback);
425}
426HomepageSetupBean.getUserDefineThemeId=function(callback){
427dwr.engine._execute(HomepageSetupBean._path,'HomepageSetupBean','getUserDefineThemeId',callback);
428}
429HomepageSetupBean.copyUserTheme=function(p0,p1,callback){
430dwr.engine._execute(HomepageSetupBean._path,'HomepageSetupBean','copyUserTheme',p0,p1,callback);
431}
432HomepageSetupBean.getFixedThemsByTag=function(p0,callback){
433dwr.engine._execute(HomepageSetupBean._path,'HomepageSetupBean','getFixedThemsByTag',p0,callback);
434}
435HomepageSetupBean.getHotFixedThemes=function(p0,callback){
436dwr.engine._execute(HomepageSetupBean._path,'HomepageSetupBean','getHotFixedThemes',p0,callback);
437}
438HomepageSetupBean.getNewFixedThemes=function(p0,callback){
439dwr.engine._execute(HomepageSetupBean._path,'HomepageSetupBean','getNewFixedThemes',p0,callback);
440}
441HomepageSetupBean.getColLimit=function(p0,callback){
442DWREngine._execute(HomepageSetupBean._path,'HomepageSetupBean','getColLimit',p0,callback);
443}
444HomepageSetupBean.updateUserThemeId=function(p0,callback){
445DWREngine._execute(HomepageSetupBean._path,'HomepageSetupBean','updateUserThemeId',p0,callback);
446}
447HomepageSetupBean.canCopyThisThemeToUser=function(p0,p1,p2,p3,callback){
448DWREngine._execute(HomepageSetupBean._path,'HomepageSetupBean','canCopyThisThemeToUser',p0,p1,p2,p3,callback);
449}
450HomepageSetupBean.useThisTheme=function(p0,p1,callback){
451dwr.engine._execute(HomepageSetupBean._path,'HomepageSetupBean','useThisTheme',p0,p1,callback);
452}
453HomepageSetupBean.collectThisThemeToMyFavourite=function(p0,p1,callback){
454dwr.engine._execute(HomepageSetupBean._path,'HomepageSetupBean','collectThisThemeToMyFavourite',p0,p1,callback);
455}
456HomepageSetupBean.addRichModule=function(callback){
457dwr.engine._execute(HomepageSetupBean._path,'HomepageSetupBean','addRichModule',false,callback);
458}
459if(dwr==null)var dwr={};
460if(dwr.engine==null)dwr.engine={};
461if(DWREngine==null)var DWREngine=dwr.engine;
462if(ResourceListBean==null)var ResourceListBean={};
463ResourceListBean._path='/dwr';
464ResourceListBean.getHostAllTags=function(callback){
465dwr.engine._execute(ResourceListBean._path,'ResourceListBean','getHostAllTags',false,callback);
466}
467ResourceListBean.addResourceList=function(p0,p1,callback){
468dwr.engine._execute(ResourceListBean._path,'ResourceListBean','addResourceList',p0,p1,false,callback);
469}
470ResourceListBean.addResourceItem=function(p0,p1,callback){
471dwr.engine._execute(ResourceListBean._path,'ResourceListBean','addResourceItem',p0,p1,false,callback);
472}
473ResourceListBean.getResourceLists=function(p0,callback){
474dwr.engine._execute(ResourceListBean._path,'ResourceListBean','getResourceLists',p0,false,callback);
475}
476ResourceListBean.getResourceList=function(p0,callback){
477dwr.engine._execute(ResourceListBean._path,'ResourceListBean','getResourceList',p0,callback);
478}
479ResourceListBean.updateResourceList=function(p0,p1,p2,p3,callback){
480dwr.engine._execute(ResourceListBean._path,'ResourceListBean','updateResourceList',p0,p1,p2,p3,false,callback);
481}
482ResourceListBean.deleteResourceList=function(p0,callback){
483dwr.engine._execute(ResourceListBean._path,'ResourceListBean','deleteResourceList',p0,false,callback);
484}
485ResourceListBean.updateResourceListStyle=function(p0,p1,callback){
486dwr.engine._execute(ResourceListBean._path,'ResourceListBean','updateResourceListStyle',p0,p1,callback);
487}
488ResourceListBean.getResourceItems=function(p0,callback){
489dwr.engine._execute(ResourceListBean._path,'ResourceListBean','getResourceItems',p0,false,callback);
490}
491ResourceListBean.updateResourceItem=function(p0,p1,callback){
492dwr.engine._execute(ResourceListBean._path,'ResourceListBean','updateResourceItem',p0,p1,false,callback);
493}
494ResourceListBean.deleteResourceItem=function(p0,p1,p2,callback){
495dwr.engine._execute(ResourceListBean._path,'ResourceListBean','deleteResourceItem',p0,p1,p2,false,callback);
496}
497if(dwr==null)var dwr={};
498if(dwr.engine==null)dwr.engine={};
499if(DWREngine==null)var DWREngine=dwr.engine;
500if(RssBean==null)var RssBean={};
501RssBean._path='/dwr';
502RssBean.getChannel=function(p0,callback){
503dwr.engine._execute(RssBean._path,'RssBean','getChannel',p0,callback);
504}
505RssBean.getItemsOfFeed=function(p0,p1,p2,callback){
506dwr.engine._execute(RssBean._path,'RssBean','getItemsOfFeed',p0,p1,p2,callback);
507}
508RssBean.getRssItemsByTime=function(p0,p1,callback){
509dwr.engine._execute(RssBean._path,'RssBean','getRssItemsByTime',p0,p1,callback);
510}
511RssBean.getCountRssItemsByTime=function(p0,p1,callback){
512dwr.engine._execute(RssBean._path,'RssBean','getCountRssItemsByTime',p0,p1,callback);
513}
514if(dwr==null)var dwr={};
515if(dwr.engine==null)dwr.engine={};
516if(DWREngine==null)var DWREngine=dwr.engine;
517if(RemindBean==null)var RemindBean={};
518RemindBean._path='/dwr';
519RemindBean.sendUserMsg=function(p0,p1,p2,callback){
520dwr.engine._execute(RemindBean._path,'RemindBean','sendUserMsg',p0,p1,p2,false,callback);
521}
522RemindBean.getMailCount=function(p0,callback){
523dwr.engine._execute(RemindBean._path,'RemindBean','getMailCount',p0,false,callback);
524}
525RemindBean.getChummies=function(callback){
526dwr.engine._execute(RemindBean._path,'RemindBean','getChummies',callback);
527}
528RemindBean.sendUserMsgWithValcode=function(p0,p1,p2,p3,callback){
529dwr.engine._execute(RemindBean._path,'RemindBean','sendUserMsgWithValcode',p0,p1,p2,p3,false,callback);
530}
531RemindBean.sendShareResource=function(p0,p1,p2,p3,p4,p5,callback){
532dwr.engine._execute(RemindBean._path,'RemindBean','sendShareResource',p0,p1,p2,p3,p4,p5,false,callback);
533}
534if(dwr==null)var dwr={};
535if(dwr.engine==null)dwr.engine={};
536if(DWREngine==null)var DWREngine=dwr.engine;
537if(UserBean==null)var UserBean={};
538UserBean._path='/dwr';
539UserBean._udDomain='http://ud.blog.163.com/';
540UserBean.check=function(p0,p1,callback){
541dwr.engine._execute(UserBean._path,'UserBean','check',p0,p1,false,false,false,callback);
542}
543UserBean.checkPassport=function(p0,p1,p2,callback){
544dwr.engine._execute(UserBean._path,'UserBean','checkPassport',p0,p1,p2,false,false,false,callback);
545}
546UserBean.checkPassportVN=function(p0,p1,p2,p3,callback){
547dwr.engine._execute(UserBean._path,'UserBean','checkPassportVN',p0,p1,p2,p3,false,false,false,callback);
548}
549UserBean.getGroups=function(p0,callback){
550dwr.engine._execute(UserBean._path,'UserBean','getGroups',false,p0,callback);
551}
552UserBean.getRelation=function(p0,callback){
553dwr.engine._execute(UserBean._path,'UserBean','getRelation',p0,callback);
554}
555UserBean.keepAlive=function(callback){
556dwr.engine._execute(UserBean._path,'UserBean','keepAlive',callback);
557}
558UserBean.setServerName=function(p0,callback){
559dwr.engine._execute(UserBean._path,'UserBean','setServerName',p0,callback);
560}
561UserBean.getServerName=function(callback){
562dwr.engine._execute(UserBean._path,'UserBean','getServerName',false,callback);
563}
564UserBean.addGroup=function(p0,callback){
565dwr.engine._execute(UserBean._path,'UserBean','addGroup',false,p0,callback);
566}
567UserBean.activate=function(p0,callback){
568dwr.engine._execute(UserBean._path,'UserBean','activate',p0,callback);
569}
570UserBean.saveActivateUserInfo=function(p0,callback){
571dwr.engine._execute(UserBean._path,'UserBean','saveActivateUserInfo',p0,callback);
572}
573UserBean.saveBlogTheme=function(p0,callback){
574dwr.engine._execute(UserBean._path,'UserBean','saveBlogTheme',p0,callback);
575}
576UserBean.activatePlayer=function(p0,p1,p2,p3,p4,callback){
577dwr.engine._execute(UserBean._path,'UserBean','activatePlayer',p0,p1,p2,p3,p4,callback);
578}
579UserBean.test=function(callback){
580dwr.engine._execute(UserBean._path,'UserBean','test',callback);
581}
582UserBean.getHostId=function(callback){
583dwr.engine._execute(UserBean._path,'UserBean','getHostId',callback);
584}
585UserBean.getItemsCount=function(p0,p1,callback){
586dwr.engine._execute(UserBean._path,'UserBean','getItemsCount',p0,p1,callback);
587}
588UserBean.getProfileUtil=function(callback){
589dwr.engine._execute(UserBean._path,'UserBean','getProfileUtil',callback);
590}
591UserBean.getProfile=function(callback){
592dwr.engine._execute(UserBean._path,'UserBean','getProfile',false,callback);
593}
594UserBean.getFriends=function(p0,p1,p2,callback){
595dwr.engine._execute(UserBean._path,'UserBean','getFriends',false,p0,p1,p2,callback);
596}
597UserBean.getFriendsByFollowType=function(p0,p1,p2,callback){
598dwr.engine._execute(UserBean._path,'UserBean','getFriendsByFollowType',false,p0,p1,p2,callback);
599}
600UserBean.setMailRemind=function(p0,callback){
601dwr.engine._execute(UserBean._path,'UserBean','setMailRemind',p0,callback);
602}
603UserBean.getUpdateFriends=function(p0,p1,callback){
604dwr.engine._execute(UserBean._path,'UserBean','getUpdateFriends',false,p0,p1,callback);
605}
606UserBean.getUpdateList=function(p0,callback){
607dwr.engine._execute(UserBean._path,'UserBean','getUpdateList',p0,callback);
608}
609UserBean.activateInternal=function(p0,p1,p2,callback){
610dwr.engine._execute(UserBean._path,'UserBean','activateInternal',p0,p1,p2,callback);
611}
612UserBean.getOnLineFriends=function(p0,p1,p2,callback){
613dwr.engine._execute(UserBean._path,'UserBean','getOnLineFriends',p0,p1,p2,callback);
614}
615UserBean.getVisitor=function(p0,p1,p2,callback){
616dwr.engine._execute(UserBean._path,'UserBean','getVisitor',false,p0,p1,p2,false,callback);
617}
618UserBean.getVisitorThroughGet=function(host,p0,p1,p2,callback){
619dwr.engine._execute(UserBean._udDomain+host+UserBean._path,'UserBean','getVisitor',false,p0,p1,p2,false,callback);
620}
621UserBean.getVisitor_inner=function(p0,p1,p2,callback){
622dwr.engine._execute(UserBean._path,'UserBean','getVisitor_inner',p0,p1,p2,callback);
623}
624UserBean.getReferer24HoursCount=function(callback){
625dwr.engine._execute(UserBean._path,'UserBean','getReferer24HoursCount',callback);
626}
627UserBean.getRefererAllCount=function(callback){
628dwr.engine._execute(UserBean._path,'UserBean','getRefererAllCount',callback);
629}
630UserBean.getReferer24Hours=function(p0,p1,callback){
631dwr.engine._execute(UserBean._path,'UserBean','getReferer24Hours',p0,p1,callback);
632}
633UserBean.getRefererAll=function(p0,p1,callback){
634dwr.engine._execute(UserBean._path,'UserBean','getRefererAll',p0,p1,callback);
635}
636UserBean.inviteFriendById=function(p2,p3,p4,callback){
637dwr.engine._execute(UserBean._path,'UserBean','inviteFriendById',false,false,p2,p3,p4,callback);
638}
639UserBean.inviteFriendByIdWithMsg=function(p2,p3,p4,p5,callback){
640dwr.engine._execute(UserBean._path,'UserBean','inviteFriendByIdWithMsg',false,false,p2,p3,p4,p5,callback);
641}
642UserBean.inviteHostWithMsgAndValcode=function(p2,p3,p4,callback){
643dwr.engine._execute(UserBean._path,'UserBean','inviteHostWithMsgAndValcode',false,false,p2,p3,p4,callback);
644}
645UserBean.inviteHost=function(p0,p1,callback){
646dwr.engine._execute(UserBean._path,'UserBean','inviteHost',p0,p1,false,false,callback);
647}
648UserBean.inviteHostWithMsg=function(p0,p1,callback){
649dwr.engine._execute(UserBean._path,'UserBean','inviteHostWithMsg',p0,p1,false,false,callback);
650}
651UserBean.rejectInvite=function(p0,callback){
652dwr.engine._execute(UserBean._path,'UserBean','rejectInvite',p0,callback);
653}
654UserBean.rejectInvites=function(p0,callback){
655DWREngine._execute(UserBean._path,'UserBean','rejectInvites',p0,callback);
656}
657UserBean.acceptFriend=function(p0,p1,callback){
658dwr.engine._execute(UserBean._path,'UserBean','acceptFriend',p0,p1,callback);
659}
660UserBean.acceptFriendWithMsg=function(p1,p2,callback){
661dwr.engine._execute(UserBean._path,'UserBean','acceptFriendWithMsg',p1,p2,callback);
662}
663UserBean.getBasicInfo=function(p0,p1,callback){
664dwr.engine._execute(UserBean._path,'UserBean','getBasicInfo',p0,p1,callback);
665}
666UserBean.acceptFriends=function(p1,p2,callback){
667dwr.engine._execute(UserBean._path,'UserBean','acceptFriends',p1,p2,callback);
668}
669UserBean.getUnAffirmFriends=function(p0,p1,callback){
670dwr.engine._execute(UserBean._path,'UserBean','getUnAffirmFriends',p0,p1,callback);
671}
672UserBean.getInvitingFriends=function(p0,p1,callback){
673DWREngine._execute(UserBean._path,'UserBean','getInvitingFriends',p0,p1,callback);
674}
675UserBean.changeRelation=function(p1,p2,callback){
676dwr.engine._execute(UserBean._path,'UserBean','changeRelation',false,p1,p2,callback);
677}
678UserBean.cancelSentFriendInvitation=function(p0,callback){
679dwr.engine._execute(UserBean._path,'UserBean','cancelSentFriendInvitation',p0,callback);
680}
681UserBean.getProfileMap=function(p0,callback){
682DWREngine._execute(UserBean._path,'UserBean','getProfileMap',p0,callback);
683}
684UserBean.changeFriendsGroup=function(p1,p2,p3,callback){
685dwr.engine._execute(UserBean._path,'UserBean','changeFriendsGroup',false,p1,p2,p3,callback);
686}
687UserBean.removeFriend=function(p0,p1,callback){
688dwr.engine._execute(UserBean._path,'UserBean','removeFriend',p0,p1,callback);
689}
690UserBean.getVisitorCount=function(callback){
691dwr.engine._execute(UserBean._path,'UserBean','getVisitorCount',callback);
692}
693UserBean.getVisiteeCount=function(callback){
694dwr.engine._execute(UserBean._path,'UserBean','getVisiteeCount',callback);
695}
696UserBean.getModuleGroups=function(p1,callback){
697dwr.engine._execute(UserBean._path,'UserBean','getModuleGroups',false,p1,callback);
698}
699UserBean.getVisitorGroups=function(callback){
700dwr.engine._execute(UserBean._path,'UserBean','getVisitorGroups',false,callback);
701}
702UserBean.getInviteEventCount=function(callback){
703dwr.engine._execute(UserBean._path,'UserBean','getInviteEventCount',false,callback);
704}
705UserBean.updateGroup=function(p0,p1,callback){
706dwr.engine._execute(UserBean._path,'UserBean','updateGroup',p0,p1,callback);
707}
708UserBean.updateGroupIdSeq=function(p0,callback){
709dwr.engine._execute(UserBean._path,'UserBean','updateGroupIdSeq',p0,callback);
710}
711UserBean.deleteGroup=function(p0,callback){
712dwr.engine._execute(UserBean._path,'UserBean','deleteGroup',p0,callback);
713}
714UserBean.searchByName=function(p0,p1,p2,p3,callback){
715dwr.engine._execute(UserBean._path,'UserBean','searchByName',p0,p1,p2,p3,callback);
716}
717UserBean.searchExactFriends=function(p0,callback){
718dwr.engine._execute(UserBean._path,'UserBean','searchExactFriends',p0,callback);
719}
720UserBean.getSearchFriendCount=function(p0,callback){
721dwr.engine._execute(UserBean._path,'UserBean','getSearchFriendCount',p0,callback);
722}
723UserBean.searchInviting=function(p0,p1,p2,callback){
724dwr.engine._execute(UserBean._path,'UserBean','searchInviting',p0,p1,p2,callback);
725}
726UserBean.searchInvited=function(p0,p1,p2,callback){
727dwr.engine._execute(UserBean._path,'UserBean','searchInvited',p0,p1,p2,callback);
728}
729UserBean.searchFriends=function(p0,p1,p2,p3,callback){
730dwr.engine._execute(UserBean._path,'UserBean','searchFriends',p0,p1,p2,p3,callback);
731}
732UserBean.searchFollowFriends=function(p0,p1,p2,p3,callback){
733dwr.engine._execute(UserBean._path,'UserBean','searchFollowFriends',p0,p1,p2,p3,callback);
734}
735UserBean.setAuthority=function(p0,p1,p2,p3,p4,p5,p6,callback){
736dwr.engine._execute(UserBean._path,'UserBean','setAuthority',p0,p1,p2,p3,p4,p5,p6,false,callback);
737}
738UserBean.updateMusicSettings=function(p0,p1,callback){
739dwr.engine._execute(UserBean._path,'UserBean','updateMusicSettings',p0,p1,false,callback);
740}
741UserBean.isOnLine=function(p0,callback){
742dwr.engine._execute(UserBean._path,'UserBean','isOnLine',p0,callback);
743}
744UserBean.getVisitInfo=function(callback){
745dwr.engine._execute(UserBean._path,'UserBean','getVisitInfo',false,callback);
746}
747UserBean.getFriendAndFollowStatus=function(callback){
748dwr.engine._execute(UserBean._path,'UserBean','getFriendAndFollowStatus',callback);
749}
750UserBean.updateSpaceName=function(p1,p2,callback){
751dwr.engine._execute(UserBean._path,'UserBean','updateSpaceName',false,p1,p2,callback);
752}
753UserBean.updateSpaceDesc=function(p1,p2,callback){
754dwr.engine._execute(UserBean._path,'UserBean','updateSpaceDesc',false,p1,p2,callback);
755}
756UserBean.canChat=function(callback){
757dwr.engine._execute(UserBean._path,'UserBean','canChat',false,callback);
758}
759UserBean.getListPhotos=function(p0,callback){
760dwr.engine._execute(UserBean._path,'UserBean','getListPhotos',p0,callback);
761}
762UserBean.getAboutMeBasic=function(p0,callback){
763dwr.engine._execute(UserBean._path,'UserBean','getAboutMeBasic',p0,false,callback);
764}
765UserBean.getAboutMe=function(p0,callback){
766dwr.engine._execute(UserBean._path,'UserBean','getAboutMe',p0,callback);
767}
768UserBean.getHostMiniSpace=function(p1,callback){
769dwr.engine._execute(UserBean._path,'UserBean','getHostMiniSpace',false,p1,callback);
770}
771UserBean.updateObserveTime=function(p0,callback){
772dwr.engine._execute(UserBean._path,'UserBean','updateObserveTime',p0,callback);
773}
774UserBean.getWeatherCityCode=function(callback){
775dwr.engine._execute(UserBean._path,'UserBean','getWeatherCityCode',false,callback);
776}
777UserBean.setCookiePath=function(p0,callback){
778dwr.engine._execute(UserBean._path,'UserBean','setCookiePath',p0,callback);
779}
780UserBean.updateRelationTag=function(p0,p1,callback){
781dwr.engine._execute(UserBean._path,'UserBean','updateRelationTag',p0,p1,callback);
782}
783UserBean.setRemindService=function(p0,callback){
784dwr.engine._execute(UserBean._path,'UserBean','setRemindService',p0,callback);
785}
786UserBean.clearSession=function(callback){
787dwr.engine._execute(UserBean._path,'UserBean','clearSession',false,false,callback);
788}
789UserBean.updateORInsertItemsCount=function(p0,p1,p2,p3,callback){
790dwr.engine._execute(UserBean._path,'UserBean','updateORInsertItemsCount',p0,p1,p2,p3,callback);
791}
792UserBean.getProvinceAndCity=function(callback){
793dwr.engine._execute(UserBean._path,'UserBean','getProvinceAndCity',false,false,callback);
794}
795UserBean.setAdvanceSearch=function(p0,callback){
796dwr.engine._execute(UserBean._path,'UserBean','setAdvanceSearch',p0,callback);
797}
798UserBean.getUserImgsArray=function(p0,callback){
799dwr.engine._execute(UserBean._path,'UserBean','getUserImgsArray',p0,callback);
800}
801UserBean.getUserImgsArray=function(p0,callback){
802dwr.engine._execute(UserBean._path,'UserBean','getUserImgsArray',p0,callback);
803}
804UserBean.getProfileById=function(p0,callback){
805dwr.engine._execute(UserBean._path,'UserBean','getProfileById',p0,callback);
806}
807UserBean.getCountInfos=function(p0,callback){
808dwr.engine._execute(UserBean._path,'UserBean','getCountInfos',p0,false,callback);
809}
810UserBean.getFriendList=function(p0,p1,p2,callback){
811dwr.engine._execute(UserBean._path,'UserBean','getFriendList',p0,p1,p2,callback);
812}
813UserBean.getFriendListWithRealName=function(p0,p1,p2,callback){
814dwr.engine._execute(UserBean._path,'UserBean','getFriendListWithRealName',p0,p1,p2,callback);
815}
816UserBean.setHomeType=function(p0,callback){
817dwr.engine._execute(UserBean._path,'UserBean','setHomeType',p0,callback);
818}
819UserBean.checkTargetVerifyRank=function(p0,callback){
820dwr.engine._execute(UserBean._path,'UserBean','checkTargetVerifyRank',p0,false,callback);
821}
822UserBean.updateSingleBlogLayout=function(p0,callback){
823dwr.engine._execute(UserBean._path,'UserBean','updateSingleBlogLayout',p0,callback);
824}
825UserBean.updateChummySettings=function(p0,callback){
826dwr.engine._execute(UserBean._path,'UserBean','updateChummySettings',p0,callback);
827}
828UserBean.getChummies=function(callback){
829dwr.engine._execute(UserBean._path,'UserBean','getChummies',callback);
830}
831if(dwr==null)var dwr={};
832if(dwr.engine==null)dwr.engine={};
833if(DWREngine==null)var DWREngine=dwr.engine;
834if(BlogBean==null)var BlogBean={};
835BlogBean._path='/dwr';
836BlogBean._udDomain='http://ud.blog.163.com/';
837BlogBean.addClass=function(p0,callback){
838dwr.engine._execute(BlogBean._path,'BlogBean','addClass',p0,callback);
839}
840BlogBean.validSubmitBlogValcode=function(p0,callback){
841dwr.engine._execute(BlogBean._path,'BlogBean','validSubmitBlogValcode',p0,false,callback);
842}
843BlogBean.getRecentComments=function(p0,p1,callback){
844dwr.engine._execute(BlogBean._path,'BlogBean','getRecentComments',p0,p1,callback);
845}
846BlogBean.getCommentsByBlog=function(host,p0,p1,callback){
847dwr.engine._execute(BlogBean._udDomain+host+BlogBean._path,'BlogBean','getCommentsByBlog',p0,p1,false,false,callback);
848}
849BlogBean.getCommentCountByBlog=function(p0,callback){
850dwr.engine._execute(BlogBean._path,'BlogBean','getCommentCountByBlog',p0,callback);
851}
852BlogBean.getBlogCountByBlog=function(p0,callback){
853dwr.engine._execute(BlogBean._path,'BlogBean','getBlogCountByBlog',p0,callback);
854}
855BlogBean.getComments=function(p0,p1,p2,callback){
856dwr.engine._execute(BlogBean._path,'BlogBean','getComments',p0,p1,p2,callback);
857}
858BlogBean.getBlogClasses=function(p0,callback){
859dwr.engine._execute(BlogBean._path,'BlogBean','getBlogClasses',p0,callback);
860}
861BlogBean.getBlogClassesOrdered=function(callback){
862dwr.engine._execute(BlogBean._path,'BlogBean','getBlogClassesOrdered',callback);
863}
864BlogBean.getRecentArchives=function(p0,callback){
865dwr.engine._execute(BlogBean._path,'BlogBean','getRecentArchives',p0,callback);
866}
867BlogBean.getClassesAndArchives=function(p0,callback){
868dwr.engine._execute(BlogBean._path,'BlogBean','getClassesAndArchives',p0,callback);
869}
870BlogBean.getBlogsInPrevBlog=function(p0,p1,p2,p3,p4,p5,p6,callback){
871dwr.engine._execute(BlogBean._path,'BlogBean','getBlogsInPrevBlog',p0,p1,p2,p3,p4,p5,p6,callback);
872}
873BlogBean.getBlogs=function(p0,p1,p2,p3,p4,p5,callback){
874dwr.engine._execute(BlogBean._path,'BlogBean','getBlogs',p0,p1,p2,p3,p4,p5,callback);
875}
876BlogBean.getRecentBlogs=function(p0,p1,p2,p3,p4,callback){
877dwr.engine._execute(BlogBean._path,'BlogBean','getRecentBlogs',p0,p1,p2,p3,p4,false,callback);
878}
879BlogBean.getBlogsByRank=function(p0,p1,p2,p3,p4,p5,p6,callback){
880dwr.engine._execute(BlogBean._path,'BlogBean','getBlogsByRank',p0,p1,p2,p3,p4,p5,p6,callback);
881}
882BlogBean.getBlogsByClassInPrevBlog=function(p0,p1,p2,p3,p4,p5,p6,callback){
883dwr.engine._execute(BlogBean._path,'BlogBean','getBlogsByClassInPrevBlog',p0,p1,p2,p3,p4,p5,p6,callback);
884}
885BlogBean.getBlogsByClass=function(p0,p1,p2,p3,p4,p5,p6,callback){
886dwr.engine._execute(BlogBean._path,'BlogBean','getBlogsByClass',p0,p1,p2,p3,p4,p5,p6,callback);
887}
888BlogBean.getBlogsByClassLite=function(p0,p1,p2,p3,p4,p5,p6,callback){
889DWREngine._execute(BlogBean._path,'BlogBean','getBlogsByClassLite',p0,p1,p2,p3,p4,p5,p6,callback);
890}
891BlogBean.getBlogsByClassByRank=function(p0,p1,p2,p3,p4,p5,p6,callback){
892dwr.engine._execute(BlogBean._path,'BlogBean','getBlogsByClassByRank',p0,p1,p2,p3,p4,p5,p6,callback);
893}
894BlogBean.getBlogsByArchiveInPrevBlog=function(p0,p1,p2,p3,p4,p5,p6,callback){
895dwr.engine._execute(BlogBean._path,'BlogBean','getBlogsByArchiveInPrevBlog',p0,p1,p2,p3,p4,p5,p6,callback);
896}
897BlogBean.getBlogsByArchive=function(p0,p1,p2,p3,p4,p5,p6,callback){
898dwr.engine._execute(BlogBean._path,'BlogBean','getBlogsByArchive',p0,p1,p2,p3,p4,p5,p6,callback);
899}
900BlogBean.getBlog=function(p0,p1,callback){
901dwr.engine._execute(BlogBean._path,'BlogBean','getBlog',p0,p1,callback);
902}
903BlogBean.getBlogsByDate=function(p0,p1,p2,p3,callback){
904dwr.engine._execute(BlogBean._path,'BlogBean','getBlogsByDate',p0,p1,p2,p3,callback);
905}
906BlogBean.updateBlogVisit=function(p0,p1,p2,callback){
907dwr.engine._execute(BlogBean._path,'BlogBean','updateBlogVisit',p0,p1,p2,callback);
908}
909BlogBean.getRecentCommentsByOffset=function(p0,p1,p2,callback){
910dwr.engine._execute(BlogBean._path,'BlogBean','getRecentCommentsByOffset',p0,p1,p2,callback);
911}
912BlogBean.addComment=function(p0,p1,p2,callback){
913dwr.engine._execute(BlogBean._path,'BlogBean','addComment',p0,p1,p2,false,callback);
914}
915BlogBean.getTrackbacks=function(p0,callback){
916dwr.engine._execute(BlogBean._path,'BlogBean','getTrackbacks',p0,callback);
917}
918BlogBean.deleteComment=function(p0,p1,p2,callback){
919dwr.engine._execute(BlogBean._path,'BlogBean','deleteComment',p0,p1,p2,callback);
920}
921BlogBean.deleteCommentForMsg=function(p0,p1,callback){
922dwr.engine._execute(BlogBean._path,'BlogBean','deleteCommentForMsg',p0,p1,callback);
923}
924BlogBean.removeBatchComment=function(p0,p1,callback){
925dwr.engine._execute(BlogBean._path,'BlogBean','removeBatchComment',p0,p1,callback);
926}
927BlogBean.deleteClass=function(p0,p1,callback){
928dwr.engine._execute(BlogBean._path,'BlogBean','deleteClass',p0,p1,callback);
929}
930BlogBean.updateClassByName=function(p0,p1,callback){
931dwr.engine._execute(BlogBean._path,'BlogBean','updateClassByName',p0,p1,callback);
932}
933BlogBean.deleteTrackback=function(p0,p1,callback){
934dwr.engine._execute(BlogBean._path,'BlogBean','deleteTrackback',p0,p1,callback);
935}
936BlogBean.deleteBlog=function(p0,p1,p2,p3,callback){
937dwr.engine._execute(BlogBean._path,'BlogBean','deleteBlog',p0,p1,p2,p3,false,callback);
938}
939BlogBean.getBlogCounts=function(p0,p1,callback){
940dwr.engine._execute(BlogBean._path,'BlogBean','getBlogCounts',p0,p1,false,callback);
941}
942BlogBean.getHostAllTags=function(callback){
943dwr.engine._execute(BlogBean._path,'BlogBean','getHostAllTags',false,callback);
944}
945BlogBean.getRelateBlogsCircles=function(host,p0,p1,callback){
946dwr.engine._execute(BlogBean._udDomain+host+BlogBean._path,'BlogBean','getRelateBlogsCircles',p0,p1,false,callback);
947}
948BlogBean.topBlog=function(p0,callback){
949dwr.engine._execute(BlogBean._path,'BlogBean','topBlog',p0,callback);
950}
951BlogBean.untopBlog=function(p0,callback){
952dwr.engine._execute(BlogBean._path,'BlogBean','untopBlog',p0,callback);
953}
954BlogBean.getBlogsByBidAndUid=function(p0,p1,p2,p3,callback){
955dwr.engine._execute(BlogBean._path,'BlogBean','getBlogsByBidAndUid',p0,p1,p2,p3,callback);
956}
957BlogBean.removeBatchBlogs=function(p0,callback){
958dwr.engine._execute(BlogBean._path,'BlogBean','removeBatchBlogs',p0,false,callback);
959}
960BlogBean.updateClassOfBlogs=function(p0,p1,callback){
961dwr.engine._execute(BlogBean._path,'BlogBean','updateClassOfBlogs',p0,p1,callback);
962}
963BlogBean.updateClassOrderIds=function(p0,callback){
964dwr.engine._execute(BlogBean._path,'BlogBean','updateClassOrderIds',p0,callback);
965}
966BlogBean.glogDistribution=function(p0,p1,callback){
967dwr.engine._execute(BlogBean._path,'BlogBean','glogDistribution',p0,p1,callback);
968}
969BlogBean.isRecomBlog=function(p0,callback){
970dwr.engine._execute(BlogBean._path,'BlogBean','isRecomBlog',p0,callback);
971}
972BlogBean.blogRecommend=function(p0,p1,p2,callback){
973dwr.engine._execute(BlogBean._path,'BlogBean','blogRecommend',p0,p1,p2,false,callback);
974}
975BlogBean.existBlogRecommend=function(p0,callback){;
976dwr.engine._execute(BlogBean._path,'BlogBean','existBlogRecommend',p0,callback);
977}
978BlogBean.getRecentRecommendBlogs=function(p0,callback){
979dwr.engine._execute(BlogBean._path,'BlogBean','getRecentRecommendBlogs',p0,false,callback);
980}
981BlogBean.isBlogerInHomePage=function(p0,callback){
982dwr.engine._execute(BlogBean._path,'BlogBean','isBlogerInHomePage',p0,callback);
983}
984BlogBean.getComment=function(p0,p1,p2,callback){
985dwr.engine._execute(BlogBean._path,'BlogBean','getComment',p0,p1,p2,callback);
986}
987BlogBean.addCommentForMsg=function(p0,callback){
988dwr.engine._execute(BlogBean._path,'BlogBean','addCommentForMsg',p0,false,callback);
989}
990if(dwr==null)var dwr={};
991if(dwr.engine==null)dwr.engine={};
992if(DWREngine==null)var DWREngine=dwr.engine;
993if(FeelingsBean==null)var FeelingsBean={};
994FeelingsBean._path='/dwr';
995FeelingsBean._udDomain='http://ud.blog.163.com/';
996FeelingsBean.addFeelingsCard=function(p0,callback){
997dwr.engine._execute(FeelingsBean._path,'FeelingsBean','addFeelingsCard',p0,false,callback);
998}
999FeelingsBean.getFirstFeelingsCard=function(callback){
1000dwr.engine._execute(FeelingsBean._path,'FeelingsBean','getFirstFeelingsCard',false,callback);
1001}
1002FeelingsBean.removeFirstFeelingsCard=function(p0,callback){
1003dwr.engine._execute(FeelingsBean._path,'FeelingsBean','removeFirstFeelingsCard',p0,false,callback);
1004}
1005FeelingsBean.getRecentFeelingsCards=function(p0,p1,callback){
1006dwr.engine._execute(FeelingsBean._path,'FeelingsBean','getRecentFeelingsCards',p0,p1,false,callback);
1007}
1008FeelingsBean.removeFeelingsCard=function(p0,callback){
1009dwr.engine._execute(FeelingsBean._path,'FeelingsBean','removeFeelingsCard',p0,false,callback);
1010}
1011FeelingsBean.addFeelingsCardComment=function(p0,p1,callback){
1012dwr.engine._execute(FeelingsBean._path,'FeelingsBean','addFeelingsCardComment',p0,p1,false,callback);
1013}
1014FeelingsBean.getMainCommentCount=function(p0,callback){
1015dwr.engine._execute(FeelingsBean._path,'FeelingsBean','getMainCommentCount',p0,callback);
1016}
1017FeelingsBean.removeFeelingsComment=function(p0,p1,p2,callback){
1018dwr.engine._execute(FeelingsBean._path,'FeelingsBean','removeFeelingsComment',p0,p1,p2,false,callback);
1019}
1020FeelingsBean.removeFeelingsCommentForMsg=function(p0,p1,callback){
1021dwr.engine._execute(FeelingsBean._path,'FeelingsBean','removeFeelingsCommentForMsg',p0,p1,false,callback);
1022}
1023FeelingsBean.getRecentFeelingsComment=function(p0,p1,p2,callback){
1024dwr.engine._execute(FeelingsBean._path,'FeelingsBean','getRecentFeelingsComment',p0,p1,p2,false,callback);
1025}
1026FeelingsBean.getRecentFeelingsComments=function(p0,p1,p2,callback){
1027dwr.engine._execute(FeelingsBean._path,'FeelingsBean','getRecentFeelingsComments',p0,p1,p2,false,callback);
1028}
1029FeelingsBean.getRecentFriendsFeelingCards=function(p0,p1,callback){
1030dwr.engine._execute(FeelingsBean._path,'FeelingsBean','getRecentFriendsFeelingCards',p0,p1,false,callback);
1031}
1032FeelingsBean.getComment=function(p0,p1,p2,callback){
1033dwr.engine._execute(FeelingsBean._path,'FeelingsBean','getComment',p0,p1,p2,callback);
1034}
1035FeelingsBean.addFeelingsCardCommentForMsg=function(p0,callback){
1036dwr.engine._execute(FeelingsBean._path,'FeelingsBean','addFeelingsCardCommentForMsg',p0,false,callback);
1037}
1038if(dwr==null)var dwr={};
1039if(dwr.engine==null)dwr.engine={};
1040if(DWREngine==null)var DWREngine=dwr.engine;
1041if(NoteBean==null)var NoteBean={};
1042NoteBean._path='/dwr';
1043NoteBean.removeNote=function(p0,callback){
1044dwr.engine._execute(NoteBean._path,'NoteBean','removeNote',p0,callback);
1045}
1046NoteBean.getNoteCount=function(callback){
1047dwr.engine._execute(NoteBean._path,'NoteBean','getNoteCount',callback);
1048}
1049NoteBean.addNote=function(p0,p1,callback){
1050dwr.engine._execute(NoteBean._path,'NoteBean','addNote',p0,p1,false,callback);
1051}
1052NoteBean.addNoteToOther=function(p0,p1,callback){
1053dwr.engine._execute(NoteBean._path,'NoteBean','addNoteToOther',p0,p1,false,callback);
1054}
1055NoteBean.removeNotes=function(p0,p1,callback){
1056dwr.engine._execute(NoteBean._path,'NoteBean','removeNotes',p0,p1,callback);
1057}
1058NoteBean.addReply=function(p0,p1,p2,callback){
1059dwr.engine._execute(NoteBean._path,'NoteBean','addReply',p0,p1,p2,false,callback);
1060}
1061NoteBean.getNotesForEdit=function(p0,p1,callback){
1062dwr.engine._execute(NoteBean._path,'NoteBean','getNotesForEdit',p0,p1,callback);
1063}
1064NoteBean.getNotesForPrev=function(p0,p1,callback){
1065dwr.engine._execute(NoteBean._path,'NoteBean','getNotesForPrev',p0,p1,callback);
1066}
1067NoteBean.getNotesForEditProfile=function(p0,p1,callback){
1068dwr.engine._execute(NoteBean._path,'NoteBean','getNotesForEditProfile',p0,p1,callback);
1069}
1070NoteBean.getNotesForPrevProfile=function(p0,p1,callback){
1071dwr.engine._execute(NoteBean._path,'NoteBean','getNotesForPrevProfile',p0,p1,callback);
1072}
1073NoteBean.getRealNoteCount=function(callback){
1074dwr.engine._execute(NoteBean._path,'NoteBean','getRealNoteCount',callback);
1075}
1076NoteBean.getNotesBetweenUsers=function(p0,p1,p2,p3,callback){
1077dwr.engine._execute(NoteBean._path,'NoteBean','getNotesBetweenUsers',p0,p1,p2,p3,callback);
1078}
1079NoteBean.getNoteRankById=function(p0,callback){
1080dwr.engine._execute(NoteBean._path,'NoteBean','getNoteRankById',p0,callback);
1081}
1082if(dwr==null)var dwr={};
1083if(dwr.engine==null)dwr.engine={};
1084if(DWREngine==null)var DWREngine=dwr.engine;
1085if(MusicBean==null)var MusicBean={};
1086MusicBean._path='/dwr';
1087MusicBean.getWapCount=function(callback){
1088dwr.engine._execute(MusicBean._path,'MusicBean','getWapCount',callback);
1089}
1090MusicBean.setWapCount=function(p0,callback){
1091dwr.engine._execute(MusicBean._path,'MusicBean','setWapCount',p0,callback);
1092}
1093MusicBean.getMusicAlbumList=function(p0,callback){
1094dwr.engine._execute(MusicBean._path,'MusicBean','getMusicAlbumList',p0,callback);
1095}
1096MusicBean.getMusicAlbumListByVisit=function(p0,callback){
1097dwr.engine._execute(MusicBean._path,'MusicBean','getMusicAlbumListByVisit',p0,callback);
1098}
1099MusicBean.getMusicAlbumById=function(p0,callback){
1100dwr.engine._execute(MusicBean._path,'MusicBean','getMusicAlbumById',p0,callback);
1101}
1102MusicBean.addMusicAlbum=function(p0,callback){
1103dwr.engine._execute(MusicBean._path,'MusicBean','addMusicAlbum',p0,false,callback);
1104}
1105MusicBean.updateMusicAlbumName=function(p0,p1,callback){
1106dwr.engine._execute(MusicBean._path,'MusicBean','updateMusicAlbumName',p0,p1,callback);
1107}
1108MusicBean.updateMusicAlbumTag=function(p0,p1,callback){
1109dwr.engine._execute(MusicBean._path,'MusicBean','updateMusicAlbumTag',p0,p1,callback);
1110}
1111MusicBean.updateMusicAlbumDescription=function(p0,p1,callback){
1112dwr.engine._execute(MusicBean._path,'MusicBean','updateMusicAlbumDescription',p0,p1,callback);
1113}
1114MusicBean.updateMusicAlbumTop=function(p0,callback){
1115dwr.engine._execute(MusicBean._path,'MusicBean','updateMusicAlbumTop',p0,callback);
1116}
1117MusicBean.updateAlbumStyle=function(p0,callback){
1118dwr.engine._execute(MusicBean._path,'MusicBean','updateAlbumStyle',p0,callback);
1119}
1120MusicBean.updateMusicAlbumStyle=function(p0,p1,callback){
1121dwr.engine._execute(MusicBean._path,'MusicBean','updateMusicAlbumStyle',p0,p1,callback);
1122}
1123MusicBean.deleteMusics=function(p0,p1,callback){
1124dwr.engine._execute(MusicBean._path,'MusicBean','deleteMusics',p0,p1,callback);
1125}
1126MusicBean.deleteMusic=function(p0,p1,callback){
1127dwr.engine._execute(MusicBean._path,'MusicBean','deleteMusic',p0,p1,callback);
1128}
1129MusicBean.deleteMusicAlbum=function(p0,callback){
1130dwr.engine._execute(MusicBean._path,'MusicBean','deleteMusicAlbum',p0,callback);
1131}
1132MusicBean.deleteMusicAlbumPhoto=function(p0,callback){
1133dwr.engine._execute(MusicBean._path,'MusicBean','deleteMusicAlbumPhoto',p0,callback);
1134}
1135MusicBean.getMusicList=function(p0,p1,p2,p3,callback){
1136dwr.engine._execute(MusicBean._path,'MusicBean','getMusicList',p0,p1,p2,p3,callback);
1137}
1138MusicBean.getMusicListByAlbumId=function(p0,callback){
1139dwr.engine._execute(MusicBean._path,'MusicBean','getMusicListByAlbumId',p0,callback);
1140}
1141MusicBean.getPlayList=function(callback){
1142dwr.engine._execute(MusicBean._path,'MusicBean','getPlayList',callback);
1143}
1144MusicBean.addMusic=function(p0,callback){
1145dwr.engine._execute(MusicBean._path,'MusicBean','addMusic',p0,false,callback);
1146}
1147MusicBean.addMusicList=function(p0,p1,p2,p3,p4,p5,callback){
1148dwr.engine._execute(MusicBean._path,'MusicBean','addMusicList',p0,p1,p2,p3,p4,p5,false,callback);
1149}
1150MusicBean.collectMusicAlbum=function(p0,p1,p2,p3,p4,p5,callback){
1151dwr.engine._execute(MusicBean._path,'MusicBean','collectMusicAlbum',p0,p1,p2,p3,p4,p5,false,callback);
1152}
1153MusicBean.collectMusicAlbum=function(p0,p1,callback){
1154dwr.engine._execute(MusicBean._path,'MusicBean','collectMusicAlbum',p0,p1,callback);
1155}
1156MusicBean.getMusicAlbumCollectionCount=function(callback){
1157dwr.engine._execute(MusicBean._path,'MusicBean','getMusicAlbumCollectionCount',callback);
1158}
1159MusicBean.getMusicAlbumCollectionList=function(p0,p1,callback){
1160dwr.engine._execute(MusicBean._path,'MusicBean','getMusicAlbumCollectionList',p0,p1,callback);
1161}
1162MusicBean.deleteMusicAlbumCollection=function(p0,callback){
1163dwr.engine._execute(MusicBean._path,'MusicBean','deleteMusicAlbumCollection',p0,callback);
1164}
1165MusicBean.updateMusic=function(p0,callback){
1166dwr.engine._execute(MusicBean._path,'MusicBean','updateMusic',p0,false,callback);
1167}
1168MusicBean.getOnlineMusicList=function(p0,p1,p2,p3,p4,callback){
1169dwr.engine._execute(MusicBean._path,'MusicBean','getOnlineMusicList',p0,p1,p2,p3,p4,false,callback);
1170}
1171MusicBean.getMusicCommentList=function(p0,p1,p2,p3,callback){
1172dwr.engine._execute(MusicBean._path,'MusicBean','getMusicCommentList',p0,p1,p2,p3,callback);
1173}
1174MusicBean.addMusicComment=function(p0,p1,p2,p3,callback){
1175dwr.engine._execute(MusicBean._path,'MusicBean','addMusicComment',p0,p1,p2,p3,false,callback);
1176}
1177MusicBean.deleteComment=function(p0,p1,p2,p3,callback){
1178dwr.engine._execute(MusicBean._path,'MusicBean','deleteComment',p0,p1,p2,p3,callback);
1179}
1180MusicBean.getMusicAlbumVisitor=function(p0,callback){
1181dwr.engine._execute(MusicBean._path,'MusicBean','getMusicAlbumVisitor',p0,callback);
1182}
1183MusicBean.voteMusicAlbumRank=function(p0,p1,p2,callback){
1184dwr.engine._execute(MusicBean._path,'MusicBean','voteMusicAlbumRank',p0,p1,p2,callback);
1185}
1186MusicBean.updateMusicDuration=function(p0,p1,callback){
1187dwr.engine._execute(MusicBean._path,'MusicBean','updateMusicDuration',p0,p1,callback);
1188}
1189MusicBean.collectMusic=function(p0,p1,callback){
1190dwr.engine._execute(MusicBean._path,'MusicBean','collectMusic',p0,p1,callback);
1191}
1192MusicBean.collectMusicList=function(p0,p1,p2,p3,p4,p5,callback){
1193dwr.engine._execute(MusicBean._path,'MusicBean','collectMusicList',p0,p1,p2,p3,p4,p5,false,callback);
1194}
1195MusicBean.getRecentMusicCommentsByOffset=function(p0,p1,p2,callback){
1196dwr.engine._execute(MusicBean._path,'MusicBean','getRecentMusicCommentsByOffset',p0,p1,p2,callback);
1197}
1198MusicBean.removeBatchComment=function(p0,p1,callback){
1199dwr.engine._execute(MusicBean._path,'MusicBean','removeBatchComment',p0,p1,callback);
1200}
1201MusicBean.addAboutmeMusicComment=function(p0,p1,p2,p3,callback){
1202dwr.engine._execute(MusicBean._path,'MusicBean','addAboutmeMusicComment',p0,p1,p2,p3,false,callback);
1203}
1204MusicBean.getAuditionList=function(callback){
1205dwr.engine._execute(MusicBean._path,'MusicBean','getAuditionList',false,callback);
1206}
1207MusicBean.logAddAuditionList=function(p0,p1,p2,p3,p4,callback){
1208dwr.engine._execute(MusicBean._path,'MusicBean','logAddAuditionList',p0,p1,p2,p3,p4,false,callback);
1209}
1210MusicBean.logDeleteAudition=function(p0,callback){
1211dwr.engine._execute(MusicBean._path,'MusicBean','logDeleteAudition',p0,false,callback);
1212}
1213MusicBean.logClearAuditionList=function(callback){
1214dwr.engine._execute(MusicBean._path,'MusicBean','logClearAuditionList',false,callback);
1215}
1216MusicBean.getComment=function(p0,p1,p2,callback){
1217dwr.engine._execute(MusicBean._path,'MusicBean','getComment',p0,p1,p2,callback);
1218}
1219MusicBean.getMainCommentCount=function(p0,p1,callback){
1220dwr.engine._execute(MusicBean._path,'MusicBean','getMainCommentCount',p0,p1,callback);
1221}
1222MusicBean.deleteCommentForMsg=function(p0,p1,callback){
1223dwr.engine._execute(MusicBean._path,'MusicBean','deleteCommentForMsg',p0,p1,callback);
1224}
1225if(dwr==null)var dwr={};
1226if(dwr.engine==null)dwr.engine={};
1227if(DWREngine==null)var DWREngine=dwr.engine;
1228if(ModuleTemplateBean==null)var ModuleTemplateBean={};
1229ModuleTemplateBean._path='/dwr';
1230ModuleTemplateBean.setGeneratorMap=function(p0,callback){
1231dwr.engine._execute(ModuleTemplateBean._path,'ModuleTemplateBean','setGeneratorMap',p0,callback);
1232}
1233ModuleTemplateBean.generateCommonDataMap=function(callback){
1234dwr.engine._execute(ModuleTemplateBean._path,'ModuleTemplateBean','generateCommonDataMap',false,callback);
1235}
1236ModuleTemplateBean.getEditHtml=function(p0,p1,p2,p3,callback){
1237dwr.engine._execute(ModuleTemplateBean._path,'ModuleTemplateBean','getEditHtml',p0,p1,p2,p3,false,callback);
1238}
1239ModuleTemplateBean.getPreviewHtml=function(p0,p1,p2,p3,callback){
1240dwr.engine._execute(ModuleTemplateBean._path,'ModuleTemplateBean','getPreviewHtml',p0,p1,p2,p3,false,callback);
1241}
1242ModuleTemplateBean.getHtml=function(p0,p1,p2,p3,p4,p5,callback){
1243dwr.engine._execute(ModuleTemplateBean._path,'ModuleTemplateBean','getHtml',p0,p1,p2,p3,p4,p5,false,callback);
1244}
1245if(dwr==null)var dwr={};
1246if(dwr.engine==null)dwr.engine={};
1247if(DWREngine==null)var DWREngine=dwr.engine;
1248if(PreUserReportBean==null)var PreUserReportBean={};
1249PreUserReportBean._path='/dwr';
1250PreUserReportBean.addUserReport=function(p0,callback){
1251dwr.engine._execute(PreUserReportBean._path,'PreUserReportBean','addUserReport',p0,callback);
1252}
1253if(dwr==null)var dwr={};
1254if(dwr.engine==null)dwr.engine={};
1255if(DWREngine==null)var DWREngine=dwr.engine;
1256if(CustomHtmlBean==null)var CustomHtmlBean={};
1257CustomHtmlBean._path='/dwr';
1258CustomHtmlBean.getCustomHtml=function(p0,callback){
1259dwr.engine._execute(CustomHtmlBean._path,'CustomHtmlBean','getCustomHtml',p0,callback);
1260}
1261CustomHtmlBean.addCustomHtml=function(p0,callback){
1262dwr.engine._execute(CustomHtmlBean._path,'CustomHtmlBean','addCustomHtml',p0,callback);
1263}
1264CustomHtmlBean.removeCustomHtml=function(p0,callback){
1265dwr.engine._execute(CustomHtmlBean._path,'CustomHtmlBean','removeCustomHtml',p0,false,callback);
1266}
1267CustomHtmlBean.saveCustomHtml=function(p0,callback){
1268dwr.engine._execute(CustomHtmlBean._path,'CustomHtmlBean','saveCustomHtml',p0,callback);
1269}
1270CustomHtmlBean.addCustomHtmlEx=function(p0,callback){
1271dwr.engine._execute(CustomHtmlBean._path,'CustomHtmlBean','addCustomHtmlEx',p0,callback);
1272}
1273function CustomStyleBean(){}
1274CustomStyleBean._path='/dwr';
1275CustomStyleBean.getCustomStyleByUserLimit=function(p0,p1,p2,callback){
1276DWREngine._execute(CustomStyleBean._path,'CustomStyleBean','getCustomStyleByUserLimit',p0,p1,p2,callback);
1277}
1278CustomStyleBean.getCustomStyleByUser=function(p0,callback){
1279DWREngine._execute(CustomStyleBean._path,'CustomStyleBean','getCustomStyleByUser',p0,callback);
1280}
1281CustomStyleBean.getOneCustomStyle=function(p0,p1,p2,callback){
1282DWREngine._execute(CustomStyleBean._path,'CustomStyleBean','getOneCustomStyle',p0,p1,p2,callback);
1283}
1284CustomStyleBean.uploadCustomStyleWithoutPhoto=function(p0,p1,callback){
1285DWREngine._execute(CustomStyleBean._path,'CustomStyleBean','uploadCustomStyleWithoutPhoto',p0,p1,callback);
1286}
1287CustomStyleBean.getNewOneCustomStyle=function(callback){
1288DWREngine._execute(CustomStyleBean._path,'CustomStyleBean','getNewOneCustomStyle',callback);
1289}
1290CustomStyleBean.deleteOneCustomStyle=function(p0,callback){
1291DWREngine._execute(CustomStyleBean._path,'CustomStyleBean','deleteOneCustomStyle',p0,callback);
1292}
1293if(dwr==null)var dwr={};
1294if(dwr.engine==null)dwr.engine={};
1295if(DWREngine==null)var DWREngine=dwr.engine;
1296if(AdviceBean==null)var AdviceBean={};
1297AdviceBean._path='/dwr';
1298AdviceBean.addAdvice=function(p0,callback){
1299dwr.engine._execute(AdviceBean._path,'AdviceBean','addAdvice',p0,callback);
1300}
1301AdviceBean.getCheckedAdviceCount=function(callback){
1302dwr.engine._execute(AdviceBean._path,'AdviceBean','getCheckedAdviceCount',callback);
1303}
1304AdviceBean.getCheckedAdvices=function(p0,p1,callback){
1305dwr.engine._execute(AdviceBean._path,'AdviceBean','getCheckedAdvices',p0,p1,callback);
1306}
1307if(dwr==null)var dwr={};
1308if(dwr.engine==null)dwr.engine={};
1309if(DWREngine==null)var DWREngine=dwr.engine;
1310if(AlbumMisc==null)var AlbumMisc={};
1311AlbumMisc._path='/dwr';
1312AlbumMisc.getRecentComments=function(p0,p1,p2,callback){
1313dwr.engine._execute(AlbumMisc._path,'AlbumMisc','getRecentComments',p0,p1,p2,false,callback);
1314}
1315AlbumMisc.getComments=function(p0,p1,p2,p3,callback){
1316dwr.engine._execute(AlbumMisc._path,'AlbumMisc','getComments',p0,p1,p2,p3,false,callback);
1317}
1318AlbumMisc.checkPassword=function(p0,p1,callback){
1319dwr.engine._execute(AlbumMisc._path,'AlbumMisc','checkPassword',p0,p1,false,callback);
1320}
1321AlbumMisc.addAPComment=function(p0,p1,p2,p3,p4,callback){
1322dwr.engine._execute(AlbumMisc._path,'AlbumMisc','addAPComment',p0,p1,p2,p3,p4,false,callback);
1323}
1324AlbumMisc.addAPComment163=function(p0,p1,p2,p3,callback){
1325dwr.engine._execute(AlbumMisc._path,'AlbumMisc','addAPComment163',p0,p1,p2,p3,false,callback);
1326}
1327AlbumMisc.getAllAPComment=function(p0,p1,p2,p3,callback){
1328dwr.engine._execute(AlbumMisc._path,'AlbumMisc','getAllAPComment',p0,p1,p2,p3,callback);
1329}
1330AlbumMisc.getAPCommentStat=function(p0,p1,callback){
1331dwr.engine._execute(AlbumMisc._path,'AlbumMisc','getAPCommentStat',p0,p1,callback);
1332}
1333AlbumMisc.getAPCommentCount=function(p0,p1,callback){
1334dwr.engine._execute(AlbumMisc._path,'AlbumMisc','getAPCommentCount',p0,p1,callback);
1335}
1336AlbumMisc.getAPComment163List=function(p0,p1,p2,p3,p4,callback){
1337dwr.engine._execute(AlbumMisc._path,'AlbumMisc','getAPComment163List',p0,p1,p2,p3,p4,callback);
1338}
1339AlbumMisc.removeAPComment=function(p0,p1,p2,callback){
1340dwr.engine._execute(AlbumMisc._path,'AlbumMisc','removeAPComment',p0,p1,p2,false,callback);
1341}
1342AlbumMisc.removeAPComment163=function(p0,p1,p2,callback){
1343dwr.engine._execute(AlbumMisc._path,'AlbumMisc','removeAPComment163',p0,p1,p2,callback);
1344}
1345AlbumMisc.updateAPViewCount163=function(p0,p1,p2,callback){
1346dwr.engine._execute(AlbumMisc._path,'AlbumMisc','updateAPViewCount163',p0,p1,p2,callback);
1347}
1348AlbumMisc.updatePhotoViewCount=function(p0,p1,callback){
1349dwr.engine._execute(AlbumMisc._path,'AlbumMisc','updatePhotoViewCount',p0,p1,callback);
1350}
1351AlbumMisc.removePhotoComments=function(p0,p1,callback){
1352dwr.engine._execute(AlbumMisc._path,'AlbumMisc','removePhotoComments',p0,p1,false,callback);
1353}
1354AlbumMisc.removeAlbumComments=function(p0,p1,callback){
1355dwr.engine._execute(AlbumMisc._path,'AlbumMisc','removeAlbumComments',p0,p1,false,callback);
1356}
1357AlbumMisc.updateUAStyle=function(p0,callback){
1358dwr.engine._execute(AlbumMisc._path,'AlbumMisc','updateUAStyle',p0,false,callback);
1359}
1360AlbumMisc.addOrDelTag=function(p0,p1,p2,p3,p4,p5,p6,p7,p8,callback){
1361dwr.engine._execute(AlbumMisc._path,'AlbumMisc','addOrDelTag',p0,p1,p2,p3,p4,p5,p6,p7,p8,false,callback);
1362}
1363AlbumMisc.getDailyStatisticForHome=function(p0,p1,callback){
1364dwr.engine._execute(AlbumMisc._path,'AlbumMisc','getDailyStatisticForHome',p0,p1,callback);
1365}
1366AlbumMisc.getApCommentById=function(p0,p1,callback){
1367dwr.engine._execute(AlbumMisc._path,'AlbumMisc','getApCommentById',p0,p1,callback);
1368}
1369AlbumMisc.addAPCommentForMsg=function(p0,p1,callback){
1370dwr.engine._execute(AlbumMisc._path,'AlbumMisc','addAPCommentForMsg',p0,p1,false,callback);
1371}
1372if(dwr==null)var dwr={};
1373if(dwr.engine==null)dwr.engine={};
1374if(DWREngine==null)var DWREngine=dwr.engine;
1375if(VisitBean==null)var VisitBean={};
1376VisitBean._path='/dwr';
1377VisitBean.getBlogReaders=function(p0,p1,callback){
1378dwr.engine._execute(VisitBean._path,'VisitBean','getBlogReaders',p0,p1,callback);
1379}
1380VisitBean.getBlogReadersArray=function(p0,p1,callback){
1381dwr.engine._execute(VisitBean._path,'VisitBean','getBlogReadersArray',p0,p1,callback);
1382}
1383VisitBean.getPhotoReaders=function(p0,p1,p2,callback){
1384dwr.engine._execute(VisitBean._path,'VisitBean','getPhotoReaders',p0,p1,p2,callback);
1385}
1386if(dwr==null)var dwr={};
1387if(dwr.engine==null)dwr.engine={};
1388if(DWREngine==null)var DWREngine=dwr.engine;
1389if(PhotoInPaiPaiBean==null)var PhotoInPaiPaiBean={};
1390PhotoInPaiPaiBean._path='/dwr';
1391PhotoInPaiPaiBean.getPhotosInPaiPaiByPhotoId=function(p0,callback){
1392dwr.engine._execute(PhotoInPaiPaiBean._path,'PhotoInPaiPaiBean','getPhotosInPaiPaiByPhotoId',p0,callback);
1393}
1394PhotoInPaiPaiBean.setDisplayMode=function(p0,callback){
1395dwr.engine._execute(PhotoInPaiPaiBean._path,'PhotoInPaiPaiBean','setDisplayMode',p0,callback);
1396}
1397if(dwr==null)var dwr={};
1398if(dwr.engine==null)dwr.engine={};
1399if(DWREngine==null)var DWREngine=dwr.engine;
1400if(AboutMeBean==null)var AboutMeBean={};
1401AboutMeBean._path='/dwr';
1402AboutMeBean.getMiddleSchoolCitiesByProvince=function(p0,callback){
1403dwr.engine._execute(AboutMeBean._path,'AboutMeBean','getMiddleSchoolCitiesByProvince',p0,callback);
1404}
1405AboutMeBean.getMiddleSchoolNamesByProvinceCity=function(p0,p1,callback){
1406dwr.engine._execute(AboutMeBean._path,'AboutMeBean','getMiddleSchoolNamesByProvinceCity',p0,p1,callback);
1407}
1408AboutMeBean.getPrimarySchoolCitiesByProvince=function(p0,callback){
1409dwr.engine._execute(AboutMeBean._path,'AboutMeBean','getPrimarySchoolCitiesByProvince',p0,callback);
1410}
1411AboutMeBean.getPrimarySchoolNamesByProvinceCity=function(p0,p1,callback){
1412dwr.engine._execute(AboutMeBean._path,'AboutMeBean','getPrimarySchoolNamesByProvinceCity',p0,p1,callback);
1413}
1414AboutMeBean.getKitSchoolCitiesByProvince=function(p0,callback){
1415dwr.engine._execute(AboutMeBean._path,'AboutMeBean','getKitSchoolCitiesByProvince',p0,callback);
1416}
1417AboutMeBean.getKitSchoolNamesByProvinceCity=function(p0,p1,callback){
1418dwr.engine._execute(AboutMeBean._path,'AboutMeBean','getKitSchoolNamesByProvinceCity',p0,p1,callback);
1419}
1420AboutMeBean.getCityHighSchools=function(p0,callback){
1421dwr.engine._execute(AboutMeBean._path,'AboutMeBean','getCityHighSchools',p0,callback);
1422}
1423AboutMeBean.getHighSchoolRegionByCity=function(p0,callback){
1424dwr.engine._execute(AboutMeBean._path,'AboutMeBean','getHighSchoolRegionByCity',p0,callback);
1425}
1426AboutMeBean.getHighSchoolNamesByCityRegion=function(p0,p1,callback){
1427dwr.engine._execute(AboutMeBean._path,'AboutMeBean','getHighSchoolNamesByCityRegion',p0,p1,callback);
1428}
1429AboutMeBean.getProColleges=function(p0,callback){
1430dwr.engine._execute(AboutMeBean._path,'AboutMeBean','getProColleges',p0,callback);
1431}
1432AboutMeBean.getCollegeNamesByProvince=function(p0,callback){
1433dwr.engine._execute(AboutMeBean._path,'AboutMeBean','getCollegeNamesByProvince',p0,callback);
1434}
1435AboutMeBean.getDepartmentsByProCollege=function(p0,p1,callback){
1436dwr.engine._execute(AboutMeBean._path,'AboutMeBean','getDepartmentsByProCollege',p0,p1,callback);
1437}
1438AboutMeBean.updatePrivacyMap=function(p0,p1,callback){
1439dwr.engine._execute(AboutMeBean._path,'AboutMeBean','updatePrivacyMap',p0,p1,callback);
1440}
1441AboutMeBean.updateAboutMeForMusic=function(p0,p1,p2,callback){
1442dwr.engine._execute(AboutMeBean._path,'AboutMeBean','updateAboutMeForMusic',p0,p1,p2,callback);
1443}
1444AboutMeBean.getSubRegionByProvinceCity=function(p0,p1,callback){
1445dwr.engine._execute(AboutMeBean._path,'AboutMeBean','getSubRegionByProvinceCity',p0,p1,callback);
1446}
1447AboutMeBean.getSubRegionByProvinceCityRegion=function(p0,p1,p2,callback){
1448dwr.engine._execute(AboutMeBean._path,'AboutMeBean','getSubRegionByProvinceCityRegion',p0,p1,p2,callback);
1449}
1450AboutMeBean.addUserDefineSchool=function(p0,p1,p2,p3,p4,p5,callback){
1451dwr.engine._execute(AboutMeBean._path,'AboutMeBean','addUserDefineSchool',p0,p1,p2,p3,p4,p5,callback);
1452}
1453AboutMeBean.passUserDefineSchool=function(p0,callback){
1454dwr.engine._execute(AboutMeBean._path,'AboutMeBean','passUserDefineSchool',p0,callback);
1455}
1456AboutMeBean.unpassUserDefineSchool=function(p0,callback){
1457dwr.engine._execute(AboutMeBean._path,'AboutMeBean','unpassUserDefineSchool',p0,callback);
1458}
1459AboutMeBean.synchSchoolInfoFromActivity=function(p0,callback){
1460dwr.engine._execute(AboutMeBean._path,'AboutMeBean','synchSchoolInfoFromActivity',p0,callback);
1461}
1462AboutMeBean.updateMoodStatus=function(p0,p1,callback){
1463dwr.engine._execute(AboutMeBean._path,'AboutMeBean','updateMoodStatus',p0,p1,callback);
1464}
1465AboutMeBean.updateCityShowStatus=function(p0,p1,callback){
1466dwr.engine._execute(AboutMeBean._path,'AboutMeBean','updateCityShowStatus',p0,p1,callback);
1467}
1468AboutMeBean.addAppProfile=function(p0,callback){
1469dwr.engine._execute(AboutMeBean._path,'AboutMeBean','addAppProfile',p0,callback);
1470}
1471AboutMeBean.updateAboutMe=function(p0,p1,callback){
1472dwr.engine._execute(AboutMeBean._path,'AboutMeBean','updateAboutMe',p0,p1,callback);
1473}
1474if(dwr==null)var dwr={};
1475if(dwr.engine==null)dwr.engine={};
1476if(DWREngine==null)var DWREngine=dwr.engine;
1477if(PollingBean==null)var PollingBean={};
1478if(MyMsgBean==null)var MyMsgBean={};
1479PollingBean._path='http://m.163.com/pl/dwr';
1480MyMsgBean._path='http://m.163.com/dwr';
1481PollingBean.pollingMsg=function(p0,p1,callback){
1482NEPlatform.DwrHook.Switch.shutDownHook();
1483dwr.engine._execute(PollingBean._path,'PollingBean','pollingMsg',p0,p1,callback);
1484}
1485MyMsgBean.updateLoadSysMsgTime=function(p0,callback){
1486dwr.engine._execute(MyMsgBean._path,'MyMsgBean','updateLoadSysMsgTime',p0,callback);
1487}
1488MyMsgBean.getUnReadSysMsgByUserType=function(p0,p1,callback){
1489dwr.engine._execute(MyMsgBean._path,'MyMsgBean','getUnReadSysMsgByUserType',p0,p1,callback);
1490}
1491if(dwr==null)var dwr={};
1492if(dwr.engine==null)dwr.engine={};
1493if(DWREngine==null)var DWREngine=dwr.engine;
1494if(NewsBean==null)var NewsBean={};
1495NewsBean._path='/dwr';
1496NewsBean.getAllOrderedNews=function(callback){
1497dwr.engine._execute(NewsBean._path,'NewsBean','getAllOrderedNews',callback);
1498}
1499NewsBean.updateNewsCode=function(p0,callback){
1500dwr.engine._execute(NewsBean._path,'NewsBean','updateNewsCode',p0,callback);
1501}
1502if(dwr==null)var dwr={};
1503if(dwr.engine==null)dwr.engine={};
1504if(DWREngine==null)var DWREngine=dwr.engine;
1505if(PlayerBean==null)var PlayerBean={};
1506PlayerBean._path='/dwr';
1507PlayerBean.setUserBean=function(p0,callback){
1508dwr.engine._execute(PlayerBean._path,'PlayerBean','setUserBean',p0,callback);
1509}
1510PlayerBean.getPlayerUserName=function(p0,p1,callback){
1511dwr.engine._execute(PlayerBean._path,'PlayerBean','getPlayerUserName',p0,p1,callback);
1512}
1513PlayerBean.activateRole=function(p0,p1,p2,callback){
1514dwr.engine._execute(PlayerBean._path,'PlayerBean','activateRole',p0,p1,p2,callback);
1515}
1516PlayerBean.activatePlayer=function(p0,p1,p2,p3,p4,callback){
1517dwr.engine._execute(PlayerBean._path,'PlayerBean','activatePlayer',p0,p1,p2,p3,p4,callback);
1518}
1519PlayerBean.getActivityService=function(callback){
1520dwr.engine._execute(PlayerBean._path,'PlayerBean','getActivityService',callback);
1521}
1522PlayerBean.setActivityService=function(p0,callback){
1523dwr.engine._execute(PlayerBean._path,'PlayerBean','setActivityService',p0,callback);
1524}
1525PlayerBean.getUserBean=function(callback){
1526dwr.engine._execute(PlayerBean._path,'PlayerBean','getUserBean',callback);
1527}
1528if(dwr==null)var dwr={};
1529if(dwr.engine==null)dwr.engine={};
1530if(DWREngine==null)var DWREngine=dwr.engine;
1531if(OpenModuleBean==null)var OpenModuleBean={};
1532OpenModuleBean._path='/dwr';
1533OpenModuleBean.deleteOpenModule=function(p0,callback){
1534dwr.engine._execute(OpenModuleBean._path,'OpenModuleBean','deleteOpenModule',p0,false,callback);
1535}
1536OpenModuleBean.updatePreference=function(p0,p1,callback){
1537dwr.engine._execute(OpenModuleBean._path,'OpenModuleBean','updatePreference',p0,p1,callback);
1538}
1539OpenModuleBean.createOpenModuleForVisitor=function(p0,callback){
1540dwr.engine._execute(OpenModuleBean._path,'OpenModuleBean','createOpenModuleForVisitor',p0,callback);
1541}
1542OpenModuleBean.processAjaxRequest=function(p0,p1,p2,p3,p4,callback){
1543dwr.engine._execute(OpenModuleBean._path,'OpenModuleBean','processAjaxRequest',p0,p1,p2,p3,p4,callback);
1544}
1545OpenModuleBean.loadOpenModuleContentByUrl=function(p0,p1,callback){
1546dwr.engine._execute(OpenModuleBean._path,'OpenModuleBean','loadOpenModuleContentByUrl',p0,p1,callback);
1547}
1548OpenModuleBean.loadOpenModuleMetaDataByUrl=function(p0,p1,callback){
1549dwr.engine._execute(OpenModuleBean._path,'OpenModuleBean','loadOpenModuleMetaDataByUrl',p0,p1,callback);
1550}
1551if(dwr==null)var dwr={};
1552if(dwr.engine==null)dwr.engine={};
1553if(DWREngine==null)var DWREngine=dwr.engine;
1554if(WidgetBean==null)var WidgetBean={};
1555WidgetBean._path='/dwr';
1556WidgetBean.getComments=function(p0,p1,p2,callback){
1557dwr.engine._execute(WidgetBean._path,'WidgetBean','getComments',p0,p1,p2,callback);
1558}
1559WidgetBean.addComment=function(p0,p1,p2,callback){
1560dwr.engine._execute(WidgetBean._path,'WidgetBean','addComment',p0,p1,p2,false,callback);
1561}
1562WidgetBean.republishWidget=function(p0,p1,callback){
1563dwr.engine._execute(WidgetBean._path,'WidgetBean','republishWidget',p0,p1,callback);
1564}
1565WidgetBean.deleteWidget=function(p0,p1,callback){
1566dwr.engine._execute(WidgetBean._path,'WidgetBean','deleteWidget',p0,p1,callback);
1567}
1568WidgetBean.createWidget=function(p0,p1,callback){
1569dwr.engine._execute(WidgetBean._path,'WidgetBean','createWidget',p0,p1,callback);
1570}
1571WidgetBean.getWidgetAuthor=function(p0,callback){
1572dwr.engine._execute(WidgetBean._path,'WidgetBean','getWidgetAuthor',p0,callback);
1573}
1574WidgetBean.notifyFriends=function(p0,callback){
1575dwr.engine._execute(WidgetBean._path,'WidgetBean','notifyFriends',p0,callback);
1576}
1577if(dwr==null)var dwr={};
1578if(dwr.engine==null)dwr.engine={};
1579if(DWREngine==null)var DWREngine=dwr.engine;
1580if(PepsiBean==null)var PepsiBean={};
1581PepsiBean._path='/dwr'
1582PepsiBean.isAlreadyApplied=function(p0,p1,callback){
1583dwr.engine._execute(PepsiBean._path,'PepsiBean','isAlreadyApplied',p0,p1,callback);
1584}
1585PepsiBean.applyPepsi=function(p0,p1,p2,p3,p4,callback){
1586dwr.engine._execute(PepsiBean._path,'PepsiBean','applyPepsi',p0,p1,p2,p3,p4,callback);
1587}
1588if(dwr==null)var dwr={};
1589if(dwr.engine==null)dwr.engine={};
1590if(DWREngine==null)var DWREngine=dwr.engine;
1591if(ManageBean==null)var ManageBean={};
1592ManageBean._path='/dwr';
1593if(dwr==null)var dwr={};
1594if(dwr.engine==null)dwr.engine={};
1595if(DWREngine==null)var DWREngine=dwr.engine;
1596if(MessagePollingBean==null)var MessagePollingBean={};
1597if(BlogMessageBean==null)var BlogMessageBean={};
1598if(MessageCenterBean==null)var MessageCenterBean={};
1599BlogMessageBean._path='/dwr';
1600BlogMessageBean._udDomain='http://ud.blog.163.com/';
1601MessagePollingBean._path='http://blog.163.com/msg/dwr';
1602MessageCenterBean._path='http://blog.163.com/msg/dwr';
1603BlogMessageBean.getAPCommentFrom163=function(p0,p1,p2,p3,callback){
1604dwr.engine.setRpcType(dwr.engine.ScriptTag);
1605dwr.engine._execute('http://photo.163.com/photo/dwrcross/'+p2+'/u/'+p3+'/dwr','CommentBean','getAPComm',p0,p1,p2,callback);
1606dwr.engine.setRpcType(dwr.engine.XMLHttpRequest);
1607}
1608MessagePollingBean.pollingNewMsg=function(p0,p1,callback){
1609NEPlatform.DwrHook.Switch.shutDownHook();
1610dwr.engine.setRpcType(dwr.engine.ScriptTag);
1611dwr.engine._execute(MessagePollingBean._path,'PollingBean','pollingNewMsg',p0,p1,callback);
1612dwr.engine.setRpcType(dwr.engine.XMLHttpRequest);
1613}
1614MessagePollingBean.getNewMsgCount=function(p0,p1,callback){
1615dwr.engine.setRpcType(dwr.engine.ScriptTag);
1616dwr.engine._execute(MessagePollingBean._path,'PollingBean','getNewMsgCount',p0,p1,callback);
1617dwr.engine.setRpcType(dwr.engine.XMLHttpRequest);
1618}
1619MessageCenterBean.sendUserMsg=function(p0,p1,callback){
1620dwr.engine._execute(MessageCenterBean._path,'MessageBean','sendUserMsg',p0,p1,callback);
1621}
1622MessageCenterBean.getUserRecvMsgCount=function(callback){
1623dwr.engine._execute(MessageCenterBean._path,'MessageBean','getUserRecvMsgCount',callback);
1624}
1625MessageCenterBean.getUserRecvMsg=function(p0,p1,callback){
1626dwr.engine._execute(MessageCenterBean._path,'MessageBean','getUserRecvMsg',p0,p1,callback);
1627}
1628MessageCenterBean.deleteUserRecvMsg=function(p0,callback){
1629dwr.engine._execute(MessageCenterBean._path,'MessageBean','deleteUserRecvMsg',p0,callback);
1630}
1631MessageCenterBean.deleteUserSentMsg=function(p0,callback){
1632dwr.engine._execute(MessageCenterBean._path,'MessageBean','deleteUserSentMsg',p0,callback);
1633}
1634MessageCenterBean.getUserSentMsgCount=function(callback){
1635dwr.engine._execute(MessageCenterBean._path,'MessageBean','getUserSentMsgCount',callback);
1636}
1637MessageCenterBean.getUserSentMsg=function(p0,p1,callback){
1638dwr.engine._execute(MessageCenterBean._path,'MessageBean','getUserSentMsg',p0,p1,callback);
1639}
1640MessageCenterBean.getCommentMsg=function(p0,p1,p2,callback){
1641dwr.engine._execute(MessageCenterBean._path,'MessageBean','getCommentMsg',p0,p1,p2,callback);
1642}
1643MessageCenterBean.getCommentMsgCount=function(p0,callback){
1644dwr.engine._execute(MessageCenterBean._path,'MessageBean','getCommentMsgCount',p0,callback);
1645}
1646MessageCenterBean.deleteCommentMsg=function(p0,p1,callback){
1647dwr.engine._execute(MessageCenterBean._path,'MessageBean','deleteCommentMsg',p0,p1,callback);
1648}
1649MessageCenterBean.getAlertMsg=function(p0,p1,p2,callback){
1650dwr.engine._execute(MessageCenterBean._path,'MessageBean','getAlertMsg',p0,p1,p2,callback);
1651}
1652MessageCenterBean.getAlertMsgCount=function(p0,callback){
1653dwr.engine._execute(MessageCenterBean._path,'MessageBean','getAlertMsgCount',p0,callback);
1654}
1655MessageCenterBean.deleteAlertMsg=function(p0,p1,callback){
1656dwr.engine._execute(MessageCenterBean._path,'MessageBean','deleteAlertMsg',p0,p1,callback);
1657}
1658MessageCenterBean.getMsgLoadTimeInfo=function(callback){
1659dwr.engine._execute(MessageCenterBean._path,'MessageBean','getMsgLoadTimeInfo',callback);
1660}
1661MessageCenterBean.getMsgHistoryCount=function(p0,callback){
1662dwr.engine._execute(MessageCenterBean._path,'MessageBean','getMsgHistoryCount',p0,callback);
1663}
1664MessageCenterBean.getUserMsgHistory=function(p0,p1,p2,callback){
1665dwr.engine._execute(MessageCenterBean._path,'MessageBean','getUserMsgHistory',p0,p1,p2,callback);
1666}
1667MessageCenterBean.replyMsg=function(p0,p1,p2,callback){
1668dwr.engine._execute(MessageCenterBean._path,'MessageBean','replyMsg',p0,p1,p2,callback);
1669}
1670MessageCenterBean.getNewBulletinCount=function(callback){
1671dwr.engine._execute(MessageCenterBean._path,'MessageBean','getNewBulletinCount',callback);
1672}
1673MessageCenterBean.getRecentBulletins=function(callback){
1674dwr.engine._execute(MessageCenterBean._path,'MessageBean','getRecentBulletins',callback);
1675}
1676MessageCenterBean.getTopBulletins=function(callback){
1677dwr.engine._execute(MessageCenterBean._path,'MessageBean','getTopBulletins',callback);
1678}
1679MessageCenterBean.clearMsgRecv=function(callback){
1680dwr.engine._execute(MessageCenterBean._path,'MessageBean','clearMsgRecv',callback);
1681}
1682MessageCenterBean.clearMsgSent=function(callback){
1683dwr.engine._execute(MessageCenterBean._path,'MessageBean','clearMsgSent',callback);
1684}
1685MessageCenterBean.clearAlertMsg=function(callback){
1686dwr.engine._execute(MessageCenterBean._path,'MessageBean','clearAlertMsg',callback);
1687}
1688MessageCenterBean.updateAlertRC=function(p0,p1,p2,callback){
1689dwr.engine._execute(MessageCenterBean._path,'MessageBean','updateAlertRC',p0,p1,p2,callback);
1690}
1691MessageCenterBean.addReplyComment=function(p0,p1,callback){
1692dwr.engine._execute(MessageCenterBean._path,'MessageBean','addReplyComment',p0,p1,callback);
1693}
1694MessageCenterBean.acceptFriend=function(p0,p1,p2,callback){
1695dwr.engine._execute(MessageCenterBean._path,'MessageBean','acceptFriend',p0,p1,p2,callback);
1696}
1697MessageCenterBean.rejectFriendInvite=function(p0,p1,callback){
1698dwr.engine._execute(MessageCenterBean._path,'MessageBean','rejectFriendInvite',p0,p1,callback);
1699}
1700MessageCenterBean.acceptCircleInvitation=function(p0,p1,callback){
1701dwr.engine._execute(MessageCenterBean._path,'MessageBean','acceptCircleInvitation',p0,p1,callback);
1702}
1703if(dwr==null)var dwr={};