public interface BasePdf
Modifier and Type | Method and Description |
---|---|
boolean |
extract(String uuid,
String dstId,
String name,
List<Integer> pages)
Extract boolean.
|
InputStream |
getImage(String uuid,
int page,
String size)
Gets image.
|
boolean |
remove(String uuid,
String dstId,
String name,
List<Integer> pages)
Remove boolean.
|
boolean |
rotate(String uuid,
String dstId,
String name,
Integer angle,
List<Integer> pages)
Rotate boolean.
|
boolean |
split(String uuid,
String dstId,
String baseName,
List<Integer> pages)
Split boolean.
|
InputStream getImage(String uuid, int page, String size) throws RepositoryException, AccessDeniedException, PathNotFoundException, DatabaseException, ConversionException, WebserviceException, UnknownException
uuid
- the uuidpage
- the pagesize
- the sizeRepositoryException
- the repository exceptionAccessDeniedException
- the access denied exceptionPathNotFoundException
- the path not found exceptionDatabaseException
- the database exceptionConversionException
- the conversion exceptionWebserviceException
- the webservice exceptionUnknownException
- the unknown exceptionboolean split(String uuid, String dstId, String baseName, List<Integer> pages) throws DatabaseException, RepositoryException, AccessDeniedException, PathNotFoundException, DocumentException, AutomationException, UnsupportedMimeTypeException, PrincipalAdapterException, ItemExistsException, VirusDetectedException, UnknownException, WebserviceException
uuid
- the uuiddstId
- the dst idbaseName
- the base namepages
- the pagesDatabaseException
- the database exceptionRepositoryException
- the repository exceptionAccessDeniedException
- the access denied exceptionPathNotFoundException
- the path not found exceptionDocumentException
- the document exceptionAutomationException
- the automation exceptionUnsupportedMimeTypeException
- the unsupported mime type exceptionPrincipalAdapterException
- the principal adapter exceptionItemExistsException
- the item exists exceptionVirusDetectedException
- the virus detected exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionboolean extract(String uuid, String dstId, String name, List<Integer> pages) throws DatabaseException, RepositoryException, AccessDeniedException, PathNotFoundException, DocumentException, AutomationException, UnsupportedMimeTypeException, PrincipalAdapterException, ItemExistsException, VirusDetectedException, UnknownException, WebserviceException
uuid
- the uuiddstId
- the dst idname
- the namepages
- the pagesDatabaseException
- the database exceptionRepositoryException
- the repository exceptionAccessDeniedException
- the access denied exceptionPathNotFoundException
- the path not found exceptionDocumentException
- the document exceptionAutomationException
- the automation exceptionUnsupportedMimeTypeException
- the unsupported mime type exceptionPrincipalAdapterException
- the principal adapter exceptionItemExistsException
- the item exists exceptionVirusDetectedException
- the virus detected exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionboolean remove(String uuid, String dstId, String name, List<Integer> pages) throws DatabaseException, IOException, RepositoryException, AccessDeniedException, PathNotFoundException, DocumentException, AutomationException, UnsupportedMimeTypeException, PrincipalAdapterException, ItemExistsException, VirusDetectedException, UnknownException, WebserviceException
uuid
- the uuiddstId
- the dst idname
- the namepages
- the pagesDatabaseException
- the database exceptionIOException
- the io exceptionRepositoryException
- the repository exceptionAccessDeniedException
- the access denied exceptionPathNotFoundException
- the path not found exceptionDocumentException
- the document exceptionAutomationException
- the automation exceptionUnsupportedMimeTypeException
- the unsupported mime type exceptionPrincipalAdapterException
- the principal adapter exceptionItemExistsException
- the item exists exceptionVirusDetectedException
- the virus detected exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionboolean rotate(String uuid, String dstId, String name, Integer angle, List<Integer> pages) throws DatabaseException, RepositoryException, AccessDeniedException, PathNotFoundException, DocumentException, AutomationException, UnsupportedMimeTypeException, PrincipalAdapterException, ItemExistsException, VirusDetectedException, UnknownException, WebserviceException
uuid
- the uuiddstId
- the dst idname
- the nameangle
- the anglepages
- the pagesDatabaseException
- the database exceptionRepositoryException
- the repository exceptionAccessDeniedException
- the access denied exceptionPathNotFoundException
- the path not found exceptionDocumentException
- the document exceptionAutomationException
- the automation exceptionUnsupportedMimeTypeException
- the unsupported mime type exceptionPrincipalAdapterException
- the principal adapter exceptionItemExistsException
- the item exists exceptionVirusDetectedException
- the virus detected exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionCopyright © 2021 Open Knowledge Management System S.L.. All Rights Reserved.