Uses of Class
com.logicaldoc.core.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
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
Modifier and TypeMethodDescriptionvoid
LDRepository.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.ObjectInFolderList
LDRepository.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
Modifier and TypeMethodDescriptionint
HibernatePersistentObjectDAO.bulkUpdate
(String expression, Map<String, Object> parameters) int
PersistentObjectDAO.bulkUpdate
(String expression, Map<String, Object> parameters) Executes a bulk update as specified by the given expressionvoid
HibernatePersistentObjectDAO.delete
(long id) void
HibernatePersistentObjectDAO.delete
(long id, int code) void
PersistentObjectDAO.delete
(long id) This method deletes an entity.void
PersistentObjectDAO.delete
(long id, int code) This method deletes an entity and you can give a deletion codevoid
HibernatePersistentObjectDAO.deleteAll
(Collection<T> entities) void
HibernatePersistentObjectDAO.deleteAll
(Collection<T> entities, int code) void
PersistentObjectDAO.deleteAll
(Collection<T> entities) Deletes all entries form the databasevoid
PersistentObjectDAO.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.Find everything you want from the DB using the ORM query languageHibernatePersistentObjectDAO.findByWhere
(String where, String order, Integer max) HibernatePersistentObjectDAO.findByWhere
(String where, Map<String, Object> parameters, String order, Integer max) PersistentObjectDAO.findByWhere
(String where, String order, Integer max) Finds all entities by the given expression.PersistentObjectDAO.findByWhere
(String where, Map<String, Object> parameters, String order, Integer max) Finds all entities by the given expression.HibernatePersistentObjectDAO.findIdsByWhere
(String where, String order, Integer max) HibernatePersistentObjectDAO.findIdsByWhere
(String where, Map<String, Object> parameters, String order, Integer max) PersistentObjectDAO.findIdsByWhere
(String where, String order, Integer max) Finds all entities ids by the given expression.PersistentObjectDAO.findIdsByWhere
(String where, Map<String, Object> parameters, String order, Integer max) Finds all entities ids by the given expression.int
HibernatePersistentObjectDAO.jdbcUpdate
(String statement) int
HibernatePersistentObjectDAO.jdbcUpdate
(String statement, Map<String, Object> parameters) int
PersistentObjectDAO.jdbcUpdate
(String statement) Executes the given SQL update statementint
PersistentObjectDAO.jdbcUpdate
(String statement, Map<String, Object> parameters) Issue a single SQL update operation (such as an insert, update or delete statement) via a prepared statement, binding the given argumentsHibernatePersistentObjectDAO.query
(String sql, Map<String, Object> parameters, org.springframework.jdbc.core.RowMapper rowMapper, Integer maxRows) HibernatePersistentObjectDAO.query
(String sql, org.springframework.jdbc.core.RowMapper rowMapper, Integer maxRows) PersistentObjectDAO.query
(String sql, Map<String, Object> parameters, org.springframework.jdbc.core.RowMapper rowMapper, Integer maxRows) Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, mapping each row to a Java object via a RowMapper.PersistentObjectDAO.query
(String sql, org.springframework.jdbc.core.RowMapper rowMapper, Integer maxRows) Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, mapping each row to a Java object via a RowMapper.double
HibernatePersistentObjectDAO.queryForDouble
(String sql) double
HibernatePersistentObjectDAO.queryForDouble
(String sql, Map<String, Object> parameters) double
PersistentObjectDAO.queryForDouble
(String sql) Execute a query that results in a double value, given static SQL.double
PersistentObjectDAO.queryForDouble
(String sql, Map<String, Object> parameters) Execute a query that results in a double value, given static SQL.int
HibernatePersistentObjectDAO.queryForInt
(String sql) int
PersistentObjectDAO.queryForInt
(String sql) Execute a query that results in an int value, given static SQL.HibernatePersistentObjectDAO.queryForList
(String sql, Class elementType) HibernatePersistentObjectDAO.queryForList
(String sql, Class elementType, Integer maxRows) HibernatePersistentObjectDAO.queryForList
(String sql, Map<String, Object> prameters, Class elementType, Integer maxRows) PersistentObjectDAO.queryForList
(String sql, Class elementType) Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, expecting a result list.PersistentObjectDAO.queryForList
(String sql, Class elementType, Integer maxRows) Execute a query for a result list, given static SQL.PersistentObjectDAO.queryForList
(String sql, Map<String, Object> parameters, Class elementType, Integer maxRows) Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, expecting a result list.long
HibernatePersistentObjectDAO.queryForLong
(String sql) long
HibernatePersistentObjectDAO.queryForLong
(String sql, Map<String, Object> parameters) long
PersistentObjectDAO.queryForLong
(String sql) Execute a query that results in an long value, given static SQL.long
PersistentObjectDAO.queryForLong
(String sql, Map<String, Object> parameters) Execute a query that results in an long value, given static SQL.HibernatePersistentObjectDAO.queryForObject
(String sql, Class type) PersistentObjectDAO.queryForObject
(String sql, Class type) Execute a query that results in a Object value, given static SQL.org.springframework.jdbc.support.rowset.SqlRowSet
HibernatePersistentObjectDAO.queryForRowSet
(String sql, Integer maxRows) org.springframework.jdbc.support.rowset.SqlRowSet
HibernatePersistentObjectDAO.queryForRowSet
(String sql, Map<String, Object> parameters, Integer maxRows) org.springframework.jdbc.support.rowset.SqlRowSet
PersistentObjectDAO.queryForRowSet
(String sql, Integer maxRows) Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, returns a navigable RowSetorg.springframework.jdbc.support.rowset.SqlRowSet
Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, returns a navigable RowSetHibernatePersistentObjectDAO.queryForString
(String sql) PersistentObjectDAO.queryForString
(String sql) Execute a query that results in an string value, given static SQL.void
void
This method persists the entity object -
Uses of PersistenceException in com.logicaldoc.core.automation
Modifier and TypeMethodDescriptionvoid
FolderTool.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 documentvoid
Delete a folderCalculates the full path of a foldervoid
Merges a folder into another foldervoid
Moves a folder into a target foldervoid
MailTool.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
Modifier and TypeMethodDescriptionvoid
HibernateMessageTemplateDAO.delete
(long id, int code) void
HibernateSystemMessageDAO.deleteExpiredMessages
(int type) void
HibernateSystemMessageDAO.deleteExpiredMessages
(String recipient) void
SystemMessageDAO.deleteExpiredMessages
(int type) Removes all expired messages for the specified typevoid
SystemMessageDAO.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')int
HibernateSystemMessageDAO.getUnreadCount
(String recipient, int type) int
SystemMessageDAO.getUnreadCount
(String recipient, int type) This methods gets the number of unread messages for the specified recipient and type.void
HibernateSystemMessageDAO.store
(SystemMessage message) -
Uses of PersistenceException in com.logicaldoc.core.contact
Modifier 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
-
Uses of PersistenceException in com.logicaldoc.core.dashlet
Modifier and TypeMethodDescriptionvoid
HibernateDashletDAO.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
Modifier and TypeMethodDescriptionvoid
DocumentInitializer.afterCheckin
(Document document, DocumentHistory transaction, Map<String, Object> dictionary) void
DocumentListener.afterCheckin
(Document document, DocumentHistory transaction, Map<String, Object> dictionary) Called after a document is checked invoid
DocumentValidator.afterCheckin
(Document document, DocumentHistory transaction, Map<String, Object> dictionary) void
DocumentInitializer.afterSaveHistory
(Document document, DocumentHistory event, Map<String, Object> dictionary) void
DocumentListener.afterSaveHistory
(Document document, DocumentHistory event, Map<String, Object> dictionary) Called after an event has been storedvoid
DocumentValidator.afterSaveHistory
(Document document, DocumentHistory event, Map<String, Object> dictionary) void
DocumentInitializer.afterStore
(Document document, DocumentHistory transaction, Map<String, Object> dictionary) void
DocumentListener.afterStore
(Document document, DocumentHistory transaction, Map<String, Object> dictionary) Called after a document is stored in the databasevoid
DocumentValidator.afterStore
(Document document, DocumentHistory transaction, Map<String, Object> dictionary) void
DocumentDAO.applyParentFolderSecurity
(long docId, DocumentHistory transaction) Replaces the document's security policies with those from the parent foldervoid
HibernateDocumentDAO.applyParentFolderSecurity
(long docId, DocumentHistory transaction) void
DocumentDAO.archive
(long docId, DocumentHistory transaction) Archives a documentvoid
HibernateDocumentDAO.archive
(long docId, DocumentHistory transaction) void
DocumentManager.archiveDocuments
(Set<Long> docIds, DocumentHistory transaction) Archives all the documents in a folder's treevoid
DocumentManagerImpl.archiveDocuments
(Set<Long> docIds, DocumentHistory transaction) long
DocumentManager.archiveFolder
(long folderId, DocumentHistory transaction) Archives all the documents in a folder's treelong
DocumentManagerImpl.archiveFolder
(long folderId, DocumentHistory transaction) void
DocumentInitializer.beforeCheckin
(Document document, DocumentHistory transaction, Map<String, Object> dictionary) void
DocumentListener.beforeCheckin
(Document document, DocumentHistory transaction, Map<String, Object> dictionary) Called before a document is checked invoid
DocumentValidator.beforeCheckin
(Document document, DocumentHistory transaction, Map<String, Object> dictionary) void
DocumentInitializer.beforeStore
(Document document, DocumentHistory transaction, Map<String, Object> dictionary) void
DocumentListener.beforeStore
(Document document, DocumentHistory transaction, Map<String, Object> dictionary) Called before a document is stored in the databasevoid
DocumentValidator.beforeStore
(Document document, DocumentHistory transaction, Map<String, Object> dictionary) void
DocumentManager.checkin
(long docId, File file, String filename, boolean release, AbstractDocument docVO, DocumentHistory transaction) Checks in the given documentvoid
DocumentManager.checkin
(long docId, InputStream fileInputStream, String filename, boolean release, AbstractDocument docVO, DocumentHistory transaction) Checks in the given documentvoid
DocumentManagerImpl.checkin
(long docId, File file, String filename, boolean release, AbstractDocument docVO, DocumentHistory transaction) void
DocumentManagerImpl.checkin
(long docId, InputStream content, String filename, boolean release, AbstractDocument docVO, DocumentHistory transaction) void
DocumentManager.checkout
(long docId, DocumentHistory transaction) Checks out the given documentvoid
DocumentManagerImpl.checkout
(long docId, DocumentHistory transaction) void
DocumentDAO.cleanExpiredTransactions()
Cleans all references to expired transactions.void
HibernateDocumentDAO.cleanExpiredTransactions()
void
DocumentHistoryDAO.cleanOldHistories
(int ttl) This method deletes all the document history entries older than the given days from now.void
HibernateDocumentHistoryDAO.cleanOldHistories
(int ttl) void
DocumentDAO.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()
void
HibernateDocumentDAO.cleanUnexistingUniqueTags()
void
DocumentDAO.cleanUnexistingUniqueTagsOneByOne()
Cleans the ld_uniquetag table removing no more used tags programmatically one by one.void
HibernateDocumentDAO.cleanUnexistingUniqueTagsOneByOne()
long
DocumentDAO.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 versionslong
HibernateDocumentDAO.computeTotalSize
(Long tenantId, Long userId, boolean computeDeleted) int
DocumentNoteDAO.copyAnnotations
(long docId, String oldFileVersion, String newFileVersion) Copies all the notes not associated to a specific page from a given file version to anotherint
HibernateDocumentNoteDAO.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) long
Counts the number of documentslong
long
DocumentDAO.countByIndexed
(int indexed) Counts the number of documents in a given indexation status(@seeAbstractDocument.getIndexed()
long
HibernateDocumentDAO.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) void
DocumentDAO.delete
(long docId, int delCode, DocumentHistory transaction) This method deletes the document object and insert a new document history entry.void
DocumentDAO.delete
(long docId, DocumentHistory transaction) Shortcut for delete(docId, 1, transaction)void
HibernateDocumentDAO.delete
(long docId, int delCode, DocumentHistory transaction) void
HibernateDocumentDAO.delete
(long docId, DocumentHistory transaction) void
HibernateDocumentLinkDAO.delete
(long id, int code) void
HibernateDocumentNoteDAO.delete
(long id, int code) void
HibernateRatingDAO.delete
(long id, int code) void
HibernateVersionDAO.delete
(long versionId, int delCode) void
DocumentDAO.deleteAll
(Collection<Document> documents, int delCode, DocumentHistory transaction) Deletes all documents form the database and modifies the custom ids of all documentsvoid
DocumentDAO.deleteAll
(Collection<Document> documents, DocumentHistory transaction) Shortcut for deleteAll(documents, 1, transaction)void
HibernateDocumentDAO.deleteAll
(Collection<Document> documents, int delCode, DocumentHistory transaction) void
HibernateDocumentDAO.deleteAll
(Collection<Document> documents, DocumentHistory transaction) void
DocumentDAO.deleteOrphaned
(long deleteUserId) This method deletes the documents into deleted folders.void
HibernateDocumentDAO.deleteOrphaned
(long deleteUserId) DocumentManager.deleteVersion
(long versionId, DocumentHistory transaction) Deletes a specific version.DocumentManagerImpl.deleteVersion
(long versionId, DocumentHistory transaction) void
DocumentManager.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.void
DocumentManagerImpl.destroyDocument
(long docId, FolderHistory transaction) int
DocumentManager.enforceFilesIntoFolderStorage
(long rootFolderId, DocumentHistory transaction) Moves all the files of the documents in the given tree from it's original location to the storage defined in the owning folderint
DocumentManagerImpl.enforceFilesIntoFolderStorage
(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) long
DocumentManager.index
(long docId, String content, DocumentHistory transaction) Re-indexes an existing document in the full-text index.long
DocumentManagerImpl.index
(long docId, String content, DocumentHistory transaction) void
DocumentDAO.insertNewUniqueTags()
Puts into ld_uniquetag the new unique tagsvoid
HibernateDocumentDAO.insertNewUniqueTags()
boolean
BookmarkDAO.isDocBookmarkedByUser
(long docId, long userId) Checks if the document is bookmarked by a userboolean
HibernateBookmarkDAO.isDocBookmarkedByUser
(long docId, long userId) boolean
DocumentDAO.isDownloadAllowed
(long documentId, long userId) boolean
HibernateDocumentDAO.isDownloadAllowed
(long id, long userId) boolean
DocumentDAO.isMoveAllowed
(long documentId, long userId) boolean
HibernateDocumentDAO.isMoveAllowed
(long id, long userId) boolean
DocumentDAO.isPermissionAllowed
(Permission permission, long documentId, long userId) This method checks if the given permission is enabled for a document and an user.boolean
HibernateDocumentDAO.isPermissionAllowed
(Permission permission, long documentId, long userId) boolean
DocumentDAO.isPreviewAllowed
(long documentId, long userId) boolean
HibernateDocumentDAO.isPreviewAllowed
(long docId, long userId) boolean
DocumentDAO.isPrintAllowed
(long documentId, long userId) boolean
HibernateDocumentDAO.isPrintAllowed
(long id, long userId) boolean
DocumentDAO.isReadAllowed
(long documentId, long userId) boolean
HibernateDocumentDAO.isReadAllowed
(long docId, long userId) boolean
DocumentDAO.isWriteAllowed
(long documentId, long userId) This method is looking up for writing rights for a document and an user.boolean
HibernateDocumentDAO.isWriteAllowed
(long id, long userId) void
DocumentManager.lock
(long docId, int status, DocumentHistory transaction) Locks the given documentvoid
DocumentManagerImpl.lock
(long docId, int status, DocumentHistory transaction) void
DocumentDAO.makeImmutable
(long docId, DocumentHistory transaction) Marks the document, with the given docId, as immutable.void
DocumentManager.makeImmutable
(long docId, DocumentHistory transaction) Marks the document, with the given docId, as immutable and save the given document historyvoid
DocumentManagerImpl.makeImmutable
(long docId, DocumentHistory transaction) void
HibernateDocumentDAO.makeImmutable
(long docId, DocumentHistory transaction) void
DocumentHistoryDAO.markHistoriesAsRead
(String event, long userId) Marks all the histories of a specific event as read by the specified user.void
HibernateDocumentHistoryDAO.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) void
DocumentManager.moveToFolder
(Document doc, Folder folder, DocumentHistory transaction) Moves a document to the specified folder.void
DocumentManagerImpl.moveToFolder
(Document doc, Folder folder, DocumentHistory transaction) void
DocumentManager.promoteVersion
(long docId, String version, DocumentHistory transaction) Promotes an old version to the current default one.void
DocumentManagerImpl.promoteVersion
(long docId, String version, DocumentHistory transaction) void
DocumentManager.rename
(long docId, String newName, DocumentHistory transaction) Rename an existing document filename.void
DocumentManagerImpl.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) void
DocumentManager.replaceFile
(long docId, String fileVersion, File newFile, DocumentHistory transaction) Replaces the file of a given versionvoid
DocumentManager.replaceFile
(long docId, String fileVersion, InputStream newFile, DocumentHistory transaction) Replaces the file of a given versionvoid
DocumentManagerImpl.replaceFile
(long docId, String fileVersion, File newFile, DocumentHistory transaction) void
DocumentManagerImpl.replaceFile
(long docId, String fileVersion, InputStream content, DocumentHistory transaction) void
DocumentDAO.restore
(long docId, long folderId, DocumentHistory transaction) Restores a previously deleted documentvoid
HibernateDocumentDAO.restore
(long docId, long folderId, DocumentHistory transaction) void
DocumentDAO.saveDocumentHistory
(Document doc, DocumentHistory transaction) Saves a document's historyvoid
HibernateDocumentDAO.saveDocumentHistory
(Document doc, DocumentHistory transaction) void
DocumentDAO.setPassword
(long docId, String password, DocumentHistory transaction) Protects the document with a password.void
HibernateDocumentDAO.setPassword
(long docId, String password, DocumentHistory transaction) void
DocumentDAO.store
(Document doc, DocumentHistory transaction) This method persists the document object and insert a new document history entryvoid
DocumentNoteDAO.store
(DocumentNote note, DocumentHistory transaction) Stores a note and saves the document's historyvoid
void
HibernateDocumentDAO.store
(Document doc, DocumentHistory transaction) void
HibernateDocumentHistoryDAO.store
(DocumentHistory history) void
HibernateDocumentLinkDAO.store
(DocumentLink entity) void
HibernateDocumentNoteDAO.store
(DocumentNote note) void
HibernateDocumentNoteDAO.store
(DocumentNote note, DocumentHistory transaction) void
HibernateRatingDAO.store
(Rating rating, DocumentHistory transaction) void
This method persists the given version.void
RatingDAO.store
(Rating rating, DocumentHistory transaction) Stores a rating and saves the document's historyvoid
DocumentDAO.unarchive
(long docId, DocumentHistory transaction) Restores a previously archived documentvoid
HibernateDocumentDAO.unarchive
(long docId, DocumentHistory transaction) void
DocumentManager.unlock
(long docId, DocumentHistory transaction) UNChecks out the given documentvoid
DocumentManagerImpl.unlock
(long docId, DocumentHistory transaction) void
DocumentDAO.unsetPassword
(long docId, DocumentHistory transaction) Removes the password protection from the document.void
HibernateDocumentDAO.unsetPassword
(long docId, DocumentHistory transaction) void
DocumentManager.update
(Document doc, Document docVO, DocumentHistory transaction) Updates an existing document and marks it to be re-indexedvoid
DocumentManagerImpl.update
(Document document, Document docVO, DocumentHistory transaction) void
DocumentDAO.updateCountUniqueTags()
Updates the count of the unique tagsvoid
HibernateDocumentDAO.updateCountUniqueTags()
void
DocumentDAO.updateDigest
(Document doc) Updates the document's digest (SHA-1)void
HibernateDocumentDAO.updateDigest
(Document doc) int
HibernateRatingDAO.updateDocumentRating
(long docId, DocumentHistory transaction) int
RatingDAO.updateDocumentRating
(long docId, DocumentHistory transaction) Updates the document's rating with the votes average -
Uses of PersistenceException in com.logicaldoc.core.folder
Modifier and TypeMethodDescriptionvoid
FolderInitializer.afterStore
(Folder document, FolderHistory transaction, Map<String, Object> dictionary) void
FolderListener.afterStore
(Folder folder, FolderHistory transaction, Map<String, Object> dictionary) Called after a folder is stored in the databasevoid
FolderValidator.afterStore
(Folder folder, FolderHistory transaction, Map<String, Object> dictionary) void
FolderDAO.applyGridToTree
(long rootId, FolderHistory transaction) Propagates the grid layout of a node to the whole sub-treevoid
HibernateFolderDAO.applyGridToTree
(long id, FolderHistory transaction) void
FolderDAO.applyMetadataToTree
(long id, FolderHistory transaction) Propagates the template metadata to the whole subreevoid
HibernateFolderDAO.applyMetadataToTree
(long id, FolderHistory transaction) void
FolderDAO.applyOCRToTree
(long id, FolderHistory transaction) Propagates the OCR settings to the whole subreevoid
HibernateFolderDAO.applyOCRToTree
(long id, FolderHistory transaction) void
FolderDAO.applySecurityToTree
(long rootId, FolderHistory transaction) Propagates the security policies of a node to the whole sub-treevoid
HibernateFolderDAO.applySecurityToTree
(long rootId, FolderHistory transaction) void
FolderDAO.applyStorageToTree
(long id, FolderHistory transaction) Propagates the storage setting to the whole subreevoid
HibernateFolderDAO.applyStorageToTree
(long id, FolderHistory transaction) void
FolderDAO.applyTagsToTree
(long id, FolderHistory transaction) Propagates the tags to the whole subreevoid
HibernateFolderDAO.applyTagsToTree
(long id, FolderHistory transaction) void
FolderInitializer.beforeStore
(Folder folder, FolderHistory transaction, Map<String, Object> dictionary) void
FolderListener.beforeStore
(Folder folder, FolderHistory transaction, Map<String, Object> dictionary) Called before a folder is stored in the databasevoid
FolderValidator.beforeStore
(Folder folder, FolderHistory transaction, Map<String, Object> dictionary) void
FolderHistoryDAO.cleanOldHistories
(int ttl) This method deletes all the user history entries oldest than the given days from now.void
HibernateFolderHistoryDAO.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) FolderDAO.copy
(Folder source, Folder target, String newName, boolean foldersOnly, String securityOption, FolderHistory transaction) Copies a folder into another folderHibernateFolderDAO.copy
(Folder source, Folder target, String newName, boolean foldersOnly, String securityOption, FolderHistory transaction) FolderDAO.create
(Folder parent, Folder folderVO, boolean inheritSecurity, FolderHistory transaction) Creates a new folder in the parent FolderHibernateFolderDAO.create
(Folder parent, Folder folderVO, boolean inheritSecurity, FolderHistory transaction) FolderDAO.createAlias
(long parentId, long foldRef, FolderHistory transaction) Creates a new folder folder aliasHibernateFolderDAO.createAlias
(long parentId, long foldRef, FolderHistory transaction) FolderDAO.createPath
(Folder parent, String path, boolean inheritSecurity, FolderHistory transaction) Creates the folder for the specified path.HibernateFolderDAO.createPath
(Folder parent, String path, boolean inheritSecurity, FolderHistory transaction) void
FolderDAO.delete
(long id, int delCode, FolderHistory transaction) This method deletes the folder object and insert a new folder history entryvoid
FolderDAO.delete
(long id, FolderHistory transaction) Shortcut for delete(id, 1, transaction)void
HibernateFolderDAO.delete
(long folderId, int code) void
HibernateFolderDAO.delete
(long folderId, int delCode, FolderHistory transaction) void
HibernateFolderDAO.delete
(long folderId, FolderHistory transaction) void
FolderDAO.deleteAll
(Collection<Folder> folders, int delCode, FolderHistory transaction) For each folder, save the folder delete history entry for each folder and delete the foldervoid
FolderDAO.deleteAll
(Collection<Folder> folders, FolderHistory transaction) Shortcut for deleteAll(folders, 1, transaction)void
HibernateFolderDAO.deleteAll
(Collection<Folder> folders, int code, FolderHistory transaction) void
HibernateFolderDAO.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.FolderHistoryDAO.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.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.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_WORKSPACE
HibernateFolderDAO.findWorkspaces
(long tenantId) FolderDAO.getEnabledPermissions
(long folderId, long userId) Finds all permissions of a user enabled on the specified folderHibernateFolderDAO.getEnabledPermissions
(long folderId, long userId) boolean
FolderDAO.hasWriteAccess
(Folder folder, long userId) Checks that the user has write access to the folder and all its sub-itemsboolean
HibernateFolderDAO.hasWriteAccess
(Folder folder, long userId) boolean
FolderDAO.isDownloadllowed
(long folderId, long userId) boolean
HibernateFolderDAO.isDownloadllowed
(long id, long userId) boolean
FolderDAO.isInPath
(long parentId, long childId) Checks if a folder with the given folderId is parent of the folder with the given targetIdboolean
HibernateFolderDAO.isInPath
(long folderId, long targetId) boolean
FolderDAO.isMoveAllowed
(long folderId, long userId) boolean
HibernateFolderDAO.isMoveAllowed
(long id, long userId) boolean
FolderDAO.isPermissionAllowed
(Permission permission, long folderId, long userId) This method checks if the given permission is allowed for a folder and an user.boolean
HibernateFolderDAO.isPermissionAllowed
(Permission permission, long folderId, long userId) boolean
FolderDAO.isPreviewAllowed
(long folderId, long userId) boolean
HibernateFolderDAO.isPreviewAllowed
(long id, long userId) boolean
FolderDAO.isPrintAllowed
(long folderId, long userId) boolean
HibernateFolderDAO.isPrintAllowed
(long folderId, long userId) boolean
FolderDAO.isReadAllowed
(long folderId, long userId) boolean
HibernateFolderDAO.isReadAllowed
(long folderId, long userId) boolean
FolderDAO.isWriteAllowed
(long folderId, long userId) This method is looking up for writing rights for a folder and an user.boolean
HibernateFolderDAO.isWriteAllowed
(long folderId, long userId) void
FolderDAO.merge
(Folder source, Folder target, FolderHistory transaction) Merges the contents of two foldersvoid
HibernateFolderDAO.merge
(Folder source, Folder target, FolderHistory transaction) void
FolderDAO.move
(Folder source, Folder target, FolderHistory transaction) Moves a folder into another foldervoid
HibernateFolderDAO.move
(Folder source, Folder target, FolderHistory transaction) void
FolderDAO.restore
(long folderId, long parentId, FolderHistory transaction) Restores a previously deleted foldervoid
HibernateFolderDAO.restore
(long folderId, long parentId, FolderHistory transaction) void
FolderDAO.saveFolderHistory
(Folder folder, FolderHistory transaction) Utility method that logs into the DB the transaction that involved the passed folder.void
HibernateFolderDAO.saveFolderHistory
(Folder folder, FolderHistory transaction) Utility method that logs into the DB the transaction that involved the passed folder.void
FolderDAO.store
(Folder folder, FolderHistory transaction) Same as store(Folder, boolean, FolderHistory)void
void
HibernateFolderDAO.store
(Folder folder, FolderHistory transaction) void
HibernateFolderHistoryDAO.store
(FolderHistory history) void
FolderDAO.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.void
HibernateFolderDAO.updateSecurityRef
(long folderId, long rightsFolderId, FolderHistory transaction) -
Uses of PersistenceException in com.logicaldoc.core.generic
Modifier and TypeMethodDescriptionvoid
HibernateGenericDAO.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.lock
-
Uses of PersistenceException in com.logicaldoc.core.metadata
Modifier and TypeMethodDescriptionCreates a clone of an existing templateint
HibernateTemplateDAO.countDocs
(long id) int
TemplateDAO.countDocs
(long id) Counts the total number of documents using this templatevoid
HibernateAttributeOptionDAO.delete
(long id, int code) void
HibernateAttributeSetDAO.delete
(long id, int code) void
HibernateTemplateDAO.delete
(long id, int code) void
AttributeOptionDAO.deleteBySetIdAndAttribute
(long setId, String attribute) This method deletes options.void
HibernateAttributeOptionDAO.deleteBySetIdAndAttribute
(long setId, String attribute) void
AttributeOptionDAO.deleteOrphaned
(long setId, Collection<String> currentAttributes) This method deletes the orphaned options of a given templatevoid
HibernateAttributeOptionDAO.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) void
HibernateAttributeSetDAO.store
(AttributeSet set) void
-
Uses of PersistenceException in com.logicaldoc.core.metadata.validation
Modifier and TypeClassDescriptionclass
Raised when the content being stored are not logically valid. -
Uses of PersistenceException in com.logicaldoc.core.searchengine.saved
Modifier and TypeMethodDescriptionvoid
HibernateSearchDAO.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 keyvoid
SavedSearch.saveOptions
(SearchOptions opt) void
HibernateSearchDAO.store
(SavedSearch search) -
Uses of PersistenceException in com.logicaldoc.core.security
Modifier and TypeMethodDescriptionint
TenantDAO.count()
Counts the total number of tenantsHibernateTenantDAO.findAllNames()
TenantDAO.findAllNames()
Retrieves all the tenant namesTenantDAO.findByName
(String name) Finds a tenant by nameTenantDAO.getTenantName
(long tenantId) Retrieves the tenant's nameboolean
DeviceDAO.isTrustedDevice
(String username, javax.servlet.http.HttpServletRequest request) Checks if the current request's device is trusted by the userstatic void
AccessControlUtil.removeForbiddenPermissionsForGuests
(Securable securable) DeviceDAO.trustDevice
(User user, Device device) Trusts a device for a user -
Uses of PersistenceException in com.logicaldoc.core.security.authentication
-
Uses of PersistenceException in com.logicaldoc.core.security.user
Modifier and TypeMethodDescriptionvoid
UserListener.afterStore
(User user, UserHistory transaction, Map<String, Object> dictionary) Called after a user is stored in the databasevoid
UserListener.beforeStore
(User user, UserHistory transaction, Map<String, Object> dictionary) Called before a user is stored in the databaseint
GroupDAO.count()
Counts the total number of groupsint
HibernateGroupDAO.count()
int
int
Counts the total number of standard usersint
HibernateUserDAO.countGuests
(Long tenantId) int
UserDAO.countGuests
(Long tenantId) Counts the total number of guest usersvoid
HibernateDeviceDAO.delete
(long deviceId, int code) void
HibernateGroupDAO.delete
(long groupId, int code) void
HibernateUserDAO.delete
(long userId, int code) void
HibernateUserDAO.delete
(long userId, UserHistory transaction) void
UserDAO.delete
(long userId, UserHistory transaction) This method deletes the user object and insert a new user history entry.boolean
HibernateUserDAO.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.void
GroupDAO.fixGuestPermissions
(Group group) void
HibernateGroupDAO.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 groupvoid
GroupDAO.inheritACLs
(Group group, long parentGroupId) This method replicates all ACLs of the parent group to another group.void
HibernateGroupDAO.inheritACLs
(Group group, long parentGroupId) void
This method persists a new group object.void
boolean
HibernateUserDAO.isInactive
(String username) boolean
UserDAO.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.boolean
HibernateDeviceDAO.isTrustedDevice
(String username, javax.servlet.http.HttpServletRequest request) void
void
void
void
HibernateUserDAO.store
(User user, UserHistory transaction) void
HibernateUserHistoryDAO.store
(UserHistory history) void
UserDAO.store
(User user, UserHistory transaction) This method persists the user object and insert a new user history entry.HibernateDeviceDAO.trustDevice
(User user, Device requestDevice) -
Uses of PersistenceException in com.logicaldoc.core.sequence
-
Uses of PersistenceException in com.logicaldoc.core.ticket
Modifier and TypeMethodDescriptionvoid
void
HibernateTicketDAO.store
(Ticket entity, DocumentHistory transaction) void
TicketDAO.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
Modifier and TypeMethodDescriptionZipExport.process
(FolderHistory transaction, boolean pdfConversion) Exports the specified folder contentZipExport.process
(Long[] docIds, boolean pdfConversion, DocumentHistory transaction) Exports a selection of documentsvoid
ZipExport.process
(Long[] docIds, OutputStream out, boolean pdfConversion, DocumentHistory transaction) Exports a selection of documentsvoid
void
-
Uses of PersistenceException in com.logicaldoc.core.util
-
Uses of PersistenceException in com.logicaldoc.web.service
Modifier 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 GUITenant
static Document
DocumentServiceImpl.toDocument
(GUIDocument guiDocument) Produces a plain new Document from a GUIDocument -
Uses of PersistenceException in com.logicaldoc.web.util
Modifier and TypeMethodDescriptionstatic void
ServletUtil.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 void
ServletUtil.downloadDocument
(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String sid, String docId, String fileVersion, String fileName, User user) Sends the specified document to the response object; the client will receive it as a downloadstatic void
ServletUtil.downloadDocumentText
(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, long docId, User user) Sends the specified document's indexed text to the response object; the client will receive it as a download -
Uses of PersistenceException in com.logicaldoc.webservice
Modifier and TypeMethodDescriptionvoid
HibernateWebserviceCallDAO.cleanOldCalls
(int ttl) void
WebserviceCallDAO.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
Modifier and TypeMethodDescriptionjavax.ws.rs.core.Response
CommentService.addComment
(String sid, String docid, CommentVO comment) javax.ws.rs.core.Response
CommentService.addCommentForm
(String sid, String docid, String content) javax.ws.rs.core.Response
CommentService.getComments
(String sid, String docid) -
Uses of PersistenceException in com.logicaldoc.webservice.model
Modifier and TypeMethodDescriptionstatic AccessControlEntry
WSUtil.toAccessControlEntry
(WSAccessControlEntry wsAce) static Document
WSUtil.toDocument
(WSDocument wsDoc) static WSAccessControlEntry
WSUtil.toWSAccessControlEntry
(AccessControlEntry ace) void
WSFolder.updateAttributes
(Folder folder) -
Uses of PersistenceException in com.logicaldoc.webservice.rest
Modifier and TypeMethodDescriptionvoid
DocumentMetadataService.addAttributeOption
(long setId, String attribute, WSAttributeOption option) Add a new option for the given attributevoid
TagService.addDocumentTags
(long docId, List<String> tags) Adds tags to a documentvoid
TagService.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) void
DocumentService.checkout
(long docId) Executed the checkoutDocumentService.copy
(long docId, long folderId, boolean links, boolean notes, boolean security) Copies a document into another foldervoid
Copies 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 ticketlong
FolderService.createFolder
(long parentId, String name) FolderService.createPath
(long parentId, String path) void
Creates 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) void
DocumentService.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 ticketvoid
DocumentService.delete
(long docId) Deletes a documentvoid
FolderService.delete
(long folderId) void
DocumentMetadataService.deleteAttributeSet
(long setId) Deletes an existing attribute set with the given identifier.void
BookmarkService.deleteBookmark
(long bookmarkId) void
DocumentService.deleteLink
(long id) Removes an existing linkvoid
DocumentService.deleteNote
(long noteId) Deletes a new note by note identifiervoid
DocumentMetadataService.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.getAttributeSet
(String name) Gets attribute set's metadataDocumentMetadataService.getAttributeSetById
(long setId) Gets attribute set's metadataBookmarkService.getBookmarks()
javax.activation.DataHandler
DocumentService.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.DataHandler
DocumentService.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 metadatajavax.activation.DataHandler
DocumentService.getThumbnail
(String type, String docPath, List<javax.ws.rs.core.PathSegment> docPathList) Retrieves the thumbnail imagejavax.activation.DataHandler
DocumentService.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 identifierboolean
DocumentService.isDownload
(long docId) Tests if a document is downloadable.boolean
Tests if the current user has a specific permission on a documentboolean
Tests if the current user has a specific permission on a folderboolean
DocumentService.isRead
(long docId) Tests if a document is readable.boolean
FolderService.isReadable
(long folderId) Tests if a folder is readable.boolean
FolderService.isWritable
(long folderId) Tests if a folder is writableboolean
DocumentService.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.void
DocumentService.lock
(long docId) Locks an existing document with the given identifier.void
DocumentService.move
(long docId, long folderId) Moves an existing document with the given identifiervoid
FolderService.move
(long folderId, long parentId) Moves an existing folder with the given identifier.void
DocumentService.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 documentvoid
Re-indexes(or indexes from scratch) a documentvoid
Renames the title of an existing document with the given identifier.void
Renames an existing folder.void
DocumentService.restore
(long docId, long folderId) Restores a deleted documentBookmarkService.saveBookmark
(WSBookmark bookmark) Adds a new note for the given documentvoid
Sends a set of documents as mail attachmentsvoid
DocumentService.setAccessControlList
(long docId, List<WSAccessControlEntry> acl) Sets the Access Control Listvoid
FolderService.setAccessControlList
(long folderId, List<WSAccessControlEntry> acl) Sets the Access Control Listvoid
DocumentMetadataService.setAttributeOptions
(long setId, String attribute, List<WSAttributeOption> options) Saves the options for the given attributevoid
DocumentMetadataService.setAttributeOptionsPOST
(Long setId, String attribute, List<WSAttributeOption> options) Saves the options for the given attribute with a POST method.void
TagService.setDocumentTags
(long docId, List<String> tags) Sets the tags of a documentvoid
TagService.setFolderTags
(long folderId, List<String> tags) Sets the tags of a foldervoid
DocumentService.setPassword
(long docId, String password) Puts a password protection to the documentlong
DocumentMetadataService.storeAttributeSet
(WSAttributeSet attributeSet) Create/Update an attribute set.long
DocumentMetadataService.storeTemplate
(WSTemplate template) Create/Update a template.void
BookmarkService.unbookmarkDocument
(long docId) void
BookmarkService.unbookmarkFolder
(long folderId) void
DocumentService.unlock
(long docId) Unlocks an existing document with the given identifier.boolean
Unprotects a document that is password protected.void
DocumentService.unsetPassword
(long docId, String currentPassword) Removes the password protection from the documentvoid
DocumentService.update
(WSDocument document) Updates an existing document with the value object containing the document's metadata.void
Updates an existing folder.void
DocumentService.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
Modifier and TypeMethodDescriptionvoid
RestTagClient.addDocumentTags
(long docId, List<String> tags) void
RestTagClient.addFolderTags
(long folderId, List<String> tags) RestBookmarkClient.bookmarkDocument
(long docId) RestBookmarkClient.bookmarkFolder
(long folderId) void
RestDocumentClient.checkout
(long docId) long
RestFolderClient.createFolder
(long parentId, String folderName) RestFolderClient.createPath
(long rootFolder, String path) void
void
RestDocumentClient.createThumbnail
(long docId, String fileVersion, String type) void
RestDocumentClient.delete
(long docId) void
RestFolderClient.delete
(long folderId) void
RestDocumentMetadataClient.deleteAttributeSet
(long setId) void
RestBookmarkClient.deleteBookmark
(long bookmarkId) void
RestDocumentClient.deleteNote
(long noteId) Adds a new note for the given documentvoid
RestDocumentMetadataClient.deleteTemplate
(long templateId) void
RestDocumentClient.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.DataHandler
RestDocumentClient.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.DataHandler
RestDocumentClient.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) void
RestDocumentMetadataClient.setAttributeOptions
(long setId, String attribute, List<WSAttributeOption> options) void
RestDocumentMetadataClient.setAttributeOptionsPOST
(long setId, String attribute, List<WSAttributeOption> options) void
RestTagClient.setDocumentTags
(long docId, List<String> tags) void
RestTagClient.setFolderTags
(long folderId, List<String> tags) long
RestDocumentMetadataClient.storeAttributeSet
(WSAttributeSet attributeSet) long
RestDocumentMetadataClient.storeTemplate
(WSTemplate template) void
RestBookmarkClient.unbookmarkDocument
(long docId) void
RestBookmarkClient.unbookmarkFolder
(long folderId) void
RestDocumentClient.update
(WSDocument document) void
-
Uses of PersistenceException in com.logicaldoc.webservice.rest.endpoint
Modifier and TypeMethodDescriptionvoid
RestDocumentMetadataService.addAttributeOption
(long setId, String attribute, WSAttributeOption option) void
RestTagService.addDocumentTags
(long docId, List<String> tags) void
RestTagService.addFolderTags
(long folderId, List<String> tags) RestBookmarkService.bookmarkDocument
(long docId) RestBookmarkService.bookmarkFolder
(long folderId) void
RestDocumentService.checkout
(long docId) RestDocumentService.copy
(long docId, long folderId, boolean links, boolean notes, boolean security) void
RestDocumentService.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) long
RestFolderService.createFolder
(long parentId, String name) RestFolderService.createPath
(long parentId, String path) void
RestFolderService.createSimple
(String folderPath) RestFolderService.createSimpleForm
(String folderPath) RestFolderService.createSimpleJSON
(String jsonstr) void
RestDocumentService.createThumbnail
(long docId, String fileVersion, String type) RestDocumentService.createViewTicket
(long docId, String suffix, Integer expireHours, String expireDate, Integer maxDownloads, Integer maxViews) void
RestDocumentService.delete
(long docId) void
RestFolderService.delete
(long folderId) void
RestDocumentMetadataService.deleteAttributeSet
(long setId) void
RestBookmarkService.deleteBookmark
(long bookmarkId) void
RestDocumentService.deleteLink
(long id) void
RestDocumentService.deleteNote
(long noteId) void
RestDocumentMetadataService.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.getAttributeSet
(String name) RestDocumentMetadataService.getAttributeSetById
(long setId) RestBookmarkService.getBookmarks()
javax.activation.DataHandler
RestDocumentService.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.DataHandler
RestDocumentService.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) javax.activation.DataHandler
RestDocumentService.getThumbnail
(String type, String docPath, List<javax.ws.rs.core.PathSegment> docPathList) javax.activation.DataHandler
RestDocumentService.getVersionContent
(long docId, String version) RestDocumentService.getVersions
(long docId) boolean
RestDocumentService.isDownload
(long docId) boolean
boolean
boolean
RestDocumentService.isRead
(long docId) boolean
RestFolderService.isReadable
(long folderId) boolean
RestFolderService.isWritable
(long folderId) boolean
RestDocumentService.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()
void
RestDocumentService.lock
(long docId) void
RestDocumentService.move
(long docId, long folderId) void
RestFolderService.move
(long folderId, long parentId) void
RestDocumentService.promoteVersion
(long docId, String version) RestDocumentService.rateDocument
(long docId, int vote) void
void
void
void
RestDocumentService.restore
(long docId, long folderId) RestBookmarkService.saveBookmark
(WSBookmark bookmark) void
void
RestDocumentService.setAccessControlList
(long docId, List<WSAccessControlEntry> acl) void
RestFolderService.setAccessControlList
(long folderId, List<WSAccessControlEntry> acl) void
RestDocumentMetadataService.setAttributeOptions
(long setId, String attribute, List<WSAttributeOption> options) void
RestDocumentMetadataService.setAttributeOptionsPOST
(Long setId, String attribute, List<WSAttributeOption> options) void
RestTagService.setDocumentTags
(long docId, List<String> tags) void
RestTagService.setFolderTags
(long folderId, List<String> tags) void
RestDocumentService.setPassword
(long docId, String password) long
RestDocumentMetadataService.storeAttributeSet
(WSAttributeSet attributeSet) long
RestDocumentMetadataService.storeTemplate
(WSTemplate template) void
RestBookmarkService.unbookmarkDocument
(long docId) void
RestBookmarkService.unbookmarkFolder
(long folderId) void
RestDocumentService.unlock
(long docId) boolean
void
RestDocumentService.unsetPassword
(long docId, String currentPassword) void
RestDocumentService.update
(WSDocument document) void
void
RestDocumentService.uploadResource
(Integer docId, String fileVersion, String suffix, org.apache.cxf.jaxrs.ext.multipart.Attachment contentDetail) -
Uses of PersistenceException in com.logicaldoc.webservice.soap
Modifier and TypeMethodDescriptionvoid
DocumentMetadataService.addAttributeOption
(String sid, long setId, String attribute, WSAttributeOption option) Add a new option for the given attributevoid
TagService.addDocumentTags
(String sid, long docId, List<String> tags) Adds tags to a documentvoid
TagService.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) int
SecurityService.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 2void
DocumentService.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.void
DocumentService.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.void
Checks 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.void
FolderService.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 ticketlong
FolderService.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.void
Creates the PDF conversion of the given document.void
DocumentService.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 ticketvoid
Deletes an existing document with the given identifier.void
Deletes an existing folder.void
DocumentMetadataService.deleteAttributeSet
(String sid, long setId) Deletes an existing attribute set with the given identifier.void
BookmarkService.deleteBookmark
(String sid, long bookmarkId) void
SecurityService.deleteGroup
(String sid, long groupId) Deletes an existing group with the given identifiervoid
DocumentService.deleteLink
(String sid, long id) Removes an existing linkvoid
DocumentService.deleteNote
(String sid, long noteId) Adds a new note for the given documentvoid
DocumentMetadataService.deleteTemplate
(String sid, long templateId) Deletes an existing template with the given identifiervoid
SecurityService.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.DataHandler
DocumentService.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 of the current session.javax.activation.DataHandler
DocumentService.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 metadataGets user metadata of an existing user with the given identifierSecurityService.getUserByUsername
(String sid, String username) Gets user metadata of an existing user with the given usernameDocumentService.getVersion
(String sid, long docId, String version) Gets a specific versionjavax.activation.DataHandler
DocumentService.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 identifierboolean
DocumentService.isDownload
(String sid, long docId) Tests if a document is downloadableboolean
Tests if the current user has a specific permission on a documentboolean
Tests if the current user has a specific permission on a folderboolean
Tests if a document is readable.boolean
DocumentMetadataService.isReadable
(String sid, long templateId) Tests if a template is readable.boolean
FolderService.isReadable
(String sid, long folderId) Tests if a folder is readable.boolean
DocumentMetadataService.isWritable
(String sid, long templateId) Tests if a template is writableboolean
FolderService.isWritable
(String sid, long folderId) Tests if a folder is writableboolean
Tests 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.void
Locks an existing document with the given identifier.void
Merges the contents of folder into a targetvoid
Moves an existing document with the given identifier.void
Moves an existing folder with the given identifier.void
DocumentService.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 documentvoid
Re-indexes(or indexes from scratch) a documentvoid
Renames the title of an existing document with the given identifier.void
Renames an existing folder.void
DocumentService.replaceFile
(String sid, long docId, String fileVersion, String comment, javax.activation.DataHandler content) Replaces the file associated to a given version.void
Restores a deleted documentBookmarkService.saveBookmark
(String sid, WSBookmark bookmark) Adds a new note for the given documentvoid
DocumentService.sendEmail
(String sid, List<Long> docIds, String recipients, String subject, String message) Sends a set of documents as mail attachmentsvoid
DocumentMetadataService.setAccessControlList
(String sid, long templateId, List<WSAccessControlEntry> acl) Sets the Access Control Listvoid
DocumentService.setAccessControlList
(String sid, long docId, List<WSAccessControlEntry> acl) Sets the Access Control Listvoid
FolderService.setAccessControlList
(String sid, long folderId, List<WSAccessControlEntry> acl) Sets the Access Control Listvoid
DocumentMetadataService.setAttributeOptions
(String sid, long setId, String attribute, List<WSAttributeOption> options) Saves the options for the given attributevoid
TagService.setDocumentTags
(String sid, long docId, List<String> tags) Sets the tags of a documentvoid
TagService.setFolderTags
(String sid, long folderId, List<String> tags) Sets the tags of a foldervoid
DocumentService.setPassword
(String sid, long docId, String password) Puts a password protection to the documentlong
DocumentMetadataService.storeAttributeSet
(String sid, WSAttributeSet attributeSet) Create/Update an attribute set.long
SecurityService.storeGroup
(String sid, WSGroup group) Creates/Updates a group.long
DocumentMetadataService.storeTemplate
(String sid, WSTemplate template) Create/Update a template.long
Creates/Updates a user.void
BookmarkService.unbookmarkDocument
(String sid, long docId) void
BookmarkService.unbookmarkFolder
(String sid, long folderId) void
Unlocks an existing document with the given identifier.boolean
Unprotects a document that is password protected.void
DocumentService.unsetPassword
(String sid, long docId, String currentPassword) Removes the password protection from the documentvoid
DocumentService.update
(String sid, WSDocument document) Updates an existing document with the value object containing the document's metadatavoid
Updates an existing folder.long
DocumentService.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.void
DocumentService.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
Modifier and TypeMethodDescriptionvoid
SoapDocumentMetadataClient.addAttributeOption
(String sid, long setId, String attribute, WSAttributeOption wsoption) void
SoapTagClient.addDocumentTags
(String sid, long docId, List<String> tags) void
SoapTagClient.addFolderTags
(String sid, long folderId, List<String> tags) SoapBookmarkClient.bookmarkDocument
(String sid, long docId) SoapBookmarkClient.bookmarkFolder
(String sid, long folderId) int
SoapSecurityClient.changePassword
(String sid, long userId, String oldPassword, String newPassword) void
SoapDocumentClient.checkin
(String sid, long docId, String comment, String filename, boolean release, File content) void
SoapDocumentClient.checkin
(String sid, long docId, String comment, String filename, boolean release, javax.activation.DataHandler content) void
SoapDocumentClient.checkinDocument
(String sid, long docId, String comment, String filename, boolean release, WSDocument docVO, File content) void
SoapDocumentClient.checkinDocument
(String sid, long docId, String comment, String filename, boolean release, WSDocument docVO, javax.activation.DataHandler content) void
SoapDocumentClient.copy
(String sid, long docId, long folderId, boolean links, boolean notes, boolean security) void
SoapFolderClient.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) long
SoapFolderClient.createFolder
(String sid, long parentId, String name) SoapFolderClient.createPath
(String sid, long parentId, String path) void
void
SoapDocumentClient.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) void
void
void
SoapDocumentMetadataClient.deleteAttributeSet
(String sid, long setId) void
SoapBookmarkClient.deleteBookmark
(String sid, long bookmarkId) void
SoapSecurityClient.deleteGroup
(String sid, long groupId) void
SoapDocumentClient.deleteLink
(String sid, long id) void
SoapDocumentClient.deleteNote
(String sid, long noteId) void
SoapDocumentMetadataClient.deleteTemplate
(String sid, long templateId) void
SoapSecurityClient.deleteUser
(String sid, long userId) SoapDocumentClient.deleteVersion
(String sid, long docId, String version) void
SoapDocumentClient.downloadContent
(String sid, long docId, File out) void
SoapDocumentClient.downloadResourceContent
(String sid, long docId, String fileVersion, String suffix, File out) void
SoapDocumentClient.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.DataHandler
SoapDocumentClient.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.DataHandler
SoapDocumentClient.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) SoapSecurityClient.getUserByUsername
(String sid, String username) SoapDocumentClient.getVersion
(String sid, long docId, String version) javax.activation.DataHandler
SoapDocumentClient.getVersionContent
(String sid, long docId, String version) SoapDocumentClient.getVersions
(String sid, long docId) boolean
SoapDocumentClient.isDownload
(String sid, long docId) boolean
boolean
boolean
boolean
SoapDocumentMetadataClient.isReadable
(String sid, long templateId) boolean
SoapFolderClient.isReadable
(String sid, long folderId) boolean
SoapDocumentMetadataClient.isWritable
(String sid, long templateId) boolean
SoapFolderClient.isWritable
(String sid, long folderId) boolean
SoapDocumentClient.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) void
void
void
void
void
SoapDocumentClient.promoteVersion
(String sid, long docId, String version) SoapDocumentClient.rateDocument
(String sid, long docId, int vote) void
void
void
void
SoapDocumentClient.replaceFile
(String sid, long docId, String fileVersion, String comment, javax.activation.DataHandler content) void
SoapBookmarkClient.saveBookmark
(String sid, WSBookmark bookmark) void
SoapDocumentClient.sendEmail
(String sid, List<Long> docIds, String recipients, String subject, String message) void
SoapDocumentClient.setAccessControlList
(String sid, long docId, List<WSAccessControlEntry> acl) void
SoapDocumentMetadataClient.setAccessControlList
(String sid, long templateId, List<WSAccessControlEntry> acl) void
SoapFolderClient.setAccessControlList
(String sid, long folderId, List<WSAccessControlEntry> acl) void
SoapDocumentMetadataClient.setAttributeOptions
(String sid, long setId, String attribute, List<WSAttributeOption> options) void
SoapTagClient.setDocumentTags
(String sid, long docId, List<String> tags) void
SoapTagClient.setFolderTags
(String sid, long folderId, List<String> tags) void
SoapDocumentClient.setPassword
(String sid, long docId, String password) long
SoapDocumentMetadataClient.storeAttributeSet
(String sid, WSAttributeSet attributeSet) long
SoapSecurityClient.storeGroup
(String sid, WSGroup group) long
SoapDocumentMetadataClient.storeTemplate
(String sid, WSTemplate template) long
void
SoapBookmarkClient.unbookmarkDocument
(String sid, long docId) void
SoapBookmarkClient.unbookmarkFolder
(String sid, long folderId) void
boolean
void
SoapDocumentClient.unsetPassword
(String sid, long docId, String currentPassword) void
SoapDocumentClient.update
(String sid, WSDocument document) void
long
SoapDocumentClient.upload
(String sid, Long docId, Long folderId, boolean release, String filename, String language, javax.activation.DataHandler content) void
SoapDocumentClient.uploadResource
(String sid, long docId, String fileVersion, String suffix, File content) void
SoapDocumentClient.uploadResource
(String sid, long docId, String fileVersion, String suffix, javax.activation.DataHandler content) -
Uses of PersistenceException in com.logicaldoc.webservice.soap.endpoint
Modifier and TypeMethodDescriptionvoid
SoapDocumentMetadataService.addAttributeOption
(String sid, long setId, String attribute, WSAttributeOption wsoption) void
SoapTagService.addDocumentTags
(String sid, long docId, List<String> tags) void
SoapTagService.addFolderTags
(String sid, long folderId, List<String> tags) SoapBookmarkService.bookmarkDocument
(String sid, long docId) SoapBookmarkService.bookmarkFolder
(String sid, long folderId) int
SoapSecurityService.changePassword
(String sid, long userId, String oldPassword, String newPassword) void
SoapDocumentService.checkin
(String sid, long docId, String comment, String filename, boolean release, WSDocument docVO, InputStream content) void
SoapDocumentService.checkin
(String sid, long docId, String comment, String filename, boolean release, javax.activation.DataHandler content) void
SoapDocumentService.checkinDocument
(String sid, long docId, String comment, String filename, boolean release, WSDocument docVO, InputStream content) void
SoapDocumentService.checkinDocument
(String sid, long docId, String comment, String filename, boolean release, WSDocument docVO, javax.activation.DataHandler content) void
SoapDocumentService.copy
(String sid, long docId, long folderId, boolean links, boolean notes, boolean security) void
SoapFolderService.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) long
SoapFolderService.createFolder
(String sid, long parentId, String name) SoapFolderService.createPath
(String sid, long parentId, String path) void
void
SoapDocumentService.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) void
void
void
SoapDocumentMetadataService.deleteAttributeSet
(String sid, long setId) void
SoapBookmarkService.deleteBookmark
(String sid, long bookmarkId) void
SoapSecurityService.deleteGroup
(String sid, long groupId) void
SoapDocumentService.deleteLink
(String sid, long id) void
SoapDocumentService.deleteNote
(String sid, long noteId) void
SoapDocumentMetadataService.deleteTemplate
(String sid, long templateId) void
SoapSecurityService.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.DataHandler
SoapDocumentService.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.DataHandler
SoapDocumentService.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) SoapSecurityService.getUserByUsername
(String sid, String username) SoapDocumentService.getVersion
(String sid, long docId, String version) javax.activation.DataHandler
SoapDocumentService.getVersionContent
(String sid, long docId, String version) SoapDocumentService.getVersions
(String sid, long docId) boolean
SoapDocumentService.isDownload
(String sid, long docId) boolean
boolean
boolean
boolean
SoapDocumentMetadataService.isReadable
(String sid, long templateId) boolean
SoapFolderService.isReadable
(String sid, long folderId) boolean
SoapDocumentMetadataService.isWritable
(String sid, long templateId) boolean
SoapFolderService.isWritable
(String sid, long folderId) boolean
SoapDocumentService.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) void
void
void
void
void
SoapDocumentService.promoteVersion
(String sid, long docId, String version) SoapDocumentService.rateDocument
(String sid, long docId, int vote) void
void
void
void
SoapDocumentService.replaceFile
(String sid, long docId, String fileVersion, String comment, javax.activation.DataHandler content) void
SoapBookmarkService.saveBookmark
(String sid, WSBookmark bookmark) void
SoapDocumentService.sendEmail
(String sid, List<Long> docIds, String recipients, String subject, String message) void
SoapDocumentMetadataService.setAccessControlList
(String sid, long templateId, List<WSAccessControlEntry> acl) void
SoapDocumentService.setAccessControlList
(String sid, long docId, List<WSAccessControlEntry> acl) void
SoapFolderService.setAccessControlList
(String sid, long folderId, List<WSAccessControlEntry> acl) void
SoapDocumentMetadataService.setAttributeOptions
(String sid, long setId, String attribute, List<WSAttributeOption> wsOptions) void
SoapTagService.setDocumentTags
(String sid, long docId, List<String> tags) void
SoapTagService.setFolderTags
(String sid, long folderId, List<String> tags) void
SoapDocumentService.setPassword
(String sid, long docId, String password) long
SoapDocumentMetadataService.storeAttributeSet
(String sid, WSAttributeSet wsAttributeSet) long
SoapSecurityService.storeGroup
(String sid, WSGroup group) long
SoapDocumentMetadataService.storeTemplate
(String sid, WSTemplate wsTemplate) long
void
SoapBookmarkService.unbookmarkDocument
(String sid, long docId) void
SoapBookmarkService.unbookmarkFolder
(String sid, long folderId) void
boolean
void
SoapDocumentService.unsetPassword
(String sid, long docId, String currentPassword) void
SoapDocumentService.update
(String sid, WSDocument document) void
long
SoapDocumentService.upload
(String sid, Long docId, Long folderId, boolean release, String filename, String language, javax.activation.DataHandler content) void
SoapDocumentService.uploadResource
(String sid, long docId, String fileVersion, String suffix, javax.activation.DataHandler content)