net.rim.device.api.unifiedsearch.content
Interface AppContentListener


public interface AppContentListener

Receives notifications about content management requests from the Unified Search Framework.

An application that publishes searchable content to the Unified Search Framework should implement this interface to receive updates regarding the status of requests. The application can take action when its content is inserted, updated, or deleted.

To publish data to the Unified Search Framework, see AppContentManager.

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 6.0.0

Method Summary
Category: Signed  void onDeleteComplete(int delCount)
          Called by the Unified Search Framework when a request to delete content is complete.
Category: Signed  void onInsertComplete(int insertCount)
          Called by the Unified Search Framework when a request to insert content is complete.
Category: Signed  void onUpdateComplete(int updCount)
          Called by the Unified Search Framework when a request to update content is complete.
 



Method Detail

onInsertComplete

void onInsertComplete(int insertCount)
Called by the Unified Search Framework when a request to insert content is complete. See AppContentManager for more details.

Parameters:
insertCount - The number of entries inserted.
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 6.0.0

onUpdateComplete

void onUpdateComplete(int updCount)
Called by the Unified Search Framework when a request to update content is complete. See AppContentManager for more details.

Parameters:
updCount - The number of entries updated.
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 6.0.0

onDeleteComplete

void onDeleteComplete(int delCount)
Called by the Unified Search Framework when a request to delete content is complete. See AppContentManager for more details.

Parameters:
delCount - The number of entries deleted.
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 6.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.