public interface GoogleDriveService
| Modifier and Type | Field and Description |
|---|---|
static String |
ENDPOINT_AUTH |
static String |
ENDPOINT_CERTS |
static String |
ENDPOINT_TOKEN |
static List<String> |
fileFieldsToRequest |
static String |
GOOGLEDRIVE_APP_NAME |
static String |
GOOGLEDRIVE_CLIENT_ID |
static String |
GOOGLEDRIVE_CLIENT_SECRET |
static String |
GOOGLEDRIVE_ENABLED |
static String |
GOOGLEDRIVE_PREFIX |
static String |
GOOGLEDRIVE_REDIRECT_URI |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanGoogleDriveCacheForUser(String userId) |
InputStream |
downloadDriveFile(String userId,
String itemId) |
String |
formAuthenticationUrl() |
List<GoogleDriveItem> |
getDriveChildrenItems(String userId,
String itemId,
int depth) |
GoogleDriveItem |
getDriveItem(String userId,
String itemId) |
List<GoogleDriveItem> |
getDriveRootItems(String userId) |
GoogleDriveUser |
getGoogleDriveUser(String userId) |
boolean |
revokeGoogleDriveConfiguration(String userId) |
boolean |
token(String userId,
String code) |
static final String GOOGLEDRIVE_PREFIX
static final String GOOGLEDRIVE_ENABLED
static final String GOOGLEDRIVE_CLIENT_ID
static final String GOOGLEDRIVE_CLIENT_SECRET
static final String GOOGLEDRIVE_REDIRECT_URI
static final String GOOGLEDRIVE_APP_NAME
static final String ENDPOINT_AUTH
static final String ENDPOINT_CERTS
static final String ENDPOINT_TOKEN
String formAuthenticationUrl()
List<GoogleDriveItem> getDriveRootItems(String userId)
List<GoogleDriveItem> getDriveChildrenItems(String userId, String itemId, int depth)
GoogleDriveUser getGoogleDriveUser(String userId)
boolean revokeGoogleDriveConfiguration(String userId)
void cleanGoogleDriveCacheForUser(String userId)
GoogleDriveItem getDriveItem(String userId, String itemId)
InputStream downloadDriveFile(String userId, String itemId)
Copyright © 2003–2021 Sakai Project. All rights reserved.