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 com.logicaldoc.core.document.dao com.logicaldoc.core.folder Contains the definitions ofFolder
as well as other related objectscom.logicaldoc.core.generic Contains the definitions ofGeneric
that 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.web.service GWT services implementations. -
-
Uses of PersistenceException in com.logicaldoc.core
Methods in com.logicaldoc.core that throw PersistenceException Modifier and Type Method Description int
HibernatePersistentObjectDAO. bulkUpdate(String expression, Object[] values)
int
PersistentObjectDAO. bulkUpdate(String expression, Object[] values)
Executes a bulk update as specified by the given expressionboolean
HibernatePersistentObjectDAO. delete(long id)
boolean
HibernatePersistentObjectDAO. delete(long id, int code)
boolean
PersistentObjectDAO. delete(long id)
This method deletes an entity.boolean
PersistentObjectDAO. delete(long id, int code)
This method deletes an entity and you can give a deletion codevoid
HibernatePersistentObjectDAO. deleteAll(Collection<T> entities)
void
HibernatePersistentObjectDAO. deleteAll(Collection<T> entities, int code)
void
PersistentObjectDAO. deleteAll(Collection<T> entities)
Deletes all entries form the databasevoid
PersistentObjectDAO. deleteAll(Collection<T> entities, int code)
Deletes all entries form the database giving a specific deletion 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.List
HibernatePersistentObjectDAO. 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.int
HibernatePersistentObjectDAO. jdbcUpdate(String statement)
int
HibernatePersistentObjectDAO. jdbcUpdate(String statement, Object... args)
int
PersistentObjectDAO. jdbcUpdate(String statement)
Executes the given SQL update statementint
PersistentObjectDAO. 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 argumentsList
HibernatePersistentObjectDAO. query(String sql, Object[] args, org.springframework.jdbc.core.RowMapper rowMapper, Integer maxRows)
List
PersistentObjectDAO. 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.int
HibernatePersistentObjectDAO. queryForInt(String sql)
int
PersistentObjectDAO. queryForInt(String sql)
Execute a query that results in an int value, given static SQL.List
HibernatePersistentObjectDAO. queryForList(String sql, Class elementType)
List
HibernatePersistentObjectDAO. queryForList(String sql, Object[] args, Class elementType, Integer maxRows)
List
PersistentObjectDAO. queryForList(String sql, Class elementType)
Execute a query for a result list, given static SQL.List
PersistentObjectDAO. 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.long
HibernatePersistentObjectDAO. queryForLong(String sql)
long
PersistentObjectDAO. queryForLong(String sql)
Execute a query that results in an long value, given static SQL.Object
HibernatePersistentObjectDAO. queryForObject(String sql, Class type)
Object
PersistentObjectDAO. queryForObject(String sql, Class type)
Execute a query that results in a Object value, given static SQL.org.springframework.jdbc.support.rowset.SqlRowSet
HibernatePersistentObjectDAO. queryForRowSet(String sql, Object[] args, Integer maxRows)
org.springframework.jdbc.support.rowset.SqlRowSet
PersistentObjectDAO. 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 RowSetString
HibernatePersistentObjectDAO. queryForString(String sql)
String
PersistentObjectDAO. queryForString(String sql)
Execute a query that results in an string value, given static SQL.boolean
HibernatePersistentObjectDAO. store(T entity)
boolean
PersistentObjectDAO. 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 boolean
HibernateSystemMessageDAO. 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 void
DocumentManager. archiveDocuments(long[] docIds, DocumentHistory transaction)
Archives all the documents in a folder's treevoid
DocumentManagerImpl. archiveDocuments(long[] docIds, DocumentHistory transaction)
long
DocumentManager. archiveFolder(long folderId, DocumentHistory transaction)
Archives all the documents in a folder's treelong
DocumentManagerImpl. archiveFolder(long folderId, DocumentHistory transaction)
void
DocumentManagerImpl. checkout(long docId, DocumentHistory transaction)
Document
DocumentManager. create(File file, Document docVO, DocumentHistory transaction)
Creates a new Document.Document
DocumentManagerImpl. create(File file, Document docVO, DocumentHistory transaction)
Document
DocumentManagerImpl. createAlias(Document doc, Folder folder, String aliasType, DocumentHistory transaction)
Ticket
DocumentManager. createDownloadTicket(long docId, String suffix, Integer expireHours, Date expireDate, Integer maxDownloads, String urlPrefix, DocumentHistory transaction)
Creates a new download ticket.Ticket
DocumentManagerImpl. createDownloadTicket(long docId, String suffix, Integer expireHours, Date expireDate, Integer maxDownloads, String urlPrefix, DocumentHistory transaction)
Version
DocumentManager. deleteVersion(long versionId, DocumentHistory transaction)
Deletes a specific version.Version
DocumentManagerImpl. deleteVersion(long versionId, DocumentHistory transaction)
void
DocumentManager. lock(long docId, int status, DocumentHistory transaction)
Locks the given documentvoid
DocumentManagerImpl. lock(long docId, int status, DocumentHistory transaction)
void
DocumentManager. makeImmutable(long docId, DocumentHistory transaction)
Marks the document, with the given docId, as immutable and save the given document historyvoid
DocumentManagerImpl. makeImmutable(long docId, DocumentHistory transaction)
void
DocumentManager. moveToFolder(Document doc, Folder folder, DocumentHistory transaction)
Moves a document to the specified folder.void
DocumentManagerImpl. moveToFolder(Document doc, Folder folder, DocumentHistory transaction)
void
DocumentManager. rename(long docId, String newName, DocumentHistory transaction)
Rename an existing document filename.void
DocumentManagerImpl. rename(long docId, String newName, DocumentHistory transaction)
Document
DocumentManager. replaceAlias(long aliasId, DocumentHistory transaction)
Replaces an alias with a copy of the original fileDocument
DocumentManagerImpl. replaceAlias(long aliasId, DocumentHistory transaction)
void
DocumentManager. unlock(long docId, DocumentHistory transaction)
UNChecks out the given documentvoid
DocumentManagerImpl. unlock(long docId, DocumentHistory transaction)
void
DocumentManager. update(Document doc, Document docVO, DocumentHistory transaction)
Updates an existing document and marks it to be re-indexedvoid
DocumentManagerImpl. update(Document 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 boolean
DocumentDAO. archive(long docId, DocumentHistory transaction)
Archives a documentvoid
DocumentDAO. cleanExpiredTransactions()
Cleans all references to expired transactions.void
HibernateDocumentDAO. cleanExpiredTransactions()
int
DocumentNoteDAO. copyAnnotations(long docId, String oldFileVersion, String newFileVersion)
Copies all the notes not associated to a specific page from a given file version to anotherint
HibernateDocumentNoteDAO. copyAnnotations(long docId, String oldFileVersion, String newFileVersion)
boolean
DocumentDAO. delete(long docId, int delCode, DocumentHistory transaction)
This method deletes the document object and insert a new document history entry.boolean
DocumentDAO. delete(long docId, DocumentHistory transaction)
Shortcut for delete(docId, 1, transaction)boolean
HibernateDocumentNoteDAO. delete(long id, int code)
boolean
HibernateRatingDAO. delete(long id, int code)
void
DocumentDAO. deleteAll(Collection<Document> documents, int delCode, DocumentHistory transaction)
Deletes all documents form the database and modifies the custom ids of all documentsvoid
DocumentDAO. deleteAll(Collection<Document> documents, DocumentHistory transaction)
Shortcut for deleteAll(documents, 1, transaction)boolean
DocumentDAO. deleteOrphaned(long deleteUserId)
This method deletes the documents into deleted folders.void
DocumentDAO. makeImmutable(long docId, DocumentHistory transaction)
Marks the document, with the given docId, as immutable.void
DocumentDAO. restore(long docId, long folderId, DocumentHistory transaction)
Restores a previously deleted documentvoid
HibernateDocumentDAO. restore(long docId, long folderId, DocumentHistory transaction)
void
DocumentDAO. setPassword(long docId, String password, DocumentHistory transaction)
Protects the document with a password.void
HibernateDocumentDAO. setPassword(long docId, String password, DocumentHistory transaction)
boolean
DocumentDAO. store(Document doc, DocumentHistory transaction)
This method persists the document object and insert a new document history entryboolean
DocumentNoteDAO. store(DocumentNote note, DocumentHistory transaction)
boolean
HibernateDocumentDAO. store(Document doc)
boolean
HibernateDocumentDAO. store(Document doc, DocumentHistory transaction)
boolean
HibernateDocumentHistoryDAO. store(DocumentHistory history)
boolean
HibernateDocumentLinkDAO. store(DocumentLink entity)
boolean
HibernateDocumentNoteDAO. store(DocumentNote note, DocumentHistory transaction)
boolean
HibernateRatingDAO. store(Rating rating, DocumentHistory transaction)
boolean
RatingDAO. store(Rating rating, DocumentHistory transaction)
Stores a rating and saves the document's historyvoid
DocumentDAO. unarchive(long docId, DocumentHistory transaction)
Restores a previously archived documentvoid
DocumentDAO. unsetPassword(long docId, DocumentHistory transaction)
Removes the password protection from the document.void
HibernateDocumentDAO. unsetPassword(long docId, DocumentHistory transaction)
void
DocumentDAO. updateDigest(Document doc)
Updates the document's digest (SHA-1)void
HibernateDocumentDAO. updateDigest(Document doc)
int
HibernateRatingDAO. updateDocumentRating(long docId, DocumentHistory transaction)
int
RatingDAO. updateDocumentRating(long docId, DocumentHistory transaction)
Updates the document's rating with the votes average -
Uses of PersistenceException in com.logicaldoc.core.folder
Methods in com.logicaldoc.core.folder that throw PersistenceException Modifier and Type Method Description boolean
FolderDAO. applyMetadataToTree(long id, FolderHistory transaction)
Propagates the template metadata to the whole subreeboolean
FolderDAO. applyOCRToTree(long id, FolderHistory transaction)
Propagates the OCR settings to the whole subreeboolean
HibernateFolderDAO. applyOCRToTree(long id, FolderHistory transaction)
boolean
FolderDAO. applyStorageToTree(long id, FolderHistory transaction)
Propagates the storage setting to the whole subreeboolean
HibernateFolderDAO. applyStorageToTree(long id, FolderHistory transaction)
boolean
FolderDAO. applyTagsToTree(long id, FolderHistory transaction)
Propagates the tags to the whole subreeFolder
FolderDAO. copy(Folder source, Folder target, String newName, boolean foldersOnly, String securityOption, FolderHistory transaction)
Copies a folder into another folderFolder
HibernateFolderDAO. copy(Folder source, Folder target, String newName, boolean foldersOnly, String securityOption, FolderHistory transaction)
Folder
FolderDAO. create(Folder parent, Folder folderVO, boolean inheritSecurity, FolderHistory transaction)
Creates a new folder in the parent FolderFolder
HibernateFolderDAO. create(Folder parent, Folder folderVO, boolean inheritSecurity, FolderHistory transaction)
Folder
FolderDAO. createAlias(long parentId, long foldRef, FolderHistory transaction)
Creates a new folder folder aliasFolder
HibernateFolderDAO. createAlias(long parentId, long foldRef, FolderHistory transaction)
Folder
FolderDAO. createPath(Folder parent, String path, boolean inheritSecurity, FolderHistory transaction)
Creates the folder for the specified path.Folder
HibernateFolderDAO. createPath(Folder parent, String path, boolean inheritSecurity, FolderHistory transaction)
boolean
FolderDAO. delete(long id, int delCode, FolderHistory transaction)
This method deletes the folder object and insert a new folder history entryboolean
FolderDAO. delete(long id, FolderHistory transaction)
Shortcut for delete(id, 1, transaction)boolean
HibernateFolderDAO. delete(long folderId, int code)
boolean
HibernateFolderDAO. delete(long folderId, int delCode, FolderHistory transaction)
boolean
HibernateFolderDAO. delete(long folderId, FolderHistory transaction)
void
FolderDAO. deleteAll(Collection<Folder> folders, int delCode, FolderHistory transaction)
For each folder, save the folder delete history entry for each folder and delete the foldervoid
FolderDAO. deleteAll(Collection<Folder> folders, FolderHistory transaction)
Shortcut for deleteAll(folders, 1, transaction)void
HibernateFolderDAO. deleteAll(Collection<Folder> folders, int code, FolderHistory transaction)
void
HibernateFolderDAO. deleteAll(Collection<Folder> folders, FolderHistory transaction)
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)
void
FolderDAO. merge(Folder source, Folder target, FolderHistory transaction)
Merges the contents of two foldersvoid
HibernateFolderDAO. merge(Folder source, Folder target, FolderHistory transaction)
void
FolderDAO. move(Folder source, Folder target, FolderHistory transaction)
Moves a folder into another foldervoid
HibernateFolderDAO. move(Folder source, Folder target, FolderHistory transaction)
void
FolderDAO. restore(long folderId, long parentId, FolderHistory transaction)
Restores a previously deleted foldervoid
HibernateFolderDAO. restore(long folderId, long parentId, FolderHistory transaction)
boolean
FolderDAO. store(Folder folder, FolderHistory transaction)
Same as store(Folder, boolean, FolderHistory)boolean
HibernateFolderDAO. store(Folder folder)
boolean
HibernateFolderDAO. store(Folder folder, FolderHistory transaction)
boolean
HibernateFolderHistoryDAO. 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 boolean
HibernateGenericDAO. delete(long genericId, int code)
boolean
HibernateGenericDAO. 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 boolean
HibernateTemplateDAO. delete(long id, int code)
boolean
HibernateAttributeSetDAO. 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 boolean
HibernateSearchDAO. 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 ascSavedSearch
HibernateSearchDAO. findByUserIdAndName(long userId, String name)
SavedSearch
SearchDAO. findByUserIdAndName(long userId, String name)
Gets the search using the alternate keyboolean
HibernateSearchDAO. 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 Menu
HibernateMenuDAO. createPath(long parentId, long tenantId, int type, String path, boolean inheritSecurity)
Menu
MenuDAO. createPath(long parentId, long tenantId, int type, String path, boolean inheritSecurity)
Creates the menu for the specified path.boolean
HibernateMenuDAO. delete(long menuId, int code)
void
HibernateMenuDAO. deleteAll(Collection<Menu> menus)
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 descPasswordHistory
HibernatePasswordHistoryDAO. findByUserIdAndPassword(long userId, String password, int max)
PasswordHistory
PasswordHistoryDAO. findByUserIdAndPassword(long userId, String password, int max)
Gets the password used by the user in last max timesvoid
HibernateMenuDAO. restore(long menuId, boolean parents)
void
MenuDAO. restore(long id, boolean parents)
Restores a previously deleted menuboolean
HibernateDeviceDAO. store(Device entity)
boolean
HibernateGroupDAO. store(Group group)
boolean
HibernateMenuDAO. store(Menu menu)
boolean
HibernateUserHistoryDAO. store(UserHistory history)
Device
DeviceDAO. trustDevice(User user, Device device)
Trusts a device for a userDevice
HibernateDeviceDAO. 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 boolean
HibernateSequenceDAO. delete(long id, int code)
void
HibernateSequenceDAO. delete(String name, long objectId, long tenantId)
void
SequenceDAO. delete(String name, long objectId, long tenantId)
Deletes the sequence -
Uses of PersistenceException in com.logicaldoc.web.service
Methods in com.logicaldoc.web.service that throw PersistenceException Modifier and Type Method Description static List<SearchOptions>
SearchServiceImpl. getSearches(Session session)
Load all the search options associated to all the searches saved for the current user
-