|
| void | addContentProvider (ContentProviderSharedPtr provider, bool invalidate=true) |
| | Adds content provider to collection. More...
|
| |
| ContentProviderContainer::const_iterator | beginProviders () const |
| | Allows to iterate all contained providers. More...
|
| |
| | ContentProviderCollection (WorkQueueInterface *workQueue, AbstractServiceSharedPtr owningService) |
| | Constructor. More...
|
| |
| ContentProviderContainer::const_iterator | endProviders () const |
| | Allows to iterate all contained providers. More...
|
| |
| virtual size_t | getSubProviderCount () KZ_OVERRIDE |
| |
| virtual ContentProviderDescriptionSharedPtr | getSubProviderDescription (size_t index) KZ_OVERRIDE |
| |
| virtual void | query (ContentQueryArgumentsSharedPtr args, ContentQuerySharedPtr contentQuery) KZ_OVERRIDE |
| |
| void | removeContentProvider (ContentProviderSharedPtr provider, bool invalidate=true) |
| | Removes content provider from this collection. More...
|
| |
| virtual | ~ContentProviderCollection () |
| |
| void | addObserver (Observer *observer) |
| | Adds new observer for this instance. More...
|
| |
| void | addSubscription (ContentSubscriptionSharedPtr subscription) |
| | Adds new subscription to this instance. More...
|
| |
| | ContentProvider (WorkQueueInterface *workQueue, AbstractServiceSharedPtr owningService) |
| | Constructor. More...
|
| |
| | ContentProvider (WorkQueueInterface *workQueue) |
| | Constructor. More...
|
| |
| vector< ContentSubscriptionSharedPtr > | getAllSubscriptions () const |
| | Retrieves all subscriptions for this provider. More...
|
| |
| AbstractServiceSharedPtr | getOwningService () |
| | Retrieves the service this content provider is bound to. More...
|
| |
| AbstractSessionSharedPtr | getOwningSession () const |
| | Retrieve the session that owns this content provider. More...
|
| |
| const string & | getSchema () const |
| | Retrieve the Schema. More...
|
| |
| ContentSubscriptionSharedPtr | getSubscription (shared_ptr< ContentServiceConcept::Session > session) const |
| | Retrieves content subscription for given session. More...
|
| |
| const string & | getUri () const |
| | Retrieve the URI. More...
|
| |
| bool | hasSchema () const |
| | Determines whether this particular content provider has schema defined. More...
|
| |
| virtual void | initialize () |
| | Called by the Content Service. Initializes this instance. More...
|
| |
| void | invalidate (const string &uri, int reason, int beginRow=0, int endRow=-1) |
| | Invalidates the content and causes subscribed clients to refresh their data completely. More...
|
| |
| void | invalidateEx (const string &uri, int reason, int beginRow=0, int endRow=-1) |
| | Invalidates the content and causes subscribed clients to refresh their data completely. More...
|
| |
| void | notifyChangedEx (const string &uri=string()) |
| | Informs that specific URI is changed. More...
|
| |
| void | releaseAllSubscriptions () |
| | Releases all subscriptions from this instance. More...
|
| |
| void | removeObserver (Observer *observer) |
| | Removes observer from this instance. More...
|
| |
| void | removeSubscription (const ContentSubscription &subscription) |
| | Removes subscription from this instance. More...
|
| |
| void | setOwningService (AbstractServiceSharedPtr service) |
| | Sets the owning service. More...
|
| |
| void | setOwningSession (AbstractSessionSharedPtr session) |
| | Store the owning session. More...
|
| |
| void | setSchema (const string &schema) |
| | Save the Schema (xml). More...
|
| |
| void | setUri (const string &uri) |
| | Save the URI. More...
|
| |
| virtual void | uninitialize () |
| | Called by the Content Service. Un-initializes this instance. More...
|
| |
| virtual void | work () |
| | Called by the Content Service. Allows this instance to perform work such as push data from external threads to content system or procedurally generate data. More...
|
| |
| virtual | ~ContentProvider () |
| | Destructor. More...
|
| |
A content provider type, that hosts other Content Providers.
Makes it possible to attach / detach content providers in to content database. Whenever this class receives a query, it automatically propagates it to all contained Content Providers and merges their results as one.