public interface BaseStamp
| Modifier and Type | Method and Description |
|---|---|
StampImageSize |
calculateFlyImageDimensions(String uuid,
long imgToStampWidth,
long imgToStampHeight,
long floatingImageWidth,
long floatingImageHeight,
int pageNumber)
Calculate fly image dimensions stamp image size.
|
StampCoordinates |
calculateStampCoordinates(long imgToStampWidth,
long imgToStampHeight,
long floatingDivWidth,
long floatingDivHeight,
String exprX,
String exprY,
String stampType,
String stampAlign)
Calculate stamp coordinates stamp coordinates.
|
StampExpressions |
calculateStampExpressions(long imgToStampWidth,
long imgToStampHeight,
long posX,
long posY)
Calculate stamp expressions stamp expressions.
|
List<StampItem> |
getAllStamps()
Gets all stamps.
|
StampPersonalImage |
getPersonalStampImage(String uuid,
String imageUuid,
long id)
Gets personal stamp image.
|
List<Document> |
getPersonalStamps()
Gets personal stamps.
|
StampBarcode |
getStampBarcodeByPk(long id,
String uuid)
Gets stamp barcode by pk.
|
StampImage |
getStampImageByPk(long id,
String uuid)
Gets stamp image by pk.
|
StampText |
getStampTextByPk(long id,
String uuid)
Gets stamp text by pk.
|
void |
stampBarcode(String uuid,
long id)
Stamp barcode.
|
void |
stampImage(String uuid,
long id)
Stamp image.
|
void |
stampImageCustom(String uuid,
long stampImageId,
String exprX,
String exprY,
String range,
double ratio,
InputStream is)
Stamp image custom.
|
void |
stampImageManually(String uuid,
long id,
String exprX,
String exprY,
String range,
String personalStampUuid)
Stamp image manually.
|
void |
stampText(String uuid,
long id)
Stamp text.
|
void |
stampTextCustom(String uuid,
long stampTextId,
String text,
String exprX,
String exprY,
String range)
Stamp text custom.
|
List<StampItem> getAllStamps() throws AccessDeniedException, RepositoryException, DatabaseException, PathNotFoundException, WebserviceException, UnknownException, PrincipalAdapterException
AccessDeniedException - the access denied exceptionRepositoryException - the repository exceptionDatabaseException - the database exceptionPathNotFoundException - the path not found exceptionWebserviceException - the webservice exceptionUnknownException - the unknown exceptionPrincipalAdapterException - the principal adapter exceptionStampText getStampTextByPk(long id, String uuid) throws AccessDeniedException, RepositoryException, DatabaseException, PathNotFoundException, WebserviceException, UnknownException, PrincipalAdapterException
id - the iduuid - the uuidAccessDeniedException - the access denied exceptionRepositoryException - the repository exceptionDatabaseException - the database exceptionPathNotFoundException - the path not found exceptionWebserviceException - the webservice exceptionUnknownException - the unknown exceptionPrincipalAdapterException - the principal adapter exceptionStampImage getStampImageByPk(long id, String uuid) throws AccessDeniedException, RepositoryException, DatabaseException, PathNotFoundException, WebserviceException, UnknownException, PrincipalAdapterException
id - the iduuid - the uuidAccessDeniedException - the access denied exceptionRepositoryException - the repository exceptionDatabaseException - the database exceptionPathNotFoundException - the path not found exceptionWebserviceException - the webservice exceptionUnknownException - the unknown exceptionPrincipalAdapterException - the principal adapter exceptionStampBarcode getStampBarcodeByPk(long id, String uuid) throws AccessDeniedException, RepositoryException, DatabaseException, PathNotFoundException, WebserviceException, UnknownException, PrincipalAdapterException
id - the iduuid - the uuidAccessDeniedException - the access denied exceptionRepositoryException - the repository exceptionDatabaseException - the database exceptionPathNotFoundException - the path not found exceptionWebserviceException - the webservice exceptionUnknownException - the unknown exceptionPrincipalAdapterException - the principal adapter exceptionStampCoordinates calculateStampCoordinates(long imgToStampWidth, long imgToStampHeight, long floatingDivWidth, long floatingDivHeight, String exprX, String exprY, String stampType, String stampAlign) throws AccessDeniedException, RepositoryException, DatabaseException, PathNotFoundException, WebserviceException, UnknownException, PrincipalAdapterException
imgToStampWidth - the img to stamp widthimgToStampHeight - the img to stamp heightfloatingDivWidth - the floating div widthfloatingDivHeight - the floating div heightexprX - the expr xexprY - the expr ystampType - the stamp typestampAlign - the stamp alignAccessDeniedException - the access denied exceptionRepositoryException - the repository exceptionDatabaseException - the database exceptionPathNotFoundException - the path not found exceptionWebserviceException - the webservice exceptionUnknownException - the unknown exceptionPrincipalAdapterException - the principal adapter exceptionStampExpressions calculateStampExpressions(long imgToStampWidth, long imgToStampHeight, long posX, long posY) throws AccessDeniedException, RepositoryException, DatabaseException, PathNotFoundException, WebserviceException, UnknownException, PrincipalAdapterException
imgToStampWidth - the img to stamp widthimgToStampHeight - the img to stamp heightposX - the pos xposY - the pos yAccessDeniedException - the access denied exceptionRepositoryException - the repository exceptionDatabaseException - the database exceptionPathNotFoundException - the path not found exceptionWebserviceException - the webservice exceptionUnknownException - the unknown exceptionPrincipalAdapterException - the principal adapter exceptionvoid stampText(String uuid, long id) throws AccessDeniedException, RepositoryException, DatabaseException, PathNotFoundException, WebserviceException, UnknownException, PrincipalAdapterException, ItemExistsException
uuid - the uuidid - the idAccessDeniedException - the access denied exceptionRepositoryException - the repository exceptionDatabaseException - the database exceptionPathNotFoundException - the path not found exceptionWebserviceException - the webservice exceptionUnknownException - the unknown exceptionPrincipalAdapterException - the principal adapter exceptionItemExistsException - the item exists exceptionvoid stampImage(String uuid, long id) throws AccessDeniedException, RepositoryException, DatabaseException, PathNotFoundException, WebserviceException, UnknownException, PrincipalAdapterException, ItemExistsException
uuid - the uuidid - the idAccessDeniedException - the access denied exceptionRepositoryException - the repository exceptionDatabaseException - the database exceptionPathNotFoundException - the path not found exceptionWebserviceException - the webservice exceptionUnknownException - the unknown exceptionPrincipalAdapterException - the principal adapter exceptionItemExistsException - the item exists exceptionvoid stampBarcode(String uuid, long id) throws AccessDeniedException, RepositoryException, DatabaseException, PathNotFoundException, WebserviceException, UnknownException, PrincipalAdapterException, ItemExistsException
uuid - the uuidid - the idAccessDeniedException - the access denied exceptionRepositoryException - the repository exceptionDatabaseException - the database exceptionPathNotFoundException - the path not found exceptionWebserviceException - the webservice exceptionUnknownException - the unknown exceptionPrincipalAdapterException - the principal adapter exceptionItemExistsException - the item exists exceptionvoid stampImageManually(String uuid, long id, String exprX, String exprY, String range, String personalStampUuid) throws AccessDeniedException, RepositoryException, DatabaseException, PathNotFoundException, WebserviceException, UnknownException, PrincipalAdapterException, ItemExistsException
uuid - the uuidid - the idexprX - the expr xexprY - the expr yrange - the rangepersonalStampUuid - the personal stamp uuidAccessDeniedException - the access denied exceptionRepositoryException - the repository exceptionDatabaseException - the database exceptionPathNotFoundException - the path not found exceptionWebserviceException - the webservice exceptionUnknownException - the unknown exceptionPrincipalAdapterException - the principal adapter exceptionItemExistsException - the item exists exceptionvoid stampTextCustom(String uuid, long stampTextId, String text, String exprX, String exprY, String range) throws AccessDeniedException, RepositoryException, DatabaseException, WebserviceException, UnknownException, PrincipalAdapterException, ItemExistsException
uuid - the uuidstampTextId - the stamp text idtext - the textexprX - the expr xexprY - the expr yrange - the range*AccessDeniedException - the access denied exceptionRepositoryException - the repository exceptionDatabaseException - the database exceptionWebserviceException - the webservice exceptionUnknownException - the unknown exceptionPrincipalAdapterException - the principal adapter exceptionItemExistsException - the item exists exceptionvoid stampImageCustom(String uuid, long stampImageId, String exprX, String exprY, String range, double ratio, InputStream is) throws AccessDeniedException, RepositoryException, DatabaseException, PathNotFoundException, WebserviceException, UnknownException, PrincipalAdapterException, ItemExistsException
uuid - the uuidstampImageId - the stamp image idexprX - the expr xexprY - the expr yrange - the rangeratio - the ratiois - the isAccessDeniedException - the access denied exceptionRepositoryException - the repository exceptionDatabaseException - the database exceptionPathNotFoundException - the path not found exceptionWebserviceException - the webservice exceptionUnknownException - the unknown exceptionPrincipalAdapterException - the principal adapter exceptionItemExistsException - the item exists exceptionStampImageSize calculateFlyImageDimensions(String uuid, long imgToStampWidth, long imgToStampHeight, long floatingImageWidth, long floatingImageHeight, int pageNumber) throws AccessDeniedException, RepositoryException, DatabaseException, PathNotFoundException, WebserviceException, UnknownException, PrincipalAdapterException
uuid - the uuidimgToStampWidth - the img to stamp widthimgToStampHeight - the img to stamp heightfloatingImageWidth - the floating image widthfloatingImageHeight - the floating image heightpageNumber - the page numberAccessDeniedException - the access denied exceptionRepositoryException - the repository exceptionDatabaseException - the database exceptionPathNotFoundException - the path not found exceptionWebserviceException - the webservice exceptionUnknownException - the unknown exceptionPrincipalAdapterException - the principal adapter exceptionList<Document> getPersonalStamps() throws AccessDeniedException, RepositoryException, DatabaseException, PathNotFoundException, WebserviceException, UnknownException, PrincipalAdapterException
AccessDeniedException - the access denied exceptionRepositoryException - the repository exceptionDatabaseException - the database exceptionPathNotFoundException - the path not found exceptionWebserviceException - the webservice exceptionUnknownException - the unknown exceptionPrincipalAdapterException - the principal adapter exceptionStampPersonalImage getPersonalStampImage(String uuid, String imageUuid, long id) throws AccessDeniedException, RepositoryException, DatabaseException, PathNotFoundException, WebserviceException, UnknownException, PrincipalAdapterException
uuid - the uuidimageUuid - the image uuidid - the idAccessDeniedException - the access denied exceptionRepositoryException - the repository exceptionDatabaseException - the database exceptionPathNotFoundException - the path not found exceptionWebserviceException - the webservice exceptionUnknownException - the unknown exceptionPrincipalAdapterException - the principal adapter exceptionCopyright © 2024 Open Knowledge Management System S.L.. All Rights Reserved.