Uses of Class
com.logicaldoc.core.PersistenceException
-
Packages that use PersistenceException Package Description 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.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.searchengine.saved Classes related to saved searchescom.logicaldoc.core.security.dao com.logicaldoc.core.sequence com.logicaldoc.core.transfer com.logicaldoc.web.service GWT services implementations.com.logicaldoc.web.util com.logicaldoc.webdav.resource.service com.logicaldoc.webservice.model -
-
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)intPersistentObjectDAO. bulkUpdate(String expression, Object[] values)Executes a bulk update as specified by the given expressionbooleanHibernatePersistentObjectDAO. delete(long id)booleanHibernatePersistentObjectDAO. delete(long id, int code)booleanPersistentObjectDAO. delete(long id)This method deletes an entity.booleanPersistentObjectDAO. 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>PersistentObjectDAO. findByObjectQuery(String query, Object[] values, Integer max)Finds all entities by the given object query.ListHibernatePersistentObjectDAO. findByQuery(String query, Object[] values, Integer max)List<Object>PersistentObjectDAO. findByQuery(String query, Object[] values, 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>PersistentObjectDAO. findByWhere(String where, Object[] values, String order, Integer max)Finds all entities by the given expression.List<T>PersistentObjectDAO. findByWhere(String where, 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)longPersistentObjectDAO. queryForLong(String sql)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.booleanHibernatePersistentObjectDAO. store(T entity)booleanPersistentObjectDAO. 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 StringFolderTool. 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 booleanHibernateSystemMessageDAO. store(SystemMessage message) -
Uses of PersistenceException in com.logicaldoc.core.document
Methods in com.logicaldoc.core.document that throw PersistenceException Modifier and Type Method Description 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)voidDocumentManagerImpl. checkout(long docId, DocumentHistory transaction)DocumentDocumentManager. create(File file, Document docVO, DocumentHistory transaction)Creates a new Document.DocumentDocumentManagerImpl. create(File file, Document docVO, DocumentHistory transaction)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)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)voidDocumentManager. moveToFolder(Document doc, Folder folder, DocumentHistory transaction)Moves a document to the specified folder.voidDocumentManagerImpl. moveToFolder(Document doc, Folder folder, 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. 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 doc, 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 booleanDocumentDAO. archive(long docId, DocumentHistory transaction)Archives a documentvoidDocumentDAO. cleanExpiredTransactions()Cleans all references to expired transactions.voidHibernateDocumentDAO. cleanExpiredTransactions()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)booleanDocumentDAO. delete(long docId, int delCode, DocumentHistory transaction)This method deletes the document object and insert a new document history entry.booleanDocumentDAO. delete(long docId, DocumentHistory transaction)Shortcut for delete(docId, 1, transaction)booleanHibernateDocumentNoteDAO. delete(long id, int code)booleanHibernateRatingDAO. delete(long id, int code)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)booleanDocumentDAO. deleteOrphaned(long deleteUserId)This method deletes the documents into deleted folders.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<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)FolderDocumentDAO. getWorkspace(long docId)Retrieves, the workspace where the document(or alias) is storedFolderHibernateDocumentDAO. getWorkspace(long docId)voidDocumentDAO. makeImmutable(long docId, DocumentHistory transaction)Marks the document, with the given docId, as immutable.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)booleanDocumentDAO. store(Document doc, DocumentHistory transaction)This method persists the document object and insert a new document history entrybooleanDocumentNoteDAO. store(DocumentNote note, DocumentHistory transaction)booleanHibernateDocumentDAO. store(Document doc)booleanHibernateDocumentDAO. store(Document doc, DocumentHistory transaction)booleanHibernateDocumentHistoryDAO. store(DocumentHistory history)booleanHibernateDocumentLinkDAO. store(DocumentLink entity)booleanHibernateDocumentNoteDAO. store(DocumentNote note, DocumentHistory transaction)booleanHibernateRatingDAO. store(Rating rating, DocumentHistory transaction)booleanRatingDAO. store(Rating rating, DocumentHistory transaction)Stores a rating and saves the document's historyvoidDocumentDAO. unarchive(long docId, DocumentHistory transaction)Restores a previously archived documentvoidDocumentDAO. unsetPassword(long docId, DocumentHistory transaction)Removes the password protection from the document.voidHibernateDocumentDAO. unsetPassword(long docId, DocumentHistory transaction)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 booleanFolderDAO. applyMetadataToTree(long id, FolderHistory transaction)Propagates the template metadata to the whole subreebooleanFolderDAO. applyOCRToTree(long id, FolderHistory transaction)Propagates the OCR settings to the whole subreebooleanHibernateFolderDAO. applyOCRToTree(long id, FolderHistory transaction)booleanFolderDAO. applyStorageToTree(long id, FolderHistory transaction)Propagates the storage setting to the whole subreebooleanHibernateFolderDAO. applyStorageToTree(long id, FolderHistory transaction)booleanFolderDAO. applyTagsToTree(long id, FolderHistory transaction)Propagates the tags to the whole subreeStringFolderDAO. 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)booleanFolderDAO. delete(long id, int delCode, FolderHistory transaction)This method deletes the folder object and insert a new folder history entrybooleanFolderDAO. delete(long id, FolderHistory transaction)Shortcut for delete(id, 1, transaction)booleanHibernateFolderDAO. delete(long folderId, int code)booleanHibernateFolderDAO. delete(long folderId, int delCode, FolderHistory transaction)booleanHibernateFolderDAO. 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(Folder folder, int delCode, FolderHistory transaction)Deletes a folder and all its sub-folders that a user can delete.List<Folder>HibernateFolderDAO. deleteTree(Folder folder, int delCode, FolderHistory transaction)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)FolderFolderDAO. findWorkspace(long folderId)Returns the workspace that contains the given folderFolderHibernateFolderDAO. findWorkspace(long folderId)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.booleanFolderDAO. store(Folder folder, FolderHistory transaction)Same as store(Folder, boolean, FolderHistory)booleanHibernateFolderDAO. store(Folder folder)booleanHibernateFolderDAO. store(Folder folder, FolderHistory transaction)booleanHibernateFolderHistoryDAO. store(FolderHistory history) -
Uses of PersistenceException in com.logicaldoc.core.generic
Methods in com.logicaldoc.core.generic that throw PersistenceException Modifier and Type Method Description booleanHibernateGenericDAO. delete(long genericId, int code)booleanHibernateGenericDAO. 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 booleanHibernateTemplateDAO. delete(long id, int code)booleanHibernateAttributeSetDAO. store(AttributeSet set) -
Uses of PersistenceException in com.logicaldoc.core.searchengine.saved
Methods in com.logicaldoc.core.searchengine.saved that throw PersistenceException Modifier and Type Method Description booleanHibernateSearchDAO. 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 keybooleanHibernateSearchDAO. store(SavedSearch search) -
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.booleanHibernateMenuDAO. delete(long menuId, int code)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 menubooleanHibernateDeviceDAO. store(Device entity)booleanHibernateGroupDAO. store(Group group)booleanHibernateMenuDAO. store(Menu menu)booleanHibernateUserHistoryDAO. store(UserHistory history)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 booleanHibernateSequenceDAO. 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.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)static GUIFolderFolderServiceImpl. fromFolder(Folder folder, boolean computePath)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 voidWSFolder. updateAttributes(Folder folder)
-