public class WorkspaceRepository extends Object
| Constructor and Description |
|---|
WorkspaceRepository() |
| Modifier and Type | Method and Description |
|---|---|
static void |
changeWorkspacePermission(int userid,
String workspace,
String permission) |
static List<Integer> |
getWorkspaceAdminIds(String workspace) |
static int |
getWorkspaceCount(int userId,
String workspace,
String permission) |
static String |
getWorkspacePermissionType(int userId,
String workspace)
Returns the type of permission for a specific workspace.
|
static boolean |
isWorkspaceSecretValid(String workspace,
String workspaceSecret)
Confirm that a given secrect conforms with the server side workspace
secret.
|
public static void changeWorkspacePermission(int userid,
String workspace,
String permission)
throws SQLException,
IOException
SQLExceptionIOExceptionpublic static int getWorkspaceCount(int userId,
String workspace,
String permission)
public static String getWorkspacePermissionType(int userId, String workspace)
userId - workspace - Copyright © 2020. All rights reserved.