DocsView.setOwnedByMe yöntemi
Dokümanları, kullanıcıya ait olup olmadığına veya kullanıcıyla paylaşılıp paylaşılmadığına göre filtreler. Bu ayarı setIncludeFolders
ile birlikte kullanmayın. setIncludeFolders(true)
ayarlandığında setOwnedByMe
yoksayılır.
Bu seçeneği ayarlamazsanız paylaşılan dokümanlar da dahil olmak üzere tüm dokümanlar görünümde gösterilir.
İmza
setOwnedByMe(me: boolean): DocsView;
Ayrıntılar
İsteğe bağlı |
Hayır |
Final |
Hayır |
Korumalı |
Hayır |
Statik |
Hayır |
Parametreler
Ad |
Tür |
İsteğe bağlı |
Açıklama |
me |
boolean |
Hayır |
|
İadeler
DocsView
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2024-11-08 UTC.
[null,null,["Son güncelleme tarihi: 2024-11-08 UTC."],[[["Filters documents in the view based on ownership (owned by the user or shared with them)."],["When `setIncludeFolders(true)` is used, the `setOwnedByMe` setting is disregarded."],["If this option is not configured, all documents, including shared ones, will be displayed."],["This method is not optional, final, protected, or static."],["Accepts a boolean parameter (`me`) to determine the filtering behavior and returns a DocsView object."]]],["This method filters documents displayed in the view. Setting `setOwnedByMe(true)` shows only user-owned documents; otherwise, shared documents are also included. This setting is overridden if `setIncludeFolders(true)` is set. The method requires a boolean parameter (`me`) to determine the filtering and returns a `DocsView` object. If not specified, all documents are included.\n"]]