01: /*
02: ItsNat Java Web Application Framework
03: Copyright (C) 2007 Innowhere Software Services S.L., Spanish Company
04: Author: Jose Maria Arranz Santamaria
05:
06: This program is free software: you can redistribute it and/or modify
07: it under the terms of the GNU Affero General Public License as published by
08: the Free Software Foundation, either version 3 of the License, or
09: (at your option) any later version. See the GNU Affero General Public
10: License for more details. See the copy of the GNU Affero General Public License
11: included in this program. If not, see <http://www.gnu.org/licenses/>.
12: */
13:
14: package org.itsnat.impl.core.client;
15:
16: import org.itsnat.core.CometNotifier;
17: import org.itsnat.core.ItsNatException;
18: import org.itsnat.impl.core.ItsNatDocumentImpl;
19: import org.itsnat.impl.core.ItsNatSessionImpl;
20: import org.w3c.dom.events.Event;
21: import org.w3c.dom.events.EventException;
22: import org.w3c.dom.events.EventTarget;
23:
24: /**
25: * NO SE USA, es para el futuro, para ver donde encaja con el resto.
26: *
27: * De todas formas es cuestionable que haya que hacer una clase nueva
28: * para los posibles futuros co-propietarios, podrían ser directamente
29: * ClientDocumentOwnerImpl y ya está
30: *
31: * @author jmarranz
32: */
33: public class ClientDocumentCoOwnerImpl extends
34: ClientDocumentInvitedImpl {
35:
36: /** Creates a new instance of ClientDocumentCoOwnerImpl */
37: public ClientDocumentCoOwnerImpl(int syncMode, long ajaxTimeout,
38: ItsNatSessionImpl session, ItsNatDocumentImpl itsNatDoc) {
39: super (syncMode, ajaxTimeout, session, itsNatDoc);
40: }
41:
42: public CometNotifier createCometNotifier() {
43: // Ya veremos
44: throw new ItsNatException("INTERNAL ERROR");
45: }
46:
47: public CometNotifier createCometNotifier(long ajaxTimeout) {
48: // Ya veremos
49: throw new ItsNatException("INTERNAL ERROR");
50: }
51:
52: public boolean dispatchEvent(EventTarget target, Event evt,
53: int syncMode, long ajaxTimeout) throws EventException {
54: // Ya veremos
55: throw new ItsNatException("INTERNAL ERROR");
56: }
57:
58: public void startEventDispatcherThread(Runnable task) {
59: // Ya veremos
60: throw new ItsNatException("INTERNAL ERROR");
61: }
62:
63: }
|