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.communication 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.security.dao com.logicaldoc.core.sequence -
-
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 codeList<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.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.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.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. 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) -
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. applyTagsToTree(long id, FolderHistory transaction)Propagates the tags to the whole subreevoidFolderDAO. copy(Folder source, Folder target, boolean foldersOnly, boolean inheritSecurity, FolderHistory transaction)Folder a folder into another foldervoidHibernateFolderDAO. copy(Folder source, Folder target, boolean foldersOnly, boolean inheritSecurity, 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)Delete a folder and all its sub-folders that a user can delete.List<Folder>HibernateFolderDAO. deleteTree(Folder folder, int delCode, FolderHistory transaction)voidFolderDAO. move(Folder source, Folder target, FolderHistory transaction)Move 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)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 entity) -
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.security.dao
Methods in com.logicaldoc.core.security.dao that throw PersistenceException Modifier and Type Method Description booleanHibernateMenuDAO. delete(long menuId, int code)voidHibernateMenuDAO. deleteAll(Collection<Menu> menus)voidHibernateMenuDAO. restore(long menuId, boolean parents)voidMenuDAO. restore(long id, boolean parents)Restores a previously deleted menubooleanHibernateGroupDAO. store(Group group)booleanHibernateMenuDAO. store(Menu menu)booleanHibernateUserHistoryDAO. store(UserHistory history) -
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
-