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
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.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.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.store
(SystemMessage message) -
Uses of PersistenceException in com.logicaldoc.core.conversion
-
Uses of PersistenceException in com.logicaldoc.core.dashlet
-
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
DocumentManager.archiveDocuments
(long[] docIds, DocumentHistory transaction) Archives all the documents in a folder's treevoid
DocumentManagerImpl.archiveDocuments
(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) DocumentManager.copyToFolder
(Document doc, Folder folder, DocumentHistory transaction) Copy a document to the specified folder.DocumentManagerImpl.copyToFolder
(Document doc, Folder folder, DocumentHistory transaction) 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.createDownloadTicket
(long docId, String suffix, Integer expireHours, Date expireDate, Integer maxDownloads, String urlPrefix, DocumentHistory transaction) Creates a new download ticket.DocumentManagerImpl.createDownloadTicket
(long docId, String suffix, Integer expireHours, Date expireDate, Integer maxDownloads, String urlPrefix, DocumentHistory transaction) DocumentManager.deleteVersion
(long versionId, DocumentHistory transaction) Deletes a specific version.DocumentManagerImpl.deleteVersion
(long versionId, DocumentHistory 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) 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
DocumentManager.lock
(long docId, int status, DocumentHistory transaction) Locks the given documentvoid
DocumentManagerImpl.lock
(long docId, int status, DocumentHistory transaction) 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) 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
DocumentManager.unlock
(long docId, DocumentHistory transaction) UNChecks out the given documentvoid
DocumentManagerImpl.unlock
(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) -
Uses of PersistenceException in com.logicaldoc.core.document.dao
Modifier and TypeMethodDescriptionvoid
DocumentDAO.archive
(long docId, DocumentHistory transaction) Archives a documentvoid
HibernateDocumentDAO.archive
(long docId, DocumentHistory transaction) void
DocumentDAO.cleanExpiredTransactions()
Cleans all references to expired transactions.void
HibernateDocumentDAO.cleanExpiredTransactions()
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) 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) 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) DocumentDAO.findAliasIds
(long docId) Gets the ids of all aliases associated to the document with the given docIdHibernateDocumentDAO.findAliasIds
(long docId) DocumentDAO.findAllTags
(String firstLetter, Long tenantId) Searches for all tags,HibernateDocumentDAO.findAllTags
(String firstLetter, Long tenantId) DocumentDAO.findArchivedByFolder
(long folderId) Finds archived documents in a folder (direct childeren only)HibernateDocumentDAO.findArchivedByFolder
(long folderId) DocumentDAO.findByCustomId
(String customId, long tenantId) This method finds a document by the custom ID.HibernateDocumentDAO.findByCustomId
(String customId, long tenantId) DocumentDAO.findByFileNameAndParentFolderId
(Long folderId, String fileName, Long excludeId, Long tenantId, Integer max) Finds that document that lies under a specific folder (given by the id) an with a given fileName(like operator is used)HibernateDocumentDAO.findByFileNameAndParentFolderId
(Long folderId, String fileName, Long excludeId, Long tenantId, Integer max) DocumentDAO.findByFolder
(long folderId, Integer max) Finds all documents direct children of the given folder.HibernateDocumentDAO.findByFolder
(long folderId, Integer max) DocumentDAO.findByIndexed
(int indexed) Finds all documents by the indexed state.HibernateDocumentDAO.findByIndexed
(int indexed) DocumentDAO.findByPath
(String path, long tenantId) Finds a document by it's full pathHibernateDocumentDAO.findByPath
(String path, long tenantId) DocumentDAO.findByUserId
(long userId) Finds all documents for an user.HibernateDocumentDAO.findByUserId
(long userId) DocumentDAO.findByUserIdAndTag
(long userId, String tag, Integer max) Finds authorized documents for a user having a specified tag.HibernateDocumentDAO.findByUserIdAndTag
(long userId, String tag, Integer max) DocumentDAO.findDeleted
(long userId, Integer max) Finds all deleted docs of a specific user.HibernateDocumentDAO.findDeleted
(long userId, Integer maxHits) DocumentDAO.findDeletedDocIds()
Gets the collection of deleted document idsHibernateDocumentDAO.findDeletedDocIds()
DocumentDAO.findDeletedDocs()
Finds the list of deleted documents.HibernateDocumentDAO.findDeletedDocs()
DocumentDAO.findDocIdByFolder
(long folderId, Integer max) Finds all document ids inside the given folder.HibernateDocumentDAO.findDocIdByFolder
(long folderId, Integer max) DocumentDAO.findDocIdByTag
(String tag) This method finds all Doc Ids by a tag.HibernateDocumentDAO.findDocIdByTag
(String tag) DocumentDAO.findDocIdByUserIdAndTag
(long userId, String tag) Finds authorized documents ids for a user having a specified tag.HibernateDocumentDAO.findDocIdByUserIdAndTag
(long userId, String tag) DocumentDAO.findDocument
(long docId) This method finds a document by the ID and if it is an alias the referenced document is returned instead.HibernateDocumentDAO.findDocument
(long docId) DocumentDAO.findDuplicatedDigests
(Long tenantId, Long folderId) Retrieves the list of duplicated checksumsHibernateDocumentDAO.findDuplicatedDigests
(Long tenantId, Long folderId) DocumentDAO.findLastDownloadsByUserId
(long userId, int max) Finds the last downloaded documents by the given userHibernateDocumentDAO.findLastDownloadsByUserId
(long userId, int maxResults) DocumentDAO.findLastModifiedByUserId
(long userId, int max) Finds a max number of documents last modified by an user.HibernateDocumentDAO.findLastModifiedByUserId
(long userId, int maxElements) DocumentDAO.findLinkedDocuments
(long docId, String linkType, Integer direction) This method enlists documents linked to the given document.HibernateDocumentDAO.findLinkedDocuments
(long docId, String linkType, Integer direction) DocumentDAO.findPublishedIds
(Collection<Long> folderIds) Finds all document ids inside the specified folders that are published in the current date.HibernateDocumentDAO.findPublishedIds
(Collection<Long> folderIds) DocumentDAO.findTags
(long docId) Retrieves the alphabetically ordered list of all the document's tagsSelects all tags and counts the occurrences.HibernateDocumentDAO.findTags
(long docId) DocumentDAO.getTagCloud
(long tenantId, int max) Gets the tag cloud for the given tenantDocumentDAO.getTagCloud
(String sid) Gets the tag cloud for the given tenantHibernateDocumentDAO.getTagCloud
(long tenantId, int maxTags) HibernateDocumentDAO.getTagCloud
(String sid) DocumentDAO.getWorkspace
(long docId) Retrieves, the workspace where the document(or alias) is storedHibernateDocumentDAO.getWorkspace
(long docId) void
DocumentDAO.insertNewUniqueTags()
Puts into ld_uniquetag the new unique tagsvoid
HibernateDocumentDAO.insertNewUniqueTags()
void
DocumentDAO.makeImmutable
(long docId, DocumentHistory transaction) Marks the document, with the given docId, as immutable.void
HibernateDocumentDAO.makeImmutable
(long docId, 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, 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
DocumentDAO.unsetPassword
(long docId, DocumentHistory transaction) Removes the password protection from the document.void
HibernateDocumentDAO.unsetPassword
(long docId, 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.applyRightToTree
(long rootId, FolderHistory transaction) Propagates the security policies of a node to the whole sub-treevoid
HibernateFolderDAO.applyRightToTree
(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) 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.FolderDAO.findByGroupId
(long groupId) Finds all folders accessible by the passed groupHibernateFolderDAO.findByGroupId
(long groupId) FolderDAO.findByName
(Folder parent, String name, Long tenantId, boolean caseSensitive) Finds all folders by folder text, contained in the parent folder.FolderDAO.findByName
(String name, Long tenantId) Finds all folders by folder nameHibernateFolderDAO.findByName
(Folder parent, String name, Long tenantId, boolean caseSensitive) HibernateFolderDAO.findByName
(String name, Long tenantId) FolderDAO.findByNameAndParentId
(String name, long parentId) Finds that folder that lies under a specific parent (given by the id) an with a given name(like operator is used)HibernateFolderDAO.findByNameAndParentId
(String name, long parentId) FolderDAO.findByPathExtended
(String pathExtended, long tenantId) Retrieval of a folder by the extended pathHibernateFolderDAO.findByPathExtended
(String pathExtended, long tenantId) FolderDAO.findByUserId
(long userId) Finds authorized folders for a userFolderDAO.findByUserId
(long userId, long parentId) Finds direct children of a folder.HibernateFolderDAO.findByUserId
(long userId) HibernateFolderDAO.findByUserId
(long userId, long parentId) FolderDAO.findByUserIdAndTag
(long userId, String tag, Integer max) Finds authorized folders for a user having a specified tag.HibernateFolderDAO.findByUserIdAndTag
(long userId, String tag, Integer max) FolderDAO.findChildren
(long parentId, long userId) Finds direct children of a folder accessible by the given userFolderDAO.findChildren
(long parentId, Integer max) Finds direct children of a folderHibernateFolderDAO.findChildren
(long parentId, long userId) HibernateFolderDAO.findChildren
(long parentId, Integer max) FolderDAO.findDefaultWorkspace
(long tenantId) Retrieves the Default workspace of the given tenantHibernateFolderDAO.findDefaultWorkspace
(long tenantId) FolderDAO.findFolder
(long folderId) Gets a folder by a given ID if it is an alias, the referenced folder is returned.HibernateFolderDAO.findFolder
(long folderId) FolderDAO.findFolderIdByUserId
(long userId, Long parentId, boolean tree) This method selects only the folder ID from the folders for which a user is authorized.HibernateFolderDAO.findFolderIdByUserId
(long userId, Long parentId, boolean tree) FolderDAO.findFolderIdByUserIdAndPermission
(long userId, Permission permission, Long parentId, boolean tree) Finds all folders ids with a specific permission enabled on the specifies userHibernateFolderDAO.findFolderIdByUserIdAndPermission
(long userId, Permission permission, Long parentId, boolean tree) FolderDAO.findFolderIdByUserIdInPath
(long userId, long parentId) This method selects only the folder ID from the folders for which a user is authorized.HibernateFolderDAO.findFolderIdByUserIdInPath
(long userId, long parentId) FolderDAO.findFolderIdInPath
(long rootId, boolean includeDeleted) Retrieve all the ids of the folders in a given tree using the path attributeHibernateFolderDAO.findFolderIdInPath
(long rootId, boolean includeDeleted) FolderDAO.findIdByUserId
(long userId, long parentId) This method selects only the folder ID from the folders for which a user is authorized.HibernateFolderDAO.findIdByUserId
(long userId, long parentId) FolderDAO.findParents
(long id) Returns a List of folders being a parent of the given folder.HibernateFolderDAO.findParents
(long folderId) FolderDAO.findRoot
(long tenantId) Retrieves the root folder of the given tenantHibernateFolderDAO.findRoot
(long tenantId) FolderDAO.findWorkspace
(long folderId) Returns the workspace that contains the given folderHibernateFolderDAO.findWorkspace
(long folderId) FolderDAO.findWorkspaces
(long tanantId) Retrieves all the workspaces in the system, that are the first-level folders of typeFolder.TYPE_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 access to the folder and all its sub-itemsboolean
HibernateFolderDAO.hasWriteAccess
(Folder folder, long userId) boolean
FolderDAO.isDownloadEnabled
(long folderId, long userId) boolean
HibernateFolderDAO.isDownloadEnabled
(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.isMoveEnabled
(long folderId, long userId) boolean
HibernateFolderDAO.isMoveEnabled
(long id, long userId) boolean
FolderDAO.isPermissionEnabled
(Permission permission, long folderId, long userId) This method checks if the given permission is enabled for a folder and an user.boolean
HibernateFolderDAO.isPermissionEnabled
(Permission permission, long folderId, long userId) boolean
FolderDAO.isPrintEnabled
(long folderId, long userId) boolean
HibernateFolderDAO.isPrintEnabled
(long folderId, long userId) boolean
FolderDAO.isReadEnabled
(long folderId, long userId) boolean
HibernateFolderDAO.isReadEnabled
(long folderId, long userId) boolean
FolderDAO.isWriteEnabled
(long folderId, long userId) This method is looking up for writing rights for a folder and an user.boolean
HibernateFolderDAO.isWriteEnabled
(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
-
Uses of PersistenceException in com.logicaldoc.core.metadata
Modifier and TypeMethodDescriptionvoid
HibernateAttributeOptionDAO.delete
(long id, int code) void
HibernateAttributeSetDAO.delete
(long id, int code) void
HibernateTemplateDAO.delete
(long id, int code) 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
HibernateSearchDAO.store
(SavedSearch search) -
Uses of PersistenceException in com.logicaldoc.core.security
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 databaseSecurityManager.getEnabledPermissions
(long docId, long userId) Finds all permissions of a user enabled on the specified documentSecurityManagerImpl.getEnabledPermissions
(long docId, long userId) boolean
SecurityManager.isDownloadEnabled
(long docId, long userId) boolean
SecurityManagerImpl.isDownloadEnabled
(long docId, long userId) boolean
SecurityManager.isPermissionEnabled
(Permission permission, long docId, long userId) This method checks if the given permission is enabled for a document and an user.boolean
SecurityManagerImpl.isPermissionEnabled
(Permission permission, long docId, long userId) boolean
SecurityManager.isPrintEnabled
(long docId, long userId) boolean
SecurityManagerImpl.isPrintEnabled
(long docId, long userId) boolean
SecurityManager.isReadEnabled
(long docId, long userId) boolean
SecurityManagerImpl.isReadEnabled
(long docId, long userId) boolean
SecurityManager.isWriteEnabled
(long docId, long userId) This method is looking up for writing rights for a folder and an user.boolean
SecurityManagerImpl.isWriteEnabled
(long docId, long userId) -
Uses of PersistenceException in com.logicaldoc.core.security.dao
Modifier and TypeMethodDescriptionHibernateMenuDAO.createPath
(long parentId, long tenantId, int type, String path, boolean inheritSecurity) MenuDAO.createPath
(long parentId, long tenantId, int type, String path, boolean inheritSecurity) Creates the menu for the specified path.void
HibernateDeviceDAO.delete
(long deviceId, int code) void
HibernateGroupDAO.delete
(long groupId, int code) void
HibernateMenuDAO.delete
(long menuId, 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.void
HibernateMenuDAO.deleteAll
(Collection<Menu> menus) HibernateUserDAO.findById
(long id) HibernatePasswordHistoryDAO.findByUserId
(long userId, Integer max) PasswordHistoryDAO.findByUserId
(long userId, Integer max) Gets all the histories related to a given user ordered by date descHibernatePasswordHistoryDAO.findByUserIdAndPassword
(long userId, String password, int max) PasswordHistoryDAO.findByUserIdAndPassword
(long userId, String password, int max) Gets the password used by the user in last max timesvoid
HibernateMenuDAO.restore
(long menuId, boolean parents) void
MenuDAO.restore
(long id, boolean parents) Restores a previously deleted menuvoid
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.DeviceDAO.trustDevice
(User user, Device device) Trusts a device for a userHibernateDeviceDAO.trustDevice
(User user, Device requestDevice) -
Uses of PersistenceException in com.logicaldoc.core.sequence
-
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.web.service
Modifier and TypeMethodDescriptionstatic GUIDocument
DocumentServiceImpl.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 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.webdav.resource.service
-
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 Document
WSUtil.toDocument
(WSDocument wsDoc) 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, String[] tags) Adds tags to a documentvoid
TagService.addFolderTags
(long folderId, 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) 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 happenvoid
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 tagWSFolder[]
SearchService.findFolders
(String name) Finds authorized folders for the current user containing the given name (like operator is used)WSFolder[]
TagService.findFoldersByTag
(String tag) Finds authorized folders for the current user having a specified tag.DocumentService.getAliases
(long docId) Gets the aliases of the given documentString[]
DocumentMetadataService.getAttributeOptions
(long setId, String attribute) Retrieves the options for the given attributeDocumentMetadataService.getAttributeSet
(String name) Gets attribute set's metadataDocumentMetadataService.getAttributeSetById
(long setId) Gets attribute set's metadataBookmarkService.getBookmarks()
javax.activation.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
(Long[] docIds) Gets document metadata of a collection of existing documents with the given identifiersString[]
TagService.getDocumentTags
(long docId) Retrieves all the tags of a documentDocumentService.getExtractedText
(long docId) Gets the document's text stored in the full-text indexFolderService.getFolder
(long folderId) String[]
TagService.getFolderTags
(long folderId) Retrieves all the tags of a folderWSRight[]
FolderService.getGrantedGroups
(long folderId) Retrieves the list of granted groups for the given folderWSRight[]
FolderService.getGrantedUsers
(long folderId) Retrieves the list of granted users for the given folder.WSLink[]
DocumentService.getLinks
(long docId) Gets all the links of a specific documentWSNote[]
DocumentService.getNotes
(long docId) Gets the notes for the given documentWSFolder[]
FolderService.getPath
(long folderId) FolderService.getPathString
(long folderId) WSRating[]
DocumentService.getRatings
(long docId) Gets all the ratings of the given documentDocumentService.getRecentDocuments
(Integer maxHits) Lists of last modified documents of the current sessionjavax.activation.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 repositoryString[]
TagService.getTags()
Retrieves all the tags in the repositoryString[]
TagService.getTagsPreset()
Retrieves all the tags in the preset (if the input mode is preset).DocumentMetadataService.getTemplate
(String name) Gets template's metadataDocumentMetadataService.getTemplateById
(long templateId) Gets template's metadatajavax.activation.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 identifiervoid
FolderService.grantGroup
(long folderId, long groupId, int permissions, boolean recursive) Grants group permission to the foldervoid
FolderService.grantUser
(long folderId, long userId, int permissions, boolean recursive) Grants user permission to the folder.boolean
FolderService.isGranted
(long folderId, int permission) Tests if the current user has a specific permission on a folderboolean
DocumentService.isReadable
(long docId) Tests if a document is readableboolean
FolderService.isReadable
(long folderId) Tests if a folder is readable.boolean
FolderService.isWritable
(long folderId) Tests if a folder is writableCreates a new link between two documents.DocumentService.list
(long folderId) Lists the documents in a folderDocumentMetadataService.listAttributeSets()
Gets metadata of all existing attribute sets.WSFolder[]
FolderService.listChildren
(long folderId) DocumentService.listDocuments
(long folderId, String fileName) Lists the documents in a folderDocumentMetadataService.listTemplates()
Gets metadata of all existing templates.WSFolder[]
FolderService.listWorkspaces()
Retrieves the list of all workspaces.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
DocumentMetadataService.setAttributeOptions
(long setId, String attribute, WSAttributeOption[] options) Saves the options for the given attributevoid
DocumentMetadataService.setAttributeOptionsPOST
(Long setId, String attribute, WSAttributeOption[] options) Saves the options for the given attribute with a POST method.void
TagService.setDocumentTags
(long docId, String[] tags) Sets the tags of a documentvoid
TagService.setFolderTags
(long folderId, 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, String[] tags) void
RestTagClient.addFolderTags
(long folderId, 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) WSFolder[]
RestTagClient.findFoldersByTag
(String tag) String[]
RestDocumentMetadataClient.getAttributeOptions
(long setId, String attribute) RestDocumentMetadataClient.getAttributeSet
(String name) RestDocumentMetadataClient.getAttributeSetById
(long setId) RestBookmarkClient.getBookmarks()
Retrieves all the bookmarks of the current userjavax.activation.DataHandler
RestDocumentClient.getContent
(long docId) RestDocumentClient.getDocument
(long docId) String[]
RestTagClient.getDocumentTags
(long docId) RestFolderClient.getFolder
(long folderId) WSNote[]
RestDocumentClient.getNotes
(long docId) Gets the notes for the given documentWSRating[]
RestDocumentClient.getRatings
(long docId) Gets all the ratings of the given documentRestFolderClient.getRootFolder()
String[]
RestTagClient.getTags()
RestDocumentMetadataClient.getTemplate
(String name) RestDocumentMetadataClient.getTemplateById
(long templateId) javax.activation.DataHandler
RestDocumentClient.getVersionContent
(long docId, String version) RestDocumentClient.list
(long folderId) RestDocumentMetadataClient.listAttributeSets()
WSFolder[]
RestFolderClient.listChildren
(long folderId) RestDocumentClient.listDocuments
(long folderId, String fileName) RestDocumentMetadataClient.listTemplates()
RestDocumentClient.rateDocument
(long docId, int vote) Puts a new rating on the given documentRestBookmarkClient.saveBookmark
(WSBookmark bookmark) void
RestDocumentMetadataClient.setAttributeOptions
(long setId, String attribute, WSAttributeOption[] options) void
RestDocumentMetadataClient.setAttributeOptionsPOST
(long setId, String attribute, WSAttributeOption[] options) void
RestTagClient.setDocumentTags
(long docId, String[] tags) void
RestTagClient.setFolderTags
(long folderId, 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, String[] tags) void
RestTagService.addFolderTags
(long folderId, String[] tags) RestBookmarkService.bookmarkDocument
(long docId) RestBookmarkService.bookmarkFolder
(long folderId) void
RestDocumentService.checkout
(long docId) RestDocumentService.copy
(long docId, long folderId) 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) 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) WSFolder[]
RestSearchService.findFolders
(String name) WSFolder[]
RestTagService.findFoldersByTag
(String tag) RestDocumentService.getAliases
(long docId) String[]
RestDocumentMetadataService.getAttributeOptions
(long setId, String attribute) RestDocumentMetadataService.getAttributeSet
(String name) RestDocumentMetadataService.getAttributeSetById
(long setId) RestBookmarkService.getBookmarks()
javax.activation.DataHandler
RestDocumentService.getContent
(long docId) RestFolderService.getDefaultWorkspace()
RestDocumentService.getDocument
(long docId) RestDocumentService.getDocumentByCustomId
(String customId) RestDocumentService.getDocuments
(Long[] docIds) String[]
RestTagService.getDocumentTags
(long docId) RestDocumentService.getExtractedText
(long docId) RestFolderService.getFolder
(long folderId) String[]
RestTagService.getFolderTags
(long folderId) WSRight[]
RestFolderService.getGrantedGroups
(long folderId) WSRight[]
RestFolderService.getGrantedUsers
(long folderId) WSLink[]
RestDocumentService.getLinks
(long docId) WSNote[]
RestDocumentService.getNotes
(long docId) WSFolder[]
RestFolderService.getPath
(long folderId) RestFolderService.getPathString
(long folderId) WSRating[]
RestDocumentService.getRatings
(long docId) RestDocumentService.getRecentDocuments
(Integer maxHits) javax.activation.DataHandler
RestDocumentService.getResource
(long docId, String fileVersion, String suffix) RestFolderService.getRootFolder()
RestSystemService.getStatistics()
RestTagService.getTagCloud()
String[]
RestTagService.getTags()
String[]
RestTagService.getTagsPreset()
RestDocumentMetadataService.getTemplate
(String name) RestDocumentMetadataService.getTemplateById
(long templateId) javax.activation.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) void
RestFolderService.grantGroup
(long folderId, long groupId, int permissions, boolean recursive) void
RestFolderService.grantUser
(long folderId, long userId, int permissions, boolean recursive) boolean
RestFolderService.isGranted
(long folderId, int permission) boolean
RestDocumentService.isReadable
(long docId) boolean
RestFolderService.isReadable
(long folderId) boolean
RestFolderService.isWritable
(long folderId) RestDocumentService.list
(long folderId) RestDocumentMetadataService.listAttributeSets()
WSFolder[]
RestFolderService.listChildren
(long folderId) RestDocumentService.listDocuments
(long folderId, String fileName) RestDocumentMetadataService.listTemplates()
WSFolder[]
RestFolderService.listWorkspaces()
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
RestDocumentMetadataService.setAttributeOptions
(long setId, String attribute, WSAttributeOption[] options) void
RestDocumentMetadataService.setAttributeOptionsPOST
(Long setId, String attribute, WSAttributeOption[] options) void
RestTagService.setDocumentTags
(long docId, String[] tags) void
RestTagService.setFolderTags
(long folderId, 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, String[] tags) Adds tags to a documentvoid
TagService.addFolderTags
(String sid, long folderId, String[] tags) Adds tags to a folderAdds a new note for the given documentBookmarkService.bookmarkDocument
(String sid, long docId) BookmarkService.bookmarkFolder
(String sid, long folderId) 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.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.void
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 tagWSFolder[]
SearchService.findFolders
(String sid, String name) Finds authorized folders for the current user containing the given name (like operator is used)WSFolder[]
TagService.findFoldersByTag
(String sid, String tag) Finds authorized folders for the current user having a specified tagDocumentService.getAliases
(String sid, long docId) Gets the aliases of the given documentString[]
DocumentMetadataService.getAttributeOptions
(String sid, long setId, String attribute) Retrieves the options for the given attributeDocumentMetadataService.getAttributeOptionsByCategory
(String sid, long setId, String attribute, String category) Retrieves the options for the given attribute inside a given categoryDocumentMetadataService.getAttributeSet
(String sid, String name) Gets attribute set's metadataDocumentMetadataService.getAttributeSetById
(String sid, long setId) Gets attribute set's metadataBookmarkService.getBookmarks
(String sid) Retrieves all the bookmarks of the current userjavax.activation.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, Long[] docIds) Gets document metadata of a collection of existing documents with the given identifiersString[]
TagService.getDocumentTags
(String sid, long docId) Retrieves all the tags of a document.DocumentService.getExtractedText
(String sid, long docId) Gets the document's text stored in the full-text indexGets an existing folderString[]
TagService.getFolderTags
(String sid, long folderId) Retrieves all the tags of a folderWSRight[]
DocumentMetadataService.getGrantedGroups
(String sid, long templateId) Retrieves the list of granted groups for the given templateWSRight[]
FolderService.getGrantedGroups
(String sid, long folderId) Retrieves the list of granted groups for the given folderWSRight[]
DocumentMetadataService.getGrantedUsers
(String sid, long templateId) Retrieves the list of granted users for the given template.WSRight[]
FolderService.getGrantedUsers
(String sid, long folderId) Retrieves the list of granted users for the given folder.Gets group metadata of an existing group with the given identifierWSLink[]
Gets all the links of a specific documentWSNote[]
Gets the notes for the given documentWSFolder[]
Computes the path from the root to the target folder.WSRating[]
DocumentService.getRatings
(String sid, long docId) Gets all the ratings of the given documentDocumentService.getRecentDocuments
(String sid, Integer maxHits) Lists of last modified documents of the current session.javax.activation.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.String[]
Retrieves all the tags in the repositoryString[]
TagService.getTagsPreset
(String sid) Retrieves all the tags in the preset(if the input mode is preset).DocumentMetadataService.getTemplate
(String sid, String name) Gets template's metadataDocumentMetadataService.getTemplateById
(String sid, long templateId) Gets template's metadataGets user metadata of an existing user with the given identifierSecurityService.getUserByUsername
(String sid, String username) Gets user metadata of an existing user with the given usernameDocumentService.getVersion
(String sid, long docId, String version) Gets a specific versionjavax.activation.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 identifiervoid
FolderService.grantGroup
(String sid, long folderId, long groupId, int permissions, boolean recursive) Grants group permission to the foldervoid
DocumentMetadataService.grantGroupToTemplate
(String sid, long templateId, long groupId, int permissions) Grants group permission to the template.void
Grants user permission to the folder.void
DocumentMetadataService.grantUserToTemplate
(String sid, long templateId, long userId, int permissions) Grants user permission to the template.boolean
Tests if the current user has a specific permission on a folderboolean
DocumentService.isReadable
(String sid, long docId) Tests if a document is readableboolean
FolderService.isReadable
(String sid, long folderId) Tests if a folder is readable.boolean
DocumentMetadataService.isTemplateReadable
(String sid, long templateId) Tests if a template is readable.boolean
DocumentMetadataService.isTemplateWritable
(String sid, long templateId) Tests if a template is writableboolean
FolderService.isWritable
(String sid, long folderId) Tests if a folder is writableCreates a new link between two documents.DocumentMetadataService.listAttributeSets
(String sid) Gets metadata of all existing attribute sets.WSFolder[]
FolderService.listChildren
(String sid, long folderId) Lists all direct folders of a parent folder.
Attention: readable only sub-folders are returned.DocumentService.listDocuments
(String sid, long folderId, String fileName) Gets a document in a specific folderWSGroup[]
SecurityService.listGroups
(String sid) Gets group metadata of all existing groups.DocumentMetadataService.listTemplates
(String sid) Gets metadata of all existing templates.WSUser[]
Gets metadata of all existing usersWSFolder[]
FolderService.listWorkspaces
(String sid) Retrieves the list of all workspaces.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, Long[] docIds, String recipients, String subject, String message) Sends a set of documents as mail attachmentsvoid
DocumentMetadataService.setAttributeOptions
(String sid, long setId, String attribute, WSAttributeOption[] options) Saves the options for the given attributevoid
TagService.setDocumentTags
(String sid, long docId, String[] tags) Sets the tags of a documentvoid
TagService.setFolderTags
(String sid, long folderId, 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, String[] tags) void
SoapTagClient.addFolderTags
(String sid, long folderId, 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
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) 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) WSFolder[]
SoapSearchClient.findFolders
(String sid, String name) WSFolder[]
SoapTagClient.findFoldersByTag
(String sid, String tag) SoapDocumentClient.getAliases
(String sid, long docId) String[]
SoapDocumentMetadataClient.getAttributeOptions
(String sid, long setId, String attribute) SoapDocumentMetadataClient.getAttributeOptionsByCategory
(String sid, long setId, String attribute, String category) SoapDocumentMetadataClient.getAttributeSet
(String sid, String name) SoapDocumentMetadataClient.getAttributeSetById
(String sid, long setId) SoapBookmarkClient.getBookmarks
(String sid) javax.activation.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, Long[] docIds) String[]
SoapTagClient.getDocumentTags
(String sid, long docId) SoapDocumentClient.getExtractedText
(String sid, long docId) String[]
SoapTagClient.getFolderTags
(String sid, long folderId) WSRight[]
SoapDocumentMetadataClient.getGrantedGroups
(String sid, long groupId) WSRight[]
SoapFolderClient.getGrantedGroups
(String sid, long folderId) WSRight[]
SoapDocumentMetadataClient.getGrantedUsers
(String sid, long groupId) WSRight[]
SoapFolderClient.getGrantedUsers
(String sid, long folderId) WSLink[]
WSNote[]
WSFolder[]
WSRating[]
SoapDocumentClient.getRatings
(String sid, long docId) SoapDocumentClient.getRecentDocuments
(String sid, Integer max) javax.activation.DataHandler
SoapDocumentClient.getResource
(String sid, long docId, String fileVersion, String suffix) SoapFolderClient.getRootFolder
(String sid) SoapSystemClient.getStatistics
(String sid) SoapTagClient.getTagCloud
(String sid) String[]
String[]
SoapTagClient.getTagsPreset
(String sid) SoapDocumentMetadataClient.getTemplate
(String sid, String name) SoapDocumentMetadataClient.getTemplateById
(String sid, long templateId) SoapSecurityClient.getUserByUsername
(String sid, String username) SoapDocumentClient.getVersion
(String sid, long docId, String version) javax.activation.DataHandler
SoapDocumentClient.getVersionContent
(String sid, long docId, String version) SoapDocumentClient.getVersions
(String sid, long docId) void
SoapFolderClient.grantGroup
(String sid, long folderId, long groupId, int permissions, boolean recursive) void
SoapDocumentMetadataClient.grantGroupToTemplate
(String sid, long templateId, long groupId, int permissions) void
SoapFolderClient.grantUser
(String sid, long folderId, long userId, int permissions, boolean recursive) void
SoapDocumentMetadataClient.grantUserToTemplate
(String sid, long templateId, long userId, int permissions) boolean
boolean
SoapDocumentClient.isReadable
(String sid, long docId) boolean
SoapFolderClient.isReadable
(String sid, long folderId) boolean
SoapDocumentMetadataClient.isTemplateReadable
(String sid, long templateId) boolean
SoapDocumentMetadataClient.isTemplateWritable
(String sid, long templateId) boolean
SoapFolderClient.isWritable
(String sid, long folderId) SoapDocumentMetadataClient.listAttributeSets
(String sid) WSFolder[]
SoapFolderClient.listChildren
(String sid, long folderId) SoapDocumentClient.listDocuments
(String sid, long folderId, String fileName) WSGroup[]
SoapSecurityClient.listGroups
(String sid) SoapDocumentMetadataClient.listTemplates
(String sid) WSUser[]
WSFolder[]
SoapFolderClient.listWorkspaces
(String sid) 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, Long[] docIds, String recipients, String subject, String message) void
SoapDocumentMetadataClient.setAttributeOptions
(String sid, long setId, String attribute, WSAttributeOption[] options) void
SoapTagClient.setDocumentTags
(String sid, long docId, String[] tags) void
SoapTagClient.setFolderTags
(String sid, long folderId, 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, String[] tags) void
SoapTagService.addFolderTags
(String sid, long folderId, 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
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) 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) WSFolder[]
SoapSearchService.findFolders
(String sid, String name) WSFolder[]
SoapTagService.findFoldersByTag
(String sid, String tag) SoapDocumentService.getAliases
(String sid, long docId) String[]
SoapDocumentMetadataService.getAttributeOptions
(String sid, long setId, String attribute) SoapDocumentMetadataService.getAttributeOptionsByCategory
(String sid, long setId, String attribute, String category) SoapDocumentMetadataService.getAttributeSet
(String sid, String name) SoapDocumentMetadataService.getAttributeSetById
(String sid, long setId) SoapBookmarkService.getBookmarks
(String sid) javax.activation.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, Long[] docIds) String[]
SoapTagService.getDocumentTags
(String sid, long docId) SoapDocumentService.getExtractedText
(String sid, long docId) String[]
SoapTagService.getFolderTags
(String sid, long folderId) WSRight[]
SoapDocumentMetadataService.getGrantedGroups
(String sid, long templateId) WSRight[]
SoapFolderService.getGrantedGroups
(String sid, long folderId) WSRight[]
SoapDocumentMetadataService.getGrantedUsers
(String sid, long templateId) WSRight[]
SoapFolderService.getGrantedUsers
(String sid, long folderId) WSLink[]
WSNote[]
WSFolder[]
WSRating[]
SoapDocumentService.getRatings
(String sid, long docId) SoapDocumentService.getRecentDocuments
(String sid, Integer max) javax.activation.DataHandler
SoapDocumentService.getResource
(String sid, long docId, String fileVersion, String suffix) SoapFolderService.getRootFolder
(String sid) SoapSystemService.getStatistics
(String sid) SoapTagService.getTagCloud
(String sid) String[]
String[]
SoapTagService.getTagsPreset
(String sid) SoapDocumentMetadataService.getTemplate
(String sid, String name) SoapDocumentMetadataService.getTemplateById
(String sid, long templateId) SoapSecurityService.getUserByUsername
(String sid, String username) SoapDocumentService.getVersion
(String sid, long docId, String version) javax.activation.DataHandler
SoapDocumentService.getVersionContent
(String sid, long docId, String version) SoapDocumentService.getVersions
(String sid, long docId) void
SoapFolderService.grantGroup
(String sid, long folderId, long groupId, int permissions, boolean recursive) void
SoapDocumentMetadataService.grantGroupToTemplate
(String sid, long templateId, long groupId, int permissions) void
SoapFolderService.grantUser
(String sid, long folderId, long userId, int permissions, boolean recursive) void
SoapDocumentMetadataService.grantUserToTemplate
(String sid, long templateId, long userId, int permissions) boolean
boolean
SoapDocumentService.isReadable
(String sid, long docId) boolean
SoapFolderService.isReadable
(String sid, long folderId) boolean
SoapDocumentMetadataService.isTemplateReadable
(String sid, long templateId) boolean
SoapDocumentMetadataService.isTemplateWritable
(String sid, long templateId) boolean
SoapFolderService.isWritable
(String sid, long folderId) SoapDocumentMetadataService.listAttributeSets
(String sid) WSFolder[]
SoapFolderService.listChildren
(String sid, long folderId) SoapDocumentService.listDocuments
(String sid, long folderId, String fileName) WSGroup[]
SoapSecurityService.listGroups
(String sid) SoapDocumentMetadataService.listTemplates
(String sid) WSUser[]
WSFolder[]
SoapFolderService.listWorkspaces
(String sid) 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, Long[] docIds, String recipients, String subject, String message) void
SoapDocumentMetadataService.setAttributeOptions
(String sid, long setId, String attribute, WSAttributeOption[] wsOptions) void
SoapTagService.setDocumentTags
(String sid, long docId, String[] tags) void
SoapTagService.setFolderTags
(String sid, long folderId, String[] tags) void
SoapDocumentService.setPassword
(String sid, long docId, String password) long
SoapDocumentMetadataService.storeAttributeSet
(String sid, WSAttributeSet attributeSet) 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)