public interface BaseDocument
Document createDocument(Document okmDocument, InputStream is) throws IOException, UnsupportedMimeTypeException, FileSizeExceededException, UserQuotaExceededException, VirusDetectedException, ItemExistsException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, ExtensionException, AutomationException, UnknowException, WebserviceException
IOExceptionUnsupportedMimeTypeExceptionFileSizeExceededExceptionUserQuotaExceededExceptionVirusDetectedExceptionItemExistsExceptionPathNotFoundExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionExtensionExceptionAutomationExceptionUnknowExceptionWebserviceExceptionDocument createDocumentSimple(String docPath, InputStream is) throws IOException, UnsupportedMimeTypeException, FileSizeExceededException, UserQuotaExceededException, VirusDetectedException, ItemExistsException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, ExtensionException, AutomationException, UnknowException, WebserviceException
IOExceptionUnsupportedMimeTypeExceptionFileSizeExceededExceptionUserQuotaExceededExceptionVirusDetectedExceptionItemExistsExceptionPathNotFoundExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionExtensionExceptionAutomationExceptionUnknowExceptionWebserviceExceptionvoid deleteDocument(String docId) throws AutomationException, AccessDeniedException, RepositoryException, PathNotFoundException, LockException, DatabaseException, ExtensionException, UnknowException, WebserviceException
Document getDocumentProperties(String docId) throws RepositoryException, AccessDeniedException, PathNotFoundException, DatabaseException, UnknowException, WebserviceException
InputStream getContent(String docId) throws RepositoryException, IOException, PathNotFoundException, AccessDeniedException, DatabaseException, UnknowException, WebserviceException
InputStream getContentByVersion(String docId, String versionId) throws RepositoryException, AccessDeniedException, IOException, PathNotFoundException, AccessDeniedException, DatabaseException, UnknowException, WebserviceException
List<Document> getDocumentChildren(String fldId) throws RepositoryException, AccessDeniedException, PathNotFoundException, DatabaseException, UnknowException, WebserviceException
Document renameDocument(String docId, String newName) throws AccessDeniedException, RepositoryException, PathNotFoundException, ItemExistsException, LockException, DatabaseException, ExtensionException, AutomationException, UnknowException, WebserviceException
void setProperties(Document okmDocument) throws AccessDeniedException, RepositoryException, PathNotFoundException, VersionException, LockException, DatabaseException, UnknowException, WebserviceException
void checkout(String docId) throws AccessDeniedException, RepositoryException, PathNotFoundException, LockException, DatabaseException, UnknowException, WebserviceException
void cancelCheckout(String docId) throws AccessDeniedException, RepositoryException, PathNotFoundException, LockException, DatabaseException, UnknowException, WebserviceException
void forceCancelCheckout(String docId) throws AccessDeniedException, RepositoryException, PathNotFoundException, LockException, DatabaseException, PrincipalAdapterException, UnknowException, WebserviceException
boolean isCheckedOut(String docId) throws AccessDeniedException, PathNotFoundException, RepositoryException, DatabaseException, UnknowException, WebserviceException
Version checkin(String docId, InputStream is, String comment) throws FileSizeExceededException, UserQuotaExceededException, VirusDetectedException, LockException, VersionException, PathNotFoundException, AccessDeniedException, RepositoryException, IOException, DatabaseException, ExtensionException, AutomationException, UnknowException, WebserviceException
Version checkin(String docId, InputStream is, String comment, int increment) throws FileSizeExceededException, UserQuotaExceededException, VirusDetectedException, LockException, VersionException, PathNotFoundException, AccessDeniedException, RepositoryException, IOException, DatabaseException, ExtensionException, AutomationException, UnknowException, WebserviceException
List<Version> getVersionHistory(String docId) throws AccessDeniedException, PathNotFoundException, RepositoryException, DatabaseException, UnknowException, WebserviceException
LockInfo lock(String docId) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
void unlock(String docId) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
void forceUnlock(String docId) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, PrincipalAdapterException, UnknowException, WebserviceException
boolean isLocked(String docId) throws RepositoryException, AccessDeniedException, PathNotFoundException, DatabaseException, UnknowException, WebserviceException
LockInfo getLockInfo(String docId) throws RepositoryException, AccessDeniedException, PathNotFoundException, LockException, DatabaseException, UnknowException, WebserviceException
void purgeDocument(String docId) throws LockException, AccessDeniedException, RepositoryException, PathNotFoundException, DatabaseException, ExtensionException, UnknowException, WebserviceException
void moveDocument(String docId, String dstId) throws LockException, PathNotFoundException, ItemExistsException, AccessDeniedException, RepositoryException, DatabaseException, ExtensionException, AutomationException, UnknowException, WebserviceException
void copyDocument(String docId, String dstId, String newName) throws ItemExistsException, PathNotFoundException, AccessDeniedException, RepositoryException, IOException, DatabaseException, UserQuotaExceededException, ExtensionException, AutomationException, UnknowException, WebserviceException
void restoreVersion(String docId, String versionId) throws AccessDeniedException, PathNotFoundException, LockException, RepositoryException, DatabaseException, ExtensionException, AutomationException, UnknowException, WebserviceException
void purgeVersionHistory(String docId) throws AccessDeniedException, PathNotFoundException, LockException, RepositoryException, DatabaseException, UnknowException, WebserviceException
long getVersionHistorySize(String docId) throws RepositoryException, AccessDeniedException, PathNotFoundException, DatabaseException, UnknowException, WebserviceException
boolean isValidDocument(String docId) throws AccessDeniedException, PathNotFoundException, RepositoryException, DatabaseException, UnknowException, WebserviceException
String getDocumentPath(String uuid) throws AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
List<String> getDetectedLanguages() throws AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
void extendedDocumentCopy(String docId, String dstId, String name, boolean categories, boolean keywords, boolean propertyGroups, boolean notes, boolean wiki) throws ItemExistsException, PathNotFoundException, AccessDeniedException, RepositoryException, IOException, DatabaseException, UserQuotaExceededException, AutomationException, UnknowException, WebserviceException
String getExtractedText(String docId) throws RepositoryException, AccessDeniedException, PathNotFoundException, IOException, DatabaseException, UnknowException, WebserviceException
InputStream getThumbnail(String docId, ThumbnailType type) throws PathNotFoundException, AccessDeniedException, ConversionException, AutomationException, RepositoryException, DatabaseException, IOException, UnknowException, WebserviceException
void setLanguage(String docId, String lang) throws VersionException, LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
void setDocumentTitle(String docId, String title) throws VersionException, LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
Document createFromTemplate(String docId, String dstPath, boolean categories, boolean keywords, boolean propertyGroups, boolean notes, boolean wiki, List<FormElement> properties) throws PathNotFoundException, AccessDeniedException, RepositoryException, IOException, DatabaseException, DocumentException, TemplateException, DocumentTemplateException, ConversionException, UnsupportedMimeTypeException, FileSizeExceededException, UserQuotaExceededException, VirusDetectedException, ItemExistsException, AutomationException, ParseException, NoSuchGroupException, NoSuchPropertyException, LockException, UnknowException, WebserviceException
PathNotFoundExceptionAccessDeniedExceptionRepositoryExceptionIOExceptionDatabaseExceptionDocumentExceptionTemplateExceptionDocumentTemplateExceptionConversionExceptionUnsupportedMimeTypeExceptionFileSizeExceededExceptionUserQuotaExceededExceptionVirusDetectedExceptionItemExistsExceptionAutomationExceptionParseExceptionNoSuchGroupExceptionNoSuchPropertyExceptionLockExceptionUnknowExceptionWebserviceExceptionDocument createFromTemplateSimple(String docId, String dstPath, String language, boolean categories, boolean keywords, boolean propertyGroups, boolean notes, boolean wiki, Map<String,String> properties) throws PathNotFoundException, AccessDeniedException, RepositoryException, IOException, DatabaseException, DocumentException, TemplateException, DocumentTemplateException, ConversionException, UnsupportedMimeTypeException, FileSizeExceededException, UserQuotaExceededException, VirusDetectedException, ItemExistsException, AutomationException, ParseException, NoSuchGroupException, NoSuchPropertyException, LockException, UnknowException, WebserviceException
PathNotFoundExceptionAccessDeniedExceptionRepositoryExceptionIOExceptionDatabaseExceptionDocumentExceptionTemplateExceptionDocumentTemplateExceptionConversionExceptionUnsupportedMimeTypeExceptionFileSizeExceededExceptionUserQuotaExceededExceptionVirusDetectedExceptionItemExistsExceptionAutomationExceptionParseExceptionNoSuchGroupExceptionNoSuchPropertyExceptionLockExceptionUnknowExceptionWebserviceExceptionDocument updateFromTemplate(String docId, String dstId, List<FormElement> properties) throws DocumentException, TemplateException, DocumentTemplateException, ConversionException, FileSizeExceededException, UserQuotaExceededException, VirusDetectedException, LockException, VersionException, PathNotFoundException, ParseException, AccessDeniedException, RepositoryException, IOException, DatabaseException, AutomationException, NoSuchGroupException, NoSuchPropertyException, UnknowException, WebserviceException
DocumentExceptionTemplateExceptionDocumentTemplateExceptionConversionExceptionFileSizeExceededExceptionUserQuotaExceededExceptionVirusDetectedExceptionLockExceptionVersionExceptionPathNotFoundExceptionParseExceptionAccessDeniedExceptionRepositoryExceptionIOExceptionDatabaseExceptionAutomationExceptionNoSuchGroupExceptionNoSuchPropertyExceptionUnknowExceptionWebserviceExceptionDocument updateFromTemplateSimple(String docId, String dstId, Map<String,String> properties) throws DocumentException, TemplateException, DocumentTemplateException, ConversionException, FileSizeExceededException, UserQuotaExceededException, VirusDetectedException, LockException, VersionException, PathNotFoundException, ParseException, AccessDeniedException, RepositoryException, IOException, DatabaseException, AutomationException, NoSuchGroupException, NoSuchPropertyException, UnknowException, WebserviceException
DocumentExceptionTemplateExceptionDocumentTemplateExceptionConversionExceptionFileSizeExceededExceptionUserQuotaExceededExceptionVirusDetectedExceptionLockExceptionVersionExceptionPathNotFoundExceptionParseExceptionAccessDeniedExceptionRepositoryExceptionIOExceptionDatabaseExceptionAutomationExceptionNoSuchGroupExceptionNoSuchPropertyExceptionUnknowExceptionWebserviceExceptionString getAnnotations(String docId, String verName) throws AccessDeniedException, PathNotFoundException, DatabaseException, UnknowException, WebserviceException
InputStream getDifferences(String docId, String v1, String v2) throws IOException, RepositoryException, AccessDeniedException, PathNotFoundException, DatabaseException, AutomationException, ConversionException, TemplateException, InterruptedException, WebserviceException, UnknowException
List<Document> getCheckedOut() throws AccessDeniedException, PathNotFoundException, RepositoryException, DatabaseException, WebserviceException, UnknowException
void stamp(String docId, int type, long stId) throws RepositoryException, AccessDeniedException, PathNotFoundException, DatabaseException, IOException, AutomationException, UserQuotaExceededException, FileSizeExceededException, UnsupportedMimeTypeException, VirusDetectedException, LockException, VersionException, DocumentException, ExtensionException, WebserviceException, UnknowException
RepositoryExceptionAccessDeniedExceptionPathNotFoundExceptionDatabaseExceptionIOExceptionAutomationExceptionUserQuotaExceededExceptionFileSizeExceededExceptionUnsupportedMimeTypeExceptionVirusDetectedExceptionLockExceptionVersionExceptionDocumentExceptionExtensionExceptionWebserviceExceptionUnknowExceptionvoid stampImage(String docId, long stId, String range, String exprX, String exprY, InputStream image) throws RepositoryException, AccessDeniedException, PathNotFoundException, DatabaseException, IOException, AutomationException, UserQuotaExceededException, FileSizeExceededException, UnsupportedMimeTypeException, ItemExistsException, VirusDetectedException, LockException, VersionException, DocumentException, ExtensionException, WebserviceException, UnknowException
RepositoryExceptionAccessDeniedExceptionPathNotFoundExceptionDatabaseExceptionIOExceptionAutomationExceptionUserQuotaExceededExceptionFileSizeExceededExceptionUnsupportedMimeTypeExceptionItemExistsExceptionVirusDetectedExceptionLockExceptionVersionExceptionDocumentExceptionExtensionExceptionWebserviceExceptionUnknowExceptionCopyright © 2020 Open Knowledge Management System S.L.. All Rights Reserved.