KGAPI2::Drive::Teamdrive::Capabilities

Search for usage in LXR

KGAPI2::Drive::Teamdrive::Capabilities Class Reference

#include <teamdrive.h>

Public Member Functions

 Capabilities (const Capabilities &other)
 
bool canAddChildren () const
 
bool canChangeCopyRequiresWriterPermissionRestriction () const
 
bool canChangeDomainUsersOnlyRestriction () const
 
bool canChangeTeamDriveBackground () const
 
bool canChangeTeamMembersOnlyRestriction () const
 
bool canComment () const
 
bool canCopy () const
 
bool canDeleteChildren () const
 
bool canDeleteTeamDrive () const
 
bool canDownload () const
 
bool canEdit () const
 
bool canListChildren () const
 
bool canManageMembers () const
 
bool canReadRevisions () const
 
bool canRename () const
 
bool canRenameTeamDrive () const
 
bool canShare () const
 
bool canTrashChildren () const
 
bool operator!= (const Capabilities &other) const
 
bool operator== (const Capabilities &other) const
 

Detailed Description

DriveTeamdrive::Capabilities holds the structure used for capabilities property.

Definition at line 134 of file teamdrive.h.

Member Function Documentation

bool Teamdrive::Capabilities::canAddChildren ( ) const

Returns whether the current user can add children to folders in this Team Drive.

Definition at line 161 of file teamdrive.cpp.

bool Teamdrive::Capabilities::canChangeCopyRequiresWriterPermissionRestriction ( ) const

Returns whether the current user can change the copyRequiresWriterPermission restriction of this Team Drive.

Definition at line 166 of file teamdrive.cpp.

bool Teamdrive::Capabilities::canChangeDomainUsersOnlyRestriction ( ) const

Returns whether the current user can change the domainUsersOnly restriction of this Team Drive.

Definition at line 171 of file teamdrive.cpp.

bool Teamdrive::Capabilities::canChangeTeamDriveBackground ( ) const

Returns whether the current user can change the background of this Team Drive.

Definition at line 176 of file teamdrive.cpp.

bool Teamdrive::Capabilities::canChangeTeamMembersOnlyRestriction ( ) const

Returns whether the current user can change the teamMembersOnly restriction of this Team Drive.

Definition at line 181 of file teamdrive.cpp.

bool Teamdrive::Capabilities::canComment ( ) const

Returns Whether the current user can comment on files in this Team Drive.

Definition at line 186 of file teamdrive.cpp.

bool Teamdrive::Capabilities::canCopy ( ) const

Returns Whether the current user can copy files in this Team Drive.

Definition at line 191 of file teamdrive.cpp.

bool Teamdrive::Capabilities::canDeleteChildren ( ) const

Returns Whether the current user can delete children from folders in this Team Drive.

Definition at line 196 of file teamdrive.cpp.

bool Teamdrive::Capabilities::canDeleteTeamDrive ( ) const

Returns Whether the current user can delete this Team Drive.

Attempting to delete the Team Drive may still fail if there are untrashed items inside the Team Drive.

Definition at line 201 of file teamdrive.cpp.

bool Teamdrive::Capabilities::canDownload ( ) const

Returns Whether the current user can download files in this Team Drive.

Definition at line 206 of file teamdrive.cpp.

bool Teamdrive::Capabilities::canEdit ( ) const

Returns Whether the current user can edit files in this Team Drive.

Definition at line 211 of file teamdrive.cpp.

bool Teamdrive::Capabilities::canListChildren ( ) const

Returns Whether the current user can list the children of folders in this Team Drive.

Definition at line 216 of file teamdrive.cpp.

bool Teamdrive::Capabilities::canManageMembers ( ) const

Returns Whether the current user can add members to this Team Drive or remove them or change their role.

Definition at line 221 of file teamdrive.cpp.

bool Teamdrive::Capabilities::canReadRevisions ( ) const

Returns Whether the current user can read the revisions resource of files in this Team Drive.

Definition at line 226 of file teamdrive.cpp.

bool Teamdrive::Capabilities::canRename ( ) const

Returns Whether the current user can rename files or folders in this Team Drive.

Definition at line 231 of file teamdrive.cpp.

bool Teamdrive::Capabilities::canRenameTeamDrive ( ) const

Returns Whether the current user can rename this Team Drive.

Definition at line 236 of file teamdrive.cpp.

bool Teamdrive::Capabilities::canShare ( ) const

Returns Whether the current user can share files or folders in this Team Drive.

Definition at line 241 of file teamdrive.cpp.

bool Teamdrive::Capabilities::canTrashChildren ( ) const

Returns Whether the current user can trash children from folders in this Team Drive.

Definition at line 246 of file teamdrive.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Fri Jun 18 2021 23:10:49 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.