Uses of Class
com.logicaldoc.core.PersistenceException
Packages that use PersistenceException
Package
Description
Core plug-in that contains the most important domain objects
Automation subsystem that allows you to program your own logic inside the
platform.
The automation engine can be accessed through the class
Please note the special annotation
The automation engine can be accessed through the class
Automation Please note the special annotation
AutomationDictionary that is used to
automatically put in the Dictionary whatever bean you need.Classes that model emails and messages and the machinery to work with them.
Machinery for converting documents to different formats.
Contains the definitions of
Folder as well
as other related objectsContains the definitions of
Generic that
is a persistent object used as a general way to store informations in the
databasePackage that collects the template and attribute sets definitions.
Many objects of the LogicalDOC platform are extensible and can store your custom metadata, they are all those that extends the
Many objects of the LogicalDOC platform are extensible and can store your custom metadata, they are all those that extends the
ExtensibleObject.Package that contains classes used to validate extensible objects metadata,
ExtensibleObject.Classes related to saved searches
The pluggable authentication mechanism.
GWT services implementations.
-
Uses of PersistenceException in com.logicaldoc.cmis
Methods in com.logicaldoc.cmis that throw PersistenceExceptionModifier and TypeMethodDescriptionvoidLDRepository.appendContent(org.apache.chemistry.opencmis.commons.server.CallContext context, String documentId, org.apache.chemistry.opencmis.commons.data.ContentStream contentStream, boolean isLastChunk) Appends content into existing fileorg.apache.chemistry.opencmis.commons.data.ObjectInFolderListLDRepository.getChildren(org.apache.chemistry.opencmis.commons.server.CallContext context, String folderId, String filter, boolean includeAllowableActions, boolean includePathSegment, int maxItems, int skipCount, org.apache.chemistry.opencmis.commons.server.ObjectInfoHandler objectInfos) CMIS getChildren -
Uses of PersistenceException in com.logicaldoc.core
Methods in com.logicaldoc.core that throw PersistenceExceptionModifier and TypeMethodDescriptionintHibernatePersistentObjectDAO.bulkUpdate(String expression, Map<String, Object> parameters) intPersistentObjectDAO.bulkUpdate(String expression, Map<String, Object> parameters) Executes a bulk update as specified by the given expressionvoidHibernatePersistentObjectDAO.delete(long id) voidHibernatePersistentObjectDAO.delete(long id, int code) voidPersistentObjectDAO.delete(long id) This method deletes an entity.voidPersistentObjectDAO.delete(long id, int code) This method deletes an entity and you can give a deletion codevoidHibernatePersistentObjectDAO.deleteAll(Collection<T> entities) voidHibernatePersistentObjectDAO.deleteAll(Collection<T> entities, int code) voidPersistentObjectDAO.deleteAll(Collection<T> entities) Deletes all entries form the databasevoidPersistentObjectDAO.deleteAll(Collection<T> entities, int code) Deletes all entries form the database giving a specific deletion codeHibernatePersistentObjectDAO.findById(long id) HibernatePersistentObjectDAO.findById(long id, boolean initialize) PersistentObjectDAO.findById(long id) This method finds an entity by IDPersistentObjectDAO.findById(long id, boolean initialize) This method finds an entity by IDHibernatePersistentObjectDAO.findByObjectQuery(String query, Map<String, Object> parameters, Integer max) Finds all entities by the given object query.Find everything you want from the DB using the ORM query languageHibernatePersistentObjectDAO.findByWhere(String where, String order, Integer max) HibernatePersistentObjectDAO.findByWhere(String where, Map<String, Object> parameters, String order, Integer max) PersistentObjectDAO.findByWhere(String where, String order, Integer max) Finds all entities by the given expression.PersistentObjectDAO.findByWhere(String where, Map<String, Object> parameters, String order, Integer max) Finds all entities by the given expression.HibernatePersistentObjectDAO.findIdsByWhere(String where, String order, Integer max) HibernatePersistentObjectDAO.findIdsByWhere(String where, Map<String, Object> parameters, String order, Integer max) PersistentObjectDAO.findIdsByWhere(String where, String order, Integer max) Finds all entities ids by the given expression.PersistentObjectDAO.findIdsByWhere(String where, Map<String, Object> parameters, String order, Integer max) Finds all entities ids by the given expression.intHibernatePersistentObjectDAO.jdbcUpdate(String statement) intHibernatePersistentObjectDAO.jdbcUpdate(String statement, Map<String, Object> parameters) intPersistentObjectDAO.jdbcUpdate(String statement) Executes the given SQL update statementintPersistentObjectDAO.jdbcUpdate(String statement, Map<String, Object> parameters) Issue a single SQL update operation (such as an insert, update or delete statement) via a prepared statement, binding the given argumentsHibernatePersistentObjectDAO.query(String sql, Map<String, Object> parameters, org.springframework.jdbc.core.RowMapper rowMapper, Integer maxRows) HibernatePersistentObjectDAO.query(String sql, org.springframework.jdbc.core.RowMapper rowMapper, Integer maxRows) PersistentObjectDAO.query(String sql, Map<String, Object> parameters, org.springframework.jdbc.core.RowMapper rowMapper, Integer maxRows) Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, mapping each row to a Java object via a RowMapper.PersistentObjectDAO.query(String sql, org.springframework.jdbc.core.RowMapper rowMapper, Integer maxRows) Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, mapping each row to a Java object via a RowMapper.doubleHibernatePersistentObjectDAO.queryForDouble(String sql) doubleHibernatePersistentObjectDAO.queryForDouble(String sql, Map<String, Object> parameters) doublePersistentObjectDAO.queryForDouble(String sql) Execute a query that results in a double value, given static SQL.doublePersistentObjectDAO.queryForDouble(String sql, Map<String, Object> parameters) Execute a query that results in a double value, given static SQL.intHibernatePersistentObjectDAO.queryForInt(String sql) intPersistentObjectDAO.queryForInt(String sql) Execute a query that results in an int value, given static SQL.HibernatePersistentObjectDAO.queryForList(String sql, Class elementType) HibernatePersistentObjectDAO.queryForList(String sql, Class elementType, Integer maxRows) HibernatePersistentObjectDAO.queryForList(String sql, Map<String, Object> prameters, Class elementType, Integer maxRows) PersistentObjectDAO.queryForList(String sql, Class elementType) Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, expecting a result list.PersistentObjectDAO.queryForList(String sql, Class elementType, Integer maxRows) Execute a query for a result list, given static SQL.PersistentObjectDAO.queryForList(String sql, Map<String, Object> parameters, Class elementType, Integer maxRows) Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, expecting a result list.longHibernatePersistentObjectDAO.queryForLong(String sql) longHibernatePersistentObjectDAO.queryForLong(String sql, Map<String, Object> parameters) longPersistentObjectDAO.queryForLong(String sql) Execute a query that results in an long value, given static SQL.longPersistentObjectDAO.queryForLong(String sql, Map<String, Object> parameters) Execute a query that results in an long value, given static SQL.HibernatePersistentObjectDAO.queryForObject(String sql, Class type) PersistentObjectDAO.queryForObject(String sql, Class type) Execute a query that results in a Object value, given static SQL.org.springframework.jdbc.support.rowset.SqlRowSetHibernatePersistentObjectDAO.queryForRowSet(String sql, Integer maxRows) org.springframework.jdbc.support.rowset.SqlRowSetHibernatePersistentObjectDAO.queryForRowSet(String sql, Map<String, Object> parameters, Integer maxRows) org.springframework.jdbc.support.rowset.SqlRowSetPersistentObjectDAO.queryForRowSet(String sql, Integer maxRows) Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, returns a navigable RowSetorg.springframework.jdbc.support.rowset.SqlRowSetQuery given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, returns a navigable RowSetHibernatePersistentObjectDAO.queryForString(String sql) PersistentObjectDAO.queryForString(String sql) Execute a query that results in an string value, given static SQL.voidvoidThis method persists the entity object -
Uses of PersistenceException in com.logicaldoc.core.automation
Methods in com.logicaldoc.core.automation that throw PersistenceExceptionModifier and TypeMethodDescriptionvoidFolderTool.applyTemplate(long rootId, String templateName, boolean inheritSecurity, String username) Applies a folder templateFolderTool.copy(Folder source, String targetPath, boolean foldersOnly, String securityOption, String username) Copies a folder into another folderDocTool.createAlias(Document originalDoc, String targetPath, String type, String username) Creates an alias to a documentvoidDelete a folderCalculates the full path of a foldervoidMerges a folder into another foldervoidMoves a folder into a target foldervoidMailTool.sendSystemMessage(String recipient, String message, String subject, int scope, int priority) Sends a system message to a user -
Uses of PersistenceException in com.logicaldoc.core.communication
Methods in com.logicaldoc.core.communication that throw PersistenceExceptionModifier and TypeMethodDescriptionvoidHibernateMessageTemplateDAO.delete(long id, int code) voidHibernateSystemMessageDAO.store(SystemMessage message) -
Uses of PersistenceException in com.logicaldoc.core.conversion
Methods in com.logicaldoc.core.conversion that throw PersistenceException -
Uses of PersistenceException in com.logicaldoc.core.dashlet
Methods in com.logicaldoc.core.dashlet that throw PersistenceException -
Uses of PersistenceException in com.logicaldoc.core.document
Methods in com.logicaldoc.core.document that throw PersistenceExceptionModifier and TypeMethodDescriptionvoidDocumentInitializer.afterCheckin(Document document, DocumentHistory transaction, Map<String, Object> dictionary) voidDocumentListener.afterCheckin(Document document, DocumentHistory transaction, Map<String, Object> dictionary) Called after a document is checked invoidDocumentValidator.afterCheckin(Document document, DocumentHistory transaction, Map<String, Object> dictionary) voidDocumentInitializer.afterSaveHistory(Document document, DocumentHistory event, Map<String, Object> dictionary) voidDocumentListener.afterSaveHistory(Document document, DocumentHistory event, Map<String, Object> dictionary) Called after an event has been storedvoidDocumentValidator.afterSaveHistory(Document document, DocumentHistory event, Map<String, Object> dictionary) voidDocumentInitializer.afterStore(Document document, DocumentHistory transaction, Map<String, Object> dictionary) voidDocumentListener.afterStore(Document document, DocumentHistory transaction, Map<String, Object> dictionary) Called after a document is stored in the databasevoidDocumentValidator.afterStore(Document document, DocumentHistory transaction, Map<String, Object> dictionary) voidDocumentManager.archiveDocuments(long[] docIds, DocumentHistory transaction) Archives all the documents in a folder's treevoidDocumentManagerImpl.archiveDocuments(long[] docIds, DocumentHistory transaction) longDocumentManager.archiveFolder(long folderId, DocumentHistory transaction) Archives all the documents in a folder's treelongDocumentManagerImpl.archiveFolder(long folderId, DocumentHistory transaction) voidDocumentInitializer.beforeCheckin(Document document, DocumentHistory transaction, Map<String, Object> dictionary) voidDocumentListener.beforeCheckin(Document document, DocumentHistory transaction, Map<String, Object> dictionary) Called before a document is checked invoidDocumentValidator.beforeCheckin(Document document, DocumentHistory transaction, Map<String, Object> dictionary) voidDocumentInitializer.beforeStore(Document document, DocumentHistory transaction, Map<String, Object> dictionary) voidDocumentListener.beforeStore(Document document, DocumentHistory transaction, Map<String, Object> dictionary) Called before a document is stored in the databasevoidDocumentValidator.beforeStore(Document document, DocumentHistory transaction, Map<String, Object> dictionary) voidDocumentManager.checkin(long docId, File file, String filename, boolean release, AbstractDocument docVO, DocumentHistory transaction) Checks in the given documentvoidDocumentManager.checkin(long docId, InputStream fileInputStream, String filename, boolean release, AbstractDocument docVO, DocumentHistory transaction) Checks in the given documentvoidDocumentManagerImpl.checkin(long docId, File file, String filename, boolean release, AbstractDocument docVO, DocumentHistory transaction) voidDocumentManagerImpl.checkin(long docId, InputStream content, String filename, boolean release, AbstractDocument docVO, DocumentHistory transaction) voidDocumentManager.checkout(long docId, DocumentHistory transaction) Checks out the given documentvoidDocumentManagerImpl.checkout(long docId, DocumentHistory transaction) DocumentManager.copyToFolder(Document doc, Folder folder, DocumentHistory transaction, boolean links, boolean notes) Copy a document to the specified folder.DocumentManagerImpl.copyToFolder(Document doc, Folder folder, DocumentHistory transaction, boolean links, boolean notes) DocumentManager.create(File file, Document docVO, DocumentHistory transaction) Creates a new Document.DocumentManager.create(InputStream content, Document docVO, DocumentHistory transaction) Creates a new Document.DocumentManagerImpl.create(File file, Document docVO, DocumentHistory transaction) DocumentManagerImpl.create(InputStream content, Document docVO, DocumentHistory transaction) DocumentManager.createAlias(Document doc, Folder folder, String type, DocumentHistory transaction) Create an alias(shortcut) associated to the given doc to the specified folder.DocumentManagerImpl.createAlias(Document doc, Folder folder, String aliasType, DocumentHistory transaction) DocumentManager.createTicket(Ticket ticket, DocumentHistory transaction) Creates a new ticket.DocumentManagerImpl.createTicket(Ticket ticket, DocumentHistory transaction) DocumentManager.deleteVersion(long versionId, DocumentHistory transaction) Deletes a specific version.DocumentManagerImpl.deleteVersion(long versionId, DocumentHistory transaction) intDocumentManager.enforceFilesIntoFolderStorage(long rootFolderId, DocumentHistory transaction) Moves all the files of the documents in the given tree from it's original location to the storage defined in the owning folderintDocumentManagerImpl.enforceFilesIntoFolderStorage(long rootFolderId, DocumentHistory transaction) longDocumentManager.index(long docId, String content, DocumentHistory transaction) Re-indexes an existing document in the full-text index.longDocumentManagerImpl.index(long docId, String content, DocumentHistory transaction) voidDocumentManager.lock(long docId, int status, DocumentHistory transaction) Locks the given documentvoidDocumentManagerImpl.lock(long docId, int status, DocumentHistory transaction) voidDocumentManager.makeImmutable(long docId, DocumentHistory transaction) Marks the document, with the given docId, as immutable and save the given document historyvoidDocumentManagerImpl.makeImmutable(long docId, DocumentHistory transaction) DocumentManager.merge(Collection<Document> documents, long targetFolderId, String fileName, DocumentHistory transaction) Merges a set of documents into a single PDF fileDocumentManagerImpl.merge(Collection<Document> documents, long targetFolderId, String fileName, DocumentHistory transaction) voidDocumentManager.moveToFolder(Document doc, Folder folder, DocumentHistory transaction) Moves a document to the specified folder.voidDocumentManagerImpl.moveToFolder(Document doc, Folder folder, DocumentHistory transaction) voidDocumentManager.promoteVersion(long docId, String version, DocumentHistory transaction) Promotes an old version to the current default one.voidDocumentManagerImpl.promoteVersion(long docId, String version, DocumentHistory transaction) voidDocumentManager.rename(long docId, String newName, DocumentHistory transaction) Rename an existing document filename.voidDocumentManagerImpl.rename(long docId, String newName, DocumentHistory transaction) DocumentManager.replaceAlias(long aliasId, DocumentHistory transaction) Replaces an alias with a copy of the original fileDocumentManagerImpl.replaceAlias(long aliasId, DocumentHistory transaction) voidDocumentManager.replaceFile(long docId, String fileVersion, File newFile, DocumentHistory transaction) Replaces the file of a given versionvoidDocumentManager.replaceFile(long docId, String fileVersion, InputStream newFile, DocumentHistory transaction) Replaces the file of a given versionvoidDocumentManagerImpl.replaceFile(long docId, String fileVersion, File newFile, DocumentHistory transaction) voidDocumentManagerImpl.replaceFile(long docId, String fileVersion, InputStream content, DocumentHistory transaction) voidDocumentManager.unlock(long docId, DocumentHistory transaction) UNChecks out the given documentvoidDocumentManagerImpl.unlock(long docId, DocumentHistory transaction) voidDocumentManager.update(Document doc, Document docVO, DocumentHistory transaction) Updates an existing document and marks it to be re-indexedvoidDocumentManagerImpl.update(Document document, Document docVO, DocumentHistory transaction) -
Uses of PersistenceException in com.logicaldoc.core.document.dao
Methods in com.logicaldoc.core.document.dao that throw PersistenceExceptionModifier and TypeMethodDescriptionvoidDocumentDAO.archive(long docId, DocumentHistory transaction) Archives a documentvoidHibernateDocumentDAO.archive(long docId, DocumentHistory transaction) voidDocumentDAO.cleanExpiredTransactions()Cleans all references to expired transactions.voidHibernateDocumentDAO.cleanExpiredTransactions()voidDocumentDAO.cleanUnexistingUniqueTags()Cleans the ld_uniquetag table removing no more used tags, this method is optimized and uses a couple of prepared statements, in case of error it switches toDocumentDAO.cleanUnexistingUniqueTagsOneByOne()voidHibernateDocumentDAO.cleanUnexistingUniqueTags()voidDocumentDAO.cleanUnexistingUniqueTagsOneByOne()Cleans the ld_uniquetag table removing no more used tags programmatically one by one.voidHibernateDocumentDAO.cleanUnexistingUniqueTagsOneByOne()longDocumentDAO.computeTotalSize(Long tenantId, Long publisherId, boolean computeDeleted) Obtains the total size of the repository, that is the sum of sizes of all documents and their versionslongHibernateDocumentDAO.computeTotalSize(Long tenantId, Long userId, boolean computeDeleted) intDocumentNoteDAO.copyAnnotations(long docId, String oldFileVersion, String newFileVersion) Copies all the notes not associated to a specific page from a given file version to anotherintHibernateDocumentNoteDAO.copyAnnotations(long docId, String oldFileVersion, String newFileVersion) longCounts the number of documentslonglongDocumentDAO.countByIndexed(int indexed) Counts the number of documents in a given indexation status(@seeAbstractDocument.getIndexed()longHibernateDocumentDAO.countByIndexed(int indexed) voidDocumentDAO.delete(long docId, int delCode, DocumentHistory transaction) This method deletes the document object and insert a new document history entry.voidDocumentDAO.delete(long docId, DocumentHistory transaction) Shortcut for delete(docId, 1, transaction)voidHibernateDocumentDAO.delete(long docId, int delCode, DocumentHistory transaction) voidHibernateDocumentDAO.delete(long docId, DocumentHistory transaction) voidHibernateDocumentLinkDAO.delete(long id, int code) voidHibernateDocumentNoteDAO.delete(long id, int code) voidHibernateRatingDAO.delete(long id, int code) voidHibernateVersionDAO.delete(long versionId, int delCode) voidDocumentDAO.deleteAll(Collection<Document> documents, int delCode, DocumentHistory transaction) Deletes all documents form the database and modifies the custom ids of all documentsvoidDocumentDAO.deleteAll(Collection<Document> documents, DocumentHistory transaction) Shortcut for deleteAll(documents, 1, transaction)voidHibernateDocumentDAO.deleteAll(Collection<Document> documents, int delCode, DocumentHistory transaction) voidHibernateDocumentDAO.deleteAll(Collection<Document> documents, DocumentHistory transaction) voidDocumentDAO.deleteOrphaned(long deleteUserId) This method deletes the documents into deleted folders.voidHibernateDocumentDAO.deleteOrphaned(long deleteUserId) DocumentDAO.findAliasIds(long docId) Gets the ids of all aliases associated to the document with the given docIdHibernateDocumentDAO.findAliasIds(long docId) DocumentDAO.findAllTags(String firstLetter, Long tenantId) Searches for all tags,HibernateDocumentDAO.findAllTags(String firstLetter, Long tenantId) DocumentDAO.findArchivedByFolder(long folderId) Finds archived documents in a folder (direct childeren only)HibernateDocumentDAO.findArchivedByFolder(long folderId) DocumentDAO.findByCustomId(String customId, long tenantId) This method finds a document by the custom ID.HibernateDocumentDAO.findByCustomId(String customId, long tenantId) DocumentDAO.findByFileNameAndParentFolderId(Long folderId, String fileName, Long excludeId, Long tenantId, Integer max) Finds that document that lies under a specific folder (given by the id) an with a given fileName(like operator is used)HibernateDocumentDAO.findByFileNameAndParentFolderId(Long folderId, String fileName, Long excludeId, Long tenantId, Integer max) DocumentDAO.findByFolder(long folderId, Integer max) Finds all documents direct children of the given folder.HibernateDocumentDAO.findByFolder(long folderId, Integer max) DocumentDAO.findByIndexed(int indexed) Finds all documents by the indexed state.HibernateDocumentDAO.findByIndexed(int indexed) DocumentDAO.findByPath(String path, long tenantId) Finds a document by it's full pathHibernateDocumentDAO.findByPath(String path, long tenantId) DocumentDAO.findByUserId(long userId) Finds all documents for an user.HibernateDocumentDAO.findByUserId(long userId) DocumentDAO.findByUserIdAndTag(long userId, String tag, Integer max) Finds authorized documents for a user having a specified tag.HibernateDocumentDAO.findByUserIdAndTag(long userId, String tag, Integer max) DocumentDAO.findDeleted(long userId, Integer max) Finds all deleted docs of a specific user.HibernateDocumentDAO.findDeleted(long userId, Integer maxHits) DocumentDAO.findDeletedDocIds()Gets the collection of deleted document idsHibernateDocumentDAO.findDeletedDocIds()DocumentDAO.findDeletedDocs()Finds the list of deleted documents.HibernateDocumentDAO.findDeletedDocs()DocumentDAO.findDocIdByFolder(long folderId, Integer max) Finds all document ids inside the given folder.HibernateDocumentDAO.findDocIdByFolder(long folderId, Integer max) DocumentDAO.findDocIdByTag(String tag) This method finds all Doc Ids by a tag.HibernateDocumentDAO.findDocIdByTag(String tag) DocumentDAO.findDocIdByUserIdAndTag(long userId, String tag) Finds authorized documents ids for a user having a specified tag.HibernateDocumentDAO.findDocIdByUserIdAndTag(long userId, String tag) DocumentDAO.findDocument(long docId) This method finds a document by the ID and if it is an alias the referenced document is returned instead.HibernateDocumentDAO.findDocument(long docId) DocumentDAO.findDuplicatedDigests(Long tenantId, Long folderId) Retrieves the list of duplicated checksumsHibernateDocumentDAO.findDuplicatedDigests(Long tenantId, Long folderId) DocumentDAO.findLastDownloadsByUserId(long userId, int max) Finds the last downloaded documents by the given userHibernateDocumentDAO.findLastDownloadsByUserId(long userId, int maxResults) DocumentDAO.findLastModifiedByUserId(long userId, int max) Finds a max number of documents last modified by an user.HibernateDocumentDAO.findLastModifiedByUserId(long userId, int maxElements) DocumentDAO.findLinkedDocuments(long docId, String linkType, Integer direction) This method enlists documents linked to the given document.HibernateDocumentDAO.findLinkedDocuments(long docId, String linkType, Integer direction) DocumentDAO.findPublishedIds(Collection<Long> folderIds) Finds all document ids inside the specified folders that are published in the current date.HibernateDocumentDAO.findPublishedIds(Collection<Long> folderIds) DocumentDAO.findTags(long docId) Retrieves the alphabetically ordered list of all the document's tagsSelects all tags and counts the occurrences.HibernateDocumentDAO.findTags(long docId) DocumentDAO.getTagCloud(long tenantId, int max) Gets the tag cloud for the given tenantDocumentDAO.getTagCloud(String sid) Gets the tag cloud for the given tenantHibernateDocumentDAO.getTagCloud(long tenantId, int maxTags) HibernateDocumentDAO.getTagCloud(String sid) DocumentDAO.getWorkspace(long docId) Retrieves, the workspace where the document(or alias) is storedHibernateDocumentDAO.getWorkspace(long docId) voidDocumentDAO.insertNewUniqueTags()Puts into ld_uniquetag the new unique tagsvoidHibernateDocumentDAO.insertNewUniqueTags()voidDocumentDAO.makeImmutable(long docId, DocumentHistory transaction) Marks the document, with the given docId, as immutable.voidHibernateDocumentDAO.makeImmutable(long docId, DocumentHistory transaction) voidDocumentDAO.restore(long docId, long folderId, DocumentHistory transaction) Restores a previously deleted documentvoidHibernateDocumentDAO.restore(long docId, long folderId, DocumentHistory transaction) voidDocumentDAO.saveDocumentHistory(Document doc, DocumentHistory transaction) Saves a document's historyvoidHibernateDocumentDAO.saveDocumentHistory(Document doc, DocumentHistory transaction) voidDocumentDAO.setPassword(long docId, String password, DocumentHistory transaction) Protects the document with a password.voidHibernateDocumentDAO.setPassword(long docId, String password, DocumentHistory transaction) voidDocumentDAO.store(Document doc, DocumentHistory transaction) This method persists the document object and insert a new document history entryvoidDocumentNoteDAO.store(DocumentNote note, DocumentHistory transaction) Stores a note and saves the document's historyvoidvoidHibernateDocumentDAO.store(Document doc, DocumentHistory transaction) voidHibernateDocumentHistoryDAO.store(DocumentHistory history) voidHibernateDocumentLinkDAO.store(DocumentLink entity) voidHibernateDocumentNoteDAO.store(DocumentNote note) voidHibernateDocumentNoteDAO.store(DocumentNote note, DocumentHistory transaction) voidHibernateRatingDAO.store(Rating rating, DocumentHistory transaction) voidThis method persists the given version.voidRatingDAO.store(Rating rating, DocumentHistory transaction) Stores a rating and saves the document's historyvoidDocumentDAO.unarchive(long docId, DocumentHistory transaction) Restores a previously archived documentvoidHibernateDocumentDAO.unarchive(long docId, DocumentHistory transaction) voidDocumentDAO.unsetPassword(long docId, DocumentHistory transaction) Removes the password protection from the document.voidHibernateDocumentDAO.unsetPassword(long docId, DocumentHistory transaction) voidDocumentDAO.updateCountUniqueTags()Updates the count of the unique tagsvoidHibernateDocumentDAO.updateCountUniqueTags()voidDocumentDAO.updateDigest(Document doc) Updates the document's digest (SHA-1)voidHibernateDocumentDAO.updateDigest(Document doc) intHibernateRatingDAO.updateDocumentRating(long docId, DocumentHistory transaction) intRatingDAO.updateDocumentRating(long docId, DocumentHistory transaction) Updates the document's rating with the votes average -
Uses of PersistenceException in com.logicaldoc.core.folder
Methods in com.logicaldoc.core.folder that throw PersistenceExceptionModifier and TypeMethodDescriptionvoidFolderInitializer.afterStore(Folder document, FolderHistory transaction, Map<String, Object> dictionary) voidFolderListener.afterStore(Folder folder, FolderHistory transaction, Map<String, Object> dictionary) Called after a folder is stored in the databasevoidFolderValidator.afterStore(Folder folder, FolderHistory transaction, Map<String, Object> dictionary) voidFolderDAO.applyGridToTree(long rootId, FolderHistory transaction) Propagates the grid layout of a node to the whole sub-treevoidHibernateFolderDAO.applyGridToTree(long id, FolderHistory transaction) voidFolderDAO.applyMetadataToTree(long id, FolderHistory transaction) Propagates the template metadata to the whole subreevoidHibernateFolderDAO.applyMetadataToTree(long id, FolderHistory transaction) voidFolderDAO.applyOCRToTree(long id, FolderHistory transaction) Propagates the OCR settings to the whole subreevoidHibernateFolderDAO.applyOCRToTree(long id, FolderHistory transaction) voidFolderDAO.applyRightToTree(long rootId, FolderHistory transaction) Propagates the security policies of a node to the whole sub-treevoidHibernateFolderDAO.applyRightToTree(long rootId, FolderHistory transaction) voidFolderDAO.applyStorageToTree(long id, FolderHistory transaction) Propagates the storage setting to the whole subreevoidHibernateFolderDAO.applyStorageToTree(long id, FolderHistory transaction) voidFolderDAO.applyTagsToTree(long id, FolderHistory transaction) Propagates the tags to the whole subreevoidHibernateFolderDAO.applyTagsToTree(long id, FolderHistory transaction) voidFolderInitializer.beforeStore(Folder folder, FolderHistory transaction, Map<String, Object> dictionary) voidFolderListener.beforeStore(Folder folder, FolderHistory transaction, Map<String, Object> dictionary) Called before a folder is stored in the databasevoidFolderValidator.beforeStore(Folder folder, FolderHistory transaction, Map<String, Object> dictionary) FolderDAO.computePath(long folderId) Dynamically computes the path for the specified folder.FolderDAO.computePath(Folder folder) Dynamically computes the path for the specified folder.HibernateFolderDAO.computePath(long folderId) HibernateFolderDAO.computePath(Folder folder) FolderDAO.computePathExtended(long folderId) Dynamically computes the path extended for the specified folder.FolderDAO.computePathExtended(Folder folder) Dynamically computes the path extended for the specified folder.HibernateFolderDAO.computePathExtended(long folderId) HibernateFolderDAO.computePathExtended(Folder folder) FolderDAO.copy(Folder source, Folder target, String newName, boolean foldersOnly, String securityOption, FolderHistory transaction) Copies a folder into another folderHibernateFolderDAO.copy(Folder source, Folder target, String newName, boolean foldersOnly, String securityOption, FolderHistory transaction) FolderDAO.create(Folder parent, Folder folderVO, boolean inheritSecurity, FolderHistory transaction) Creates a new folder in the parent FolderHibernateFolderDAO.create(Folder parent, Folder folderVO, boolean inheritSecurity, FolderHistory transaction) FolderDAO.createAlias(long parentId, long foldRef, FolderHistory transaction) Creates a new folder folder aliasHibernateFolderDAO.createAlias(long parentId, long foldRef, FolderHistory transaction) FolderDAO.createPath(Folder parent, String path, boolean inheritSecurity, FolderHistory transaction) Creates the folder for the specified path.HibernateFolderDAO.createPath(Folder parent, String path, boolean inheritSecurity, FolderHistory transaction) voidFolderDAO.delete(long id, int delCode, FolderHistory transaction) This method deletes the folder object and insert a new folder history entryvoidFolderDAO.delete(long id, FolderHistory transaction) Shortcut for delete(id, 1, transaction)voidHibernateFolderDAO.delete(long folderId, int code) voidHibernateFolderDAO.delete(long folderId, int delCode, FolderHistory transaction) voidHibernateFolderDAO.delete(long folderId, FolderHistory transaction) voidFolderDAO.deleteAll(Collection<Folder> folders, int delCode, FolderHistory transaction) For each folder, save the folder delete history entry for each folder and delete the foldervoidFolderDAO.deleteAll(Collection<Folder> folders, FolderHistory transaction) Shortcut for deleteAll(folders, 1, transaction)voidHibernateFolderDAO.deleteAll(Collection<Folder> folders, int code, FolderHistory transaction) voidHibernateFolderDAO.deleteAll(Collection<Folder> folders, FolderHistory transaction) FolderDAO.deleteTree(long folderId, int delCode, FolderHistory transaction) Delete a folder and all its sub-folders that a user can delete.FolderDAO.deleteTree(long folderId, FolderHistory transaction) Shortcut for deleteTree(folderId, 1, transaction)FolderDAO.deleteTree(Folder folder, int delCode, FolderHistory transaction) Deletes a folder and all its sub-folders that a user can delete.HibernateFolderDAO.deleteTree(long folderId, int delCode, FolderHistory transaction) HibernateFolderDAO.deleteTree(long folderId, FolderHistory transaction) HibernateFolderDAO.deleteTree(Folder folder, int delCode, FolderHistory transaction) Useful method that allows to find all folders that contains the given name into their text.FolderDAO.findByGroupId(long groupId) Finds all folders accessible by the passed groupHibernateFolderDAO.findByGroupId(long groupId) FolderDAO.findByName(Folder parent, String name, Long tenantId, boolean caseSensitive) Finds all folders by folder text, contained in the parent folder.FolderDAO.findByName(String name, Long tenantId) Finds all folders by folder nameHibernateFolderDAO.findByName(Folder parent, String name, Long tenantId, boolean caseSensitive) HibernateFolderDAO.findByName(String name, Long tenantId) FolderDAO.findByNameAndParentId(String name, long parentId) Finds that folder that lies under a specific parent (given by the id) an with a given name(like operator is used)HibernateFolderDAO.findByNameAndParentId(String name, long parentId) FolderDAO.findByPathExtended(String pathExtended, long tenantId) Retrieval of a folder by the extended pathHibernateFolderDAO.findByPathExtended(String pathExtended, long tenantId) FolderDAO.findByUserId(long userId) Finds authorized folders for a userFolderDAO.findByUserId(long userId, long parentId) Finds direct children of a folder.HibernateFolderDAO.findByUserId(long userId) HibernateFolderDAO.findByUserId(long userId, long parentId) FolderDAO.findByUserIdAndTag(long userId, String tag, Integer max) Finds authorized folders for a user having a specified tag.HibernateFolderDAO.findByUserIdAndTag(long userId, String tag, Integer max) FolderDAO.findChildren(long parentId, long userId) Finds direct children of a folder accessible by the given userFolderDAO.findChildren(long parentId, Integer max) Finds direct children of a folderHibernateFolderDAO.findChildren(long parentId, long userId) HibernateFolderDAO.findChildren(long parentId, Integer max) FolderDAO.findDefaultWorkspace(long tenantId) Retrieves the Default workspace of the given tenantHibernateFolderDAO.findDefaultWorkspace(long tenantId) FolderDAO.findFolder(long folderId) Gets a folder by a given ID if it is an alias, the referenced folder is returned.HibernateFolderDAO.findFolder(long folderId) FolderDAO.findFolderIdByUserId(long userId, Long parentId, boolean tree) This method selects only the folder ID from the folders for which a user is authorized.HibernateFolderDAO.findFolderIdByUserId(long userId, Long parentId, boolean tree) FolderDAO.findFolderIdByUserIdAndPermission(long userId, Permission permission, Long parentId, boolean tree) Finds all folders ids with a specific permission enabled on the specifies userHibernateFolderDAO.findFolderIdByUserIdAndPermission(long userId, Permission permission, Long parentId, boolean tree) FolderDAO.findFolderIdByUserIdInPath(long userId, long parentId) This method selects only the folder ID from the folders for which a user is authorized.HibernateFolderDAO.findFolderIdByUserIdInPath(long userId, long parentId) FolderDAO.findFolderIdInPath(long rootId, boolean includeDeleted) Retrieve all the ids of the folders in a given tree using the path attributeHibernateFolderDAO.findFolderIdInPath(long rootId, boolean includeDeleted) FolderDAO.findIdByUserId(long userId, long parentId) This method selects only the folder ID from the folders for which a user is authorized.HibernateFolderDAO.findIdByUserId(long userId, long parentId) FolderDAO.findParents(long id) Returns a List of folders being a parent of the given folder.HibernateFolderDAO.findParents(long folderId) FolderDAO.findRoot(long tenantId) Retrieves the root folder of the given tenantHibernateFolderDAO.findRoot(long tenantId) FolderDAO.findWorkspace(long folderId) Returns the workspace that contains the given folderHibernateFolderDAO.findWorkspace(long folderId) FolderDAO.findWorkspaces(long tanantId) Retrieves all the workspaces in the system, that are the first-level folders of typeFolder.TYPE_WORKSPACEHibernateFolderDAO.findWorkspaces(long tenantId) FolderDAO.getEnabledPermissions(long folderId, long userId) Finds all permissions of a user enabled on the specified folderHibernateFolderDAO.getEnabledPermissions(long folderId, long userId) booleanFolderDAO.hasWriteAccess(Folder folder, long userId) Checks that the user has access to the folder and all its sub-itemsbooleanHibernateFolderDAO.hasWriteAccess(Folder folder, long userId) booleanFolderDAO.isDownloadEnabled(long folderId, long userId) booleanHibernateFolderDAO.isDownloadEnabled(long id, long userId) booleanFolderDAO.isInPath(long parentId, long childId) Checks if a folder with the given folderId is parent of the folder with the given targetIdbooleanHibernateFolderDAO.isInPath(long folderId, long targetId) booleanFolderDAO.isMoveEnabled(long folderId, long userId) booleanHibernateFolderDAO.isMoveEnabled(long id, long userId) booleanFolderDAO.isPermissionEnabled(Permission permission, long folderId, long userId) This method checks if the given permission is enabled for a folder and an user.booleanHibernateFolderDAO.isPermissionEnabled(Permission permission, long folderId, long userId) booleanFolderDAO.isPrintEnabled(long folderId, long userId) booleanHibernateFolderDAO.isPrintEnabled(long folderId, long userId) booleanFolderDAO.isReadEnabled(long folderId, long userId) booleanHibernateFolderDAO.isReadEnabled(long folderId, long userId) booleanFolderDAO.isWriteEnabled(long folderId, long userId) This method is looking up for writing rights for a folder and an user.booleanHibernateFolderDAO.isWriteEnabled(long folderId, long userId) voidFolderDAO.merge(Folder source, Folder target, FolderHistory transaction) Merges the contents of two foldersvoidHibernateFolderDAO.merge(Folder source, Folder target, FolderHistory transaction) voidFolderDAO.move(Folder source, Folder target, FolderHistory transaction) Moves a folder into another foldervoidHibernateFolderDAO.move(Folder source, Folder target, FolderHistory transaction) voidFolderDAO.restore(long folderId, long parentId, FolderHistory transaction) Restores a previously deleted foldervoidHibernateFolderDAO.restore(long folderId, long parentId, FolderHistory transaction) voidFolderDAO.saveFolderHistory(Folder folder, FolderHistory transaction) Utility method that logs into the DB the transaction that involved the passed folder.voidHibernateFolderDAO.saveFolderHistory(Folder folder, FolderHistory transaction) Utility method that logs into the DB the transaction that involved the passed folder.voidFolderDAO.store(Folder folder, FolderHistory transaction) Same as store(Folder, boolean, FolderHistory)voidvoidHibernateFolderDAO.store(Folder folder, FolderHistory transaction) voidHibernateFolderHistoryDAO.store(FolderHistory history) voidFolderDAO.updateSecurityRef(long folderId, long rightsFolderId, FolderHistory transaction) Changes the securityRef of the given folder, all the other folders that inherits from this one will be changed accordingly.voidHibernateFolderDAO.updateSecurityRef(long folderId, long rightsFolderId, FolderHistory transaction) -
Uses of PersistenceException in com.logicaldoc.core.generic
Methods in com.logicaldoc.core.generic that throw PersistenceException -
Uses of PersistenceException in com.logicaldoc.core.metadata
Methods in com.logicaldoc.core.metadata that throw PersistenceExceptionModifier and TypeMethodDescriptionCreates a clone of an existing templateintHibernateTemplateDAO.countDocs(long id) intTemplateDAO.countDocs(long id) Counts the total number of documents using this templatevoidHibernateAttributeOptionDAO.delete(long id, int code) voidHibernateAttributeSetDAO.delete(long id, int code) voidHibernateTemplateDAO.delete(long id, int code) HibernateTemplateDAO.findByName(String name, long tenantId) TemplateDAO.findByName(String name, long tenantId) This method finds a template by nameHibernateTemplateDAO.findByType(int type, long tenantId) TemplateDAO.findByType(int type, long tenantId) This method finds a template by typevoidHibernateAttributeSetDAO.store(AttributeSet set) void -
Uses of PersistenceException in com.logicaldoc.core.metadata.validation
Subclasses of PersistenceException in com.logicaldoc.core.metadata.validationModifier and TypeClassDescriptionclassRaised when the content being stored are not logically valid. -
Uses of PersistenceException in com.logicaldoc.core.searchengine.saved
Methods in com.logicaldoc.core.searchengine.saved that throw PersistenceExceptionModifier and TypeMethodDescriptionvoidHibernateSearchDAO.delete(long id, int code) HibernateSearchDAO.findByUserId(long userId) SearchDAO.findByUserId(long userId) Gets all the searches of a given user ordered by name ascHibernateSearchDAO.findByUserIdAndName(long userId, String name) SearchDAO.findByUserIdAndName(long userId, String name) Gets the search using the alternate keyvoidHibernateSearchDAO.store(SavedSearch search) -
Uses of PersistenceException in com.logicaldoc.core.security
Methods in com.logicaldoc.core.security that throw PersistenceExceptionModifier and TypeMethodDescriptionvoidUserListener.afterStore(User user, UserHistory transaction, Map<String, Object> dictionary) Called after a user is stored in the databasevoidUserListener.beforeStore(User user, UserHistory transaction, Map<String, Object> dictionary) Called before a user is stored in the databaseSecurityManager.getEnabledPermissions(long docId, long userId) Finds all permissions of a user enabled on the specified documentSecurityManagerImpl.getEnabledPermissions(long docId, long userId) booleanSecurityManager.isDownloadEnabled(long docId, long userId) booleanSecurityManagerImpl.isDownloadEnabled(long docId, long userId) booleanSecurityManager.isPermissionEnabled(Permission permission, long docId, long userId) This method checks if the given permission is enabled for a document and an user.booleanSecurityManagerImpl.isPermissionEnabled(Permission permission, long docId, long userId) booleanSecurityManager.isPrintEnabled(long docId, long userId) booleanSecurityManagerImpl.isPrintEnabled(long docId, long userId) booleanSecurityManager.isReadEnabled(long docId, long userId) booleanSecurityManagerImpl.isReadEnabled(long docId, long userId) booleanSecurityManager.isWriteEnabled(long docId, long userId) This method is looking up for writing rights for a folder and an user.booleanSecurityManagerImpl.isWriteEnabled(long docId, long userId) -
Uses of PersistenceException in com.logicaldoc.core.security.authentication
Methods in com.logicaldoc.core.security.authentication that throw PersistenceException -
Uses of PersistenceException in com.logicaldoc.core.security.dao
Methods in com.logicaldoc.core.security.dao that throw PersistenceExceptionModifier and TypeMethodDescriptionHibernateMenuDAO.createPath(long parentId, long tenantId, int type, String path, boolean inheritSecurity) MenuDAO.createPath(long parentId, long tenantId, int type, String path, boolean inheritSecurity) Creates the menu for the specified path.voidHibernateDeviceDAO.delete(long deviceId, int code) voidHibernateGroupDAO.delete(long groupId, int code) voidHibernateMenuDAO.delete(long menuId, int code) voidHibernateUserDAO.delete(long userId, int code) voidHibernateUserDAO.delete(long userId, UserHistory transaction) voidUserDAO.delete(long userId, UserHistory transaction) This method deletes the user object and insert a new user history entry.voidHibernateMenuDAO.deleteAll(Collection<Menu> menus) HibernateUserDAO.findAdminUser(String tenantName) UserDAO.findAdminUser(String tenantName) Retrieve the administrator for the given tenant.HibernateUserDAO.findById(long id) HibernatePasswordHistoryDAO.findByUserId(long userId, Integer max) PasswordHistoryDAO.findByUserId(long userId, Integer max) Gets all the histories related to a given user ordered by date descHibernatePasswordHistoryDAO.findByUserIdAndPassword(long userId, String password, int max) PasswordHistoryDAO.findByUserIdAndPassword(long userId, String password, int max) Gets the password used by the user in last max timesHibernateUserDAO.findByUsername(String username) UserDAO.findByUsername(String username) This method finds an User by its username.HibernateUserDAO.findByUsernameIgnoreCase(String username) UserDAO.findByUsernameIgnoreCase(String username) This method finds an User by its username.Depending on the global setting, it invokes findByUsername or findByUsernameIgnoreCasebooleanDeviceDAO.isTrustedDevice(String username, javax.servlet.http.HttpServletRequest request) Checks if the current request's device is trusted by the userbooleanHibernateDeviceDAO.isTrustedDevice(String username, javax.servlet.http.HttpServletRequest request) voidHibernateMenuDAO.restore(long menuId, boolean parents) voidMenuDAO.restore(long id, boolean parents) Restores a previously deleted menuvoidvoidvoidvoidvoidHibernateUserDAO.store(User user, UserHistory transaction) voidHibernateUserHistoryDAO.store(UserHistory history) voidUserDAO.store(User user, UserHistory transaction) This method persists the user object and insert a new user history entry.DeviceDAO.trustDevice(User user, Device device) Trusts a device for a userHibernateDeviceDAO.trustDevice(User user, Device requestDevice) -
Uses of PersistenceException in com.logicaldoc.core.sequence
Methods in com.logicaldoc.core.sequence that throw PersistenceException -
Uses of PersistenceException in com.logicaldoc.core.ticket
Methods in com.logicaldoc.core.ticket that throw PersistenceExceptionModifier and TypeMethodDescriptionvoidvoidHibernateTicketDAO.store(Ticket entity, DocumentHistory transaction) voidTicketDAO.store(Ticket ticket, DocumentHistory transaction) This method persists the download ticket object and insert a new document history entry -
Uses of PersistenceException in com.logicaldoc.core.transfer
Methods in com.logicaldoc.core.transfer that throw PersistenceExceptionModifier and TypeMethodDescriptionZipExport.process(FolderHistory transaction, boolean pdfConversion) Exports the specified folder contentZipExport.process(Long[] docIds, boolean pdfConversion, DocumentHistory transaction) Exports a selection of documentsvoidZipExport.process(Long[] docIds, OutputStream out, boolean pdfConversion, DocumentHistory transaction) Exports a selection of documentsvoidvoid -
Uses of PersistenceException in com.logicaldoc.core.util
Methods in com.logicaldoc.core.util that throw PersistenceException -
Uses of PersistenceException in com.logicaldoc.web.service
Methods in com.logicaldoc.web.service that throw PersistenceExceptionModifier and TypeMethodDescriptionDocumentServiceImpl.fromDocument(Document doc, GUIFolder folder, User sessionUser) FolderServiceImpl.fromFolder(Folder folder, boolean computePath) DocumentServiceImpl.getDocument(Session session, long docId) static List<SearchOptions>SearchServiceImpl.getSearches(Session session) Load all the search options associated to all the searches saved for the current userstatic DocumentDocumentServiceImpl.toDocument(GUIDocument guiDocument) Produces a plain new Document from a GUIDocument -
Uses of PersistenceException in com.logicaldoc.web.util
Methods in com.logicaldoc.web.util that throw PersistenceExceptionModifier and TypeMethodDescriptionstatic voidServletUtil.downloadDocument(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String sid, long docId, String fileVersion, String fileName, String suffix, User user) Sends the specified document to the response object; the client will receive it as a downloadstatic voidServletUtil.downloadDocument(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String sid, String docId, String fileVersion, String fileName, User user) Sends the specified document to the response object; the client will receive it as a downloadstatic voidServletUtil.downloadDocumentText(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, long docId, User user) Sends the specified document's indexed text to the response object; the client will receive it as a download -
Uses of PersistenceException in com.logicaldoc.webdav.resource.service
Methods in com.logicaldoc.webdav.resource.service that throw PersistenceException -
Uses of PersistenceException in com.logicaldoc.webservice.mobile
Methods in com.logicaldoc.webservice.mobile that throw PersistenceExceptionModifier and TypeMethodDescriptionjavax.ws.rs.core.ResponseCommentService.addComment(String sid, String docid, CommentVO comment) javax.ws.rs.core.ResponseCommentService.addCommentForm(String sid, String docid, String content) javax.ws.rs.core.ResponseCommentService.getComments(String sid, String docid) -
Uses of PersistenceException in com.logicaldoc.webservice.model
Methods in com.logicaldoc.webservice.model that throw PersistenceExceptionModifier and TypeMethodDescriptionstatic DocumentWSUtil.toDocument(WSDocument wsDoc) voidWSFolder.updateAttributes(Folder folder) -
Uses of PersistenceException in com.logicaldoc.webservice.rest
Methods in com.logicaldoc.webservice.rest that throw PersistenceExceptionModifier and TypeMethodDescriptionvoidDocumentMetadataService.addAttributeOption(long setId, String attribute, WSAttributeOption option) Add a new option for the given attributevoidTagService.addDocumentTags(long docId, String[] tags) Adds tags to a documentvoidTagService.addFolderTags(long folderId, String[] tags) Adds tags to a folderAdds a new note for the given documentBookmarkService.bookmarkDocument(long docId) BookmarkService.bookmarkFolder(long folderId) voidDocumentService.checkout(long docId) Executed the checkoutDocumentService.copy(long docId, long folderId, boolean links, boolean notes) Copies a document into another foldervoidCopies an existing folder with the given identifier.DocumentService.createAlias(long docId, long folderId, String type) Creates a new document alias for the given document inside a specified folderFolderService.createAlias(long parentId, long foldRef) Creates a new folder aliasDocumentService.createDownloadTicket(long docId, String suffix, Integer expireHours, String expireDate, Integer maxDownloads) Creates a new download ticketlongFolderService.createFolder(long parentId, String name) FolderService.createPath(long parentId, String path) voidCreates the PDF conversion of the given document; if the PDF conversion was already created, nothing will happenFolderService.createSimple(String folderPath) FolderService.createSimpleForm(String folderPath) FolderService.createSimpleJSON(String jsonstr) voidDocumentService.createThumbnail(long docId, String fileVersion, String type) Creates the thumbail of the given document; if the thumbnail was already created, nothing will happenDocumentService.createViewTicket(long docId, String suffix, Integer expireHours, String expireDate, Integer maxDownloads, Integer maxViews) Creates a new download ticketvoidDocumentService.delete(long docId) Deletes a documentvoidFolderService.delete(long folderId) voidDocumentMetadataService.deleteAttributeSet(long setId) Deletes an existing attribute set with the given identifier.voidBookmarkService.deleteBookmark(long bookmarkId) voidDocumentService.deleteLink(long id) Removes an existing linkvoidDocumentService.deleteNote(long noteId) Deletes a new note by note identifiervoidDocumentMetadataService.deleteTemplate(long templateId) Deletes an existing template with the given identifierDocumentService.deleteVersion(long docId, String version) Deletes a version by document identifier and version ID.SearchService.find(WSSearchOptions opt) SearchService.findByFilename(String filename) Finds authorized documents for the current user the given filename (like operator is used)FolderService.findByPath(String path) Finds the folder at the specified pathTagService.findDocumentsByTag(String tag) Finds authorized documents for the current user having a specified tagWSFolder[]SearchService.findFolders(String name) Finds authorized folders for the current user containing the given name (like operator is used)WSFolder[]TagService.findFoldersByTag(String tag) Finds authorized folders for the current user having a specified tag.DocumentService.getAliases(long docId) Gets the aliases of the given documentString[]DocumentMetadataService.getAttributeOptions(long setId, String attribute) Retrieves the options for the given attributeDocumentMetadataService.getAttributeSet(String name) Gets attribute set's metadataDocumentMetadataService.getAttributeSetById(long setId) Gets attribute set's metadataBookmarkService.getBookmarks()javax.activation.DataHandlerDocumentService.getContent(long docId) Retrieves the file content of a document.FolderService.getDefaultWorkspace()Gets the Default workspaceDocumentService.getDocument(long docId) Retrieves a document from the databaseDocumentService.getDocumentByCustomId(String customId) Gets document metadata of an existing document with the given custom identifierDocumentService.getDocuments(Long[] docIds) Gets document metadata of a collection of existing documents with the given identifiersString[]TagService.getDocumentTags(long docId) Retrieves all the tags of a documentDocumentService.getExtractedText(long docId) Gets the document's text stored in the full-text indexFolderService.getFolder(long folderId) String[]TagService.getFolderTags(long folderId) Retrieves all the tags of a folderWSRight[]FolderService.getGrantedGroups(long folderId) Retrieves the list of granted groups for the given folderWSRight[]FolderService.getGrantedUsers(long folderId) Retrieves the list of granted users for the given folder.WSLink[]DocumentService.getLinks(long docId) Gets all the links of a specific documentWSNote[]DocumentService.getNotes(long docId) Gets the notes for the given documentWSFolder[]FolderService.getPath(long folderId) FolderService.getPathString(long folderId) WSRating[]DocumentService.getRatings(long docId) Gets all the ratings of the given documentDocumentService.getRecentDocuments(Integer maxHits) Lists of last modified documents of the current sessionjavax.activation.DataHandlerDocumentService.getResource(long docId, String fileVersion, String suffix) Gets the content of a resource associated to the given document.FolderService.getRootFolder()Gets the root folderSystemService.getStatistics()Retrieves the system statisticsTagService.getTagCloud()Retrieves all tag clouds in the repositoryString[]TagService.getTags()Retrieves all the tags in the repositoryString[]TagService.getTagsPreset()Retrieves all the tags in the preset (if the input mode is preset).DocumentMetadataService.getTemplate(String name) Gets template's metadataDocumentMetadataService.getTemplateById(long templateId) Gets template's metadatajavax.activation.DataHandlerDocumentService.getThumbnail(String type, String docPath, List<javax.ws.rs.core.PathSegment> docPathList) Retrieves the thumbnail imagejavax.activation.DataHandlerDocumentService.getVersionContent(long docId, String version) Retrieves the file content of a version.DocumentService.getVersions(long docId) Gets the version history of an existing document with the given identifiervoidFolderService.grantGroup(long folderId, long groupId, int permissions, boolean recursive) Grants group permission to the foldervoidFolderService.grantUser(long folderId, long userId, int permissions, boolean recursive) Grants user permission to the folder.booleanFolderService.isGranted(long folderId, int permission) Tests if the current user has a specific permission on a folderbooleanDocumentService.isReadable(long docId) Tests if a document is readablebooleanFolderService.isReadable(long folderId) Tests if a folder is readable.booleanFolderService.isWritable(long folderId) Tests if a folder is writableCreates a new link between two documents.DocumentService.list(long folderId) Lists the documents in a folderDocumentMetadataService.listAttributeSets()Gets metadata of all existing attribute sets.WSFolder[]FolderService.listChildren(long folderId) DocumentService.listDocuments(long folderId, String fileName) Lists the documents in a folderDocumentMetadataService.listTemplates()Gets metadata of all existing templates.WSFolder[]FolderService.listWorkspaces()Retrieves the list of all workspaces.voidDocumentService.lock(long docId) Locks an existing document with the given identifier.voidDocumentService.move(long docId, long folderId) Moves an existing document with the given identifiervoidFolderService.move(long folderId, long parentId) Moves an existing folder with the given identifier.voidDocumentService.promoteVersion(long docId, String version) Promotes an old version to the current default one.DocumentService.rateDocument(long docId, int vote) Puts a new rating on the given documentvoidRe-indexes(or indexes from scratch) a documentvoidRenames the title of an existing document with the given identifier.voidRenames an existing folder.voidDocumentService.restore(long docId, long folderId) Restores a deleted documentBookmarkService.saveBookmark(WSBookmark bookmark) Adds a new note for the given documentvoidSends a set of documents as mail attachmentsvoidDocumentMetadataService.setAttributeOptions(long setId, String attribute, WSAttributeOption[] options) Saves the options for the given attributevoidDocumentMetadataService.setAttributeOptionsPOST(Long setId, String attribute, WSAttributeOption[] options) Saves the options for the given attribute with a POST method.voidTagService.setDocumentTags(long docId, String[] tags) Sets the tags of a documentvoidTagService.setFolderTags(long folderId, String[] tags) Sets the tags of a foldervoidDocumentService.setPassword(long docId, String password) Puts a password protection to the documentlongDocumentMetadataService.storeAttributeSet(WSAttributeSet attributeSet) Create/Update an attribute set.longDocumentMetadataService.storeTemplate(WSTemplate template) Create/Update a template.voidBookmarkService.unbookmarkDocument(long docId) voidBookmarkService.unbookmarkFolder(long folderId) voidDocumentService.unlock(long docId) Unlocks an existing document with the given identifier.booleanUnprotects a document that is password protected.voidDocumentService.unsetPassword(long docId, String currentPassword) Removes the password protection from the documentvoidDocumentService.update(WSDocument document) Updates an existing document with the value object containing the document's metadata.voidUpdates an existing folder.voidDocumentService.uploadResource(Integer docId, String fileVersion, String suffix, org.apache.cxf.jaxrs.ext.multipart.Attachment contentDetail) Uploads a new resource of the document Uploads a new resource attached to the given document. -
Uses of PersistenceException in com.logicaldoc.webservice.rest.client
Methods in com.logicaldoc.webservice.rest.client that throw PersistenceExceptionModifier and TypeMethodDescriptionvoidRestTagClient.addDocumentTags(long docId, String[] tags) voidRestTagClient.addFolderTags(long folderId, String[] tags) RestBookmarkClient.bookmarkDocument(long docId) RestBookmarkClient.bookmarkFolder(long folderId) voidRestDocumentClient.checkout(long docId) longRestFolderClient.createFolder(long parentId, String folderName) RestFolderClient.createPath(long rootFolder, String path) voidvoidRestDocumentClient.createThumbnail(long docId, String fileVersion, String type) voidRestDocumentClient.delete(long docId) voidRestFolderClient.delete(long folderId) voidRestDocumentMetadataClient.deleteAttributeSet(long setId) voidRestBookmarkClient.deleteBookmark(long bookmarkId) voidRestDocumentClient.deleteNote(long noteId) Adds a new note for the given documentvoidRestDocumentMetadataClient.deleteTemplate(long templateId) voidRestDocumentClient.deleteVersion(long docId, String version) Adds a new note for the given documentRestSearchClient.find(WSSearchOptions owd) RestFolderClient.findByPath(String path) RestTagClient.findDocumentsByTag(String tag) WSFolder[]RestTagClient.findFoldersByTag(String tag) String[]RestDocumentMetadataClient.getAttributeOptions(long setId, String attribute) RestDocumentMetadataClient.getAttributeSet(String name) RestDocumentMetadataClient.getAttributeSetById(long setId) RestBookmarkClient.getBookmarks()Retrieves all the bookmarks of the current userjavax.activation.DataHandlerRestDocumentClient.getContent(long docId) RestDocumentClient.getDocument(long docId) String[]RestTagClient.getDocumentTags(long docId) RestFolderClient.getFolder(long folderId) WSNote[]RestDocumentClient.getNotes(long docId) Gets the notes for the given documentWSRating[]RestDocumentClient.getRatings(long docId) Gets all the ratings of the given documentRestFolderClient.getRootFolder()String[]RestTagClient.getTags()RestDocumentMetadataClient.getTemplate(String name) RestDocumentMetadataClient.getTemplateById(long templateId) javax.activation.DataHandlerRestDocumentClient.getVersionContent(long docId, String version) RestDocumentClient.list(long folderId) RestDocumentMetadataClient.listAttributeSets()WSFolder[]RestFolderClient.listChildren(long folderId) RestDocumentClient.listDocuments(long folderId, String fileName) RestDocumentMetadataClient.listTemplates()RestDocumentClient.rateDocument(long docId, int vote) Puts a new rating on the given documentRestBookmarkClient.saveBookmark(WSBookmark bookmark) voidRestDocumentMetadataClient.setAttributeOptions(long setId, String attribute, WSAttributeOption[] options) voidRestDocumentMetadataClient.setAttributeOptionsPOST(long setId, String attribute, WSAttributeOption[] options) voidRestTagClient.setDocumentTags(long docId, String[] tags) voidRestTagClient.setFolderTags(long folderId, String[] tags) longRestDocumentMetadataClient.storeAttributeSet(WSAttributeSet attributeSet) longRestDocumentMetadataClient.storeTemplate(WSTemplate template) voidRestBookmarkClient.unbookmarkDocument(long docId) voidRestBookmarkClient.unbookmarkFolder(long folderId) voidRestDocumentClient.update(WSDocument document) void -
Uses of PersistenceException in com.logicaldoc.webservice.rest.endpoint
Methods in com.logicaldoc.webservice.rest.endpoint that throw PersistenceExceptionModifier and TypeMethodDescriptionvoidRestDocumentMetadataService.addAttributeOption(long setId, String attribute, WSAttributeOption option) voidRestTagService.addDocumentTags(long docId, String[] tags) voidRestTagService.addFolderTags(long folderId, String[] tags) RestBookmarkService.bookmarkDocument(long docId) RestBookmarkService.bookmarkFolder(long folderId) voidRestDocumentService.checkout(long docId) RestDocumentService.copy(long docId, long folderId, boolean links, boolean notes) voidRestDocumentService.createAlias(long docId, long folderId, String type) RestFolderService.createAlias(long parentId, long foldRef) RestDocumentService.createDownloadTicket(long docId, String suffix, Integer expireHours, String expireDate, Integer maxDownloads) longRestFolderService.createFolder(long parentId, String name) RestFolderService.createPath(long parentId, String path) voidRestFolderService.createSimple(String folderPath) RestFolderService.createSimpleForm(String folderPath) RestFolderService.createSimpleJSON(String jsonstr) voidRestDocumentService.createThumbnail(long docId, String fileVersion, String type) RestDocumentService.createViewTicket(long docId, String suffix, Integer expireHours, String expireDate, Integer maxDownloads, Integer maxViews) voidRestDocumentService.delete(long docId) voidRestFolderService.delete(long folderId) voidRestDocumentMetadataService.deleteAttributeSet(long setId) voidRestBookmarkService.deleteBookmark(long bookmarkId) voidRestDocumentService.deleteLink(long id) voidRestDocumentService.deleteNote(long noteId) voidRestDocumentMetadataService.deleteTemplate(long templateId) RestDocumentService.deleteVersion(long docId, String version) RestSearchService.find(WSSearchOptions opt) RestSearchService.findByFilename(String filename) RestFolderService.findByPath(String path) RestTagService.findDocumentsByTag(String tag) WSFolder[]RestSearchService.findFolders(String name) WSFolder[]RestTagService.findFoldersByTag(String tag) RestDocumentService.getAliases(long docId) String[]RestDocumentMetadataService.getAttributeOptions(long setId, String attribute) RestDocumentMetadataService.getAttributeSet(String name) RestDocumentMetadataService.getAttributeSetById(long setId) RestBookmarkService.getBookmarks()javax.activation.DataHandlerRestDocumentService.getContent(long docId) RestFolderService.getDefaultWorkspace()RestDocumentService.getDocument(long docId) RestDocumentService.getDocumentByCustomId(String customId) RestDocumentService.getDocuments(Long[] docIds) String[]RestTagService.getDocumentTags(long docId) RestDocumentService.getExtractedText(long docId) RestFolderService.getFolder(long folderId) String[]RestTagService.getFolderTags(long folderId) WSRight[]RestFolderService.getGrantedGroups(long folderId) WSRight[]RestFolderService.getGrantedUsers(long folderId) WSLink[]RestDocumentService.getLinks(long docId) WSNote[]RestDocumentService.getNotes(long docId) WSFolder[]RestFolderService.getPath(long folderId) RestFolderService.getPathString(long folderId) WSRating[]RestDocumentService.getRatings(long docId) RestDocumentService.getRecentDocuments(Integer maxHits) javax.activation.DataHandlerRestDocumentService.getResource(long docId, String fileVersion, String suffix) RestFolderService.getRootFolder()RestSystemService.getStatistics()RestTagService.getTagCloud()String[]RestTagService.getTags()String[]RestTagService.getTagsPreset()RestDocumentMetadataService.getTemplate(String name) RestDocumentMetadataService.getTemplateById(long templateId) javax.activation.DataHandlerRestDocumentService.getThumbnail(String type, String docPath, List<javax.ws.rs.core.PathSegment> docPathList) javax.activation.DataHandlerRestDocumentService.getVersionContent(long docId, String version) RestDocumentService.getVersions(long docId) voidRestFolderService.grantGroup(long folderId, long groupId, int permissions, boolean recursive) voidRestFolderService.grantUser(long folderId, long userId, int permissions, boolean recursive) booleanRestFolderService.isGranted(long folderId, int permission) booleanRestDocumentService.isReadable(long docId) booleanRestFolderService.isReadable(long folderId) booleanRestFolderService.isWritable(long folderId) RestDocumentService.list(long folderId) RestDocumentMetadataService.listAttributeSets()WSFolder[]RestFolderService.listChildren(long folderId) RestDocumentService.listDocuments(long folderId, String fileName) RestDocumentMetadataService.listTemplates()WSFolder[]RestFolderService.listWorkspaces()voidRestDocumentService.lock(long docId) voidRestDocumentService.move(long docId, long folderId) voidRestFolderService.move(long folderId, long parentId) voidRestDocumentService.promoteVersion(long docId, String version) RestDocumentService.rateDocument(long docId, int vote) voidvoidvoidvoidRestDocumentService.restore(long docId, long folderId) RestBookmarkService.saveBookmark(WSBookmark bookmark) voidvoidRestDocumentMetadataService.setAttributeOptions(long setId, String attribute, WSAttributeOption[] options) voidRestDocumentMetadataService.setAttributeOptionsPOST(Long setId, String attribute, WSAttributeOption[] options) voidRestTagService.setDocumentTags(long docId, String[] tags) voidRestTagService.setFolderTags(long folderId, String[] tags) voidRestDocumentService.setPassword(long docId, String password) longRestDocumentMetadataService.storeAttributeSet(WSAttributeSet attributeSet) longRestDocumentMetadataService.storeTemplate(WSTemplate template) voidRestBookmarkService.unbookmarkDocument(long docId) voidRestBookmarkService.unbookmarkFolder(long folderId) voidRestDocumentService.unlock(long docId) booleanvoidRestDocumentService.unsetPassword(long docId, String currentPassword) voidRestDocumentService.update(WSDocument document) voidvoidRestDocumentService.uploadResource(Integer docId, String fileVersion, String suffix, org.apache.cxf.jaxrs.ext.multipart.Attachment contentDetail) -
Uses of PersistenceException in com.logicaldoc.webservice.soap
Methods in com.logicaldoc.webservice.soap that throw PersistenceExceptionModifier and TypeMethodDescriptionvoidDocumentMetadataService.addAttributeOption(String sid, long setId, String attribute, WSAttributeOption option) Add a new option for the given attributevoidTagService.addDocumentTags(String sid, long docId, String[] tags) Adds tags to a documentvoidTagService.addFolderTags(String sid, long folderId, String[] tags) Adds tags to a folderAdds a new note for the given documentBookmarkService.bookmarkDocument(String sid, long docId) BookmarkService.bookmarkFolder(String sid, long folderId) intSecurityService.changePassword(String sid, long userId, String oldPassword, String newPassword) changes the password of a user.
0 if all is ok, 1 if the password is incorrect, 2 if the new password cannot be notified, otherwise a positive number grater than 2voidDocumentService.checkin(String sid, long docId, String comment, String filename, boolean release, javax.activation.DataHandler content) Checks in an existing document with the given identifier to create a new version.voidDocumentService.checkinDocument(String sid, long docId, String comment, String filename, boolean release, WSDocument docVO, javax.activation.DataHandler content) Checks in an existing document with the given identifier to create a new version.voidChecks out an existing document with the given identifier.Copies a document into another folder.voidFolderService.copy(String sid, long folderId, long targetId, int foldersOnly, String securityOption) Copies an existing folder with the given identifier.DocumentService.create(String sid, WSDocument document, javax.activation.DataHandler content) Create a new document.Creates a new folder.DocumentService.createAlias(String sid, long docId, long folderId, String type) Creates a new document alias for the given document inside a specified folderFolderService.createAlias(String sid, long parentId, long foldRef) Creates a new folder aliasDocumentService.createDownloadTicket(String sid, long docId, String suffix, Integer expireHours, String expireDate, Integer maxDownloads) Creates a new download ticketlongFolderService.createFolder(String sid, long parentId, String name) Create a new folder.FolderService.createPath(String sid, long parentId, String path) Creates the folder for the specified path.voidCreates the PDF conversion of the given document.voidDocumentService.createThumbnail(String sid, long docId, String fileVersion, String type) Creates the thumbnail of the given document.DocumentService.createViewTicket(String sid, long docId, String suffix, Integer expireHours, String expireDate, Integer maxDownloads, Integer maxViews) Creates a new view ticketvoidDeletes an existing document with the given identifier.voidDeletes an existing folder.voidDocumentMetadataService.deleteAttributeSet(String sid, long setId) Deletes an existing attribute set with the given identifier.voidBookmarkService.deleteBookmark(String sid, long bookmarkId) voidSecurityService.deleteGroup(String sid, long groupId) Deletes an existing group with the given identifiervoidDocumentService.deleteLink(String sid, long id) Removes an existing linkvoidDocumentService.deleteNote(String sid, long noteId) Adds a new note for the given documentvoidDocumentMetadataService.deleteTemplate(String sid, long templateId) Deletes an existing template with the given identifiervoidSecurityService.deleteUser(String sid, long userId) Deletes an existing user with the given identifierDocumentService.deleteVersion(String sid, long docId, String version) Deletes a version of a document with the given identifiers.SearchService.find(String sid, WSSearchOptions options) Performs a search by the search options.SearchService.findByFilename(String sid, String filename) Finds authorized documents for the current user the given filename (like operator is used)FolderService.findByPath(String sid, String path) Finds the folder at the specified pathTagService.findDocumentsByTag(String sid, String tag) Finds authorized documents for the current user having a specified tagWSFolder[]SearchService.findFolders(String sid, String name) Finds authorized folders for the current user containing the given name (like operator is used)WSFolder[]TagService.findFoldersByTag(String sid, String tag) Finds authorized folders for the current user having a specified tagDocumentService.getAliases(String sid, long docId) Gets the aliases of the given documentString[]DocumentMetadataService.getAttributeOptions(String sid, long setId, String attribute) Retrieves the options for the given attributeDocumentMetadataService.getAttributeOptionsByCategory(String sid, long setId, String attribute, String category) Retrieves the options for the given attribute inside a given categoryDocumentMetadataService.getAttributeSet(String sid, String name) Gets attribute set's metadataDocumentMetadataService.getAttributeSetById(String sid, long setId) Gets attribute set's metadataBookmarkService.getBookmarks(String sid) Retrieves all the bookmarks of the current userjavax.activation.DataHandlerDocumentService.getContent(String sid, long docId) Gets the content of an existing document with the given identifierFolderService.getDefaultWorkspace(String sid) Gets the Default workspaceDocumentService.getDocument(String sid, long docId) Gets the metadata of an existing document with the given identifierDocumentService.getDocumentByCustomId(String sid, String customId) Gets document metadata of an existing document with the given custom identifierDocumentService.getDocuments(String sid, Long[] docIds) Gets document metadata of a collection of existing documents with the given identifiersString[]TagService.getDocumentTags(String sid, long docId) Retrieves all the tags of a document.DocumentService.getExtractedText(String sid, long docId) Gets the document's text stored in the full-text indexGets an existing folderString[]TagService.getFolderTags(String sid, long folderId) Retrieves all the tags of a folderWSRight[]DocumentMetadataService.getGrantedGroups(String sid, long templateId) Retrieves the list of granted groups for the given templateWSRight[]FolderService.getGrantedGroups(String sid, long folderId) Retrieves the list of granted groups for the given folderWSRight[]DocumentMetadataService.getGrantedUsers(String sid, long templateId) Retrieves the list of granted users for the given template.WSRight[]FolderService.getGrantedUsers(String sid, long folderId) Retrieves the list of granted users for the given folder.Gets group metadata of an existing group with the given identifierWSLink[]Gets all the links of a specific documentWSNote[]Gets the notes for the given documentWSFolder[]Computes the path from the root to the target folder.WSRating[]DocumentService.getRatings(String sid, long docId) Gets all the ratings of the given documentDocumentService.getRecentDocuments(String sid, Integer maxHits) Lists of last modified documents of the current session.javax.activation.DataHandlerDocumentService.getResource(String sid, long docId, String fileVersion, String suffix) Gets the content of a resource associated to the given document.FolderService.getRootFolder(String sid) Gets root metadataSystemService.getStatistics(String sid) Retrieves the system statisticsTagService.getTagCloud(String sid) Retrieves all tag clouds in the repository.String[]Retrieves all the tags in the repositoryString[]TagService.getTagsPreset(String sid) Retrieves all the tags in the preset(if the input mode is preset).DocumentMetadataService.getTemplate(String sid, String name) Gets template's metadataDocumentMetadataService.getTemplateById(String sid, long templateId) Gets template's metadataGets user metadata of an existing user with the given identifierSecurityService.getUserByUsername(String sid, String username) Gets user metadata of an existing user with the given usernameDocumentService.getVersion(String sid, long docId, String version) Gets a specific versionjavax.activation.DataHandlerDocumentService.getVersionContent(String sid, long docId, String version) Gets the content of a specific version of a documentDocumentService.getVersions(String sid, long docId) Gets the version history of an existing document with the given identifiervoidFolderService.grantGroup(String sid, long folderId, long groupId, int permissions, boolean recursive) Grants group permission to the foldervoidDocumentMetadataService.grantGroupToTemplate(String sid, long templateId, long groupId, int permissions) Grants group permission to the template.voidGrants user permission to the folder.voidDocumentMetadataService.grantUserToTemplate(String sid, long templateId, long userId, int permissions) Grants user permission to the template.booleanTests if the current user has a specific permission on a folderbooleanDocumentService.isReadable(String sid, long docId) Tests if a document is readablebooleanFolderService.isReadable(String sid, long folderId) Tests if a folder is readable.booleanDocumentMetadataService.isTemplateReadable(String sid, long templateId) Tests if a template is readable.booleanDocumentMetadataService.isTemplateWritable(String sid, long templateId) Tests if a template is writablebooleanFolderService.isWritable(String sid, long folderId) Tests if a folder is writableCreates a new link between two documents.DocumentMetadataService.listAttributeSets(String sid) Gets metadata of all existing attribute sets.WSFolder[]FolderService.listChildren(String sid, long folderId) Lists all direct folders of a parent folder.
Attention: readable only sub-folders are returned.DocumentService.listDocuments(String sid, long folderId, String fileName) Gets a document in a specific folderWSGroup[]SecurityService.listGroups(String sid) Gets group metadata of all existing groups.DocumentMetadataService.listTemplates(String sid) Gets metadata of all existing templates.WSUser[]Gets metadata of all existing usersWSFolder[]FolderService.listWorkspaces(String sid) Retrieves the list of all workspaces.voidLocks an existing document with the given identifier.voidMerges the contents of folder into a targetvoidMoves an existing document with the given identifier.voidMoves an existing folder with the given identifier.voidDocumentService.promoteVersion(String sid, long docId, String version) Promotes an old version to the current default one.DocumentService.rateDocument(String sid, long docId, int vote) Puts a new rating on the given documentvoidRe-indexes(or indexes from scratch) a documentvoidRenames the title of an existing document with the given identifier.voidRenames an existing folder.voidDocumentService.replaceFile(String sid, long docId, String fileVersion, String comment, javax.activation.DataHandler content) Replaces the file associated to a given version.voidRestores a deleted documentBookmarkService.saveBookmark(String sid, WSBookmark bookmark) Adds a new note for the given documentvoidDocumentService.sendEmail(String sid, Long[] docIds, String recipients, String subject, String message) Sends a set of documents as mail attachmentsvoidDocumentMetadataService.setAttributeOptions(String sid, long setId, String attribute, WSAttributeOption[] options) Saves the options for the given attributevoidTagService.setDocumentTags(String sid, long docId, String[] tags) Sets the tags of a documentvoidTagService.setFolderTags(String sid, long folderId, String[] tags) Sets the tags of a foldervoidDocumentService.setPassword(String sid, long docId, String password) Puts a password protection to the documentlongDocumentMetadataService.storeAttributeSet(String sid, WSAttributeSet attributeSet) Create/Update an attribute set.longSecurityService.storeGroup(String sid, WSGroup group) Creates/Updates a group.longDocumentMetadataService.storeTemplate(String sid, WSTemplate template) Create/Update a template.longCreates/Updates a user.voidBookmarkService.unbookmarkDocument(String sid, long docId) voidBookmarkService.unbookmarkFolder(String sid, long folderId) voidUnlocks an existing document with the given identifier.booleanUnprotects a document that is password protected.voidDocumentService.unsetPassword(String sid, long docId, String currentPassword) Removes the password protection from the documentvoidDocumentService.update(String sid, WSDocument document) Updates an existing document with the value object containing the document's metadatavoidUpdates an existing folder.longDocumentService.upload(String sid, Long docId, Long folderId, boolean release, String filename, String language, javax.activation.DataHandler content) Creates a new document or updates an existing one.voidDocumentService.uploadResource(String sid, long docId, String fileVersion, String suffix, javax.activation.DataHandler content) Uploads a new resource attached to the given document. -
Uses of PersistenceException in com.logicaldoc.webservice.soap.client
Methods in com.logicaldoc.webservice.soap.client that throw PersistenceExceptionModifier and TypeMethodDescriptionvoidSoapDocumentMetadataClient.addAttributeOption(String sid, long setId, String attribute, WSAttributeOption wsoption) voidSoapTagClient.addDocumentTags(String sid, long docId, String[] tags) voidSoapTagClient.addFolderTags(String sid, long folderId, String[] tags) SoapBookmarkClient.bookmarkDocument(String sid, long docId) SoapBookmarkClient.bookmarkFolder(String sid, long folderId) intSoapSecurityClient.changePassword(String sid, long userId, String oldPassword, String newPassword) voidSoapDocumentClient.checkin(String sid, long docId, String comment, String filename, boolean release, File content) voidSoapDocumentClient.checkin(String sid, long docId, String comment, String filename, boolean release, javax.activation.DataHandler content) voidSoapDocumentClient.checkinDocument(String sid, long docId, String comment, String filename, boolean release, WSDocument docVO, File content) voidSoapDocumentClient.checkinDocument(String sid, long docId, String comment, String filename, boolean release, WSDocument docVO, javax.activation.DataHandler content) voidvoidSoapFolderClient.copy(String sid, long folderId, long parentId, int foldersOnly, String securityOption) SoapDocumentClient.create(String sid, WSDocument document, File content) SoapDocumentClient.create(String sid, WSDocument document, javax.activation.DataHandler content) SoapDocumentClient.createAlias(String sid, long docId, long folderId, String type) SoapFolderClient.createAlias(String sid, long parentId, long foldRef) SoapDocumentClient.createDownloadTicket(String sid, long docId, String suffix, Integer expireHours, String expireDate, Integer maxDownloads) longSoapFolderClient.createFolder(String sid, long parentId, String name) SoapFolderClient.createPath(String sid, long parentId, String path) voidvoidSoapDocumentClient.createThumbnail(String sid, long docId, String fileVersion, String type) SoapDocumentClient.createViewTicket(String sid, long docId, String suffix, Integer expireHours, String expireDate, Integer maxDownloads, Integer maxViews) voidvoidvoidSoapDocumentMetadataClient.deleteAttributeSet(String sid, long setId) voidSoapBookmarkClient.deleteBookmark(String sid, long bookmarkId) voidSoapSecurityClient.deleteGroup(String sid, long groupId) voidSoapDocumentClient.deleteLink(String sid, long id) voidSoapDocumentClient.deleteNote(String sid, long noteId) voidSoapDocumentMetadataClient.deleteTemplate(String sid, long templateId) voidSoapSecurityClient.deleteUser(String sid, long userId) SoapDocumentClient.deleteVersion(String sid, long docId, String version) voidSoapDocumentClient.downloadContent(String sid, long docId, File out) voidSoapDocumentClient.downloadResourceContent(String sid, long docId, String fileVersion, String suffix, File out) voidSoapDocumentClient.downloadVersionContent(String sid, long docId, String version, File out) SoapSearchClient.find(String sid, WSSearchOptions options) SoapSearchClient.findByFilename(String sid, String filename) SoapFolderClient.findByPath(String sid, String path) SoapTagClient.findDocumentsByTag(String sid, String tag) WSFolder[]SoapSearchClient.findFolders(String sid, String name) WSFolder[]SoapTagClient.findFoldersByTag(String sid, String tag) SoapDocumentClient.getAliases(String sid, long docId) String[]SoapDocumentMetadataClient.getAttributeOptions(String sid, long setId, String attribute) SoapDocumentMetadataClient.getAttributeOptionsByCategory(String sid, long setId, String attribute, String category) SoapDocumentMetadataClient.getAttributeSet(String sid, String name) SoapDocumentMetadataClient.getAttributeSetById(String sid, long setId) SoapBookmarkClient.getBookmarks(String sid) javax.activation.DataHandlerSoapDocumentClient.getContent(String sid, long docId) SoapFolderClient.getDefaultWorkspace(String sid) SoapDocumentClient.getDocument(String sid, long docId) SoapDocumentClient.getDocumentByCustomId(String sid, String customId) SoapDocumentClient.getDocuments(String sid, Long[] docIds) String[]SoapTagClient.getDocumentTags(String sid, long docId) SoapDocumentClient.getExtractedText(String sid, long docId) String[]SoapTagClient.getFolderTags(String sid, long folderId) WSRight[]SoapDocumentMetadataClient.getGrantedGroups(String sid, long groupId) WSRight[]SoapFolderClient.getGrantedGroups(String sid, long folderId) WSRight[]SoapDocumentMetadataClient.getGrantedUsers(String sid, long groupId) WSRight[]SoapFolderClient.getGrantedUsers(String sid, long folderId) WSLink[]WSNote[]WSFolder[]WSRating[]SoapDocumentClient.getRatings(String sid, long docId) SoapDocumentClient.getRecentDocuments(String sid, Integer max) javax.activation.DataHandlerSoapDocumentClient.getResource(String sid, long docId, String fileVersion, String suffix) SoapFolderClient.getRootFolder(String sid) SoapSystemClient.getStatistics(String sid) SoapTagClient.getTagCloud(String sid) String[]String[]SoapTagClient.getTagsPreset(String sid) SoapDocumentMetadataClient.getTemplate(String sid, String name) SoapDocumentMetadataClient.getTemplateById(String sid, long templateId) SoapSecurityClient.getUserByUsername(String sid, String username) SoapDocumentClient.getVersion(String sid, long docId, String version) javax.activation.DataHandlerSoapDocumentClient.getVersionContent(String sid, long docId, String version) SoapDocumentClient.getVersions(String sid, long docId) voidSoapFolderClient.grantGroup(String sid, long folderId, long groupId, int permissions, boolean recursive) voidSoapDocumentMetadataClient.grantGroupToTemplate(String sid, long templateId, long groupId, int permissions) voidSoapFolderClient.grantUser(String sid, long folderId, long userId, int permissions, boolean recursive) voidSoapDocumentMetadataClient.grantUserToTemplate(String sid, long templateId, long userId, int permissions) booleanbooleanSoapDocumentClient.isReadable(String sid, long docId) booleanSoapFolderClient.isReadable(String sid, long folderId) booleanSoapDocumentMetadataClient.isTemplateReadable(String sid, long templateId) booleanSoapDocumentMetadataClient.isTemplateWritable(String sid, long templateId) booleanSoapFolderClient.isWritable(String sid, long folderId) SoapDocumentMetadataClient.listAttributeSets(String sid) WSFolder[]SoapFolderClient.listChildren(String sid, long folderId) SoapDocumentClient.listDocuments(String sid, long folderId, String fileName) WSGroup[]SoapSecurityClient.listGroups(String sid) SoapDocumentMetadataClient.listTemplates(String sid) WSUser[]WSFolder[]SoapFolderClient.listWorkspaces(String sid) voidvoidvoidvoidvoidSoapDocumentClient.promoteVersion(String sid, long docId, String version) SoapDocumentClient.rateDocument(String sid, long docId, int vote) voidvoidvoidvoidSoapDocumentClient.replaceFile(String sid, long docId, String fileVersion, String comment, javax.activation.DataHandler content) voidSoapBookmarkClient.saveBookmark(String sid, WSBookmark bookmark) voidSoapDocumentClient.sendEmail(String sid, Long[] docIds, String recipients, String subject, String message) voidSoapDocumentMetadataClient.setAttributeOptions(String sid, long setId, String attribute, WSAttributeOption[] options) voidSoapTagClient.setDocumentTags(String sid, long docId, String[] tags) voidSoapTagClient.setFolderTags(String sid, long folderId, String[] tags) voidSoapDocumentClient.setPassword(String sid, long docId, String password) longSoapDocumentMetadataClient.storeAttributeSet(String sid, WSAttributeSet attributeSet) longSoapSecurityClient.storeGroup(String sid, WSGroup group) longSoapDocumentMetadataClient.storeTemplate(String sid, WSTemplate template) longvoidSoapBookmarkClient.unbookmarkDocument(String sid, long docId) voidSoapBookmarkClient.unbookmarkFolder(String sid, long folderId) voidbooleanvoidSoapDocumentClient.unsetPassword(String sid, long docId, String currentPassword) voidSoapDocumentClient.update(String sid, WSDocument document) voidlongSoapDocumentClient.upload(String sid, Long docId, Long folderId, boolean release, String filename, String language, javax.activation.DataHandler content) voidSoapDocumentClient.uploadResource(String sid, long docId, String fileVersion, String suffix, File content) voidSoapDocumentClient.uploadResource(String sid, long docId, String fileVersion, String suffix, javax.activation.DataHandler content) -
Uses of PersistenceException in com.logicaldoc.webservice.soap.endpoint
Methods in com.logicaldoc.webservice.soap.endpoint that throw PersistenceExceptionModifier and TypeMethodDescriptionvoidSoapDocumentMetadataService.addAttributeOption(String sid, long setId, String attribute, WSAttributeOption wsoption) voidSoapTagService.addDocumentTags(String sid, long docId, String[] tags) voidSoapTagService.addFolderTags(String sid, long folderId, String[] tags) SoapBookmarkService.bookmarkDocument(String sid, long docId) SoapBookmarkService.bookmarkFolder(String sid, long folderId) intSoapSecurityService.changePassword(String sid, long userId, String oldPassword, String newPassword) voidSoapDocumentService.checkin(String sid, long docId, String comment, String filename, boolean release, WSDocument docVO, InputStream content) voidSoapDocumentService.checkin(String sid, long docId, String comment, String filename, boolean release, javax.activation.DataHandler content) voidSoapDocumentService.checkinDocument(String sid, long docId, String comment, String filename, boolean release, WSDocument docVO, InputStream content) voidSoapDocumentService.checkinDocument(String sid, long docId, String comment, String filename, boolean release, WSDocument docVO, javax.activation.DataHandler content) voidvoidSoapFolderService.copy(String sid, long folderId, long targetId, int foldersOnly, String securityOption) SoapDocumentService.create(String sid, WSDocument document, InputStream content) SoapDocumentService.create(String sid, WSDocument document, javax.activation.DataHandler content) SoapDocumentService.createAlias(String sid, long docId, long folderId, String type) SoapFolderService.createAlias(String sid, long parentId, long foldRef) SoapDocumentService.createDownloadTicket(String sid, long docId, String suffix, Integer expireHours, String expireDate, Integer maxDownloads) longSoapFolderService.createFolder(String sid, long parentId, String name) SoapFolderService.createPath(String sid, long parentId, String path) voidvoidSoapDocumentService.createThumbnail(String sid, long docId, String fileVersion, String type) SoapDocumentService.createViewTicket(String sid, long docId, String suffix, Integer expireHours, String expireDate, Integer maxDownloads, Integer maxViews) voidvoidvoidSoapDocumentMetadataService.deleteAttributeSet(String sid, long setId) voidSoapBookmarkService.deleteBookmark(String sid, long bookmarkId) voidSoapSecurityService.deleteGroup(String sid, long groupId) voidSoapDocumentService.deleteLink(String sid, long id) voidSoapDocumentService.deleteNote(String sid, long noteId) voidSoapDocumentMetadataService.deleteTemplate(String sid, long templateId) voidSoapSecurityService.deleteUser(String sid, long userId) SoapDocumentService.deleteVersion(String sid, long docId, String version) SoapSearchService.find(String sid, WSSearchOptions opt) SoapSearchService.findByFilename(String sid, String filename) SoapFolderService.findByPath(String sid, String path) SoapTagService.findDocumentsByTag(String sid, String tag) WSFolder[]SoapSearchService.findFolders(String sid, String name) WSFolder[]SoapTagService.findFoldersByTag(String sid, String tag) SoapDocumentService.getAliases(String sid, long docId) String[]SoapDocumentMetadataService.getAttributeOptions(String sid, long setId, String attribute) SoapDocumentMetadataService.getAttributeOptionsByCategory(String sid, long setId, String attribute, String category) SoapDocumentMetadataService.getAttributeSet(String sid, String name) SoapDocumentMetadataService.getAttributeSetById(String sid, long setId) SoapBookmarkService.getBookmarks(String sid) javax.activation.DataHandlerSoapDocumentService.getContent(String sid, long docId) SoapFolderService.getDefaultWorkspace(String sid) SoapDocumentService.getDocument(String sid, long docId) SoapDocumentService.getDocumentByCustomId(String sid, String customId) SoapDocumentService.getDocuments(String sid, Long[] docIds) String[]SoapTagService.getDocumentTags(String sid, long docId) SoapDocumentService.getExtractedText(String sid, long docId) String[]SoapTagService.getFolderTags(String sid, long folderId) WSRight[]SoapDocumentMetadataService.getGrantedGroups(String sid, long templateId) WSRight[]SoapFolderService.getGrantedGroups(String sid, long folderId) WSRight[]SoapDocumentMetadataService.getGrantedUsers(String sid, long templateId) WSRight[]SoapFolderService.getGrantedUsers(String sid, long folderId) WSLink[]WSNote[]WSFolder[]WSRating[]SoapDocumentService.getRatings(String sid, long docId) SoapDocumentService.getRecentDocuments(String sid, Integer max) javax.activation.DataHandlerSoapDocumentService.getResource(String sid, long docId, String fileVersion, String suffix) SoapFolderService.getRootFolder(String sid) SoapSystemService.getStatistics(String sid) SoapTagService.getTagCloud(String sid) String[]String[]SoapTagService.getTagsPreset(String sid) SoapDocumentMetadataService.getTemplate(String sid, String name) SoapDocumentMetadataService.getTemplateById(String sid, long templateId) SoapSecurityService.getUserByUsername(String sid, String username) SoapDocumentService.getVersion(String sid, long docId, String version) javax.activation.DataHandlerSoapDocumentService.getVersionContent(String sid, long docId, String version) SoapDocumentService.getVersions(String sid, long docId) voidSoapFolderService.grantGroup(String sid, long folderId, long groupId, int permissions, boolean recursive) voidSoapDocumentMetadataService.grantGroupToTemplate(String sid, long templateId, long groupId, int permissions) voidSoapFolderService.grantUser(String sid, long folderId, long userId, int permissions, boolean recursive) voidSoapDocumentMetadataService.grantUserToTemplate(String sid, long templateId, long userId, int permissions) booleanbooleanSoapDocumentService.isReadable(String sid, long docId) booleanSoapFolderService.isReadable(String sid, long folderId) booleanSoapDocumentMetadataService.isTemplateReadable(String sid, long templateId) booleanSoapDocumentMetadataService.isTemplateWritable(String sid, long templateId) booleanSoapFolderService.isWritable(String sid, long folderId) SoapDocumentMetadataService.listAttributeSets(String sid) WSFolder[]SoapFolderService.listChildren(String sid, long folderId) SoapDocumentService.listDocuments(String sid, long folderId, String fileName) WSGroup[]SoapSecurityService.listGroups(String sid) SoapDocumentMetadataService.listTemplates(String sid) WSUser[]WSFolder[]SoapFolderService.listWorkspaces(String sid) voidvoidvoidvoidvoidSoapDocumentService.promoteVersion(String sid, long docId, String version) SoapDocumentService.rateDocument(String sid, long docId, int vote) voidvoidvoidvoidSoapDocumentService.replaceFile(String sid, long docId, String fileVersion, String comment, javax.activation.DataHandler content) voidSoapBookmarkService.saveBookmark(String sid, WSBookmark bookmark) voidSoapDocumentService.sendEmail(String sid, Long[] docIds, String recipients, String subject, String message) voidSoapDocumentMetadataService.setAttributeOptions(String sid, long setId, String attribute, WSAttributeOption[] wsOptions) voidSoapTagService.setDocumentTags(String sid, long docId, String[] tags) voidSoapTagService.setFolderTags(String sid, long folderId, String[] tags) voidSoapDocumentService.setPassword(String sid, long docId, String password) longSoapDocumentMetadataService.storeAttributeSet(String sid, WSAttributeSet attributeSet) longSoapSecurityService.storeGroup(String sid, WSGroup group) longSoapDocumentMetadataService.storeTemplate(String sid, WSTemplate wsTemplate) longvoidSoapBookmarkService.unbookmarkDocument(String sid, long docId) voidSoapBookmarkService.unbookmarkFolder(String sid, long folderId) voidbooleanvoidSoapDocumentService.unsetPassword(String sid, long docId, String currentPassword) voidSoapDocumentService.update(String sid, WSDocument document) voidlongSoapDocumentService.upload(String sid, Long docId, Long folderId, boolean release, String filename, String language, javax.activation.DataHandler content) voidSoapDocumentService.uploadResource(String sid, long docId, String fileVersion, String suffix, javax.activation.DataHandler content)