blob: 985143df42507d83549a1cf914129a6190362afb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
package com.c2kernel.entity.proxy;
import com.c2kernel.entity.C2KLocalObject;
public interface EntityProxyObserver
{
/**************************************************************************
* Subscribed items are broken apart and fed one by one to these methods.
* Replacement after an event is done by feeding the new memberbase with the same id.
* ID could be an XPath?
**************************************************************************/
public void add(C2KLocalObject contents);
/**************************************************************************
* the 'type' parameter should be an indication of the type of object
* supplied so that the subscriber can associate the call back with
* one of its subscriptions. If we go with an Xpath subscription form,
* then the id will probably be sufficient.
* Should be comparable (substring whatever) with the parameter given to
* the subscribe method of ItemProxy.
**************************************************************************/
public void remove(String id);
}
|