public interface ObjectItemAdapterInterface
Modifier and Type | Field and Description |
---|---|
static int |
typeASCII |
static int |
typeCSV |
static int |
typeFile |
static int |
typeStore |
static int |
typeXML |
Modifier and Type | Method and Description |
---|---|
void |
close()
Used to close (terminate) the object in the current context
|
void |
delete()
Used to delete the current object
|
void |
display()
Used to display the content
|
boolean |
forward(java.lang.Object receiver)
Forward object as copy.
|
boolean |
loadfrom(int type,
java.lang.Object obj,
java.lang.Object source)
Used to import an object to an from input stream
|
void |
move(java.lang.Object from,
java.lang.Object to)
Move content of object to another parent or leaf.
|
void |
print()
Print content of object...
|
void |
read(int itemid)
Used to read/load the object of given unique itemid from a storage
|
void |
reply(boolean replyobject)
Reply a received object or send receive notification.
|
boolean |
save()
Used to save the object using the context of the model how to save...
|
boolean |
saveas(int type,
java.lang.Object obj,
java.lang.Object target)
Used to save (export) the object to an output stream
|
void |
send(java.lang.Object receiver)
Send current object to given receiver.
|
boolean |
update()
Used to update the object...
|
static final int typeStore
static final int typeCSV
static final int typeXML
static final int typeFile
static final int typeASCII
void display()
void delete()
void close()
void read(int itemid)
itemid
- Use the unique id for each item to load itboolean update()
boolean save()
boolean saveas(int type, java.lang.Object obj, java.lang.Object target)
type
- obj
- target
- boolean loadfrom(int type, java.lang.Object obj, java.lang.Object source)
type
- to use a specific converterobj
- the object to store data in, e.g. ContactItemsource
- the source as an input stream objectvoid print()
void send(java.lang.Object receiver)
Receiver may be a single String, a StringArray or List
receiver
- void move(java.lang.Object from, java.lang.Object to)
from
- to
- boolean forward(java.lang.Object receiver)
receiver
- void reply(boolean replyobject)
The address to reply to will be exctracted from the object header. A reply will be send to the originator or sender of the object only due to security aspects.
replyobject
- - If 'true' reply object; otherwise a note only