Uses of Class
com.logicaldoc.core.PersistenceException
-
Packages that use PersistenceException Package Description com.logicaldoc.cmis com.logicaldoc.core Core plug-in that contains the most important domain objectscom.logicaldoc.core.automation Automation subsystem that allows you to program your own logic inside the platform.
The automation engine can be accessed through the classAutomation
Please note the special annotationAutomationDictionarythat is used to automatically put in the Dictionary whatever bean you need.com.logicaldoc.core.communication com.logicaldoc.core.conversion Machinery for converting documents to different formats.com.logicaldoc.core.dashlet com.logicaldoc.core.document com.logicaldoc.core.document.dao com.logicaldoc.core.folder Contains the definitions ofFolderas well as other related objectscom.logicaldoc.core.generic Contains the definitions ofGenericthat is a persistent object used as a general way to store informations in the databasecom.logicaldoc.core.metadata Package 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 theExtensibleObject.com.logicaldoc.core.metadata.validation Package that contains classes used to validate extensible objects metadata,ExtensibleObject.com.logicaldoc.core.searchengine.saved Classes related to saved searchescom.logicaldoc.core.security com.logicaldoc.core.security.dao com.logicaldoc.core.sequence com.logicaldoc.core.ticket com.logicaldoc.core.transfer com.logicaldoc.web.service GWT services implementations.com.logicaldoc.web.util com.logicaldoc.webdav.resource.service com.logicaldoc.webservice.model com.logicaldoc.webservice.rest com.logicaldoc.webservice.rest.endpoint com.logicaldoc.webservice.soap com.logicaldoc.webservice.soap.client com.logicaldoc.webservice.soap.endpoint -
-
Uses of PersistenceException in com.logicaldoc.cmis
Methods in com.logicaldoc.cmis that throw PersistenceException Modifier and Type Method Description org.apache.chemistry.opencmis.commons.data.ObjectInFolderListLDRepository. getChildren(org.apache.chemistry.opencmis.commons.server.CallContext context, String folderId, String filter, boolean includeAllowableActions, boolean includePathSegment, int maxItems, int skipCount, org.apache.chemistry.opencmis.commons.server.ObjectInfoHandler objectInfos)CMIS getChildren -
Uses of PersistenceException in com.logicaldoc.core
Methods in com.logicaldoc.core that throw PersistenceException Modifier and Type Method Description intHibernatePersistentObjectDAO. bulkUpdate(String expression, Object[] values)intHibernatePersistentObjectDAO. bulkUpdate(String expression, Map<String,Object> parameters)intPersistentObjectDAO. bulkUpdate(String expression, Object[] values)Deprecated.intPersistentObjectDAO. bulkUpdate(String expression, Map<String,Object> parameters)Executes a bulk update as specified by the given expressionvoidHibernatePersistentObjectDAO. delete(long id)voidHibernatePersistentObjectDAO. delete(long id, int code)voidPersistentObjectDAO. delete(long id)This method deletes an entity.voidPersistentObjectDAO. delete(long id, int code)This method deletes an entity and you can give a deletion codevoidHibernatePersistentObjectDAO. deleteAll(Collection<T> entities)voidHibernatePersistentObjectDAO. deleteAll(Collection<T> entities, int code)voidPersistentObjectDAO. deleteAll(Collection<T> entities)Deletes all entries form the databasevoidPersistentObjectDAO. deleteAll(Collection<T> entities, int code)Deletes all entries form the database giving a specific deletion codeTHibernatePersistentObjectDAO. findById(long id)THibernatePersistentObjectDAO. findById(long id, boolean initialize)TPersistentObjectDAO. findById(long id)This method finds an entity by IDTPersistentObjectDAO. findById(long id, boolean initialize)This method finds an entity by IDList<T>HibernatePersistentObjectDAO. findByObjectQuery(String query, Object[] values, Integer max)List<T>HibernatePersistentObjectDAO. findByObjectQuery(String query, Map<String,Object> parameters, Integer max)List<T>PersistentObjectDAO. findByObjectQuery(String query, Object[] values, Integer max)Finds all entities by the given object query.List<T>PersistentObjectDAO. findByObjectQuery(String query, Map<String,Object> parameters, Integer max)Finds all entities by the given object query.ListHibernatePersistentObjectDAO. findByQuery(String query, Object[] values, Integer max)ListHibernatePersistentObjectDAO. findByQuery(String query, Map<String,Object> parameters, Integer max)List<Object>PersistentObjectDAO. findByQuery(String query, Object[] values, Integer max)Deprecated.List<Object>PersistentObjectDAO. findByQuery(String query, Map<String,Object> parameters, Integer max)Find everything you want from the DB using the ORM query languageList<T>HibernatePersistentObjectDAO. findByWhere(String where, Object[] values, String order, Integer max)List<T>HibernatePersistentObjectDAO. findByWhere(String where, String order, Integer max)List<T>HibernatePersistentObjectDAO. findByWhere(String where, Map<String,Object> parameters, String order, Integer max)List<T>PersistentObjectDAO. findByWhere(String where, Object[] values, String order, Integer max)Deprecated.List<T>PersistentObjectDAO. findByWhere(String where, String order, Integer max)Finds all entities by the given expression.List<T>PersistentObjectDAO. findByWhere(String where, Map<String,Object> parameters, String order, Integer max)Finds all entities by the given expression.List<Long>HibernatePersistentObjectDAO. findIdsByWhere(String where, Object[] values, String order, Integer max)List<Long>HibernatePersistentObjectDAO. findIdsByWhere(String where, String order, Integer max)List<Long>PersistentObjectDAO. findIdsByWhere(String where, Object[] values, String order, Integer max)Finds all entities ids by the given expression.List<Long>PersistentObjectDAO. findIdsByWhere(String where, String order, Integer max)Finds all entities ids by the given expression.intHibernatePersistentObjectDAO. jdbcUpdate(String statement)intHibernatePersistentObjectDAO. jdbcUpdate(String statement, Object... args)intPersistentObjectDAO. jdbcUpdate(String statement)Executes the given SQL update statementintPersistentObjectDAO. jdbcUpdate(String statement, Object... args)Issue a single SQL update operation (such as an insert, update or delete statement) via a prepared statement, binding the given argumentsListHibernatePersistentObjectDAO. query(String sql, Object[] args, org.springframework.jdbc.core.RowMapper rowMapper, Integer maxRows)ListPersistentObjectDAO. query(String sql, Object[] args, 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.intHibernatePersistentObjectDAO. queryForInt(String sql)intPersistentObjectDAO. queryForInt(String sql)Execute a query that results in an int value, given static SQL.ListHibernatePersistentObjectDAO. queryForList(String sql, Class elementType)ListHibernatePersistentObjectDAO. queryForList(String sql, Object[] args, Class elementType, Integer maxRows)ListPersistentObjectDAO. queryForList(String sql, Class elementType)Execute a query for a result list, given static SQL.ListPersistentObjectDAO. queryForList(String sql, Object[] args, Class elementType, Integer maxRows)Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, expecting a result list.longHibernatePersistentObjectDAO. queryForLong(String sql)longHibernatePersistentObjectDAO. queryForLong(String sql, Object... args)longPersistentObjectDAO. queryForLong(String sql)Execute a query that results in an long value, given static SQL.longPersistentObjectDAO. queryForLong(String statement, Object... args)Execute a query that results in an long value, given static SQL.ObjectHibernatePersistentObjectDAO. queryForObject(String sql, Class type)ObjectPersistentObjectDAO. queryForObject(String sql, Class type)Execute a query that results in a Object value, given static SQL.org.springframework.jdbc.support.rowset.SqlRowSetHibernatePersistentObjectDAO. queryForRowSet(String sql, Object[] args, Integer maxRows)org.springframework.jdbc.support.rowset.SqlRowSetPersistentObjectDAO. queryForRowSet(String sql, Object[] args, 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 RowSetStringHibernatePersistentObjectDAO. queryForString(String sql)StringPersistentObjectDAO. queryForString(String sql)Execute a query that results in an string value, given static SQL.voidHibernatePersistentObjectDAO. store(T entity)voidPersistentObjectDAO. store(T entity)This method persists the entity object -
Uses of PersistenceException in com.logicaldoc.core.automation
Methods in com.logicaldoc.core.automation that throw PersistenceException Modifier and Type Method Description DocumentDocTool. createAlias(Document originalDoc, String targetPath, String type, String username)Creates an alias to a documentStringFolderTool. getPath(Long folderId)Calculates the full path of a folder -
Uses of PersistenceException in com.logicaldoc.core.communication
Methods in com.logicaldoc.core.communication that throw PersistenceException Modifier and Type Method Description voidHibernateMessageTemplateDAO. delete(long id, int code)voidHibernateSystemMessageDAO. store(SystemMessage message) -
Uses of PersistenceException in com.logicaldoc.core.conversion
Methods in com.logicaldoc.core.conversion that throw PersistenceException Modifier and Type Method Description DocumentFormatConverterManager. convert(Document document, String fileVersion, String format, DocumentHistory transaction)Converts a document into another format and saves the resulting file in the same folder -
Uses of PersistenceException in com.logicaldoc.core.dashlet
Methods in com.logicaldoc.core.dashlet that throw PersistenceException Modifier and Type Method Description voidHibernateDashletDAO. delete(long id, int code) -
Uses of PersistenceException in com.logicaldoc.core.document
Methods in com.logicaldoc.core.document that throw PersistenceException Modifier and Type Method Description voidDocumentInitializer. afterCheckin(Document document, DocumentHistory transaction, Map<String,Object> dictionary)voidDocumentListener. afterCheckin(Document document, DocumentHistory transaction, Map<String,Object> dictionary)Called after a document is checked invoidDocumentValidator. afterCheckin(Document document, DocumentHistory transaction, Map<String,Object> dictionary)voidDocumentInitializer. afterSaveHistory(Document document, DocumentHistory event, Map<String,Object> dictionary)voidDocumentListener. afterSaveHistory(Document document, DocumentHistory event, Map<String,Object> dictionary)Called after an event has been storedvoidDocumentValidator. afterSaveHistory(Document document, DocumentHistory event, Map<String,Object> dictionary)voidDocumentInitializer. afterStore(Document document, DocumentHistory transaction, Map<String,Object> dictionary)voidDocumentListener. afterStore(Document document, DocumentHistory transaction, Map<String,Object> dictionary)Called after a document is stored in the databasevoidDocumentValidator. afterStore(Document document, DocumentHistory transaction, Map<String,Object> dictionary)voidDocumentManager. archiveDocuments(long[] docIds, DocumentHistory transaction)Archives all the documents in a folder's treevoidDocumentManagerImpl. archiveDocuments(long[] docIds, DocumentHistory transaction)longDocumentManager. archiveFolder(long folderId, DocumentHistory transaction)Archives all the documents in a folder's treelongDocumentManagerImpl. archiveFolder(long folderId, DocumentHistory transaction)voidDocumentInitializer. beforeCheckin(Document document, DocumentHistory transaction, Map<String,Object> dictionary)voidDocumentListener. beforeCheckin(Document document, DocumentHistory transaction, Map<String,Object> dictionary)Called before a document is checked invoidDocumentValidator. beforeCheckin(Document document, DocumentHistory transaction, Map<String,Object> dictionary)voidDocumentInitializer. beforeStore(Document document, DocumentHistory transaction, Map<String,Object> dictionary)voidDocumentListener. beforeStore(Document document, DocumentHistory transaction, Map<String,Object> dictionary)Called before a document is stored in the databasevoidDocumentValidator. beforeStore(Document document, DocumentHistory transaction, Map<String,Object> dictionary)voidDocumentManager. checkin(long docId, File file, String filename, boolean release, AbstractDocument docVO, DocumentHistory transaction)Checks in the given documentvoidDocumentManager. checkin(long docId, InputStream fileInputStream, String filename, boolean release, AbstractDocument docVO, DocumentHistory transaction)Checks in the given documentvoidDocumentManagerImpl. checkin(long docId, File file, String filename, boolean release, AbstractDocument docVO, DocumentHistory transaction)voidDocumentManagerImpl. checkin(long docId, InputStream content, String filename, boolean release, AbstractDocument docVO, DocumentHistory transaction)voidDocumentManager. checkout(long docId, DocumentHistory transaction)Checks out the given documentvoidDocumentManagerImpl. checkout(long docId, DocumentHistory transaction)DocumentDocumentManager. copyToFolder(Document doc, Folder folder, DocumentHistory transaction)Copy a document to the specified folder.DocumentDocumentManagerImpl. copyToFolder(Document doc, Folder folder, DocumentHistory transaction)DocumentDocumentManager. create(File file, Document docVO, DocumentHistory transaction)Creates a new Document.DocumentDocumentManager. create(InputStream content, Document docVO, DocumentHistory transaction)Creates a new Document.DocumentDocumentManagerImpl. create(File file, Document docVO, DocumentHistory transaction)DocumentDocumentManagerImpl. create(InputStream content, Document docVO, DocumentHistory transaction)DocumentDocumentManager. createAlias(Document doc, Folder folder, String type, DocumentHistory transaction)Create an alias(shortcut) associated to the given doc to the specified folder.DocumentDocumentManagerImpl. createAlias(Document doc, Folder folder, String aliasType, DocumentHistory transaction)TicketDocumentManager. createDownloadTicket(long docId, String suffix, Integer expireHours, Date expireDate, Integer maxDownloads, String urlPrefix, DocumentHistory transaction)Creates a new download ticket.TicketDocumentManagerImpl. createDownloadTicket(long docId, String suffix, Integer expireHours, Date expireDate, Integer maxDownloads, String urlPrefix, DocumentHistory transaction)VersionDocumentManager. deleteVersion(long versionId, DocumentHistory transaction)Deletes a specific version.VersionDocumentManagerImpl. deleteVersion(long versionId, DocumentHistory transaction)intDocumentManager. enforceFilesIntoFolderStorage(long rootFolderId, DocumentHistory transaction)Moves all the files of the documents in the given tree from it's original location to the storage defined in the owning folderintDocumentManagerImpl. enforceFilesIntoFolderStorage(long rootFolderId, DocumentHistory transaction)voidDocumentManager. lock(long docId, int status, DocumentHistory transaction)Locks the given documentvoidDocumentManagerImpl. lock(long docId, int status, DocumentHistory transaction)voidDocumentManager. makeImmutable(long docId, DocumentHistory transaction)Marks the document, with the given docId, as immutable and save the given document historyvoidDocumentManagerImpl. makeImmutable(long docId, DocumentHistory transaction)DocumentDocumentManager. merge(Collection<Document> documents, long targetFolderId, String fileName, DocumentHistory transaction)Merges a set of documents into a single PDF fileDocumentDocumentManagerImpl. merge(Collection<Document> documents, long targetFolderId, String fileName, DocumentHistory transaction)voidDocumentManager. moveToFolder(Document doc, Folder folder, DocumentHistory transaction)Moves a document to the specified folder.voidDocumentManagerImpl. moveToFolder(Document doc, Folder folder, DocumentHistory transaction)voidDocumentManager. promoteVersion(long docId, String version, DocumentHistory transaction)Promotes an old version to the current default one.voidDocumentManagerImpl. promoteVersion(long docId, String version, DocumentHistory transaction)longDocumentManager. reindex(long docId, String content, DocumentHistory transaction)Re-indexes an existing document in the full-text index.longDocumentManagerImpl. reindex(long docId, String content, DocumentHistory transaction)voidDocumentManager. rename(long docId, String newName, DocumentHistory transaction)Rename an existing document filename.voidDocumentManagerImpl. rename(long docId, String newName, DocumentHistory transaction)DocumentDocumentManager. replaceAlias(long aliasId, DocumentHistory transaction)Replaces an alias with a copy of the original fileDocumentDocumentManagerImpl. replaceAlias(long aliasId, DocumentHistory transaction)voidDocumentManager. replaceFile(long docId, String fileVersion, File newFile, DocumentHistory transaction)Replaces the file of a given versionvoidDocumentManager. replaceFile(long docId, String fileVersion, InputStream newFile, DocumentHistory transaction)Replaces the file of a given versionvoidDocumentManagerImpl. replaceFile(long docId, String fileVersion, File newFile, DocumentHistory transaction)voidDocumentManagerImpl. replaceFile(long docId, String fileVersion, InputStream content, DocumentHistory transaction)voidDocumentManager. unlock(long docId, DocumentHistory transaction)UNChecks out the given documentvoidDocumentManagerImpl. unlock(long docId, DocumentHistory transaction)voidDocumentManager. update(Document doc, Document docVO, DocumentHistory transaction)Updates an existing document and marks it to be re-indexedvoidDocumentManagerImpl. update(Document document, Document docVO, DocumentHistory transaction) -
Uses of PersistenceException in com.logicaldoc.core.document.dao
Methods in com.logicaldoc.core.document.dao that throw PersistenceException Modifier and Type Method Description voidDocumentDAO. archive(long docId, DocumentHistory transaction)Archives a documentvoidHibernateDocumentDAO. archive(long docId, DocumentHistory transaction)voidDocumentDAO. cleanExpiredTransactions()Cleans all references to expired transactions.voidHibernateDocumentDAO. cleanExpiredTransactions()voidDocumentDAO. cleanUnexistingUniqueTags()Cleans the ld_uniquetag table removing no more used tags, this method is optimized and uses a couple of prepared statements, in case of error it switches toDocumentDAO.cleanUnexistingUniqueTagsOneByOne()voidHibernateDocumentDAO. cleanUnexistingUniqueTags()voidDocumentDAO. cleanUnexistingUniqueTagsOneByOne()Cleans the ld_uniquetag table removing no more used tags programmatically one by one.voidHibernateDocumentDAO. cleanUnexistingUniqueTagsOneByOne()longDocumentDAO. computeTotalSize(Long tenantId, Long publisherId, boolean computeDeleted)Obtains the total size of the repository, that is the sum of sizes of all documents and their versionslongHibernateDocumentDAO. computeTotalSize(Long tenantId, Long userId, boolean computeDeleted)intDocumentNoteDAO. copyAnnotations(long docId, String oldFileVersion, String newFileVersion)Copies all the notes not associated to a specific page from a given file version to anotherintHibernateDocumentNoteDAO. copyAnnotations(long docId, String oldFileVersion, String newFileVersion)longDocumentDAO. count(Long tenantId, boolean computeDeleted, boolean computeArchived)Counts the number of documentslongHibernateDocumentDAO. count(Long tenantId, boolean computeDeleted, boolean computeArchived)longDocumentDAO. countByIndexed(int indexed)Counts the number of documents in a given indexation status(@seeAbstractDocument.getIndexed()longHibernateDocumentDAO. countByIndexed(int indexed)voidDocumentDAO. delete(long docId, int delCode, DocumentHistory transaction)This method deletes the document object and insert a new document history entry.voidDocumentDAO. delete(long docId, DocumentHistory transaction)Shortcut for delete(docId, 1, transaction)voidHibernateDocumentDAO. delete(long docId, int delCode, DocumentHistory transaction)voidHibernateDocumentDAO. delete(long docId, DocumentHistory transaction)voidHibernateDocumentLinkDAO. delete(long id, int code)voidHibernateDocumentNoteDAO. delete(long id, int code)voidHibernateRatingDAO. delete(long id, int code)voidHibernateVersionDAO. delete(long versionId, int delCode)voidDocumentDAO. deleteAll(Collection<Document> documents, int delCode, DocumentHistory transaction)Deletes all documents form the database and modifies the custom ids of all documentsvoidDocumentDAO. deleteAll(Collection<Document> documents, DocumentHistory transaction)Shortcut for deleteAll(documents, 1, transaction)voidHibernateDocumentDAO. deleteAll(Collection<Document> documents, int delCode, DocumentHistory transaction)voidHibernateDocumentDAO. deleteAll(Collection<Document> documents, DocumentHistory transaction)voidDocumentDAO. deleteOrphaned(long deleteUserId)This method deletes the documents into deleted folders.voidHibernateDocumentDAO. deleteOrphaned(long deleteUserId)List<Long>DocumentDAO. findAliasIds(long docId)Gets the ids of all aliases associated to the document with the given docIdList<Long>HibernateDocumentDAO. findAliasIds(long docId)List<String>DocumentDAO. findAllTags(String firstLetter, Long tenantId)Searches for all tags,List<String>HibernateDocumentDAO. findAllTags(String firstLetter, Long tenantId)List<Document>DocumentDAO. findArchivedByFolder(long folderId)Finds archived documents in a folder (direct childeren only)List<Document>HibernateDocumentDAO. findArchivedByFolder(long folderId)DocumentDocumentDAO. findByCustomId(String customId, long tenantId)This method finds a document by the custom ID.DocumentHibernateDocumentDAO. findByCustomId(String customId, long tenantId)List<Document>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)List<Document>HibernateDocumentDAO. findByFileNameAndParentFolderId(Long folderId, String fileName, Long excludeId, Long tenantId, Integer max)List<Document>DocumentDAO. findByFolder(long folderId, Integer max)Finds all documents direct children of the given folder.List<Document>HibernateDocumentDAO. findByFolder(long folderId, Integer max)List<Document>DocumentDAO. findByIndexed(int indexed)Finds all documents by the indexed state.List<Document>HibernateDocumentDAO. findByIndexed(int indexed)DocumentDocumentDAO. findByPath(String path, long tenantId)Finds a document by it's full pathDocumentHibernateDocumentDAO. findByPath(String path, long tenantId)List<Long>DocumentDAO. findByUserId(long userId)Finds all documents for an user.List<Long>HibernateDocumentDAO. findByUserId(long userId)List<Document>DocumentDAO. findByUserIdAndTag(long userId, String tag, Integer max)Finds authorized documents for a user having a specified tag.List<Document>HibernateDocumentDAO. findByUserIdAndTag(long userId, String tag, Integer max)List<Document>DocumentDAO. findDeleted(long userId, Integer max)Finds all deleted docs of a specific user.List<Document>HibernateDocumentDAO. findDeleted(long userId, Integer maxHits)List<Long>DocumentDAO. findDeletedDocIds()Gets the collection of deleted document idsList<Long>HibernateDocumentDAO. findDeletedDocIds()List<Document>DocumentDAO. findDeletedDocs()Finds the list of deleted documents.List<Document>HibernateDocumentDAO. findDeletedDocs()List<Long>DocumentDAO. findDocIdByFolder(long folderId, Integer max)Finds all document ids inside the given folder.List<Long>HibernateDocumentDAO. findDocIdByFolder(long folderId, Integer max)List<Long>DocumentDAO. findDocIdByTag(String tag)This method finds all Doc Ids by a tag.List<Long>HibernateDocumentDAO. findDocIdByTag(String tag)List<Long>DocumentDAO. findDocIdByUserIdAndTag(long userId, String tag)Finds authorized documents ids for a user having a specified tag.List<Long>HibernateDocumentDAO. findDocIdByUserIdAndTag(long userId, String tag)DocumentDocumentDAO. findDocument(long docId)This method finds a document by the ID and if it is an alias the referenced document is returned instead.DocumentHibernateDocumentDAO. findDocument(long docId)List<String>DocumentDAO. findDuplicatedDigests(Long tenantId, Long folderId)Retrieves the list of duplicated checksumsList<String>HibernateDocumentDAO. findDuplicatedDigests(Long tenantId, Long folderId)List<Document>DocumentDAO. findLastDownloadsByUserId(long userId, int max)Finds the last downloaded documents by the given userList<Document>HibernateDocumentDAO. findLastDownloadsByUserId(long userId, int maxResults)List<Document>DocumentDAO. findLastModifiedByUserId(long userId, int max)Finds a max number of documents last modified by an user.List<Document>HibernateDocumentDAO. findLastModifiedByUserId(long userId, int maxElements)List<Document>DocumentDAO. findLinkedDocuments(long docId, String linkType, Integer direction)This method enlists documents linked to the given document.List<Document>HibernateDocumentDAO. findLinkedDocuments(long docId, String linkType, Integer direction)Collection<Long>DocumentDAO. findPublishedIds(Collection<Long> folderIds)Finds all document ids inside the specified folders that are published in the current date.Collection<Long>HibernateDocumentDAO. findPublishedIds(Collection<Long> folderIds)List<String>DocumentDAO. findTags(long docId)Retrieves the alphabetically ordered list of all the document's tagsMap<String,Long>DocumentDAO. findTags(String firstLetter, Long tenantId)Selects all tags and counts the occurrences.List<String>HibernateDocumentDAO. findTags(long docId)Map<String,Long>HibernateDocumentDAO. findTags(String firstLetter, Long tenantId)List<TagCloud>DocumentDAO. getTagCloud(long tenantId, int max)Gets the tag cloud for the given tenantList<TagCloud>DocumentDAO. getTagCloud(String sid)Gets the tag cloud for the given tenantList<TagCloud>HibernateDocumentDAO. getTagCloud(long tenantId, int maxTags)List<TagCloud>HibernateDocumentDAO. getTagCloud(String sid)FolderDocumentDAO. getWorkspace(long docId)Retrieves, the workspace where the document(or alias) is storedFolderHibernateDocumentDAO. getWorkspace(long docId)voidDocumentDAO. insertNewUniqueTags()Puts into ld_uniquetag the new unique tagsvoidHibernateDocumentDAO. insertNewUniqueTags()voidDocumentDAO. makeImmutable(long docId, DocumentHistory transaction)Marks the document, with the given docId, as immutable.voidHibernateDocumentDAO. makeImmutable(long docId, DocumentHistory transaction)voidDocumentDAO. restore(long docId, long folderId, DocumentHistory transaction)Restores a previously deleted documentvoidHibernateDocumentDAO. restore(long docId, long folderId, DocumentHistory transaction)voidDocumentDAO. saveDocumentHistory(Document doc, DocumentHistory transaction)Saves a document's historyvoidHibernateDocumentDAO. saveDocumentHistory(Document doc, DocumentHistory transaction)voidDocumentDAO. setPassword(long docId, String password, DocumentHistory transaction)Protects the document with a password.voidHibernateDocumentDAO. setPassword(long docId, String password, DocumentHistory transaction)voidDocumentDAO. store(Document doc, DocumentHistory transaction)This method persists the document object and insert a new document history entryvoidDocumentNoteDAO. store(DocumentNote note, DocumentHistory transaction)Stores a note and saves the document's historyvoidHibernateDocumentDAO. store(Document doc)voidHibernateDocumentDAO. store(Document doc, DocumentHistory transaction)voidHibernateDocumentHistoryDAO. store(DocumentHistory history)voidHibernateDocumentLinkDAO. store(DocumentLink entity)voidHibernateDocumentNoteDAO. store(DocumentNote note, DocumentHistory transaction)voidHibernateRatingDAO. store(Rating rating, DocumentHistory transaction)voidHibernateVersionDAO. store(Version version)This method persists the given version.voidRatingDAO. store(Rating rating, DocumentHistory transaction)Stores a rating and saves the document's historyvoidDocumentDAO. unarchive(long docId, DocumentHistory transaction)Restores a previously archived documentvoidHibernateDocumentDAO. unarchive(long docId, DocumentHistory transaction)voidDocumentDAO. unsetPassword(long docId, DocumentHistory transaction)Removes the password protection from the document.voidHibernateDocumentDAO. unsetPassword(long docId, DocumentHistory transaction)voidDocumentDAO. updateCountUniqueTags()Updates the count of the unique tagsvoidHibernateDocumentDAO. updateCountUniqueTags()voidDocumentDAO. updateDigest(Document doc)Updates the document's digest (SHA-1)voidHibernateDocumentDAO. updateDigest(Document doc)intHibernateRatingDAO. updateDocumentRating(long docId, DocumentHistory transaction)intRatingDAO. updateDocumentRating(long docId, DocumentHistory transaction)Updates the document's rating with the votes average -
Uses of PersistenceException in com.logicaldoc.core.folder
Methods in com.logicaldoc.core.folder that throw PersistenceException Modifier and Type Method Description voidFolderInitializer. afterStore(Folder document, FolderHistory transaction, Map<String,Object> dictionary)voidFolderListener. afterStore(Folder folder, FolderHistory transaction, Map<String,Object> dictionary)Called after a folder is stored in the databasevoidFolderValidator. afterStore(Folder folder, FolderHistory transaction, Map<String,Object> dictionary)voidFolderDAO. applyGridToTree(long rootId, FolderHistory transaction)Propagates the grid layout of a node to the whole sub-treevoidHibernateFolderDAO. applyGridToTree(long id, FolderHistory transaction)voidFolderDAO. applyMetadataToTree(long id, FolderHistory transaction)Propagates the template metadata to the whole subreevoidHibernateFolderDAO. applyMetadataToTree(long id, FolderHistory transaction)voidFolderDAO. applyOCRToTree(long id, FolderHistory transaction)Propagates the OCR settings to the whole subreevoidHibernateFolderDAO. applyOCRToTree(long id, FolderHistory transaction)voidFolderDAO. applyRightToTree(long rootId, FolderHistory transaction)Propagates the security policies of a node to the whole sub-treevoidHibernateFolderDAO. applyRightToTree(long rootId, FolderHistory transaction)voidFolderDAO. applyStorageToTree(long id, FolderHistory transaction)Propagates the storage setting to the whole subreevoidHibernateFolderDAO. applyStorageToTree(long id, FolderHistory transaction)voidFolderDAO. applyTagsToTree(long id, FolderHistory transaction)Propagates the tags to the whole subreevoidHibernateFolderDAO. applyTagsToTree(long id, FolderHistory transaction)voidFolderInitializer. beforeStore(Folder folder, FolderHistory transaction, Map<String,Object> dictionary)voidFolderListener. beforeStore(Folder folder, FolderHistory transaction, Map<String,Object> dictionary)Called before a folder is stored in the databasevoidFolderValidator. beforeStore(Folder folder, FolderHistory transaction, Map<String,Object> dictionary)StringFolderDAO. computePath(long folderId)Dynamically computes the path for the specified folder.StringFolderDAO. computePath(Folder folder)Dynamically computes the path for the specified folder.StringHibernateFolderDAO. computePath(long folderId)StringHibernateFolderDAO. computePath(Folder folder)StringFolderDAO. computePathExtended(long folderId)Dynamically computes the path extended for the specified folder.StringFolderDAO. computePathExtended(Folder folder)Dynamically computes the path extended for the specified folder.StringHibernateFolderDAO. computePathExtended(long folderId)StringHibernateFolderDAO. computePathExtended(Folder folder)FolderFolderDAO. copy(Folder source, Folder target, String newName, boolean foldersOnly, String securityOption, FolderHistory transaction)Copies a folder into another folderFolderHibernateFolderDAO. copy(Folder source, Folder target, String newName, boolean foldersOnly, String securityOption, FolderHistory transaction)FolderFolderDAO. create(Folder parent, Folder folderVO, boolean inheritSecurity, FolderHistory transaction)Creates a new folder in the parent FolderFolderHibernateFolderDAO. create(Folder parent, Folder folderVO, boolean inheritSecurity, FolderHistory transaction)FolderFolderDAO. createAlias(long parentId, long foldRef, FolderHistory transaction)Creates a new folder folder aliasFolderHibernateFolderDAO. createAlias(long parentId, long foldRef, FolderHistory transaction)FolderFolderDAO. createPath(Folder parent, String path, boolean inheritSecurity, FolderHistory transaction)Creates the folder for the specified path.FolderHibernateFolderDAO. createPath(Folder parent, String path, boolean inheritSecurity, FolderHistory transaction)voidFolderDAO. delete(long id, int delCode, FolderHistory transaction)This method deletes the folder object and insert a new folder history entryvoidFolderDAO. delete(long id, FolderHistory transaction)Shortcut for delete(id, 1, transaction)voidHibernateFolderDAO. delete(long folderId, int code)voidHibernateFolderDAO. delete(long folderId, int delCode, FolderHistory transaction)voidHibernateFolderDAO. delete(long folderId, FolderHistory transaction)voidFolderDAO. deleteAll(Collection<Folder> folders, int delCode, FolderHistory transaction)For each folder, save the folder delete history entry for each folder and delete the foldervoidFolderDAO. deleteAll(Collection<Folder> folders, FolderHistory transaction)Shortcut for deleteAll(folders, 1, transaction)voidHibernateFolderDAO. deleteAll(Collection<Folder> folders, int code, FolderHistory transaction)voidHibernateFolderDAO. deleteAll(Collection<Folder> folders, FolderHistory transaction)List<Folder>FolderDAO. deleteTree(long folderId, int delCode, FolderHistory transaction)Delete a folder and all its sub-folders that a user can delete.List<Folder>FolderDAO. deleteTree(long folderId, FolderHistory transaction)Shortcut for deleteTree(folderId, 1, transaction)List<Folder>FolderDAO. deleteTree(Folder folder, int delCode, FolderHistory transaction)Deletes a folder and all its sub-folders that a user can delete.List<Folder>HibernateFolderDAO. deleteTree(long folderId, int delCode, FolderHistory transaction)List<Folder>HibernateFolderDAO. deleteTree(long folderId, FolderHistory transaction)List<Folder>HibernateFolderDAO. deleteTree(Folder folder, int delCode, FolderHistory transaction)List<Folder>FolderDAO. find(String name, Long tenantId)Useful method that allows to find all folders that contains the given name into their text.List<Folder>HibernateFolderDAO. find(String name, Long tenantId)List<Folder>FolderDAO. findByGroupId(long groupId)Finds all folders accessible by the passed groupList<Folder>HibernateFolderDAO. findByGroupId(long groupId)List<Folder>FolderDAO. findByName(Folder parent, String name, Long tenantId, boolean caseSensitive)Finds all folders by folder text, contained in the parent folder.List<Folder>FolderDAO. findByName(String name, Long tenantId)Finds all folders by folder nameList<Folder>HibernateFolderDAO. findByName(Folder parent, String name, Long tenantId, boolean caseSensitive)List<Folder>HibernateFolderDAO. findByName(String name, Long tenantId)List<Folder>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)List<Folder>HibernateFolderDAO. findByNameAndParentId(String name, long parentId)FolderFolderDAO. findByPathExtended(String pathExtended, long tenantId)Retrieval of a folder by the extended pathFolderHibernateFolderDAO. findByPathExtended(String pathExtended, long tenantId)List<Folder>FolderDAO. findByUserId(long userId)Finds authorized folders for a userList<Folder>FolderDAO. findByUserId(long userId, long parentId)Finds direct children of a folder.List<Folder>HibernateFolderDAO. findByUserId(long userId)List<Folder>HibernateFolderDAO. findByUserId(long userId, long parentId)List<Folder>FolderDAO. findByUserIdAndTag(long userId, String tag, Integer max)Finds authorized folders for a user having a specified tag.List<Folder>HibernateFolderDAO. findByUserIdAndTag(long userId, String tag, Integer max)List<Folder>FolderDAO. findChildren(long parentId, long userId)Finds direct children of a folder accessible by the given userList<Folder>FolderDAO. findChildren(long parentId, Integer max)Finds direct children of a folderList<Folder>HibernateFolderDAO. findChildren(long parentId, long userId)List<Folder>HibernateFolderDAO. findChildren(long parentId, Integer max)FolderFolderDAO. findDefaultWorkspace(long tenantId)Retrieves the Default workspace of the given tenantFolderHibernateFolderDAO. findDefaultWorkspace(long tenantId)FolderFolderDAO. findFolder(long folderId)Gets a folder by a given ID if it is an alias, the referenced folder is returned.FolderHibernateFolderDAO. findFolder(long folderId)Collection<Long>FolderDAO. findFolderIdByUserId(long userId, Long parentId, boolean tree)This method selects only the folder ID from the folders for which a user is authorized.Collection<Long>HibernateFolderDAO. findFolderIdByUserId(long userId, Long parentId, boolean tree)Collection<Long>FolderDAO. findFolderIdByUserIdAndPermission(long userId, Permission permission, Long parentId, boolean tree)Finds all folders ids with a specific permission enabled on the specifies userCollection<Long>HibernateFolderDAO. findFolderIdByUserIdAndPermission(long userId, Permission permission, Long parentId, boolean tree)Collection<Long>FolderDAO. findFolderIdByUserIdInPath(long userId, long parentId)This method selects only the folder ID from the folders for which a user is authorized.Collection<Long>HibernateFolderDAO. findFolderIdByUserIdInPath(long userId, long parentId)Collection<Long>FolderDAO. findFolderIdInPath(long rootId, boolean includeDeleted)Retrieve all the ids of the folders in a given tree using the path attributeSet<Long>HibernateFolderDAO. findFolderIdInPath(long rootId, boolean includeDeleted)List<Long>FolderDAO. findIdByUserId(long userId, long parentId)This method selects only the folder ID from the folders for which a user is authorized.List<Long>HibernateFolderDAO. findIdByUserId(long userId, long parentId)List<Folder>FolderDAO. findParents(long id)Returns a List of folders being a parent of the given folder.List<Folder>HibernateFolderDAO. findParents(long folderId)FolderFolderDAO. findRoot(long tenantId)Retrieves the root folder of the given tenantFolderHibernateFolderDAO. findRoot(long tenantId)FolderFolderDAO. findWorkspace(long folderId)Returns the workspace that contains the given folderFolderHibernateFolderDAO. findWorkspace(long folderId)List<Folder>FolderDAO. findWorkspaces(long tanantId)Retrieves all the workspaces in the system, that are the first-level folders of typeFolder.TYPE_WORKSPACEList<Folder>HibernateFolderDAO. findWorkspaces(long tenantId)Set<Permission>FolderDAO. getEnabledPermissions(long folderId, long userId)Finds all permissions of a user enabled on the specified folderSet<Permission>HibernateFolderDAO. getEnabledPermissions(long folderId, long userId)booleanFolderDAO. hasWriteAccess(Folder folder, long userId)Checks that the user has access to the folder and all its sub-itemsbooleanHibernateFolderDAO. hasWriteAccess(Folder folder, long userId)booleanFolderDAO. isDownloadEnabled(long folderId, long userId)booleanHibernateFolderDAO. isDownloadEnabled(long id, long userId)booleanFolderDAO. isInPath(long parentId, long childId)Checks if a folder with the given folderId is parent of the folder with the given targetIdbooleanHibernateFolderDAO. isInPath(long folderId, long targetId)booleanFolderDAO. isMoveEnabled(long folderId, long userId)booleanHibernateFolderDAO. isMoveEnabled(long id, long userId)booleanFolderDAO. isPermissionEnabled(Permission permission, long folderId, long userId)This method checks if the given permission is enabled for a folder and an user.booleanHibernateFolderDAO. isPermissionEnabled(Permission permission, long folderId, long userId)booleanFolderDAO. isPrintEnabled(long folderId, long userId)booleanHibernateFolderDAO. isPrintEnabled(long folderId, long userId)booleanFolderDAO. isReadEnabled(long folderId, long userId)booleanHibernateFolderDAO. isReadEnabled(long folderId, long userId)booleanFolderDAO. isWriteEnabled(long folderId, long userId)This method is looking up for writing rights for a folder and an user.booleanHibernateFolderDAO. isWriteEnabled(long folderId, long userId)voidFolderDAO. merge(Folder source, Folder target, FolderHistory transaction)Merges the contents of two foldersvoidHibernateFolderDAO. merge(Folder source, Folder target, FolderHistory transaction)voidFolderDAO. move(Folder source, Folder target, FolderHistory transaction)Moves a folder into another foldervoidHibernateFolderDAO. move(Folder source, Folder target, FolderHistory transaction)voidFolderDAO. restore(long folderId, long parentId, FolderHistory transaction)Restores a previously deleted foldervoidHibernateFolderDAO. restore(long folderId, long parentId, FolderHistory transaction)voidFolderDAO. saveFolderHistory(Folder folder, FolderHistory transaction)Utility method that logs into the DB the transaction that involved the passed folder.voidHibernateFolderDAO. saveFolderHistory(Folder folder, FolderHistory transaction)Utility method that logs into the DB the transaction that involved the passed folder.voidFolderDAO. store(Folder folder, FolderHistory transaction)Same as store(Folder, boolean, FolderHistory)voidHibernateFolderDAO. store(Folder folder)voidHibernateFolderDAO. store(Folder folder, FolderHistory transaction)voidHibernateFolderHistoryDAO. store(FolderHistory history)voidFolderDAO. updateSecurityRef(long folderId, long rightsFolderId, FolderHistory transaction)Changes the securityRef of the given folder, all the other folders that inherits from this one will be changed accordingly.voidHibernateFolderDAO. updateSecurityRef(long folderId, long rightsFolderId, FolderHistory transaction) -
Uses of PersistenceException in com.logicaldoc.core.generic
Methods in com.logicaldoc.core.generic that throw PersistenceException Modifier and Type Method Description voidHibernateGenericDAO. delete(long genericId, int code)voidHibernateGenericDAO. store(Generic entity) -
Uses of PersistenceException in com.logicaldoc.core.metadata
Methods in com.logicaldoc.core.metadata that throw PersistenceException Modifier and Type Method Description voidHibernateAttributeOptionDAO. delete(long id, int code)voidHibernateAttributeSetDAO. delete(long id, int code)voidHibernateTemplateDAO. delete(long id, int code)voidHibernateAttributeSetDAO. store(AttributeSet set) -
Uses of PersistenceException in com.logicaldoc.core.metadata.validation
Subclasses of PersistenceException in com.logicaldoc.core.metadata.validation Modifier and Type Class Description classValidationExceptionRaised when the content being stored are not logically valid. -
Uses of PersistenceException in com.logicaldoc.core.searchengine.saved
Methods in com.logicaldoc.core.searchengine.saved that throw PersistenceException Modifier and Type Method Description voidHibernateSearchDAO. delete(long id, int code)List<SavedSearch>HibernateSearchDAO. findByUserId(long userId)List<SavedSearch>SearchDAO. findByUserId(long userId)Gets all the searches of a given user ordered by name ascSavedSearchHibernateSearchDAO. findByUserIdAndName(long userId, String name)SavedSearchSearchDAO. findByUserIdAndName(long userId, String name)Gets the search using the alternate keyvoidHibernateSearchDAO. store(SavedSearch search) -
Uses of PersistenceException in com.logicaldoc.core.security
Methods in com.logicaldoc.core.security that throw PersistenceException Modifier and Type Method Description Set<Permission>SecurityManager. getEnabledPermissions(long docId, long userId)Finds all permissions of a user enabled on the specified documentSet<Permission>SecurityManagerImpl. getEnabledPermissions(long docId, long userId)booleanSecurityManager. isDownloadEnabled(long docId, long userId)booleanSecurityManagerImpl. isDownloadEnabled(long docId, long userId)booleanSecurityManager. isPermissionEnabled(Permission permission, long docId, long userId)This method checks if the given permission is enabled for a document and an user.booleanSecurityManagerImpl. isPermissionEnabled(Permission permission, long docId, long userId)booleanSecurityManager. isPrintEnabled(long docId, long userId)booleanSecurityManagerImpl. isPrintEnabled(long docId, long userId)booleanSecurityManager. isReadEnabled(long docId, long userId)booleanSecurityManagerImpl. isReadEnabled(long docId, long userId)booleanSecurityManager. isWriteEnabled(long docId, long userId)This method is looking up for writing rights for a folder and an user.booleanSecurityManagerImpl. isWriteEnabled(long docId, long userId) -
Uses of PersistenceException in com.logicaldoc.core.security.dao
Methods in com.logicaldoc.core.security.dao that throw PersistenceException Modifier and Type Method Description MenuHibernateMenuDAO. createPath(long parentId, long tenantId, int type, String path, boolean inheritSecurity)MenuMenuDAO. createPath(long parentId, long tenantId, int type, String path, boolean inheritSecurity)Creates the menu for the specified path.voidHibernateDeviceDAO. delete(long deviceId, int code)voidHibernateGroupDAO. delete(long groupId, int code)voidHibernateMenuDAO. delete(long menuId, int code)voidHibernateUserDAO. delete(long userId, int code)voidHibernateUserDAO. delete(long userId, UserHistory transaction)voidUserDAO. delete(long userId, UserHistory transaction)This method deletes the user object and insert a new user history entry.voidHibernateMenuDAO. deleteAll(Collection<Menu> menus)UserHibernateUserDAO. findById(long id)List<PasswordHistory>HibernatePasswordHistoryDAO. findByUserId(long userId, Integer max)List<PasswordHistory>PasswordHistoryDAO. findByUserId(long userId, Integer max)Gets all the histories related to a given user ordered by date descPasswordHistoryHibernatePasswordHistoryDAO. findByUserIdAndPassword(long userId, String password, int max)PasswordHistoryPasswordHistoryDAO. findByUserIdAndPassword(long userId, String password, int max)Gets the password used by the user in last max timesvoidHibernateMenuDAO. restore(long menuId, boolean parents)voidMenuDAO. restore(long id, boolean parents)Restores a previously deleted menuvoidHibernateDeviceDAO. store(Device entity)voidHibernateGroupDAO. store(Group group)voidHibernateMenuDAO. store(Menu menu)voidHibernateUserDAO. store(User user)voidHibernateUserDAO. store(User user, UserHistory transaction)voidHibernateUserHistoryDAO. store(UserHistory history)voidUserDAO. store(User user, UserHistory transaction)This method persists the user object and insert a new user history entry.DeviceDeviceDAO. trustDevice(User user, Device device)Trusts a device for a userDeviceHibernateDeviceDAO. trustDevice(User user, Device requestDevice) -
Uses of PersistenceException in com.logicaldoc.core.sequence
Methods in com.logicaldoc.core.sequence that throw PersistenceException Modifier and Type Method Description voidHibernateSequenceDAO. delete(long id, int code)voidHibernateSequenceDAO. delete(String name, long objectId, long tenantId)voidSequenceDAO. delete(String name, long objectId, long tenantId)Deletes the sequence -
Uses of PersistenceException in com.logicaldoc.core.ticket
Methods in com.logicaldoc.core.ticket that throw PersistenceException Modifier and Type Method Description voidHibernateTicketDAO. store(Ticket entity)voidHibernateTicketDAO. store(Ticket entity, DocumentHistory transaction)voidTicketDAO. store(Ticket ticket, DocumentHistory transaction)This method persists the download ticket object and insert a new document history entry -
Uses of PersistenceException in com.logicaldoc.core.transfer
Methods in com.logicaldoc.core.transfer that throw PersistenceException Modifier and Type Method Description ByteArrayOutputStreamZipExport. process(FolderHistory transaction, boolean pdfConversion)Exports the specified folder contentByteArrayOutputStreamZipExport. process(Long[] docIds, boolean pdfConversion, DocumentHistory transaction)Exports a selection of documentsvoidZipExport. process(Long[] docIds, OutputStream out, boolean pdfConversion, DocumentHistory transaction)Exports a selection of documentsvoidZipImport. process(File zipsource, Folder parent, long userId, String sessionId)voidZipImport. process(String zipsource, Locale locale, Folder parent, long userId, Long templateId, String sessionId) -
Uses of PersistenceException in com.logicaldoc.web.service
Methods in com.logicaldoc.web.service that throw PersistenceException Modifier and Type Method Description static GUIDocumentDocumentServiceImpl. fromDocument(Document doc, GUIFolder folder, User sessionUser)GUIFolderFolderServiceImpl. fromFolder(Folder folder, boolean computePath)GUIDocumentDocumentServiceImpl. getDocument(Session session, long docId)static List<SearchOptions>SearchServiceImpl. getSearches(Session session)Load all the search options associated to all the searches saved for the current userstatic DocumentDocumentServiceImpl. toDocument(GUIDocument guiDocument)Produces a plain new Document from a GUIDocument -
Uses of PersistenceException in com.logicaldoc.web.util
Methods in com.logicaldoc.web.util that throw PersistenceException Modifier and Type Method Description static voidServletUtil. downloadDocument(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String sid, long docId, String fileVersion, String fileName, String suffix, User user)Sends the specified document to the response object; the client will receive it as a downloadstatic voidServletUtil. downloadDocument(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String sid, String docId, String fileVersion, String fileName, User user)Sends the specified document to the response object; the client will receive it as a downloadstatic voidServletUtil. downloadDocumentText(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, long docId, User user)Sends the specified document's indexed text to the response object; the client will receive it as a download -
Uses of PersistenceException in com.logicaldoc.webdav.resource.service
Methods in com.logicaldoc.webdav.resource.service that throw PersistenceException Modifier and Type Method Description booleanResourceServiceImpl. isCheckedOut(Resource resource) -
Uses of PersistenceException in com.logicaldoc.webservice.model
Methods in com.logicaldoc.webservice.model that throw PersistenceException Modifier and Type Method Description static DocumentWSUtil. toDocument(WSDocument wsDoc)voidWSFolder. updateAttributes(Folder folder) -
Uses of PersistenceException in com.logicaldoc.webservice.rest
Methods in com.logicaldoc.webservice.rest that throw PersistenceException Modifier and Type Method Description WSNoteDocumentService. addNote(long docId, String note)Adds a new note for the given documentvoidDocumentService. checkout(long docId)Executed the checkoutWSDocumentDocumentService. copy(long docId, long folderId)Copies a document into another foldervoidFolderService. copy(long folderId, long targetId, int foldersOnly, String securityOption)Copies an existing folder with the given identifier.WSFolderFolderService. create(WSFolder folder)WSDocumentDocumentService. createAlias(long docId, long folderId, String type)Creates a new document alias for the given document inside a specified folderWSFolderFolderService. createAlias(long parentId, long foldRef)Creates a new folder aliasStringDocumentService. createDownloadTicket(long docId, String suffix, Integer expireHours, String expireDate, Integer maxDownloads)Creates a new download ticketlongFolderService. createFolder(long parentId, String name)WSFolderFolderService. createPath(long parentId, String path)voidDocumentService. createPdf(long docId, String fileVersion)Creates the PDF conversion of the given document; if the PDF conversion was already created, nothing will happenWSFolderFolderService. createSimple(String folderPath)WSFolderFolderService. createSimpleForm(String folderPath)WSFolderFolderService. createSimpleJSON(String jsonstr)voidDocumentService. createThumbnail(long docId, String fileVersion, String type)Creates the thumbail of the given document; if the thumbnail was already created, nothing will happenvoidDocumentService. delete(long docId)Deletes a documentvoidFolderService. delete(long folderId)voidDocumentService. deleteLink(long id)Removes an existing linkvoidDocumentService. deleteNote(long noteId)Deletes a new note by note identifierStringDocumentService. deleteVersion(long docId, String version)Deletes a version by document identifier and version ID.WSFolderFolderService. findByPath(String path)Finds the folder at the specified pathWSDocument[]DocumentService. getAliases(long docId)Gets the aliases of the given documentjavax.activation.DataHandlerDocumentService. getContent(long docId)Retrieves the file content of a document.WSFolderFolderService. getDefaultWorkspace()Gets the Default workspaceWSDocumentDocumentService. getDocument(long docId)Retrieves a document from the databaseWSDocumentDocumentService. getDocumentByCustomId(String customId)Gets document metadata of an existing document with the given custom identifierWSDocument[]DocumentService. getDocuments(Long[] docIds)Gets document metadata of a collection of existing documents with the given identifiersStringDocumentService. getExtractedText(long docId)Gets the document's text stored in the full-text indexWSFolderFolderService. getFolder(long folderId)WSRight[]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)StringFolderService. getPathString(long folderId)WSRating[]DocumentService. getRatings(long docId)Gets all the ratings of the given documentWSDocument[]DocumentService. getRecentDocuments(Integer maxHits)Lists of last modified documents of the current sessionjavax.activation.DataHandlerDocumentService. getResource(long docId, String fileVersion, String suffix)Gets the content of a resource associated to the given document.WSFolderFolderService. getRootFolder()Gets the root folderjavax.activation.DataHandlerDocumentService. getThumbnail(String type, String docPath, List<javax.ws.rs.core.PathSegment> docPathList)Retrieves the thumbnail imagejavax.activation.DataHandlerDocumentService. getVersionContent(long docId, String version)Retrieves the file content of a version.WSDocument[]DocumentService. getVersions(long docId)Gets the version history of an existing document with the given identifiervoidFolderService. grantGroup(long folderId, long groupId, int permissions, boolean recursive)Grants group permission to the foldervoidFolderService. grantUser(long folderId, long userId, int permissions, boolean recursive)Grants user permission to the folder.booleanFolderService. isGranted(long folderId, int permission)Tests if the current user has a specific permission on a folderbooleanDocumentService. isReadable(long docId)Tests if a document is readablebooleanFolderService. isReadable(long folderId)Tests if a folder is readable.booleanFolderService. isWritable(long folderId)Tests if a folder is writableWSLinkDocumentService. link(long doc1, long doc2, String type)Creates a new link between two documents.WSDocument[]DocumentService. list(long folderId)Lists the documents in a folderWSFolder[]FolderService. listChildren(long folderId)WSDocument[]DocumentService. listDocuments(long folderId, String fileName)Lists the documents in a folderWSFolder[]FolderService. listWorkspaces()Retrieves the list of all workspaces.voidDocumentService. lock(long docId)Locks an existing document with the given identifier.voidDocumentService. move(long docId, long folderId)Moves an existing document with the given identifiervoidFolderService. move(long folderId, long parentId)Moves an existing folder with the given identifier.voidDocumentService. promoteVersion(long docId, String version)Promotes an old version to the current default one.WSRatingDocumentService. rateDocument(long docId, int vote)Puts a new rating on the given documentvoidDocumentService. reindex(long docId, String content)Re-indexes(or indexes from scratch) a documentvoidDocumentService. rename(long docId, String name)Renames the title of an existing document with the given identifier.voidFolderService. rename(long folderId, String name)Renames an existing folder.voidDocumentService. restore(long docId, long folderId)Restores a deleted documentWSNoteDocumentService. saveNote(long docId, WSNote note)Adds a new note for the given documentvoidDocumentService. sendEmail(Long[] docIds, String recipients, String subject, String message)Sends a set of documents as mail attachmentsvoidDocumentService. setPassword(long docId, String password)Puts a password protection to the documentvoidDocumentService. unlock(long docId)Unlocks an existing document with the given identifier.booleanDocumentService. unprotect(long docId, String password)Unprotects a document that is password protected.voidDocumentService. unsetPassword(long docId, String currentPassword)Removes the password protection from the documentvoidDocumentService. update(WSDocument document)Updates an existing document with the value object containing the document's metadata.voidFolderService. update(WSFolder folder)Updates an existing folder.voidDocumentService. uploadResource(Integer docId, String fileVersion, String suffix, org.apache.cxf.jaxrs.ext.multipart.Attachment contentDetail)Uploads a new resource of the document Uploads a new resource attached to the given document. -
Uses of PersistenceException in com.logicaldoc.webservice.rest.endpoint
Methods in com.logicaldoc.webservice.rest.endpoint that throw PersistenceException Modifier and Type Method Description WSNoteRestDocumentService. addNote(long docId, String note)voidRestDocumentService. checkout(long docId)WSDocumentRestDocumentService. copy(long docId, long folderId)voidRestFolderService. copy(long folderId, long targetId, int foldersOnly, String securityOption)WSFolderRestFolderService. create(WSFolder folder)WSDocumentRestDocumentService. createAlias(long docId, long folderId, String type)WSFolderRestFolderService. createAlias(long parentId, long foldRef)StringRestDocumentService. createDownloadTicket(long docId, String suffix, Integer expireHours, String expireDate, Integer maxDownloads)longRestFolderService. createFolder(long parentId, String name)WSFolderRestFolderService. createPath(long parentId, String path)voidRestDocumentService. createPdf(long docId, String fileVersion)WSFolderRestFolderService. createSimple(String folderPath)WSFolderRestFolderService. createSimpleForm(String folderPath)WSFolderRestFolderService. createSimpleJSON(String jsonstr)voidRestDocumentService. createThumbnail(long docId, String fileVersion, String type)voidRestDocumentService. delete(long docId)voidRestFolderService. delete(long folderId)voidRestDocumentService. deleteLink(long id)voidRestDocumentService. deleteNote(long noteId)StringRestDocumentService. deleteVersion(long docId, String version)WSFolderRestFolderService. findByPath(String path)WSDocument[]RestDocumentService. getAliases(long docId)javax.activation.DataHandlerRestDocumentService. getContent(long docId)WSFolderRestFolderService. getDefaultWorkspace()WSDocumentRestDocumentService. getDocument(long docId)WSDocumentRestDocumentService. getDocumentByCustomId(String customId)WSDocument[]RestDocumentService. getDocuments(Long[] docIds)StringRestDocumentService. getExtractedText(long docId)WSFolderRestFolderService. getFolder(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)StringRestFolderService. getPathString(long folderId)WSRating[]RestDocumentService. getRatings(long docId)WSDocument[]RestDocumentService. getRecentDocuments(Integer maxHits)javax.activation.DataHandlerRestDocumentService. getResource(long docId, String fileVersion, String suffix)WSFolderRestFolderService. getRootFolder()javax.activation.DataHandlerRestDocumentService. getThumbnail(String type, String docPath, List<javax.ws.rs.core.PathSegment> docPathList)javax.activation.DataHandlerRestDocumentService. getVersionContent(long docId, String version)WSDocument[]RestDocumentService. getVersions(long docId)voidRestFolderService. grantGroup(long folderId, long groupId, int permissions, boolean recursive)voidRestFolderService. grantUser(long folderId, long userId, int permissions, boolean recursive)booleanRestFolderService. isGranted(long folderId, int permission)booleanRestDocumentService. isReadable(long docId)booleanRestFolderService. isReadable(long folderId)booleanRestFolderService. isWritable(long folderId)WSLinkRestDocumentService. link(long doc1, long doc2, String type)WSDocument[]RestDocumentService. list(long folderId)WSFolder[]RestFolderService. listChildren(long folderId)WSDocument[]RestDocumentService. listDocuments(long folderId, String fileName)WSFolder[]RestFolderService. listWorkspaces()voidRestDocumentService. lock(long docId)voidRestDocumentService. move(long docId, long folderId)voidRestFolderService. move(long folderId, long parentId)voidRestDocumentService. promoteVersion(long docId, String version)WSRatingRestDocumentService. rateDocument(long docId, int vote)voidRestDocumentService. reindex(long docId, String content)voidRestDocumentService. rename(long docId, String name)voidRestFolderService. rename(long folderId, String name)voidRestDocumentService. restore(long docId, long folderId)WSNoteRestDocumentService. saveNote(long docId, WSNote note)voidRestDocumentService. sendEmail(Long[] docIds, String recipients, String subject, String message)voidRestDocumentService. setPassword(long docId, String password)voidRestDocumentService. unlock(long docId)booleanRestDocumentService. unprotect(long docId, String password)voidRestDocumentService. unsetPassword(long docId, String currentPassword)voidRestDocumentService. update(WSDocument document)voidRestFolderService. update(WSFolder folder)voidRestDocumentService. uploadResource(Integer docId, String fileVersion, String suffix, org.apache.cxf.jaxrs.ext.multipart.Attachment contentDetail) -
Uses of PersistenceException in com.logicaldoc.webservice.soap
Methods in com.logicaldoc.webservice.soap that throw PersistenceException Modifier and Type Method Description WSNoteDocumentService. addNote(String sid, long docId, String note)Adds a new note for the given documentWSBookmarkBookmarkService. bookmarkDocument(String sid, long docId)WSBookmarkBookmarkService. bookmarkFolder(String sid, long folderId)voidDocumentService. checkin(String sid, long docId, String comment, String filename, boolean release, javax.activation.DataHandler content)Checks in an existing document with the given identifier to create a new version.voidDocumentService. checkinDocument(String sid, long docId, String comment, String filename, boolean release, WSDocument docVO, javax.activation.DataHandler content)Checks in an existing document with the given identifier to create a new version.voidDocumentService. checkout(String sid, long docId)Checks out an existing document with the given identifier.WSDocumentDocumentService. copy(String sid, long docId, long folderId)Copies a document into another folder.voidFolderService. copy(String sid, long folderId, long targetId, int foldersOnly, String securityOption)Copies an existing folder with the given identifier.WSDocumentDocumentService. create(String sid, WSDocument document, javax.activation.DataHandler content)Create a new document.WSFolderFolderService. create(String sid, WSFolder folder)Creates a new folder.WSDocumentDocumentService. createAlias(String sid, long docId, long folderId, String type)Creates a new document alias for the given document inside a specified folderWSFolderFolderService. createAlias(String sid, long parentId, long foldRef)Creates a new folder aliasStringDocumentService. createDownloadTicket(String sid, long docId, String suffix, Integer expireHours, String expireDate, Integer maxDownloads)Creates a new download ticketlongFolderService. createFolder(String sid, long parentId, String name)Create a new folder.WSFolderFolderService. createPath(String sid, long parentId, String path)Creates the folder for the specified path.voidDocumentService. createPdf(String sid, long docId, String fileVersion)Creates the PDF conversion of the given document.voidDocumentService. createThumbnail(String sid, long docId, String fileVersion, String type)Creates the thumbnail of the given document.voidDocumentService. delete(String sid, long docId)Deletes an existing document with the given identifier.voidFolderService. delete(String sid, long folderId)Deletes an existing folder.voidDocumentMetadataService. deleteAttributeSet(String sid, long setId)Deletes an existing attribute set with the given identifier.voidBookmarkService. deleteBookmark(String sid, long bookmarkId)voidDocumentService. deleteLink(String sid, long id)Removes an existing linkvoidDocumentService. deleteNote(String sid, long noteId)Adds a new note for the given documentvoidDocumentMetadataService. deleteTemplate(String sid, long templateId)Deletes an existing template with the given identifierStringDocumentService. deleteVersion(String sid, long docId, String version)Deletes a version of a document with the given identifiers.WSFolderFolderService. findByPath(String sid, String path)Finds the folder at the specified pathWSDocument[]DocumentService. 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 attributeWSAttributeOption[]DocumentMetadataService. getAttributeOptionsByCategory(String sid, long setId, String attribute, String category)Retrieves the options for the given attribute inside a given categoryWSAttributeSetDocumentMetadataService. getAttributeSet(String sid, String name)Gets attribute set's metadataWSAttributeSetDocumentMetadataService. getAttributeSetById(String sid, long setId)Gets attribute set's metadataWSBookmark[]BookmarkService. getBookmarks(String sid)Retrieves all the bookmarks of the current userjavax.activation.DataHandlerDocumentService. getContent(String sid, long docId)Gets the content of an existing document with the given identifierWSFolderFolderService. getDefaultWorkspace(String sid)Gets the Default workspaceWSDocumentDocumentService. getDocument(String sid, long docId)Gets the metadata of an existing document with the given identifierWSDocumentDocumentService. getDocumentByCustomId(String sid, String customId)Gets document metadata of an existing document with the given custom identifierWSDocument[]DocumentService. getDocuments(String sid, Long[] docIds)Gets document metadata of a collection of existing documents with the given identifiersStringDocumentService. getExtractedText(String sid, long docId)Gets the document's text stored in the full-text indexWSFolderFolderService. getFolder(String sid, long folderId)Gets an existing 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.WSLink[]DocumentService. getLinks(String sid, long docId)Gets all the links of a specific documentWSNote[]DocumentService. getNotes(String sid, long docId)Gets the notes for the given documentWSFolder[]FolderService. getPath(String sid, long folderId)Computes the path from the root to the target folder.WSRating[]DocumentService. getRatings(String sid, long docId)Gets all the ratings of the given documentWSDocument[]DocumentService. getRecentDocuments(String sid, Integer maxHits)Lists of last modified documents of the current session.javax.activation.DataHandlerDocumentService. getResource(String sid, long docId, String fileVersion, String suffix)Gets the content of a resource associated to the given document.WSFolderFolderService. getRootFolder(String sid)Gets root metadataWSTemplateDocumentMetadataService. getTemplate(String sid, String name)Gets template's metadataWSTemplateDocumentMetadataService. getTemplateById(String sid, long templateId)Gets template's metadataWSDocumentDocumentService. getVersion(String sid, long docId, String version)Gets a specific versionjavax.activation.DataHandlerDocumentService. getVersionContent(String sid, long docId, String version)Gets the content of a specific version of a documentWSDocument[]DocumentService. getVersions(String sid, long docId)Gets the version history of an existing document with the given identifiervoidFolderService. grantGroup(String sid, long folderId, long groupId, int permissions, boolean recursive)Grants group permission to the foldervoidDocumentMetadataService. grantGroupToTemplate(String sid, long templateId, long groupId, int permissions)Grants group permission to the template.voidFolderService. grantUser(String sid, long folderId, long userId, int permissions, boolean recursive)Grants user permission to the folder.voidDocumentMetadataService. grantUserToTemplate(String sid, long templateId, long userId, int permissions)Grants user permission to the template.booleanFolderService. isGranted(String sid, long folderId, int permission)Tests if the current user has a specific permission on a folderbooleanDocumentService. isReadable(String sid, long docId)Tests if a document is readablebooleanFolderService. isReadable(String sid, long folderId)Tests if a folder is readable.booleanDocumentMetadataService. isTemplateReadable(String sid, long templateId)Tests if a template is readable.booleanDocumentMetadataService. isTemplateWritable(String sid, long templateId)Tests if a template is writablebooleanFolderService. isWritable(String sid, long folderId)Tests if a folder is writableWSLinkDocumentService. link(String sid, long doc1, long doc2, String type)Creates a new link between two documents.WSAttributeSet[]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.WSDocument[]DocumentService. listDocuments(String sid, long folderId, String fileName)Gets a document in a specific folderWSTemplate[]DocumentMetadataService. listTemplates(String sid)Gets metadata of all existing templates.WSFolder[]FolderService. listWorkspaces(String sid)Retrieves the list of all workspaces.voidDocumentService. lock(String sid, long docId)Locks an existing document with the given identifier.voidFolderService. merge(String sid, long sourceId, long targetId)Merges the contents of folder into a targetvoidDocumentService. move(String sid, long docId, long folderId)Moves an existing document with the given identifier.voidFolderService. move(String sid, long folderId, long parentId)Moves an existing folder with the given identifier.voidDocumentService. promoteVersion(String sid, long docId, String version)Promotes an old version to the current default one.WSRatingDocumentService. rateDocument(String sid, long docId, int vote)Puts a new rating on the given documentvoidDocumentService. reindex(String sid, long docId, String content)Re-indexes(or indexes from scratch) a documentvoidDocumentService. rename(String sid, long docId, String name)Renames the title of an existing document with the given identifier.voidFolderService. rename(String sid, long folderId, String name)Renames an existing folder.voidDocumentService. replaceFile(String sid, long docId, String fileVersion, String comment, javax.activation.DataHandler content)Replaces the file associated to a given version.voidDocumentService. restore(String sid, long docId, long folderId)Restores a deleted documentWSBookmarkBookmarkService. saveBookmark(String sid, WSBookmark bookmark)WSNoteDocumentService. saveNote(String sid, long docId, WSNote note)Adds a new note for the given documentvoidDocumentService. sendEmail(String sid, Long[] docIds, String recipients, String subject, String message)Sends a set of documents as mail attachmentsvoidDocumentMetadataService. setAttributeOptions(String sid, long setId, String attribute, WSAttributeOption[] options)Saves the options for the given attributevoidDocumentService. setPassword(String sid, long docId, String password)Puts a password protection to the documentlongDocumentMetadataService. storeAttributeSet(String sid, WSAttributeSet attributeSet)Create/Update an attribute set.longDocumentMetadataService. storeTemplate(String sid, WSTemplate template)Create/Update a template.voidBookmarkService. unbookmarkDocument(String sid, long docId)voidBookmarkService. unbookmarkFolder(String sid, long folderId)voidDocumentService. unlock(String sid, long docId)Unlocks an existing document with the given identifier.booleanDocumentService. unprotect(String sid, long docId, String password)Unprotects a document that is password protected.voidDocumentService. unsetPassword(String sid, long docId, String currentPassword)Removes the password protection from the documentvoidDocumentService. update(String sid, WSDocument document)Updates an existing document with the value object containing the document's metadatavoidFolderService. update(String sid, WSFolder folder)Updates an existing folder.longDocumentService. upload(String sid, Long docId, Long folderId, boolean release, String filename, String language, javax.activation.DataHandler content)Creates a new document or updates an existing one.voidDocumentService. uploadResource(String sid, long docId, String fileVersion, String suffix, javax.activation.DataHandler content)Uploads a new resource attached to the given document. -
Uses of PersistenceException in com.logicaldoc.webservice.soap.client
Methods in com.logicaldoc.webservice.soap.client that throw PersistenceException Modifier and Type Method Description WSNoteSoapDocumentClient. addNote(String sid, long docId, String note)WSBookmarkSoapBookmarkClient. bookmarkDocument(String sid, long docId)WSBookmarkSoapBookmarkClient. bookmarkFolder(String sid, long folderId)voidSoapDocumentClient. checkin(String sid, long docId, String comment, String filename, boolean release, File content)voidSoapDocumentClient. checkin(String sid, long docId, String comment, String filename, boolean release, javax.activation.DataHandler content)voidSoapDocumentClient. checkinDocument(String sid, long docId, String comment, String filename, boolean release, WSDocument docVO, File content)voidSoapDocumentClient. checkinDocument(String sid, long docId, String comment, String filename, boolean release, WSDocument docVO, javax.activation.DataHandler content)voidSoapDocumentClient. checkout(String sid, long docId)WSDocumentSoapDocumentClient. copy(String sid, long docId, long folderId)voidSoapFolderClient. copy(String sid, long folderId, long parentId, int foldersOnly, String securityOption)WSDocumentSoapDocumentClient. create(String sid, WSDocument document, File content)WSDocumentSoapDocumentClient. create(String sid, WSDocument document, javax.activation.DataHandler content)WSFolderSoapFolderClient. create(String sid, WSFolder folder)WSDocumentSoapDocumentClient. createAlias(String sid, long docId, long folderId, String type)WSFolderSoapFolderClient. createAlias(String sid, long parentId, long foldRef)StringSoapDocumentClient. createDownloadTicket(String sid, long docId, String suffix, Integer expireHours, String expireDate, Integer maxDownloads)longSoapFolderClient. createFolder(String sid, long parentId, String name)WSFolderSoapFolderClient. createPath(String sid, long parentId, String path)voidSoapDocumentClient. createPdf(String sid, long docId, String fileVersion)voidSoapDocumentClient. createThumbnail(String sid, long docId, String fileVersion, String type)voidSoapDocumentClient. delete(String sid, long docId)voidSoapFolderClient. delete(String sid, long folderId)voidSoapDocumentMetadataClient. deleteAttributeSet(String sid, long setId)voidSoapBookmarkClient. deleteBookmark(String sid, long bookmarkId)voidSoapDocumentClient. deleteLink(String sid, long id)voidSoapDocumentClient. deleteNote(String sid, long noteId)voidSoapDocumentMetadataClient. deleteTemplate(String sid, long templateId)StringSoapDocumentClient. deleteVersion(String sid, long docId, String version)voidSoapDocumentClient. downloadContent(String sid, long docId, File out)voidSoapDocumentClient. downloadResourceContent(String sid, long docId, String fileVersion, String suffix, File out)voidSoapDocumentClient. downloadVersionContent(String sid, long docId, String version, File out)WSFolderSoapFolderClient. findByPath(String sid, String path)WSDocument[]SoapDocumentClient. getAliases(String sid, long docId)String[]SoapDocumentMetadataClient. getAttributeOptions(String sid, long setId, String attribute)WSAttributeOption[]SoapDocumentMetadataClient. getAttributeOptionsByCategory(String sid, long setId, String attribute, String category)WSAttributeSetSoapDocumentMetadataClient. getAttributeSet(String sid, String name)WSAttributeSetSoapDocumentMetadataClient. getAttributeSetById(String sid, long setId)WSBookmark[]SoapBookmarkClient. getBookmarks(String sid)javax.activation.DataHandlerSoapDocumentClient. getContent(String sid, long docId)WSFolderSoapFolderClient. getDefaultWorkspace(String sid)WSDocumentSoapDocumentClient. getDocument(String sid, long docId)WSDocumentSoapDocumentClient. getDocumentByCustomId(String sid, String customId)WSDocument[]SoapDocumentClient. getDocuments(String sid, Long[] docIds)StringSoapDocumentClient. getExtractedText(String sid, long docId)WSFolderSoapFolderClient. getFolder(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[]SoapDocumentClient. getLinks(String sid, long docId)WSNote[]SoapDocumentClient. getNotes(String sid, long docId)WSFolder[]SoapFolderClient. getPath(String sid, long folderId)WSRating[]SoapDocumentClient. getRatings(String sid, long docId)WSDocument[]SoapDocumentClient. getRecentDocuments(String sid, Integer max)javax.activation.DataHandlerSoapDocumentClient. getResource(String sid, long docId, String fileVersion, String suffix)WSFolderSoapFolderClient. getRootFolder(String sid)WSTemplateSoapDocumentMetadataClient. getTemplate(String sid, String name)WSTemplateSoapDocumentMetadataClient. getTemplateById(String sid, long templateId)WSDocumentSoapDocumentClient. getVersion(String sid, long docId, String version)javax.activation.DataHandlerSoapDocumentClient. getVersionContent(String sid, long docId, String version)WSDocument[]SoapDocumentClient. getVersions(String sid, long docId)voidSoapFolderClient. grantGroup(String sid, long folderId, long groupId, int permissions, boolean recursive)voidSoapDocumentMetadataClient. grantGroupToTemplate(String sid, long templateId, long groupId, int permissions)voidSoapFolderClient. grantUser(String sid, long folderId, long userId, int permissions, boolean recursive)voidSoapDocumentMetadataClient. grantUserToTemplate(String sid, long templateId, long userId, int permissions)booleanSoapFolderClient. isGranted(String sid, long folderId, int permission)booleanSoapDocumentClient. isReadable(String sid, long docId)booleanSoapFolderClient. isReadable(String sid, long folderId)booleanSoapDocumentMetadataClient. isTemplateReadable(String sid, long templateId)booleanSoapDocumentMetadataClient. isTemplateWritable(String sid, long templateId)booleanSoapFolderClient. isWritable(String sid, long folderId)WSLinkSoapDocumentClient. link(String sid, long doc1, long doc2, String type)WSAttributeSet[]SoapDocumentMetadataClient. listAttributeSets(String sid)WSFolder[]SoapFolderClient. listChildren(String sid, long folderId)WSDocument[]SoapDocumentClient. listDocuments(String sid, long folderId, String fileName)WSTemplate[]SoapDocumentMetadataClient. listTemplates(String sid)WSFolder[]SoapFolderClient. listWorkspaces(String sid)voidSoapDocumentClient. lock(String sid, long docId)voidSoapFolderClient. merge(String sid, long sourceId, long targetId)voidSoapDocumentClient. move(String sid, long docId, long folderId)voidSoapFolderClient. move(String sid, long folderId, long parentId)voidSoapDocumentClient. promoteVersion(String sid, long docId, String version)WSRatingSoapDocumentClient. rateDocument(String sid, long docId, int vote)voidSoapDocumentClient. reindex(String sid, long docId, String content)voidSoapDocumentClient. rename(String sid, long docId, String name)voidSoapFolderClient. rename(String sid, long folderId, String name)voidSoapDocumentClient. replaceFile(String sid, long docId, String fileVersion, String comment, javax.activation.DataHandler content)voidSoapDocumentClient. restore(String sid, long docId, long folderId)WSBookmarkSoapBookmarkClient. saveBookmark(String sid, WSBookmark bookmark)WSNoteSoapDocumentClient. saveNote(String sid, long docId, WSNote note)voidSoapDocumentClient. sendEmail(String sid, Long[] docIds, String recipients, String subject, String message)voidSoapDocumentMetadataClient. setAttributeOptions(String sid, long setId, String attribute, WSAttributeOption[] options)voidSoapDocumentClient. setPassword(String sid, long docId, String password)longSoapDocumentMetadataClient. storeAttributeSet(String sid, WSAttributeSet attributeSet)longSoapDocumentMetadataClient. storeTemplate(String sid, WSTemplate template)voidSoapBookmarkClient. unbookmarkDocument(String sid, long docId)voidSoapBookmarkClient. unbookmarkFolder(String sid, long folderId)voidSoapDocumentClient. unlock(String sid, long docId)booleanSoapDocumentClient. unprotect(String sid, long docId, String password)voidSoapDocumentClient. unsetPassword(String sid, long docId, String currentPassword)voidSoapDocumentClient. update(String sid, WSDocument document)voidSoapFolderClient. update(String sid, WSFolder folder)longSoapDocumentClient. upload(String sid, Long docId, Long folderId, boolean release, String filename, String language, javax.activation.DataHandler content)voidSoapDocumentClient. uploadResource(String sid, long docId, String fileVersion, String suffix, File content)voidSoapDocumentClient. uploadResource(String sid, long docId, String fileVersion, String suffix, javax.activation.DataHandler content) -
Uses of PersistenceException in com.logicaldoc.webservice.soap.endpoint
Methods in com.logicaldoc.webservice.soap.endpoint that throw PersistenceException Modifier and Type Method Description WSNoteSoapDocumentService. addNote(String sid, long docId, String note)WSBookmarkSoapBookmarkService. bookmarkDocument(String sid, long docId)WSBookmarkSoapBookmarkService. bookmarkFolder(String sid, long folderId)voidSoapDocumentService. checkin(String sid, long docId, String comment, String filename, boolean release, WSDocument docVO, InputStream content)voidSoapDocumentService. checkin(String sid, long docId, String comment, String filename, boolean release, javax.activation.DataHandler content)voidSoapDocumentService. checkinDocument(String sid, long docId, String comment, String filename, boolean release, WSDocument docVO, InputStream content)voidSoapDocumentService. checkinDocument(String sid, long docId, String comment, String filename, boolean release, WSDocument docVO, javax.activation.DataHandler content)voidSoapDocumentService. checkout(String sid, long docId)WSDocumentSoapDocumentService. copy(String sid, long docId, long folderId)voidSoapFolderService. copy(String sid, long folderId, long targetId, int foldersOnly, String securityOption)WSDocumentSoapDocumentService. create(String sid, WSDocument document, InputStream content)WSDocumentSoapDocumentService. create(String sid, WSDocument document, javax.activation.DataHandler content)WSFolderSoapFolderService. create(String sid, WSFolder folder)WSDocumentSoapDocumentService. createAlias(String sid, long docId, long folderId, String type)WSFolderSoapFolderService. createAlias(String sid, long parentId, long foldRef)StringSoapDocumentService. createDownloadTicket(String sid, long docId, String suffix, Integer expireHours, String expireDate, Integer maxDownloads)longSoapFolderService. createFolder(String sid, long parentId, String name)WSFolderSoapFolderService. createPath(String sid, long parentId, String path)voidSoapDocumentService. createPdf(String sid, long docId, String fileVersion)voidSoapDocumentService. createThumbnail(String sid, long docId, String fileVersion, String type)voidSoapDocumentService. delete(String sid, long docId)voidSoapFolderService. delete(String sid, long folderId)voidSoapDocumentMetadataService. deleteAttributeSet(String sid, long setId)voidSoapBookmarkService. deleteBookmark(String sid, long bookmarkId)voidSoapDocumentService. deleteLink(String sid, long id)voidSoapDocumentService. deleteNote(String sid, long noteId)voidSoapDocumentMetadataService. deleteTemplate(String sid, long templateId)StringSoapDocumentService. deleteVersion(String sid, long docId, String version)WSFolderSoapFolderService. findByPath(String sid, String path)WSDocument[]SoapDocumentService. getAliases(String sid, long docId)String[]SoapDocumentMetadataService. getAttributeOptions(String sid, long setId, String attribute)WSAttributeOption[]SoapDocumentMetadataService. getAttributeOptionsByCategory(String sid, long setId, String attribute, String category)WSAttributeSetSoapDocumentMetadataService. getAttributeSet(String sid, String name)WSAttributeSetSoapDocumentMetadataService. getAttributeSetById(String sid, long setId)WSBookmark[]SoapBookmarkService. getBookmarks(String sid)javax.activation.DataHandlerSoapDocumentService. getContent(String sid, long docId)WSFolderSoapFolderService. getDefaultWorkspace(String sid)WSDocumentSoapDocumentService. getDocument(String sid, long docId)WSDocumentSoapDocumentService. getDocumentByCustomId(String sid, String customId)WSDocument[]SoapDocumentService. getDocuments(String sid, Long[] docIds)StringSoapDocumentService. getExtractedText(String sid, long docId)WSFolderSoapFolderService. getFolder(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[]SoapDocumentService. getLinks(String sid, long docId)WSNote[]SoapDocumentService. getNotes(String sid, long docId)WSFolder[]SoapFolderService. getPath(String sid, long folderId)WSRating[]SoapDocumentService. getRatings(String sid, long docId)WSDocument[]SoapDocumentService. getRecentDocuments(String sid, Integer max)javax.activation.DataHandlerSoapDocumentService. getResource(String sid, long docId, String fileVersion, String suffix)WSFolderSoapFolderService. getRootFolder(String sid)WSTemplateSoapDocumentMetadataService. getTemplate(String sid, String name)WSTemplateSoapDocumentMetadataService. getTemplateById(String sid, long templateId)WSDocumentSoapDocumentService. getVersion(String sid, long docId, String version)javax.activation.DataHandlerSoapDocumentService. getVersionContent(String sid, long docId, String version)WSDocument[]SoapDocumentService. getVersions(String sid, long docId)voidSoapFolderService. grantGroup(String sid, long folderId, long groupId, int permissions, boolean recursive)voidSoapDocumentMetadataService. grantGroupToTemplate(String sid, long templateId, long groupId, int permissions)voidSoapFolderService. grantUser(String sid, long folderId, long userId, int permissions, boolean recursive)voidSoapDocumentMetadataService. grantUserToTemplate(String sid, long templateId, long userId, int permissions)booleanSoapFolderService. isGranted(String sid, long folderId, int permission)booleanSoapDocumentService. isReadable(String sid, long docId)booleanSoapFolderService. isReadable(String sid, long folderId)booleanSoapDocumentMetadataService. isTemplateReadable(String sid, long templateId)booleanSoapDocumentMetadataService. isTemplateWritable(String sid, long templateId)booleanSoapFolderService. isWritable(String sid, long folderId)WSLinkSoapDocumentService. link(String sid, long doc1, long doc2, String type)WSAttributeSet[]SoapDocumentMetadataService. listAttributeSets(String sid)WSFolder[]SoapFolderService. listChildren(String sid, long folderId)WSDocument[]SoapDocumentService. listDocuments(String sid, long folderId, String fileName)WSTemplate[]SoapDocumentMetadataService. listTemplates(String sid)WSFolder[]SoapFolderService. listWorkspaces(String sid)voidSoapDocumentService. lock(String sid, long docId)voidSoapFolderService. merge(String sid, long sourceId, long targetId)voidSoapDocumentService. move(String sid, long docId, long folderId)voidSoapFolderService. move(String sid, long folderId, long parentId)voidSoapDocumentService. promoteVersion(String sid, long docId, String version)WSRatingSoapDocumentService. rateDocument(String sid, long docId, int vote)voidSoapDocumentService. reindex(String sid, long docId, String content)voidSoapDocumentService. rename(String sid, long docId, String name)voidSoapFolderService. rename(String sid, long folderId, String name)voidSoapDocumentService. replaceFile(String sid, long docId, String fileVersion, String comment, javax.activation.DataHandler content)voidSoapDocumentService. restore(String sid, long docId, long folderId)WSBookmarkSoapBookmarkService. saveBookmark(String sid, WSBookmark bookmark)WSNoteSoapDocumentService. saveNote(String sid, long docId, WSNote wsNote)voidSoapDocumentService. sendEmail(String sid, Long[] docIds, String recipients, String subject, String message)voidSoapDocumentMetadataService. setAttributeOptions(String sid, long setId, String attribute, WSAttributeOption[] wsOptions)voidSoapDocumentService. setPassword(String sid, long docId, String password)longSoapDocumentMetadataService. storeAttributeSet(String sid, WSAttributeSet attributeSet)longSoapDocumentMetadataService. storeTemplate(String sid, WSTemplate template)voidSoapBookmarkService. unbookmarkDocument(String sid, long docId)voidSoapBookmarkService. unbookmarkFolder(String sid, long folderId)voidSoapDocumentService. unlock(String sid, long docId)booleanSoapDocumentService. unprotect(String sid, long docId, String password)voidSoapDocumentService. unsetPassword(String sid, long docId, String currentPassword)voidSoapDocumentService. update(String sid, WSDocument document)voidSoapFolderService. update(String sid, WSFolder folder)longSoapDocumentService. upload(String sid, Long docId, Long folderId, boolean release, String filename, String language, javax.activation.DataHandler content)voidSoapDocumentService. uploadResource(String sid, long docId, String fileVersion, String suffix, javax.activation.DataHandler content)
-