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 AccessDeniedException, RepositoryException, PathNotFoundException, LockException, DatabaseException, ExtensionException, UnknowException, WebserviceException
Document getDocumentProperties(String docId) throws RepositoryException, PathNotFoundException, DatabaseException, UnknowException, WebserviceException
InputStream getContent(String docId) throws RepositoryException, IOException, PathNotFoundException, AccessDeniedException, DatabaseException, UnknowException, WebserviceException
InputStream getContentByVersion(String docId, String versionId) throws RepositoryException, IOException, PathNotFoundException, AccessDeniedException, DatabaseException, UnknowException, WebserviceException
List<Document> getDocumentChildren(String fldId) throws RepositoryException, PathNotFoundException, DatabaseException, UnknowException, WebserviceException
void renameDocument(String docId, String newName) throws AccessDeniedException, RepositoryException, PathNotFoundException, ItemExistsException, LockException, DatabaseException, ExtensionException, 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 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
List<Version> getVersionHistory(String docId) throws 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, PathNotFoundException, DatabaseException, UnknowException, WebserviceException
LockInfo getLockInfo(String docId) throws RepositoryException, 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, UnknowException, WebserviceException
void purgeVersionHistory(String docId) throws AccessDeniedException, PathNotFoundException, LockException, RepositoryException, DatabaseException, UnknowException, WebserviceException
long getVersionHistorySize(String docId) throws RepositoryException, PathNotFoundException, DatabaseException, UnknowException, WebserviceException
boolean isValidDocument(String docId) throws PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
String getDocumentPath(String uuid) 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, 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 setTitle(String docId, String title) throws VersionException, LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
Document createFromTemplate(String docId, String dstId, 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, 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
DocumentExceptionTemplateExceptionDocumentTemplateExceptionConversionExceptionFileSizeExceededExceptionUserQuotaExceededExceptionVirusDetectedExceptionLockExceptionVersionExceptionPathNotFoundExceptionParseExceptionAccessDeniedExceptionRepositoryExceptionIOExceptionDatabaseExceptionAutomationExceptionNoSuchGroupExceptionNoSuchPropertyExceptionUnknowExceptionWebserviceExceptionCopyright © 2015 Open Knowledge Management System S.L.. All rights reserved.