class MLbtTriggerStore |
This M class defines the interface for the trigger stores.
The Trigger Store Managers must implement this interface to provide the store functionality.
TInt | CancelCurrentOperation | ( | ) | [pure virtual] |
The implementation of this method should cancel any ongoing async operation
void | CreateTriggerL | ( | CLbtContainerTriggerEntry & | aEntry, |
TRequestStatus & | aStatus | |||
) | [pure virtual] |
Creates a trigger in the trigger store in a asynchronous fashion. Once the creation is complete the client is signalled by completing its active object. The request staus of the active object will hold the error code which informs the client of the status of the creation.
CLbtContainerTriggerEntry & aEntry | reference to the trigger entry object that contains the trigger data which has to be created. |
TRequestStatus & aStatus | the clients request status |
void | DeleteTriggerL | ( | TLbtTriggerId | aTriggerId | ) | [pure virtual] |
Deletes a single trigger which matches the trigger id supplied
TLbtTriggerId aTriggerId | the id of the trigger which needs to be deleted |
void | DeleteTriggersL | ( | CLbtContainerUpdateFilter * | aFilter, |
TLbtSecurityPolicy & | aSecurityPolicy, | |||
TRequestStatus & | aStatus | |||
) | [pure virtual] |
Deletes multiple triggers based container update filter. All the trigger in the store that satisfy the supplied filter are deleted from the store.
CLbtContainerUpdateFilter * aFilter | the filter based on which the triggers are selected to be updated |
TLbtSecurityPolicy & aSecurityPolicy | |
TRequestStatus & aStatus | the clients active status |
TInt | GetCountOfEnabledAndValidTriggers | ( | ) | [pure virtual] |
Returns the count of all the enabled and valid triggers in the store.
void | GetTriggersL | ( | RArray < TLbtTriggerId > & | aTriggerIds, |
RPointerArray < CLbtContainerTriggerEntry > & | aTriggers, | |||
TLbtSecurityPolicy & | aSecurityPolicy, | |||
TRequestStatus & | aStatus | |||
) | [pure virtual] |
Used to retreive a specified list of triggers from the store. This triggers are specifed using an array of trigger ids.
RArray < TLbtTriggerId > & aTriggerIds | the array of trigger ids which need to be retreived |
RPointerArray < CLbtContainerTriggerEntry > & aTriggers | reference to the pointer array into which the trigger are retreived from the trigger store |
TLbtSecurityPolicy & aSecurityPolicy | the security policy that the triggers have to satisfy |
TRequestStatus & aStatus | the clients active status |
TBool | IsStoreBusy | ( | ) | [pure virtual] |
Method to check if the trigger store is busy. The store could be busy due to many reasons with the mail reason being compaction.
void | ListTriggersL | ( | CLbtContainerListOptions * | aFilter, |
RPointerArray < CLbtContainerTriggerEntry > & | aTriggers, | |||
TLbtSecurityPolicy & | aSecurityPolicy, | |||
TRequestStatus & | aStatus | |||
) | [pure virtual] |
Used to list trigger based on list options. The list options contains a filter based on which the trigger will be listed. The listing is done asynchronously
CLbtContainerListOptions * aFilter | the container list options which contains the filter based on which trigger are filtered in the trigger store |
RPointerArray < CLbtContainerTriggerEntry > & aTriggers | refernce to the pointer array into which the trigger are retreived from the trigger store and stored |
TLbtSecurityPolicy & aSecurityPolicy | |
TRequestStatus & aStatus | the clients active status |
void | SetStoreChangeObserver | ( | MLbtTriggerStoreObserver * | aObserver | ) | [pure virtual] |
Used to set the trigger store observer. The set observer will be notifed if any updation operation is preformed on the trigger store. The modification include creation, updation or deletion of any trigger
MLbtTriggerStoreObserver * aObserver |
void | SetTimeTillCompaction | ( | TTime | aTime | ) | [pure virtual] |
Used to set the time till when compaction is preferred. Over the time specified compaction should not happed in ideal cases. As and when compaction happens this time is check to see that compaction does not over shoot this time interval
TTime aTime | the time untill which compaction can proceed without effecting the system |
TTriggerTypeMask | SupportedTriggerTypes | ( | ) | [pure virtual] |
This method returns the types of triggers that are supported in this trigger store.
void | TriggersModified | ( | RArray < TLbtTriggerModifiedInfo > & | aArray | ) | [pure virtual] |
Function should append the information of the trigger that has been modfied by the latest operation
RArray < TLbtTriggerModifiedInfo > & aArray | the array of the client to which the trigger info should be appended |
void | UpdateTriggerFiredStateL | ( | RArray < TLbtTriggerId > & | aTriggerIds, |
TBool | aFireBool, | |||
TRequestStatus & | aStatus | |||
) | [pure virtual] |
Updates the fired state of multiple triggers specified by the trigger ids
RArray < TLbtTriggerId > & aTriggerIds | the array of trigger ids of which the validity have to be changed |
TBool aFireBool | the state to which the fired attributes has to be changed to |
TRequestStatus & aStatus | the clients active status |
void | UpdateTriggerL | ( | CLbtContainerTriggerEntry & | aEntry, |
TLbtTriggerDataMask | aDataMask, | |||
TLbtTriggerAttributeFieldsMask | aAttrMask, | |||
TLbtSecurityPolicy & | aSecurityPolicy, | |||
TRequestStatus & | aStatus | |||
) | [pure virtual] |
Updates the contents of a trigger in the trigger store based on masks. The trigger is searched in the trigger store based on the trigger id supplied in the trigger entry object. The masks define the trigger data members that need to be updated. This request is processed asychronously.
CLbtContainerTriggerEntry & aEntry | reference to the trigger entry object that contains the trigger data which has to be created. |
TLbtTriggerDataMask aDataMask | the data mask based on which the contents in the triggers dynamic info is updated. The masks are defined by enumeration TLbtTriggerDynamicInfo::TLbtDynamicInfoAttribute |
TLbtTriggerAttributeFieldsMask aAttrMask | the attribute mask based on which the atrributes of the trigger are updated. The masks are defined by enumeration CLbtTriggerEntry::TAttribute |
TLbtSecurityPolicy & aSecurityPolicy | |
TRequestStatus & aStatus | the clients active status |
void | UpdateTriggersStateL | ( | CLbtTriggerEntry::TLbtTriggerState | aState, |
CLbtContainerUpdateFilter * | aFilter, | |||
TLbtFireOnUpdate | aFireOnUpdate, | |||
TLbtSecurityPolicy & | aSecurityPolicy, | |||
TRequestStatus & | aStatus | |||
) | [pure virtual] |
Updates the state of multiple triggers based on container filter. This request is processed asychronously.
CLbtTriggerEntry::TLbtTriggerState aState | the state to which the triggers that fall in the filter needs to be to updated to |
CLbtContainerUpdateFilter * aFilter | the filter based on which the triggers are selected to be updated |
TLbtFireOnUpdate aFireOnUpdate | |
TLbtSecurityPolicy & aSecurityPolicy | |
TRequestStatus & aStatus | the clients active status |
void | UpdateTriggersValidityL | ( | TLbtTriggerDynamicInfo::TLbtTriggerValidity | aValidity, |
RArray < TLbtTriggerId > & | aTriggerIds, | |||
TLbtSecurityPolicy & | aSecurityPolicy, | |||
TRequestStatus & | aStatus | |||
) | [pure virtual] |
Updates the validity of multiple triggers specified by trigger ids.
TLbtTriggerDynamicInfo::TLbtTriggerValidity aValidity | the validity to which the triggers have to be changed to |
RArray < TLbtTriggerId > & aTriggerIds | the array of trigger ids of which the validity have to be changed |
TLbtSecurityPolicy & aSecurityPolicy | |
TRequestStatus & aStatus | the clients active status |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.