|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.rim.device.api.synchronization.SyncItem
net.rim.device.api.synchronization.OTASyncCapableSyncItem
public abstract class OTASyncCapableSyncItem
An implementation of a syncCollection that can be synchronized or backed up - restored wirelessly.
Constructor Summary | ||
---|---|---|
|
protected |
OTASyncCapableSyncItem()
|
Method Summary | ||
---|---|---|
|
void |
addCollectionListener(Object listener)
Registers a listener to receive collection events. |
|
void |
fireSyncItemUpdated()
Notify any listeners on this SyncItem that the contents of the SyncItem has changed. |
|
SyncCollectionSchema |
getSchema()
Get the schema for the SyncCollection. |
|
void |
removeCollectionListener(Object listener)
Removes a listener object from the list of those receiving events. |
Methods inherited from class net.rim.device.api.synchronization.SyncItem |
---|
addSyncObject, beginTransaction, clearSyncObjectDirty, convert, convert, endTransaction, getSyncConverter, getSyncData, getSyncName, getSyncName, getSyncObject, getSyncObjectCount, getSyncObjects, getSyncVersion, getUID, isSyncObjectDirty, removeAllSyncObjects, removeSyncObject, setSyncData, setSyncObjectDirty, updateSyncObject |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface net.rim.device.api.synchronization.SyncCollection |
---|
getSyncName |
Constructor Detail |
---|
protected OTASyncCapableSyncItem()
Method Detail |
---|
public void fireSyncItemUpdated()
public SyncCollectionSchema getSchema()
SyncCollectionSchemaProvider
getSchema
in interface SyncCollectionSchemaProvider
SyncCollectionSchemaProvider.getSchema()
public void addCollectionListener(Object listener)
CollectionEventSource
addCollectionListener
in interface CollectionEventSource
listener
- Object to register as a listener which must implement
CollectionListener
or one of its derived interfaces.CollectionEventSource.addCollectionListener(java.lang.Object)
public void removeCollectionListener(Object listener)
CollectionEventSource
removeCollectionListener
in interface CollectionEventSource
listener
- Listener to remove.CollectionEventSource.removeCollectionListener(java.lang.Object)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 1999-2011 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Java is a trademark of Oracle America Inc. in the US and other countries.
Legal