X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2FTizen.Pims.Contacts%2FTizen.Pims.Contacts%2FContactsQuery.cs;h=4676a9db52e7129c2e2a68b9f49949efabca50b3;hb=refs%2Ftags%2Faccepted%2Ftizen%2F4.0%2Funified%2F20170926.062414;hp=4bb4efd2ce782d621a28b5e5d99ce1cb04ac1c41;hpb=9c790874b21dfd0b0660606f9a15de28ed1fd12f;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git
diff --git a/src/Tizen.Pims.Contacts/Tizen.Pims.Contacts/ContactsQuery.cs b/src/Tizen.Pims.Contacts/Tizen.Pims.Contacts/ContactsQuery.cs
index 4bb4efd..4676a9d 100644
--- a/src/Tizen.Pims.Contacts/Tizen.Pims.Contacts/ContactsQuery.cs
+++ b/src/Tizen.Pims.Contacts/Tizen.Pims.Contacts/ContactsQuery.cs
@@ -26,6 +26,7 @@ namespace Tizen.Pims.Contacts
/// A query is used to retrieve person, group, speed dial, and log data which satisfies a given criteria, such as an integer property being greater than a given value, or a string property containing a given substring.
/// A query needs a filter which can set the conditions for the search.
///
+ /// 4
public class ContactsQuery : IDisposable
{
internal IntPtr _queryHandle;
@@ -34,9 +35,11 @@ namespace Tizen.Pims.Contacts
/// Creates a query.
///
/// The view URI of a query
- /// Thrown when an invoked method is not supported
+ /// http://tizen.org/feature/contact
+ /// Thrown when feature is not supported
/// Thrown when one of the arguments provided to a method is not valid
/// Thrown when failed due to out of memory
+ /// 4
[SuppressMessage("Microsoft.Design", "CA1054:UriParametersShouldNotBeStrings")]
public ContactsQuery(string viewUri)
{
@@ -56,6 +59,7 @@ namespace Tizen.Pims.Contacts
///
/// Destructor
///
+ /// 4
~ContactsQuery()
{
Dispose(false);
@@ -67,6 +71,7 @@ namespace Tizen.Pims.Contacts
/// Releases all resources used by the ContactsQuery.
///
/// Disposing by User
+ /// 4
protected virtual void Dispose(bool disposing)
{
if (disposing)
@@ -92,6 +97,7 @@ namespace Tizen.Pims.Contacts
/// Releases all resources used by the ContactsQuery.
/// It should be called after finished using of the object.
///
+ /// 4
public void Dispose()
{
Dispose(true);
@@ -103,7 +109,10 @@ namespace Tizen.Pims.Contacts
/// Adds property IDs for projection.
///
/// The property ID array
+ /// http://tizen.org/feature/contact
+ /// Thrown when feature is not supported
/// Thrown when one of the arguments provided to a method is not valid
+ /// 4
public void SetProjection(uint[] propertyIdArray)
{
if (propertyIdArray == null)
@@ -123,6 +132,9 @@ namespace Tizen.Pims.Contacts
/// Sets the "distinct" option for projection.
///
/// If true it is set, otherwise if false it is unset
+ /// http://tizen.org/feature/contact
+ /// Thrown when feature is not supported
+ /// 4
public void SetDistinct(bool set)
{
int error = Interop.Query.ContactsQuerySetDistinct(_queryHandle, set);
@@ -137,7 +149,10 @@ namespace Tizen.Pims.Contacts
/// Sets the filter for a query.
///
/// The filter
+ /// http://tizen.org/feature/contact
+ /// Thrown when feature is not supported
/// Thrown when one of the arguments provided to a method is not valid
+ /// 4
public void SetFilter(ContactsFilter filter)
{
int error = Interop.Query.ContactsQuerySetFilter(_queryHandle, filter._filterHandle);
@@ -153,7 +168,10 @@ namespace Tizen.Pims.Contacts
///
/// The property ID to sort
/// If true it sorts in the ascending order, otherwise if false it sorts in the descending order
+ /// http://tizen.org/feature/contact
+ /// Thrown when feature is not supported
/// Thrown when one of the arguments provided to a method is not valid
+ /// 4
public void SetSort(uint propertyId, bool isAscending)
{
int error = Interop.Query.ContactsQuerySetSort(_queryHandle, propertyId, isAscending);