net.rim.device.api.synchronization
Class OTASyncCapableSyncItem

java.lang.Object
  extended by net.rim.device.api.synchronization.SyncItem
      extended by net.rim.device.api.synchronization.OTASyncCapableSyncItem
All Implemented Interfaces:
CollectionEventSource, OTASyncCapable, SyncCollection, SyncCollectionSchemaProvider, SyncConverter, SyncObject

public abstract class OTASyncCapableSyncItem
extends SyncItem
implements OTASyncCapable, CollectionEventSource

An implementation of a syncCollection that can be synchronized or backed up - restored wirelessly.

Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 4.0.0

Constructor Summary
Category: Signed protected OTASyncCapableSyncItem()
           
 
Method Summary
Category: Signed  void addCollectionListener(Object listener)
          Registers a listener to receive collection events.
Category: Signed  void fireSyncItemUpdated()
          Notify any listeners on this SyncItem that the contents of the SyncItem has changed.
Category: Signed  SyncCollectionSchema getSchema()
          Get the schema for the SyncCollection.
Category: Signed  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

OTASyncCapableSyncItem

protected OTASyncCapableSyncItem()
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 4.0.0


Method Detail

fireSyncItemUpdated

public void fireSyncItemUpdated()
Notify any listeners on this SyncItem that the contents of the SyncItem has changed.

Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 4.0.0

getSchema

public SyncCollectionSchema getSchema()
Description copied from interface: SyncCollectionSchemaProvider
Get the schema for the SyncCollection.

Specified by:
getSchema in interface SyncCollectionSchemaProvider
Returns:
The schema for the sync collection.
See Also:
SyncCollectionSchemaProvider.getSchema()
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 4.0.0

addCollectionListener

public void addCollectionListener(Object listener)
Description copied from interface: CollectionEventSource
Registers a listener to receive collection events.

Specified by:
addCollectionListener in interface CollectionEventSource
Parameters:
listener - Object to register as a listener which must implement CollectionListener or one of its derived interfaces.
See Also:
CollectionEventSource.addCollectionListener(java.lang.Object)
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 4.0.0

removeCollectionListener

public void removeCollectionListener(Object listener)
Description copied from interface: CollectionEventSource
Removes a listener object from the list of those receiving events.

Specified by:
removeCollectionListener in interface CollectionEventSource
Parameters:
listener - Listener to remove.
See Also:
CollectionEventSource.removeCollectionListener(java.lang.Object)
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 4.0.0





Copyright 1999-2010 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Copyright 1993-2003 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark of Sun Microsystems, Inc.