DocumentsQuery
Object Hierarchy:
Description:
[ CCode ( type_id = "gdata_documents_query_get_type ()" ) ]
[ Version ( since = "0.4.0" ) ]
public class DocumentsQuery : Query
[ Version ( since = "0.4.0" ) ]
public class DocumentsQuery : Query
All the fields in the DocumentsQuery structure are private and should never be accessed directly.
Namespace: GData
Package: libgdata
Content:
Properties:
- public bool exact_title { get; set; }
Specifies whether the query should search for an exact title match for the title parameter.
- public string folder_id { get; set; }
Specifies the ID of the folder in which to search.
- public bool show_deleted { get; set; }
A shortcut to request all documents that have been deleted.
- public bool show_folders { get; set; }
Specifies if the request also returns folders.
- public string title { owned get; set; }
A title (or title fragment) to be searched for.
Creation methods:
- public DocumentsQuery (string? q)
Creates a new DocumentsQuery with its q property set to
q
. - public DocumentsQuery.with_limits (string? q, uint start_index, uint max_results)
Creates a new DocumentsQuery with its q property set to
q
, and the limitsstart_index
andmax_results
applied.
Methods:
- public void add_collaborator (string email_address)
Add
email_address
as a GDEmailAddress to the list of collaborators whose edited documents will be queried. - public void add_reader (string email_address)
Add
email_address
as a GDEmailAddress to the list of readers, the documents readable by whom will be queried. - public unowned List<GDEmailAddress> get_collaborator_addresses ()
Gets a list of GDEmailAddresses of the document collaborators whose documents will be queried.
- public bool get_exact_title ()
Gets the exact_title property.
- public unowned string get_folder_id ()
Gets the folder_id property.
- public unowned List<GDEmailAddress> get_reader_addresses ()
Gets a list of GDEmailAddresses of the document readers whose documents will be queried.
- public unowned string get_title ()
Gets the title property.
- public void set_folder_id (string? folder_id)
Sets the folder_id property to
folder_id
. - public void set_show_deleted (bool show_deleted)
Sets the show_deleted property to
show_deleted
. - public void set_show_folders (bool show_folders)
Sets the show_folders property to show_folders.
- public void set_title (string? title, bool exact_title)
Sets the title property to
title
.
Inherited Members:
All known members inherited from class GData.Query
All known members inherited from class GLib.Object