public class PdfImpl extends ClientImpl implements BasePdf, Serializable
| 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 |
insertPages(String uuid,
String srcId,
int sourceFromPage,
int sourceToPage,
int insertFromPage)
Insert pages boolean.
|
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.
|
void |
setAuthorizationToken(String authorizationToken)
setAuthenticationToken
|
boolean |
split(String uuid,
String dstId,
String baseName,
List<Integer> pages)
Split boolean.
|
getClient, resource, resource, resourcepublic PdfImpl(String host)
public void setAuthorizationToken(String authorizationToken)
public InputStream getImage(String uuid, int page, String size) throws RepositoryException, AccessDeniedException, PathNotFoundException, DatabaseException, ConversionException, WebserviceException, UnknownException
BasePdfgetImage in interface BasePdfuuid - 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 exceptionpublic boolean split(String uuid, String dstId, String baseName, List<Integer> pages) throws DatabaseException, RepositoryException, AccessDeniedException, PathNotFoundException, DocumentException, AutomationException, UnsupportedMimeTypeException, PrincipalAdapterException, ItemExistsException, VirusDetectedException, UnknownException, WebserviceException
BasePdfsplit in interface BasePdfuuid - 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 exceptionpublic boolean extract(String uuid, String dstId, String name, List<Integer> pages) throws DatabaseException, RepositoryException, AccessDeniedException, PathNotFoundException, DocumentException, AutomationException, UnsupportedMimeTypeException, PrincipalAdapterException, ItemExistsException, VirusDetectedException, UnknownException, WebserviceException
BasePdfextract in interface BasePdfuuid - 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 exceptionpublic boolean remove(String uuid, String dstId, String name, List<Integer> pages) throws DatabaseException, IOException, RepositoryException, AccessDeniedException, PathNotFoundException, DocumentException, AutomationException, UnsupportedMimeTypeException, PrincipalAdapterException, ItemExistsException, VirusDetectedException, UnknownException, WebserviceException
BasePdfremove in interface BasePdfuuid - 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 exceptionpublic boolean 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
BasePdfrotate in interface BasePdfuuid - 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 exceptionpublic boolean insertPages(String uuid, String srcId, int sourceFromPage, int sourceToPage, int insertFromPage) throws DatabaseException, RepositoryException, AccessDeniedException, PathNotFoundException, DocumentException, AutomationException, UnsupportedMimeTypeException, PrincipalAdapterException, ItemExistsException, VirusDetectedException, UnknownException, WebserviceException
BasePdfinsertPages in interface BasePdfuuid - the uuidsrcId - the src idsourceFromPage - the source from pagesourceToPage - the source to pageinsertFromPage - the insert from pageDatabaseException - 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 © 2024 Open Knowledge Management System S.L.. All Rights Reserved.