void |
BaseAuth.assignRole(String userId,
String roleId) |
Method to assign a role
|
StampImageSize |
BaseStamp.calculateFlyImageDimensions(String uuid,
long imgToStampWidth,
long imgToStampHeight,
long floatingImageWidth,
long floatingImageHeight,
int pageNumber) |
Calculate fly image dimensions stamp image size.
|
StampCoordinates |
BaseStamp.calculateStampCoordinates(long imgToStampWidth,
long imgToStampHeight,
long floatingDivWidth,
long floatingDivHeight,
String exprX,
String exprY,
String stampType,
String stampAlign) |
Calculate stamp coordinates stamp coordinates.
|
StampExpressions |
BaseStamp.calculateStampExpressions(long imgToStampWidth,
long imgToStampHeight,
long posX,
long posY) |
Calculate stamp expressions stamp expressions.
|
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.delete(long 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
|
boolean |
BasePdf.extract(String uuid,
String dstId,
String name,
List<Integer> pages) |
Extract boolean.
|
void |
BaseDocument.forceCancelCheckout(String uuid) |
Force to cancel a previous checked out state in a document.
|
String |
BaseAuth.generate2FASecret() |
Generate 2FA secret
|
List<StampItem> |
BaseStamp.getAllStamps() |
Gets all stamps.
|
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.
|
StampPersonalImage |
BaseStamp.getPersonalStampImage(String uuid,
String imageUuid,
long id) |
Gets personal stamp image.
|
List<Document> |
BaseStamp.getPersonalStamps() |
Gets personal stamps.
|
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.
|
StampBarcode |
BaseStamp.getStampBarcodeByPk(long id,
String uuid) |
Gets stamp barcode by pk.
|
StampImage |
BaseStamp.getStampImageByPk(long id,
String uuid) |
Gets stamp image by pk.
|
StampText |
BaseStamp.getStampTextByPk(long id,
String uuid) |
Gets stamp text by pk.
|
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 |
BasePdf.insertPages(String uuid,
String srcId,
int sourceFromPage,
int sourceToPage,
int insertFromPage) |
Insert pages boolean.
|
boolean |
BaseAuth.isAdmin() |
Is admin
|
String |
BaseDocument.mergePdf(String dstId,
String docName,
List<String> uuids) |
Merge PDF documents.
|
boolean |
BasePdf.remove(String uuid,
String dstId,
String name,
List<Integer> pages) |
Remove boolean.
|
void |
BaseAuth.removeRole(String userId,
String roleId) |
Method to remove a role
|
void |
BaseBookmark.rename(long bookmarkId,
String name) |
Rename a previous stored bookmark.
|
boolean |
BasePdf.rotate(String uuid,
String dstId,
String name,
Integer angle,
List<Integer> pages) |
Rotate boolean.
|
Document |
BaseDocument.saveAsPdf(String uuid,
String newName,
boolean propertyGroups,
boolean security) |
Save the document as PDF in the OpenKM repository.
|
Document |
BaseMail.saveAsPdf(String uuid,
String newName,
boolean propertyGroups,
boolean security) |
Save mail as pdf document.
|
void |
BaseAuth.setUserProfile(String userId,
long profileId) |
Set the user profile
|
boolean |
BasePdf.split(String uuid,
String dstId,
String baseName,
List<Integer> pages) |
Split boolean.
|
void |
BaseDocument.stamp(String uuid,
int type,
long stampId) |
Stamp.
|
void |
BaseStamp.stampBarcode(String uuid,
long id) |
Stamp barcode.
|
void |
BaseStamp.stampImage(String uuid,
long id) |
Stamp image.
|
void |
BaseStamp.stampImageCustom(String uuid,
long stampImageId,
String exprX,
String exprY,
String range,
double ratio,
InputStream is) |
Stamp image custom.
|
void |
BaseStamp.stampImageManually(String uuid,
long id,
String exprX,
String exprY,
String range,
String personalStampUuid) |
Stamp image manually.
|
void |
BaseStamp.stampText(String uuid,
long id) |
Stamp text.
|
void |
BaseStamp.stampTextCustom(String uuid,
long stampTextId,
String text,
String exprX,
String exprY,
String range) |
Stamp text custom.
|
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
|