| Package | Description |
|---|---|
| com.openkm.sdk4j.definition | |
| com.openkm.sdk4j.impl |
| Modifier and Type | Method and Description |
|---|---|
void |
BaseAuth.assignRole(String userId,
String roleId)
Method to assign a role
|
void |
BaseAuth.createRole(String roleId,
boolean active)
Method to create a new role
|
void |
BaseAuth.createUser(String userId,
String password,
String email,
String name,
boolean active)
Method to create a new user
|
void |
BaseBookmark.deleteBookmark(int bookmarkId)
Remove a bookmark.
|
void |
BaseAuth.deleteRole(String roleId)
Method to create a delete a role
|
void |
BaseAuth.deleteUser(String userId)
Method to delete a user
|
String |
BaseAuth.disable2FA()
Disable 2FA
|
void |
BaseDocument.forceCancelCheckout(String uuid)
Force to cancel a previous checked out state in a document.
|
String |
BaseAuth.generate2FASecret()
Generate 2FA secret
|
int |
BaseDocument.getNumberOfPages(String uuid)
Get the number of pages of a document.
|
String |
BaseDocument.getPageAsImage(String uuid,
int pageNumber,
int maxWidth,
int maxHeight)
Get page as image.
|
List<Profile> |
BaseAuth.getProfiles(boolean filterByActive)
Get all profiles
|
List<String> |
BaseAuth.getRoles(boolean showAll)
Retrieves a list of repository roles.
|
List<String> |
BaseAuth.getRolesByUser(String userId)
Retrieves a list of roles by user.
|
InputStream |
BaseAuth.getTwoFactorQR(String secret)
Get 2FA
|
CommonUser |
BaseAuth.getUser(String userId)
Retrieve information of a given user
|
List<Bookmark> |
BaseBookmark.getUserBookmarks()
Retrive an user bookmark collection.
|
Profile |
BaseAuth.getUserProfile(String userId)
Get user profile
|
List<CommonUser> |
BaseAuth.getUsers(boolean showAll)
Retrieve information of a given user
|
List<CommonUser> |
BaseAuth.getUsersByRole(String roleId)
Retrieves a list of users by role.
|
String |
BaseAuth.getUserToken(String userId)
Get user token
|
boolean |
BaseAuth.isAdmin()
Is admin
|
void |
BaseAuth.removeRole(String userId,
String roleId)
Method to remove a role
|
void |
BaseBookmark.renameBookmark(int bookmarkId,
String name)
Rename a previous stored bookmark.
|
void |
BaseAuth.setUserProfile(String userId,
long profileId)
Set the user profile
|
void |
BaseAuth.updateRole(String roleId,
boolean active)
Update role information
|
void |
BaseAuth.updateUser(String userId,
String password,
String email,
String name,
boolean active)
Update user information
|
String |
BaseAuth.validate2FAAndSaveSecret(String secret,
int code)
Validate 2FA and save secret
|
String |
BaseAuth.verify2FACode(int code)
Verify 2FA code
|
| Modifier and Type | Method and Description |
|---|---|
void |
AuthImpl.assignRole(String userId,
String roleId) |
void |
AuthImpl.createRole(String roleId,
boolean active) |
void |
AuthImpl.createUser(String userId,
String password,
String email,
String name,
boolean active) |
void |
BookmarkImpl.deleteBookmark(int bookmarkId) |
void |
AuthImpl.deleteRole(String roleId) |
void |
AuthImpl.deleteUser(String userId) |
String |
AuthImpl.disable2FA() |
void |
DocumentImpl.forceCancelCheckout(String uuid) |
String |
AuthImpl.generate2FASecret() |
int |
DocumentImpl.getNumberOfPages(String uuid) |
String |
DocumentImpl.getPageAsImage(String uuid,
int pageNumber,
int maxWidth,
int maxHeight) |
List<Profile> |
AuthImpl.getProfiles(boolean filterByActive) |
List<String> |
AuthImpl.getRoles(boolean showAll) |
List<String> |
AuthImpl.getRolesByUser(String userId) |
InputStream |
AuthImpl.getTwoFactorQR(String secret) |
CommonUser |
AuthImpl.getUser(String userId) |
List<Bookmark> |
BookmarkImpl.getUserBookmarks() |
Profile |
AuthImpl.getUserProfile(String userId) |
List<CommonUser> |
AuthImpl.getUsers(boolean showAll) |
List<CommonUser> |
AuthImpl.getUsersByRole(String roleId) |
String |
AuthImpl.getUserToken(String userId) |
boolean |
AuthImpl.isAdmin() |
void |
AuthImpl.removeRole(String userId,
String roleId) |
void |
BookmarkImpl.renameBookmark(int bookmarkId,
String name) |
void |
AuthImpl.setUserProfile(String userId,
long profileId) |
void |
AuthImpl.updateRole(String roleId,
boolean active) |
void |
AuthImpl.updateUser(String userId,
String password,
String email,
String name,
boolean active) |
String |
AuthImpl.validate2FAAndSaveSecret(String secret,
int code) |
String |
AuthImpl.verify2FACode(int code) |
Copyright © 2025 Open Knowledge Management System S.L.. All Rights Reserved.