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
Container of the security-related interfaces and classes
APIKey is another way to authenticate when using an API like Webservices
The pluggable authentication mechanism.
Package for the Menu, a menu represent a graphical element of the user
interface
Definition of the User object and ancillary objects
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 HQL 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.findAll()HibernatePersistentObjectDAO.findAll(long tenantId) PersistentObjectDAO.findAll()Finds all entities in the databasePersistentObjectDAO.findAll(long tenantId) Finds all entities in a specific tenant.HibernatePersistentObjectDAO.findAllIds()HibernatePersistentObjectDAO.findAllIds(long tenantId) PersistentObjectDAO.findAllIds()Finds all entities idsPersistentObjectDAO.findAllIds(long tenantId) Finds all entities ids in a specific tenant.HibernatePersistentObjectDAO.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.<R> List<R> HibernatePersistentObjectDAO.findByQuery(String query, Map<String, Object> parameters, Class<R> requiredType, Integer max) <R> List<R> PersistentObjectDAO.findByQuery(String query, Map<String, Object> parameters, Class<R> requiredType, Integer max) Find everything you want from the DB using the ORM query languageFind 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.voidHibernatePersistentObjectDAO.initialize(T entity) Doesn't do anything by defaultvoidPersistentObjectDAO.initialize(T entity) Initialises lazy loaded data such as collectionsintHibernatePersistentObjectDAO.jdbcUpdate(String sql) intHibernatePersistentObjectDAO.jdbcUpdate(String sql, Map<String, Object> parameters) intPersistentObjectDAO.jdbcUpdate(String sql) Executes the given SQL update statementintPersistentObjectDAO.jdbcUpdate(String sql, 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 arguments<P> List<P> HibernatePersistentObjectDAO.query(String sql, Map<String, Object> parameters, org.springframework.jdbc.core.RowMapper<P> rowMapper, Integer maxRows) <P> List<P> HibernatePersistentObjectDAO.query(String sql, org.springframework.jdbc.core.RowMapper<P> rowMapper, Integer maxRows) <P> List<P> PersistentObjectDAO.query(String sql, Map<String, Object> parameters, org.springframework.jdbc.core.RowMapper<P> 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.<P> List<P> PersistentObjectDAO.query(String sql, org.springframework.jdbc.core.RowMapper<P> 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) intHibernatePersistentObjectDAO.queryForInt(String sql, Map<String, Object> parameters) intPersistentObjectDAO.queryForInt(String sql) Execute a query that results in an int value, given static SQL.intPersistentObjectDAO.queryForInt(String sql, Map<String, Object> parameters) Execute a query that results in an int value, given static SQL.<R> List<R> HibernatePersistentObjectDAO.queryForList(String sql, Class<R> requiredType) <R> List<R> HibernatePersistentObjectDAO.queryForList(String sql, Class<R> requiredType, Integer maxRows) <R> List<R> HibernatePersistentObjectDAO.queryForList(String sql, Map<String, Object> parameters, Class<R> requiredType, Integer maxRows) <R> List<R> PersistentObjectDAO.queryForList(String sql, Class<R> requiredType) Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, expecting a result list.<R> List<R> PersistentObjectDAO.queryForList(String sql, Class<R> requiredType, Integer maxRows) Execute a query for a result list, given static SQL.<R> List<R> PersistentObjectDAO.queryForList(String sql, Map<String, Object> parameters, Class<R> requiredType, 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.<R> RHibernatePersistentObjectDAO.queryForObject(String sql, Class<R> requiredType) <R> RHibernatePersistentObjectDAO.queryForObject(String sql, Map<String, Object> parameters, Class<R> requiredType) <R> RPersistentObjectDAO.queryForObject(String sql, Class<R> requiredType) Execute a query that results in a Object value, given static SQL.<R> RPersistentObjectDAO.queryForObject(String sql, Map<String, Object> parameters, Class<R> requiredType) Execute a query that results in a Object value, given static SQL.voidHibernatePersistentObjectDAO.queryForResultSet(String sql, Map<String, Object> parameters, Integer maxRows, ResultSetWalker walker) voidPersistentObjectDAO.queryForResultSet(String sql, Map<String, Object> parameters, Integer maxRows, ResultSetWalker worker) Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, you can give your own worker to iterate theResultSet.HibernatePersistentObjectDAO.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.deleteExpiredMessages(int type) voidHibernateSystemMessageDAO.deleteExpiredMessages(String recipient) voidSystemMessageDAO.deleteExpiredMessages(int type) Removes all expired messages for the specified typevoidSystemMessageDAO.deleteExpiredMessages(String recipient) Removes all system expired messages for the specified recipientHibernateMessageTemplateDAO.findByLanguage(String language, long tenantId) MessageTemplateDAO.findByLanguage(String language, long tenantId) Finds the templates by given languageHibernateSystemMessageDAO.findByMode(String mode) SystemMessageDAO.findByMode(String mode) This method selects all the messages for the specified modeHibernateMessageTemplateDAO.findByName(String name, long tenantId) MessageTemplateDAO.findByName(String name, long tenantId) Finds the templates by given name, you may have the same name but for different languages.HibernateMessageTemplateDAO.findByNameAndLanguage(String name, String language, long tenantId) MessageTemplateDAO.findByNameAndLanguage(String name, String language, long tenantId) Finds the template by the alternate key.HibernateSystemMessageDAO.findByRecipient(String recipient, int type, Integer read) SystemMessageDAO.findByRecipient(String recipient, int type, Integer read) This method selects all the messages for the specified recipient and typeHibernateSystemMessageDAO.findByType(int type) SystemMessageDAO.findByType(int type) This method selects all the messages for the specified typeHibernateMessageTemplateDAO.findByTypeAndLanguage(String type, String language, long tenantId) MessageTemplateDAO.findByTypeAndLanguage(String type, String language, long tenantId) Finds the templates by the type.HibernateSystemMessageDAO.findMessagesToBeSent(int type, int maxTrial) SystemMessageDAO.findMessagesToBeSent(int type, int maxTrials) This method selects all the messages for the specified type that are not been already sent and for which the number of sending trials is less than the maximum number (parameter 'notifier.maxtrials')intHibernateSystemMessageDAO.getUnreadCount(String recipient, int type) intSystemMessageDAO.getUnreadCount(String recipient, int type) This methods gets the number of unread messages for the specified recipient and type.voidHibernateSystemMessageDAO.store(SystemMessage message) -
Uses of PersistenceException in com.logicaldoc.core.contact
Methods in com.logicaldoc.core.contact that throw PersistenceExceptionModifier and TypeMethodDescriptionContactDAO.findByUser(Long userId, String email) Finds the contacts of the specified user.HibernateContactDAO.findByUser(Long userId, String email) -
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 PersistenceExceptionModifier and TypeMethodDescriptionvoidHibernateDashletDAO.delete(long id, int code) DashletDAO.findByName(String name, long tenantId) Finds the dashlet by it's nameHibernateDashletDAO.findByName(String name, long tenantId) -
Uses of PersistenceException in com.logicaldoc.core.document
Subclasses of PersistenceException in com.logicaldoc.core.documentModifier and TypeClassDescriptionclassException raised when you try to add more documents than allowed in the same folderMethods 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) voidDocumentDAO.applyParentFolderSecurity(long docId, DocumentHistory transaction) Replaces the document's security policies with those from the parent foldervoidHibernateDocumentDAO.applyParentFolderSecurity(long docId, DocumentHistory transaction) voidDocumentDAO.archive(long docId, DocumentHistory transaction) Archives a documentvoidHibernateDocumentDAO.archive(long docId, DocumentHistory transaction) voidDocumentManager.archiveDocuments(Set<Long> docIds, DocumentHistory transaction) Archives all the documents in a folder's treevoidDocumentManagerImpl.archiveDocuments(Set<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) voidDocumentDAO.cleanExpiredTransactions()Cleans all references to expired transactions.voidHibernateDocumentDAO.cleanExpiredTransactions()voidDocumentHistoryDAO.cleanOldHistories(int ttl) This method deletes all the document history entries older than the given days from now.voidHibernateDocumentHistoryDAO.cleanOldHistories(int ttl) 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) DocumentManager.copyToFolder(Document doc, Folder folder, DocumentHistory transaction, boolean links, boolean notes, boolean security) Copy a document to the specified folder.DocumentManagerImpl.copyToFolder(Document doc, Folder folder, DocumentHistory transaction, boolean links, boolean notes, boolean security) longCounts the number of documentslonglongDocumentDAO.countByIndexed(int indexed) Counts the number of documents in a given indexation status(@seeAbstractDocument.getIndexed()longHibernateDocumentDAO.countByIndexed(int indexed) 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) 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) DocumentManager.deleteVersion(long versionId, DocumentHistory transaction) Deletes a specific version.DocumentManagerImpl.deleteVersion(long versionId, DocumentHistory transaction) voidDocumentManager.destroyDocument(long docId, FolderHistory transaction) Permanently deletes a document from the system, the document and all the dependent resources will not be recoverable in the future.voidDocumentManagerImpl.destroyDocument(long docId, FolderHistory transaction) intDocumentManager.enforceFilesIntoFolderStore(long rootFolderId, DocumentHistory transaction) Moves all the files of the documents in the given tree from it's original location to the store defined in the owning folderintDocumentManagerImpl.enforceFilesIntoFolderStore(long rootFolderId, DocumentHistory transaction) 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) BookmarkDAO.findBookmarkedDocs(long userId) Finds the identifiers of the docs bookmarked by the given userHibernateBookmarkDAO.findBookmarkedDocs(long userId) DocumentDAO.findByCustomId(String customId, long tenantId) This method finds a document by the custom ID.HibernateDocumentDAO.findByCustomId(String customId, long tenantId) DocumentHistoryDAO.findByDocId(long docId) This method selects all histories of a given document.DocumentLinkDAO.findByDocId(long docId) This method finds the list of document link in which there is a document with the given IDDocumentLinkDAO.findByDocId(long docId, String type) This method finds the list of document link, filtered by the given link type, in which there is a document with the given IDDocumentNoteDAO.findByDocId(long docId, String fileVersion) This method finds the list of document notes regarding a document with the given IDHibernateDocumentHistoryDAO.findByDocId(long docId) HibernateDocumentLinkDAO.findByDocId(long docId) HibernateDocumentLinkDAO.findByDocId(long docId, String type) HibernateDocumentNoteDAO.findByDocId(long docId, String fileVersion) HibernateRatingDAO.findByDocId(long docId) HibernateVersionDAO.findByDocId(long docId) RatingDAO.findByDocId(long docId) Finds the ratings stored for the given document idVersionDAO.findByDocId(long docId) Finds all versions of the given documentDocumentHistoryDAO.findByDocIdAndEvent(long docId, String event) This method selects all histories of a given document.HibernateDocumentHistoryDAO.findByDocIdAndEvent(long docId, String event) DocumentNoteDAO.findByDocIdAndType(long docId, String fileVersion, String type) This method finds the list of document notes regarding a document with the given ID and optionally filter on the typeHibernateDocumentNoteDAO.findByDocIdAndType(long docId, String fileVersion, String type) DocumentNoteDAO.findByDocIdAndTypes(long docId, String fileVersion, Collection<String> types) This method finds the list of document notes regarding a document with the given ID and optionally filter on a collection of typesHibernateDocumentNoteDAO.findByDocIdAndTypes(long docId, String fileVersion, Collection<String> types) HibernateRatingDAO.findByDocIdAndUserId(long docId, long userId) RatingDAO.findByDocIdAndUserId(long docId, long userId) Finds the rating for the given user id and the given document idDocumentLinkDAO.findByDocIdsAndType(long docId1, long docId2, String type) Find a document link using its alternate keysHibernateDocumentLinkDAO.findByDocIdsAndType(long docId1, long docId2, String type) 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) HibernateVersionDAO.findByFileVersion(long docId, String fileVersion) VersionDAO.findByFileVersion(long docId, String fileVersion) This method finds a the first version with the given fileVersionDocumentDAO.findByFolder(long folderId, Integer max) Finds all documents direct children of the given folder.HibernateDocumentDAO.findByFolder(long folderId, Integer max) DocumentHistoryDAO.findByFolderId(long folderId) This method selects all histories of a given folder.HibernateDocumentHistoryDAO.findByFolderId(long folderId) 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 pathDocumentHistoryDAO.findByPath(String pathExpression, Date oldestDate, Collection<String> events, Integer max) This method finds all histories about a path (you can use expression)HibernateDocumentDAO.findByPath(String path, long tenantId) HibernateDocumentHistoryDAO.findByPath(String pathExpression, Date oldestDate, Collection<String> events, Integer max) BookmarkDAO.findByUserId(long userId) Finds all bookmarks for the given user idDocumentDAO.findByUserId(long userId) Finds all documents for an user.DocumentHistoryDAO.findByUserId(long userId) This method selects all histories of a given user.DocumentNoteDAO.findByUserId(long userId) This method finds the list of document notes regarding posted by a specific userHibernateBookmarkDAO.findByUserId(long userId) HibernateDocumentDAO.findByUserId(long userId) HibernateDocumentHistoryDAO.findByUserId(long userId) HibernateDocumentNoteDAO.findByUserId(long userId) BookmarkDAO.findByUserIdAndDocId(long userId, long docId) Finds all bookmarks for the given user id and the given document's identifierHibernateBookmarkDAO.findByUserIdAndDocId(long userId, long docId) DocumentHistoryDAO.findByUserIdAndEvent(long userId, String event, String sessionId) This method selects all histories of a given user and related to the given event.HibernateDocumentHistoryDAO.findByUserIdAndEvent(long userId, String event, String sessionId) BookmarkDAO.findByUserIdAndFolderId(long userId, long folderId) Finds the bookmark for the given user id and the given folder idHibernateBookmarkDAO.findByUserIdAndFolderId(long userId, long folderId) 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) HibernateVersionDAO.findByVersion(long docId, String version) VersionDAO.findByVersion(long docId, String version) This method finds a version by the document's ID an the version code.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) DocumentHistoryDAO.findNotNotified(Integer max) This method selects all histories not notified yet.HibernateDocumentHistoryDAO.findNotNotified(Integer max) 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) HibernateRatingDAO.findVotesByDocId(long docId) RatingDAO.findVotesByDocId(long docId) Returns a rating that contains count and average of vote on the given documentDocumentDAO.getAllowedPermissions(long documentId, long userId) Finds all permissions of a user enabled on the specified documentHibernateDocumentDAO.getAllowedPermissions(long docId, long userId) 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) 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) voidDocumentDAO.insertNewUniqueTags()Puts into ld_uniquetag the new unique tagsvoidHibernateDocumentDAO.insertNewUniqueTags()booleanBookmarkDAO.isDocBookmarkedByUser(long docId, long userId) Checks if the document is bookmarked by a userbooleanHibernateBookmarkDAO.isDocBookmarkedByUser(long docId, long userId) booleanDocumentDAO.isDownloadAllowed(long documentId, long userId) booleanHibernateDocumentDAO.isDownloadAllowed(long id, long userId) booleanDocumentDAO.isMoveAllowed(long documentId, long userId) booleanHibernateDocumentDAO.isMoveAllowed(long id, long userId) booleanDocumentDAO.isPermissionAllowed(Permission permission, long documentId, long userId) This method checks if the given permission is enabled for a document and an user.booleanHibernateDocumentDAO.isPermissionAllowed(Permission permission, long documentId, long userId) booleanDocumentDAO.isPreviewAllowed(long documentId, long userId) booleanHibernateDocumentDAO.isPreviewAllowed(long docId, long userId) booleanDocumentDAO.isPrintAllowed(long documentId, long userId) booleanHibernateDocumentDAO.isPrintAllowed(long id, long userId) booleanDocumentDAO.isReadAllowed(long documentId, long userId) booleanHibernateDocumentDAO.isReadAllowed(long docId, long userId) booleanDocumentDAO.isWriteAllowed(long documentId, long userId) This method is looking up for writing rights for a document and an user.booleanHibernateDocumentDAO.isWriteAllowed(long id, long userId) voidDocumentManager.lock(long docId, int status, DocumentHistory transaction) Locks the given documentvoidDocumentManagerImpl.lock(long docId, int status, DocumentHistory transaction) voidDocumentDAO.makeImmutable(long docId, DocumentHistory transaction) Marks the document, with the given docId, as immutable.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) voidHibernateDocumentDAO.makeImmutable(long docId, DocumentHistory transaction) voidDocumentHistoryDAO.markHistoriesAsRead(String event, long userId) Marks all the histories of a specific event as read by the specified user.voidHibernateDocumentHistoryDAO.markHistoriesAsRead(String event, long userId) 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) 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) 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) voidDocumentManager.unlock(long docId, DocumentHistory transaction) UNChecks out the given documentvoidDocumentManagerImpl.unlock(long docId, DocumentHistory transaction) voidDocumentDAO.unsetPassword(long docId, DocumentHistory transaction) Removes the password protection from the document.voidHibernateDocumentDAO.unsetPassword(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) 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.applySecurityToTree(long rootId, FolderHistory transaction) Propagates the security policies of a node to the whole sub-treevoidHibernateFolderDAO.applySecurityToTree(long rootId, FolderHistory transaction) voidFolderDAO.applyStoreToTree(long id, FolderHistory transaction) Propagates the store setting to the whole subreevoidHibernateFolderDAO.applyStoreToTree(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) voidFolderHistoryDAO.cleanOldHistories(int ttl) This method deletes all the user history entries oldest than the given days from now.voidHibernateFolderHistoryDAO.cleanOldHistories(int ttl) 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) longFolderDAO.computeTreeSize(long rootId) Counts the number of documents inside a given folder's tree (direct and indirect children)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) intFolderDAO.count(boolean computeDeleted) Counts the number of folderslongFolderDAO.countDocs(long folderId) Counts the number of documents inside a given folderlongFolderDAO.countDocsInTree(long rootId) Counts the number of documents inside a given folder's tree (direct and indirect children)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.findAliases(Long foldRef, long tenantId) Finds all the aliasesFolderHistoryDAO.findByFolderId(long folderId) This method selects all histories of a given folder.HibernateFolderHistoryDAO.findByFolderId(long folderId) FolderHistoryDAO.findByFolderIdAndEvent(long folderId, String event, Date oldestDate) This method selects all histories of a given folder and event occurred after a given date.HibernateFolderHistoryDAO.findByFolderIdAndEvent(long folderId, String event, Date oldestDate) 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) FolderHistoryDAO.findByPath(String pathExpression, Date oldestDate, Collection<String> events, Integer max) This method finds all histories about a path (you can use expression)HibernateFolderHistoryDAO.findByPath(String pathExpression, Date oldestDate, Collection<String> events, Integer max) 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.FolderHistoryDAO.findByUserId(long userId) This method selects all histories of a given user.HibernateFolderDAO.findByUserId(long userId) HibernateFolderDAO.findByUserId(long userId, long parentId) HibernateFolderHistoryDAO.findByUserId(long userId) FolderHistoryDAO.findByUserIdAndEvent(long userId, String event) This method selects all histories of a given user and related to the given event.HibernateFolderHistoryDAO.findByUserIdAndEvent(long userId, String event) 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.findDeleted(long userId, Integer maxHits) Finds all deleted folders of a specific user.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) FolderHistoryDAO.findNotNotified(Integer max) This method selects all histories not notified yet.HibernateFolderHistoryDAO.findNotNotified(Integer max) 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.findTags(long folderId) Retrieves the alphabetically ordered list of all the folder's tagsFolderDAO.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.getAllowedPermissions(long folderId, long userId) Finds all permissions of a user enabled on the specified folderHibernateFolderDAO.getAllowedPermissions(long folderId, long userId) booleanFolderDAO.hasWriteAccess(Folder folder, long userId) Checks that the user has write access to the folder and all its sub-itemsbooleanHibernateFolderDAO.hasWriteAccess(Folder folder, long userId) booleanFolderDAO.isDownloadllowed(long folderId, long userId) booleanHibernateFolderDAO.isDownloadllowed(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.isMoveAllowed(long folderId, long userId) booleanHibernateFolderDAO.isMoveAllowed(long id, long userId) booleanFolderDAO.isPermissionAllowed(Permission permission, long folderId, long userId) This method checks if the given permission is allowed for a folder and an user.booleanHibernateFolderDAO.isPermissionAllowed(Permission permission, long folderId, long userId) booleanFolderDAO.isPreviewAllowed(long folderId, long userId) booleanHibernateFolderDAO.isPreviewAllowed(long id, long userId) booleanFolderDAO.isPrintAllowed(long folderId, long userId) booleanHibernateFolderDAO.isPrintAllowed(long folderId, long userId) booleanFolderDAO.isReadAllowed(long folderId, long userId) booleanHibernateFolderDAO.isReadAllowed(long folderId, long userId) booleanFolderDAO.isWriteAllowed(long folderId, long userId) This method is looking up for writing rights for a folder and an user.booleanHibernateFolderDAO.isWriteAllowed(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) 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 PersistenceExceptionModifier and TypeMethodDescriptionvoidHibernateGenericDAO.delete(long genericId, int code) GenericDAO.findByAlternateKey(String type, String subtype, Long qualifier, long tenantId) Finds a Generic by it's alternate keyHibernateGenericDAO.findByAlternateKey(String type, String subtype, Long qualifier, long tenantId) GenericDAO.findByTypeAndSubtype(String type, String subtype, Long qualifier, Long tenantId) Finds a Generic by it's alternate key.HibernateGenericDAO.findByTypeAndSubtype(String type, String subtype, Long qualifier, Long tenantId) void -
Uses of PersistenceException in com.logicaldoc.core.history
Methods in com.logicaldoc.core.history that throw PersistenceException -
Uses of PersistenceException in com.logicaldoc.core.lock
Methods in com.logicaldoc.core.lock 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) voidAttributeOptionDAO.deleteBySetIdAndAttribute(long setId, String attribute) This method deletes options.voidHibernateAttributeOptionDAO.deleteBySetIdAndAttribute(long setId, String attribute) voidAttributeOptionDAO.deleteOrphaned(long setId, Collection<String> currentAttributes) This method deletes the orphaned options of a given templatevoidHibernateAttributeOptionDAO.deleteOrphaned(long setId, Collection<String> currentAttributes) HibernateAttributeSetDAO.findAll()HibernateAttributeSetDAO.findAll(long tenantId) AttributeSetDAO.findAttributes(long tenantId, Long setId) Gets the map of attributes defined in the given tenant or setHibernateAttributeSetDAO.findAttributes(long tenantId, Long setId) AttributeOptionDAO.findByAttribute(long setId, String attribute) This finds all the options for a given attribute.HibernateAttributeOptionDAO.findByAttribute(long setId, String attribute) AttributeOptionDAO.findByAttributeAndCategory(long setId, String attribute, String category) This finds all the options for a given attribute.HibernateAttributeOptionDAO.findByAttributeAndCategory(long setId, String attribute, String category) AttributeOptionDAO.findByAttributeAsMap(long setId, String attribute) This finds all the options for a given attribute and groups them by category.HibernateAttributeOptionDAO.findByAttributeAsMap(long setId, String attribute) AttributeSetDAO.findByName(String name, long tenantId) This method finds a attribute set by nameHibernateAttributeSetDAO.findByName(String name, long tenantId) HibernateTemplateDAO.findByName(String name, long tenantId) TemplateDAO.findByName(String name, long tenantId) This method finds a template by nameAttributeSetDAO.findByType(int type, long tenantId) This method finds a attribute set by typeHibernateAttributeSetDAO.findByType(int type, long tenantId) HibernateTemplateDAO.findByType(int type, long tenantId) TemplateDAO.findByType(int type, long tenantId) This method finds a template by typeAttributeSetDAO.load(long tenantId) Retrieves all the attribute sets in a tenantHibernateAttributeSetDAO.load(long tenantId) voidHibernateAttributeSetDAO.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 keyvoidSavedSearch.saveOptions(SearchOptions opt) voidHibernateSearchDAO.store(SavedSearch search) -
Uses of PersistenceException in com.logicaldoc.core.security
Methods in com.logicaldoc.core.security that throw PersistenceExceptionModifier and TypeMethodDescriptionintTenantDAO.count()Counts the total number of tenantsvoidHibernateDeviceDAO.delete(long deviceId, int code) HibernateTenantDAO.findAllNames()TenantDAO.findAllNames()Retrieves all the tenant namesTenantDAO.findByName(String name) Finds a tenant by nameHibernateTenantDAO.getTenantName(long tenantId) TenantDAO.getTenantName(long tenantId) Retrieves the tenant's namebooleanDeviceDAO.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) static voidAccessControlUtil.removeForbiddenPermissionsForGuests(Securable securable) voidDeviceDAO.trustDevice(User user, Device device) Trusts a device for a userHibernateDeviceDAO.trustDevice(User user, Device requestDevice) -
Uses of PersistenceException in com.logicaldoc.core.security.apikey
Methods in com.logicaldoc.core.security.apikey that throw PersistenceExceptionModifier and TypeMethodDescriptionvoidHibernateApiKeyDAO.delete(long id, int code) Finds the ApiKey by the unique keyApiKeyDAO.findByName(String name, long userId) Finds the user's ApiKey with a given nameHibernateApiKeyDAO.findByName(String name, long userId) ApiKeyDAO.findByUser(long userId) Finds the user's ApiKeys for a given userHibernateApiKeyDAO.findByUser(long userId) void -
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.user
Methods in com.logicaldoc.core.security.user 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 databaseintGroupDAO.count()Counts the total number of groupsintHibernateGroupDAO.count()intintCounts the total number of standard usersintHibernateUserDAO.countGuests(Long tenantId) intUserDAO.countGuests(Long tenantId) Counts the total number of guest usersvoidHibernateGroupDAO.delete(long groupId, 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.booleanHibernateUserDAO.findAdminUser(String tenantName) UserDAO.findAdminUser(String tenantName) Retrieve the administrator for the given tenant.GroupDAO.findAllGroupNames(long tenantId) This method selects all group namesHibernateGroupDAO.findAllGroupNames(long tenantId) HibernateUserDAO.findByGroup(long groupId) UserDAO.findByGroup(long groupId) Retrieves the users belonging to a given group.HibernateUserDAO.findById(long id) GroupDAO.findByLikeName(String name, long tenantId) This method finds a Group by name.HibernateGroupDAO.findByLikeName(String name, long tenantId) HibernateUserDAO.findByLikeUsername(String username) UserDAO.findByLikeUsername(String username) This method finds an User by username.GroupDAO.findByName(String name, long tenantId) Finds a group by name.HibernateGroupDAO.findByName(String name, long tenantId) HibernateUserDAO.findByName(String name) UserDAO.findByName(String name) This method finds an User by name.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.findByUsernameAndName(String username, String name) UserDAO.findByUsernameAndName(String username, String name) This method finds an User by username and name.HibernateUserDAO.findByUsernameIgnoreCase(String username) UserDAO.findByUsernameIgnoreCase(String username) This method finds an User by its username.HibernateUserDAO.findUserSettings(long userId, String namePrefix) UserDAO.findUserSettings(long userId, String namePrefix) Retrieves the settings for a user.voidGroupDAO.fixGuestPermissions(Group group) voidHibernateGroupDAO.fixGuestPermissions(Group group) If the user is guest, we remove not admitted permissionsDepending on the global setting, it invokes findByUsername or findByUsernameIgnoreCaseUser.getUserGroup()Retrieves this user's groupvoidGroupDAO.inheritACLs(Group group, long parentGroupId) This method replicates all ACLs of the parent group to another group.voidHibernateGroupDAO.inheritACLs(Group group, long parentGroupId) voidHibernateUserDAO.initialize(User user) voidThis method persists a new group object.voidbooleanHibernateUserDAO.isInactive(String username) booleanUserDAO.isInactive(String username) Checks if a user is inactive, that is a user without interactions in the last X days after it has last enabled.voidvoidvoidHibernateUserDAO.store(User user, UserHistory transaction) voidUserDAO.store(User user, UserHistory transaction) This method persists the user object and insert a new user history entry. -
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.dropbox
Constructors in com.logicaldoc.dropbox 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 GUITenantstatic 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, 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, 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.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 downloadstatic voidServletUtil.uploadDocumentResource(javax.servlet.http.HttpServletRequest request, long docId, String suffix, String fileVersion, String docVersion) Uploads a document's related resource. -
Uses of PersistenceException in com.logicaldoc.webservice
Methods in com.logicaldoc.webservice that throw PersistenceExceptionModifier and TypeMethodDescriptionvoidHibernateWebserviceCallDAO.cleanOldCalls(int ttl) voidWebserviceCallDAO.cleanOldCalls(int ttl) This method deletes all the chat entries oldest than the given days from now. -
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 AccessControlEntryWSUtil.toAccessControlEntry(WSAccessControlEntry wsAce) static DocumentWSUtil.toDocument(WSDocument wsDoc) static WSAccessControlEntryWSUtil.toWSAccessControlEntry(AccessControlEntry ace) static WSAttributeSetWSUtil.toWSAttributeSet(AttributeSet attributeSet) 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, List<String> tags) Adds tags to a documentvoidTagService.addFolderTags(long folderId, List<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, boolean security) 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 tagSearchService.findFolders(String name) Finds authorized folders for the current user containing the given name (like operator is used)TagService.findFoldersByTag(String tag) Finds authorized folders for the current user having a specified tag.DocumentService.getAccessControlList(long docId) Retrieves the access control listFolderService.getAccessControlList(long folderId) Retrieves the access control listDocumentService.getAliases(long docId) Gets the aliases of the given documentDocumentMetadataService.getAttributeOptions(long setId, String attribute) Retrieves the options for the given attributeDocumentMetadataService.getAttributeOptionsByCategory(long setId, String attribute, String category) Retrieves the options for the given attribute inside a given categoryDocumentMetadataService.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(List<Long> docIds) Gets document metadata of a collection of existing documents with the given identifiersTagService.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) TagService.getFolderTags(long folderId) Retrieves all the tags of a folderDocumentService.getLinks(long docId) Gets all the links of a specific documentDocumentService.getNotes(long docId) Gets the notes for the given documentFolderService.getPath(long folderId) FolderService.getPathString(long folderId) 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 repositoryTagService.getTags()Retrieves all the tags in the repositoryTagService.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 metadataSystemService.getTenantStatistics(long tenantId) Retrieves the statistics of a tenantjavax.ws.rs.core.ResponseDocumentService.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 identifierbooleanDocumentService.isDownload(long docId) Tests if a document is downloadable.booleanTests if the current user has a specific permission on a documentbooleanTests if the current user has a specific permission on a folderbooleanDocumentService.isRead(long docId) Tests if a document is readable.booleanFolderService.isReadable(long folderId) Tests if a folder is readable.booleanFolderService.isWritable(long folderId) Tests if a folder is writablebooleanDocumentService.isWrite(long docId) Tests if a document 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.FolderService.listChildren(long folderId) DocumentService.listDocuments(long folderId, String fileName) Lists the documents in a folderDocumentService.listPaginated(long folderId, String fileName, String sort, Integer page, Integer max) Gets the documents in a specific folderDocumentMetadataService.listTemplates()Gets metadata of all existing templates.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 attachmentsvoidDocumentService.setAccessControlList(long docId, List<WSAccessControlEntry> acl) Sets the Access Control ListvoidFolderService.setAccessControlList(long folderId, List<WSAccessControlEntry> acl) Sets the Access Control ListvoidDocumentMetadataService.setAttributeOptions(long setId, String attribute, List<WSAttributeOption> options) Saves the options for the given attributevoidDocumentMetadataService.setAttributeOptionsPOST(Long setId, String attribute, List<WSAttributeOption> options) Saves the options for the given attribute with a POST method.voidTagService.setDocumentTags(long docId, List<String> tags) Sets the tags of a documentvoidTagService.setFolderTags(long folderId, List<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, List<String> tags) voidRestTagClient.addFolderTags(long folderId, List<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) RestTagClient.findFoldersByTag(String tag) 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) RestTagClient.getDocumentTags(long docId) RestFolderClient.getFolder(long folderId) RestDocumentClient.getNotes(long docId) Gets the notes for the given documentRestDocumentClient.getRatings(long docId) Gets all the ratings of the given documentRestFolderClient.getRootFolder()RestTagClient.getTags()RestDocumentMetadataClient.getTemplate(String name) RestDocumentMetadataClient.getTemplateById(long templateId) javax.activation.DataHandlerRestDocumentClient.getVersionContent(long docId, String version) RestDocumentClient.list(long folderId) RestDocumentMetadataClient.listAttributeSets()RestFolderClient.listChildren(long folderId) RestDocumentClient.listDocuments(long folderId, String fileName) RestDocumentClient.listPaginated(long folderId, String fileName, String sort, Integer page, Integer max) 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, List<WSAttributeOption> options) voidRestDocumentMetadataClient.setAttributeOptionsPOST(long setId, String attribute, List<WSAttributeOption> options) voidRestTagClient.setDocumentTags(long docId, List<String> tags) voidRestTagClient.setFolderTags(long folderId, List<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, List<String> tags) voidRestTagService.addFolderTags(long folderId, List<String> tags) RestBookmarkService.bookmarkDocument(long docId) RestBookmarkService.bookmarkFolder(long folderId) voidRestDocumentService.checkout(long docId) RestDocumentService.copy(long docId, long folderId, boolean links, boolean notes, boolean security) 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) RestSearchService.findFolders(String name) RestTagService.findFoldersByTag(String tag) RestDocumentService.getAccessControlList(long docId) RestFolderService.getAccessControlList(long folderId) RestDocumentService.getAliases(long docId) RestDocumentMetadataService.getAttributeOptions(long setId, String attribute) RestDocumentMetadataService.getAttributeOptionsByCategory(long setId, String attribute, String category) 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(List<Long> docIds) RestTagService.getDocumentTags(long docId) RestDocumentService.getExtractedText(long docId) RestFolderService.getFolder(long folderId) RestTagService.getFolderTags(long folderId) RestDocumentService.getLinks(long docId) RestDocumentService.getNotes(long docId) RestFolderService.getPath(long folderId) RestFolderService.getPathString(long folderId) RestDocumentService.getRatings(long docId) RestDocumentService.getRecentDocuments(Integer maxHits) javax.activation.DataHandlerRestDocumentService.getResource(long docId, String fileVersion, String suffix) RestFolderService.getRootFolder()RestSystemService.getStatistics()RestTagService.getTagCloud()RestTagService.getTags()RestTagService.getTagsPreset()RestDocumentMetadataService.getTemplate(String name) RestDocumentMetadataService.getTemplateById(long templateId) RestSystemService.getTenantStatistics(long tenantId) javax.ws.rs.core.ResponseRestDocumentService.getThumbnail(String type, String docPath, List<javax.ws.rs.core.PathSegment> docPathList) javax.activation.DataHandlerRestDocumentService.getVersionContent(long docId, String version) RestDocumentService.getVersions(long docId) booleanRestDocumentService.isDownload(long docId) booleanbooleanbooleanRestDocumentService.isRead(long docId) booleanRestFolderService.isReadable(long folderId) booleanRestFolderService.isWritable(long folderId) booleanRestDocumentService.isWrite(long docId) RestDocumentService.list(long folderId) RestDocumentMetadataService.listAttributeSets()RestFolderService.listChildren(long folderId) RestDocumentService.listDocuments(long folderId, String fileName) RestDocumentService.listPaginated(long folderId, String fileName, String sort, Integer page, Integer max) Gets the documents in a specific folderRestDocumentMetadataService.listTemplates()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) voidvoidRestDocumentService.setAccessControlList(long docId, List<WSAccessControlEntry> acl) voidRestFolderService.setAccessControlList(long folderId, List<WSAccessControlEntry> acl) voidRestDocumentMetadataService.setAttributeOptions(long setId, String attribute, List<WSAttributeOption> options) voidRestDocumentMetadataService.setAttributeOptionsPOST(Long setId, String attribute, List<WSAttributeOption> options) voidRestTagService.setDocumentTags(long docId, List<String> tags) voidRestTagService.setFolderTags(long folderId, List<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, List<String> tags) Adds tags to a documentvoidTagService.addFolderTags(String sid, long folderId, List<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.DocumentService.copy(String sid, long docId, long folderId, boolean links, boolean notes, boolean security) 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 tagSearchService.findFolders(String sid, String name) Finds authorized folders for the current user containing the given name (like operator is used)TagService.findFoldersByTag(String sid, String tag) Finds authorized folders for the current user having a specified tagDocumentMetadataService.getAccessControlList(String sid, long templateId) Retrieves the access control listDocumentService.getAccessControlList(String sid, long docId) Retrieves the access control listFolderService.getAccessControlList(String sid, long folderId) Retrieves the access control listDocumentService.getAliases(String sid, long docId) Gets the aliases of the given documentDocumentMetadataService.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, List<Long> docIds) Gets document metadata of a collection of existing documents with the given identifiersTagService.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 folderTagService.getFolderTags(String sid, long folderId) Retrieves all the tags of a folderGets group metadata of an existing group with the given identifierGets all the links of a specific documentGets the notes for the given documentComputes the path from the root to the target folder.DocumentService.getRatings(String sid, long docId) Gets all the ratings of the given documentDocumentService.getRecentDocuments(String sid, Integer maxHits) Lists of last modified documents by current user.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.Retrieves all the tags in the repositoryTagService.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 metadataSystemService.getTenantStatistics(String sid, long tenantId) Retrieves the statistics of a tenenatGets 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 identifierbooleanDocumentService.isDownload(String sid, long docId) Tests if a document is downloadablebooleanTests if the current user has a specific permission on a documentbooleanTests if the current user has a specific permission on a folderbooleanTests if a document is readable.booleanDocumentMetadataService.isReadable(String sid, long templateId) Tests if a template is readable.booleanFolderService.isReadable(String sid, long folderId) Tests if a folder is readable.booleanDocumentMetadataService.isWritable(String sid, long templateId) Tests if a template is writablebooleanFolderService.isWritable(String sid, long folderId) Tests if a folder is writablebooleanTests if a document is writableCreates a new link between two documents.DocumentService.list(String sid, long folderId, String fileName, String sort, Integer page, Integer max) Gets the documents in a specific folderLists all direct folders of a parent folder.
Attention: readable sub-folders only are returned.DocumentMetadataService.listAttributeSets(String sid) Gets metadata of all existing attribute sets.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 the documents in a specific folderSecurityService.listGroups(String sid) Gets group metadata of all existing groups.DocumentMetadataService.listTemplates(String sid) Gets metadata of all existing templates.Gets metadata of all existing usersFolderService.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, List<Long> docIds, String recipients, String subject, String message) Sends a set of documents as mail attachmentsvoidDocumentMetadataService.setAccessControlList(String sid, long templateId, List<WSAccessControlEntry> acl) Sets the Access Control ListvoidDocumentService.setAccessControlList(String sid, long docId, List<WSAccessControlEntry> acl) Sets the Access Control ListvoidFolderService.setAccessControlList(String sid, long folderId, List<WSAccessControlEntry> acl) Sets the Access Control ListvoidDocumentMetadataService.setAttributeOptions(String sid, long setId, String attribute, List<WSAttributeOption> options) Saves the options for the given attributevoidTagService.setDocumentTags(String sid, long docId, List<String> tags) Sets the tags of a documentvoidTagService.setFolderTags(String sid, long folderId, List<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, List<String> tags) voidSoapTagClient.addFolderTags(String sid, long folderId, List<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) voidSoapDocumentClient.copy(String sid, long docId, long folderId, boolean links, boolean notes, boolean security) voidSoapFolderClient.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) SoapSearchClient.findFolders(String sid, String name) SoapTagClient.findFoldersByTag(String sid, String tag) SoapDocumentClient.getAccessControlList(String sid, long docId) SoapDocumentMetadataClient.getAccessControlList(String sid, long templateId) SoapFolderClient.getAccessControlList(String sid, long folderId) SoapDocumentClient.getAliases(String sid, long docId) 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, List<Long> docIds) SoapTagClient.getDocumentTags(String sid, long docId) SoapDocumentClient.getExtractedText(String sid, long docId) SoapTagClient.getFolderTags(String sid, long folderId) 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) SoapTagClient.getTagsPreset(String sid) SoapDocumentMetadataClient.getTemplate(String sid, String name) SoapDocumentMetadataClient.getTemplateById(String sid, long templateId) SoapSystemClient.getTenantStatistics(String sid, long tenantId) 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) booleanSoapDocumentClient.isDownload(String sid, long docId) booleanbooleanbooleanbooleanSoapDocumentMetadataClient.isReadable(String sid, long templateId) booleanSoapFolderClient.isReadable(String sid, long folderId) booleanSoapDocumentMetadataClient.isWritable(String sid, long templateId) booleanSoapFolderClient.isWritable(String sid, long folderId) booleanSoapDocumentClient.list(String sid, long folderId, String fileName, String sort, Integer page, Integer max) SoapDocumentMetadataClient.listAttributeSets(String sid) SoapFolderClient.listChildren(String sid, long folderId) SoapDocumentClient.listDocuments(String sid, long folderId, String fileName) SoapSecurityClient.listGroups(String sid) SoapDocumentMetadataClient.listTemplates(String sid) 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, File content) voidSoapDocumentClient.replaceFile(String sid, long docId, String fileVersion, String comment, javax.activation.DataHandler content) voidSoapBookmarkClient.saveBookmark(String sid, WSBookmark bookmark) voidSoapDocumentClient.sendEmail(String sid, List<Long> docIds, String recipients, String subject, String message) voidSoapDocumentClient.setAccessControlList(String sid, long docId, List<WSAccessControlEntry> acl) voidSoapDocumentMetadataClient.setAccessControlList(String sid, long templateId, List<WSAccessControlEntry> acl) voidSoapFolderClient.setAccessControlList(String sid, long folderId, List<WSAccessControlEntry> acl) voidSoapDocumentMetadataClient.setAttributeOptions(String sid, long setId, String attribute, List<WSAttributeOption> options) voidSoapTagClient.setDocumentTags(String sid, long docId, List<String> tags) voidSoapTagClient.setFolderTags(String sid, long folderId, List<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, List<String> tags) voidSoapTagService.addFolderTags(String sid, long folderId, List<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) voidSoapDocumentService.copy(String sid, long docId, long folderId, boolean links, boolean notes, boolean security) voidSoapFolderService.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) SoapSearchService.findFolders(String sid, String name) SoapTagService.findFoldersByTag(String sid, String tag) SoapDocumentMetadataService.getAccessControlList(String sid, long templateId) SoapDocumentService.getAccessControlList(String sid, long docId) SoapFolderService.getAccessControlList(String sid, long folderId) SoapDocumentService.getAliases(String sid, long docId) 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, List<Long> docIds) SoapTagService.getDocumentTags(String sid, long docId) SoapDocumentService.getExtractedText(String sid, long docId) SoapTagService.getFolderTags(String sid, long folderId) 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) SoapTagService.getTagsPreset(String sid) SoapDocumentMetadataService.getTemplate(String sid, String name) SoapDocumentMetadataService.getTemplateById(String sid, long templateId) SoapSystemService.getTenantStatistics(String sid, long tenantId) 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) booleanSoapDocumentService.isDownload(String sid, long docId) booleanbooleanbooleanbooleanSoapDocumentMetadataService.isReadable(String sid, long templateId) booleanSoapFolderService.isReadable(String sid, long folderId) booleanSoapDocumentMetadataService.isWritable(String sid, long templateId) booleanSoapFolderService.isWritable(String sid, long folderId) booleanSoapDocumentService.list(String sid, long folderId, String fileName, String sort, Integer page, Integer max) SoapDocumentMetadataService.listAttributeSets(String sid) SoapFolderService.listChildren(String sid, long folderId) SoapDocumentService.listDocuments(String sid, long folderId, String fileName) SoapSecurityService.listGroups(String sid) SoapDocumentMetadataService.listTemplates(String sid) 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, List<Long> docIds, String recipients, String subject, String message) voidSoapDocumentMetadataService.setAccessControlList(String sid, long templateId, List<WSAccessControlEntry> acl) voidSoapDocumentService.setAccessControlList(String sid, long docId, List<WSAccessControlEntry> acl) voidSoapFolderService.setAccessControlList(String sid, long folderId, List<WSAccessControlEntry> acl) voidSoapDocumentMetadataService.setAttributeOptions(String sid, long setId, String attribute, List<WSAttributeOption> wsOptions) voidSoapTagService.setDocumentTags(String sid, long docId, List<String> tags) voidSoapTagService.setFolderTags(String sid, long folderId, List<String> tags) voidSoapDocumentService.setPassword(String sid, long docId, String password) longSoapDocumentMetadataService.storeAttributeSet(String sid, WSAttributeSet wsAttributeSet) 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)