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 annotationAutomationDictionary
that 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 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.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.ObjectInFolderList
LDRepository. getChildren(org.apache.chemistry.opencmis.commons.server.CallContext context, String folderId, String filter, boolean includeAllowableActions, boolean includePathSegment, int maxItems, int skipCount, org.apache.chemistry.opencmis.commons.server.ObjectInfoHandler objectInfos)
CMIS getChildren -
Uses of PersistenceException in com.logicaldoc.core
Methods in com.logicaldoc.core that throw PersistenceException Modifier and Type Method Description int
HibernatePersistentObjectDAO. bulkUpdate(String expression, Object[] values)
int
HibernatePersistentObjectDAO. bulkUpdate(String expression, Map<String,Object> parameters)
int
PersistentObjectDAO. bulkUpdate(String expression, Object[] values)
Deprecated.int
PersistentObjectDAO. bulkUpdate(String expression, Map<String,Object> parameters)
Executes a bulk update as specified by the given expressionvoid
HibernatePersistentObjectDAO. delete(long id)
void
HibernatePersistentObjectDAO. delete(long id, int code)
void
PersistentObjectDAO. delete(long id)
This method deletes an entity.void
PersistentObjectDAO. delete(long id, int code)
This method deletes an entity and you can give a deletion codevoid
HibernatePersistentObjectDAO. deleteAll(Collection<T> entities)
void
HibernatePersistentObjectDAO. deleteAll(Collection<T> entities, int code)
void
PersistentObjectDAO. deleteAll(Collection<T> entities)
Deletes all entries form the databasevoid
PersistentObjectDAO. deleteAll(Collection<T> entities, int code)
Deletes all entries form the database giving a specific deletion codeT
HibernatePersistentObjectDAO. findById(long id)
T
HibernatePersistentObjectDAO. findById(long id, boolean initialize)
T
PersistentObjectDAO. findById(long id)
This method finds an entity by IDT
PersistentObjectDAO. 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.List
HibernatePersistentObjectDAO. findByQuery(String query, Object[] values, Integer max)
List
HibernatePersistentObjectDAO. 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.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
HibernatePersistentObjectDAO. queryForLong(String sql, Object... args)
long
PersistentObjectDAO. queryForLong(String sql)
Execute a query that results in an long value, given static SQL.long
PersistentObjectDAO. queryForLong(String statement, Object... args)
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.void
HibernatePersistentObjectDAO. store(T entity)
void
PersistentObjectDAO. 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 Document
DocTool. createAlias(Document originalDoc, String targetPath, String type, String username)
Creates an alias to a documentString
FolderTool. 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 void
HibernateMessageTemplateDAO. delete(long id, int code)
void
HibernateSystemMessageDAO. 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 Document
FormatConverterManager. 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 void
HibernateDashletDAO. 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 void
DocumentInitializer. afterCheckin(Document document, DocumentHistory transaction, Map<String,Object> dictionary)
void
DocumentListener. afterCheckin(Document document, DocumentHistory transaction, Map<String,Object> dictionary)
Called after a document is checked invoid
DocumentValidator. afterCheckin(Document document, DocumentHistory transaction, Map<String,Object> dictionary)
void
DocumentInitializer. afterSaveHistory(Document document, DocumentHistory event, Map<String,Object> dictionary)
void
DocumentListener. afterSaveHistory(Document document, DocumentHistory event, Map<String,Object> dictionary)
Called after an event has been storedvoid
DocumentValidator. afterSaveHistory(Document document, DocumentHistory event, Map<String,Object> dictionary)
void
DocumentInitializer. afterStore(Document document, DocumentHistory transaction, Map<String,Object> dictionary)
void
DocumentListener. afterStore(Document document, DocumentHistory transaction, Map<String,Object> dictionary)
Called after a document is stored in the databasevoid
DocumentValidator. afterStore(Document document, DocumentHistory transaction, Map<String,Object> dictionary)
void
DocumentManager. archiveDocuments(long[] docIds, DocumentHistory transaction)
Archives all the documents in a folder's treevoid
DocumentManagerImpl. archiveDocuments(long[] docIds, DocumentHistory transaction)
long
DocumentManager. archiveFolder(long folderId, DocumentHistory transaction)
Archives all the documents in a folder's treelong
DocumentManagerImpl. archiveFolder(long folderId, DocumentHistory transaction)
void
DocumentInitializer. beforeCheckin(Document document, DocumentHistory transaction, Map<String,Object> dictionary)
void
DocumentListener. beforeCheckin(Document document, DocumentHistory transaction, Map<String,Object> dictionary)
Called before a document is checked invoid
DocumentValidator. beforeCheckin(Document document, DocumentHistory transaction, Map<String,Object> dictionary)
void
DocumentInitializer. beforeStore(Document document, DocumentHistory transaction, Map<String,Object> dictionary)
void
DocumentListener. beforeStore(Document document, DocumentHistory transaction, Map<String,Object> dictionary)
Called before a document is stored in the databasevoid
DocumentValidator. beforeStore(Document document, DocumentHistory transaction, Map<String,Object> dictionary)
void
DocumentManager. checkin(long docId, File file, String filename, boolean release, AbstractDocument docVO, DocumentHistory transaction)
Checks in the given documentvoid
DocumentManager. checkin(long docId, InputStream fileInputStream, String filename, boolean release, AbstractDocument docVO, DocumentHistory transaction)
Checks in the given documentvoid
DocumentManagerImpl. checkin(long docId, File file, String filename, boolean release, AbstractDocument docVO, DocumentHistory transaction)
void
DocumentManagerImpl. checkin(long docId, InputStream content, String filename, boolean release, AbstractDocument docVO, DocumentHistory transaction)
void
DocumentManager. checkout(long docId, DocumentHistory transaction)
Checks out the given documentvoid
DocumentManagerImpl. checkout(long docId, DocumentHistory transaction)
Document
DocumentManager. copyToFolder(Document doc, Folder folder, DocumentHistory transaction)
Copy a document to the specified folder.Document
DocumentManagerImpl. copyToFolder(Document doc, Folder folder, DocumentHistory transaction)
Document
DocumentManager. create(File file, Document docVO, DocumentHistory transaction)
Creates a new Document.Document
DocumentManager. create(InputStream content, Document docVO, DocumentHistory transaction)
Creates a new Document.Document
DocumentManagerImpl. create(File file, Document docVO, DocumentHistory transaction)
Document
DocumentManagerImpl. create(InputStream content, Document docVO, DocumentHistory transaction)
Document
DocumentManager. createAlias(Document doc, Folder folder, String type, DocumentHistory transaction)
Create an alias(shortcut) associated to the given doc to the specified folder.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)
int
DocumentManager. enforceFilesIntoFolderStorage(long rootFolderId, DocumentHistory transaction)
Moves all the files of the documents in the given tree from it's original location to the storage defined in the owning folderint
DocumentManagerImpl. enforceFilesIntoFolderStorage(long rootFolderId, DocumentHistory transaction)
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)
Document
DocumentManager. merge(Collection<Document> documents, long targetFolderId, String fileName, DocumentHistory transaction)
Merges a set of documents into a single PDF fileDocument
DocumentManagerImpl. merge(Collection<Document> documents, long targetFolderId, String fileName, DocumentHistory transaction)
void
DocumentManager. moveToFolder(Document doc, Folder folder, DocumentHistory transaction)
Moves a document to the specified folder.void
DocumentManagerImpl. moveToFolder(Document doc, Folder folder, DocumentHistory transaction)
void
DocumentManager. promoteVersion(long docId, String version, DocumentHistory transaction)
Promotes an old version to the current default one.void
DocumentManagerImpl. promoteVersion(long docId, String version, DocumentHistory transaction)
long
DocumentManager. reindex(long docId, String content, DocumentHistory transaction)
Re-indexes an existing document in the full-text index.long
DocumentManagerImpl. reindex(long docId, String content, 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. replaceFile(long docId, String fileVersion, File newFile, DocumentHistory transaction)
Replaces the file of a given versionvoid
DocumentManager. replaceFile(long docId, String fileVersion, InputStream newFile, DocumentHistory transaction)
Replaces the file of a given versionvoid
DocumentManagerImpl. replaceFile(long docId, String fileVersion, File newFile, DocumentHistory transaction)
void
DocumentManagerImpl. replaceFile(long docId, String fileVersion, InputStream content, DocumentHistory transaction)
void
DocumentManager. unlock(long docId, DocumentHistory transaction)
UNChecks out the given documentvoid
DocumentManagerImpl. unlock(long docId, DocumentHistory transaction)
void
DocumentManager. update(Document doc, Document docVO, DocumentHistory transaction)
Updates an existing document and marks it to be re-indexedvoid
DocumentManagerImpl. update(Document document, Document docVO, DocumentHistory transaction)
-
Uses of PersistenceException in com.logicaldoc.core.document.dao
Methods in com.logicaldoc.core.document.dao that throw PersistenceException Modifier and Type Method Description void
DocumentDAO. archive(long docId, DocumentHistory transaction)
Archives a documentvoid
HibernateDocumentDAO. archive(long docId, DocumentHistory transaction)
void
DocumentDAO. cleanExpiredTransactions()
Cleans all references to expired transactions.void
HibernateDocumentDAO. cleanExpiredTransactions()
void
DocumentDAO. cleanUnexistingUniqueTags()
Cleans the ld_uniquetag table removing no more used tags, this method is optimized and uses a couple of prepared statements, in case of error it switches toDocumentDAO.cleanUnexistingUniqueTagsOneByOne()
void
HibernateDocumentDAO. cleanUnexistingUniqueTags()
void
DocumentDAO. cleanUnexistingUniqueTagsOneByOne()
Cleans the ld_uniquetag table removing no more used tags programmatically one by one.void
HibernateDocumentDAO. cleanUnexistingUniqueTagsOneByOne()
long
DocumentDAO. computeTotalSize(Long tenantId, Long publisherId, boolean computeDeleted)
Obtains the total size of the repository, that is the sum of sizes of all documents and their versionslong
HibernateDocumentDAO. computeTotalSize(Long tenantId, Long userId, boolean computeDeleted)
int
DocumentNoteDAO. copyAnnotations(long docId, String oldFileVersion, String newFileVersion)
Copies all the notes not associated to a specific page from a given file version to anotherint
HibernateDocumentNoteDAO. copyAnnotations(long docId, String oldFileVersion, String newFileVersion)
long
DocumentDAO. count(Long tenantId, boolean computeDeleted, boolean computeArchived)
Counts the number of documentslong
HibernateDocumentDAO. count(Long tenantId, boolean computeDeleted, boolean computeArchived)
long
DocumentDAO. countByIndexed(int indexed)
Counts the number of documents in a given indexation status(@seeAbstractDocument.getIndexed()
long
HibernateDocumentDAO. countByIndexed(int indexed)
void
DocumentDAO. delete(long docId, int delCode, DocumentHistory transaction)
This method deletes the document object and insert a new document history entry.void
DocumentDAO. delete(long docId, DocumentHistory transaction)
Shortcut for delete(docId, 1, transaction)void
HibernateDocumentDAO. delete(long docId, int delCode, DocumentHistory transaction)
void
HibernateDocumentDAO. delete(long docId, DocumentHistory transaction)
void
HibernateDocumentLinkDAO. delete(long id, int code)
void
HibernateDocumentNoteDAO. delete(long id, int code)
void
HibernateRatingDAO. delete(long id, int code)
void
HibernateVersionDAO. delete(long versionId, int delCode)
void
DocumentDAO. deleteAll(Collection<Document> documents, int delCode, DocumentHistory transaction)
Deletes all documents form the database and modifies the custom ids of all documentsvoid
DocumentDAO. deleteAll(Collection<Document> documents, DocumentHistory transaction)
Shortcut for deleteAll(documents, 1, transaction)void
HibernateDocumentDAO. deleteAll(Collection<Document> documents, int delCode, DocumentHistory transaction)
void
HibernateDocumentDAO. deleteAll(Collection<Document> documents, DocumentHistory transaction)
void
DocumentDAO. deleteOrphaned(long deleteUserId)
This method deletes the documents into deleted folders.void
HibernateDocumentDAO. deleteOrphaned(long deleteUserId)
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)
Document
DocumentDAO. findByCustomId(String customId, long tenantId)
This method finds a document by the custom ID.Document
HibernateDocumentDAO. 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)
Document
DocumentDAO. findByPath(String path, long tenantId)
Finds a document by it's full pathDocument
HibernateDocumentDAO. 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)
Document
DocumentDAO. findDocument(long docId)
This method finds a document by the ID and if it is an alias the referenced document is returned instead.Document
HibernateDocumentDAO. 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)
Folder
DocumentDAO. getWorkspace(long docId)
Retrieves, the workspace where the document(or alias) is storedFolder
HibernateDocumentDAO. getWorkspace(long docId)
void
DocumentDAO. insertNewUniqueTags()
Puts into ld_uniquetag the new unique tagsvoid
HibernateDocumentDAO. insertNewUniqueTags()
void
DocumentDAO. makeImmutable(long docId, DocumentHistory transaction)
Marks the document, with the given docId, as immutable.void
HibernateDocumentDAO. makeImmutable(long docId, DocumentHistory transaction)
void
DocumentDAO. restore(long docId, long folderId, DocumentHistory transaction)
Restores a previously deleted documentvoid
HibernateDocumentDAO. restore(long docId, long folderId, DocumentHistory transaction)
void
DocumentDAO. saveDocumentHistory(Document doc, DocumentHistory transaction)
Saves a document's historyvoid
HibernateDocumentDAO. saveDocumentHistory(Document doc, DocumentHistory transaction)
void
DocumentDAO. setPassword(long docId, String password, DocumentHistory transaction)
Protects the document with a password.void
HibernateDocumentDAO. setPassword(long docId, String password, DocumentHistory transaction)
void
DocumentDAO. store(Document doc, DocumentHistory transaction)
This method persists the document object and insert a new document history entryvoid
DocumentNoteDAO. store(DocumentNote note, DocumentHistory transaction)
Stores a note and saves the document's historyvoid
HibernateDocumentDAO. store(Document doc)
void
HibernateDocumentDAO. store(Document doc, DocumentHistory transaction)
void
HibernateDocumentHistoryDAO. store(DocumentHistory history)
void
HibernateDocumentLinkDAO. store(DocumentLink entity)
void
HibernateDocumentNoteDAO. store(DocumentNote note, DocumentHistory transaction)
void
HibernateRatingDAO. store(Rating rating, DocumentHistory transaction)
void
HibernateVersionDAO. store(Version version)
This method persists the given version.void
RatingDAO. store(Rating rating, DocumentHistory transaction)
Stores a rating and saves the document's historyvoid
DocumentDAO. unarchive(long docId, DocumentHistory transaction)
Restores a previously archived documentvoid
HibernateDocumentDAO. unarchive(long docId, DocumentHistory transaction)
void
DocumentDAO. unsetPassword(long docId, DocumentHistory transaction)
Removes the password protection from the document.void
HibernateDocumentDAO. unsetPassword(long docId, DocumentHistory transaction)
void
DocumentDAO. updateCountUniqueTags()
Updates the count of the unique tagsvoid
HibernateDocumentDAO. updateCountUniqueTags()
void
DocumentDAO. updateDigest(Document doc)
Updates the document's digest (SHA-1)void
HibernateDocumentDAO. updateDigest(Document doc)
int
HibernateRatingDAO. updateDocumentRating(long docId, DocumentHistory transaction)
int
RatingDAO. updateDocumentRating(long docId, DocumentHistory transaction)
Updates the document's rating with the votes average -
Uses of PersistenceException in com.logicaldoc.core.folder
Methods in com.logicaldoc.core.folder that throw PersistenceException Modifier and Type Method Description void
FolderInitializer. afterStore(Folder document, FolderHistory transaction, Map<String,Object> dictionary)
void
FolderListener. afterStore(Folder folder, FolderHistory transaction, Map<String,Object> dictionary)
Called after a folder is stored in the databasevoid
FolderValidator. afterStore(Folder folder, FolderHistory transaction, Map<String,Object> dictionary)
void
FolderDAO. applyGridToTree(long rootId, FolderHistory transaction)
Propagates the grid layout of a node to the whole sub-treevoid
HibernateFolderDAO. applyGridToTree(long id, FolderHistory transaction)
void
FolderDAO. applyMetadataToTree(long id, FolderHistory transaction)
Propagates the template metadata to the whole subreevoid
HibernateFolderDAO. applyMetadataToTree(long id, FolderHistory transaction)
void
FolderDAO. applyOCRToTree(long id, FolderHistory transaction)
Propagates the OCR settings to the whole subreevoid
HibernateFolderDAO. applyOCRToTree(long id, FolderHistory transaction)
void
FolderDAO. applyRightToTree(long rootId, FolderHistory transaction)
Propagates the security policies of a node to the whole sub-treevoid
HibernateFolderDAO. applyRightToTree(long rootId, FolderHistory transaction)
void
FolderDAO. applyStorageToTree(long id, FolderHistory transaction)
Propagates the storage setting to the whole subreevoid
HibernateFolderDAO. applyStorageToTree(long id, FolderHistory transaction)
void
FolderDAO. applyTagsToTree(long id, FolderHistory transaction)
Propagates the tags to the whole subreevoid
HibernateFolderDAO. applyTagsToTree(long id, FolderHistory transaction)
void
FolderInitializer. beforeStore(Folder folder, FolderHistory transaction, Map<String,Object> dictionary)
void
FolderListener. beforeStore(Folder folder, FolderHistory transaction, Map<String,Object> dictionary)
Called before a folder is stored in the databasevoid
FolderValidator. beforeStore(Folder folder, FolderHistory transaction, Map<String,Object> dictionary)
String
FolderDAO. computePath(long folderId)
Dynamically computes the path for the specified folder.String
FolderDAO. computePath(Folder folder)
Dynamically computes the path for the specified folder.String
HibernateFolderDAO. computePath(long folderId)
String
HibernateFolderDAO. computePath(Folder folder)
String
FolderDAO. computePathExtended(long folderId)
Dynamically computes the path extended for the specified folder.String
FolderDAO. computePathExtended(Folder folder)
Dynamically computes the path extended for the specified folder.String
HibernateFolderDAO. computePathExtended(long folderId)
String
HibernateFolderDAO. computePathExtended(Folder folder)
Folder
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)
void
FolderDAO. delete(long id, int delCode, FolderHistory transaction)
This method deletes the folder object and insert a new folder history entryvoid
FolderDAO. delete(long id, FolderHistory transaction)
Shortcut for delete(id, 1, transaction)void
HibernateFolderDAO. delete(long folderId, int code)
void
HibernateFolderDAO. delete(long folderId, int delCode, FolderHistory transaction)
void
HibernateFolderDAO. delete(long folderId, FolderHistory transaction)
void
FolderDAO. deleteAll(Collection<Folder> folders, int delCode, FolderHistory transaction)
For each folder, save the folder delete history entry for each folder and delete the foldervoid
FolderDAO. deleteAll(Collection<Folder> folders, FolderHistory transaction)
Shortcut for deleteAll(folders, 1, transaction)void
HibernateFolderDAO. deleteAll(Collection<Folder> folders, int code, FolderHistory transaction)
void
HibernateFolderDAO. deleteAll(Collection<Folder> folders, FolderHistory transaction)
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)
Folder
FolderDAO. findByPathExtended(String pathExtended, long tenantId)
Retrieval of a folder by the extended pathFolder
HibernateFolderDAO. 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)
Folder
FolderDAO. findDefaultWorkspace(long tenantId)
Retrieves the Default workspace of the given tenantFolder
HibernateFolderDAO. findDefaultWorkspace(long tenantId)
Folder
FolderDAO. findFolder(long folderId)
Gets a folder by a given ID if it is an alias, the referenced folder is returned.Folder
HibernateFolderDAO. 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)
Folder
FolderDAO. findRoot(long tenantId)
Retrieves the root folder of the given tenantFolder
HibernateFolderDAO. findRoot(long tenantId)
Folder
FolderDAO. findWorkspace(long folderId)
Returns the workspace that contains the given folderFolder
HibernateFolderDAO. 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_WORKSPACE
List<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)
boolean
FolderDAO. hasWriteAccess(Folder folder, long userId)
Checks that the user has access to the folder and all its sub-itemsboolean
HibernateFolderDAO. hasWriteAccess(Folder folder, long userId)
boolean
FolderDAO. isDownloadEnabled(long folderId, long userId)
boolean
HibernateFolderDAO. isDownloadEnabled(long id, long userId)
boolean
FolderDAO. isInPath(long parentId, long childId)
Checks if a folder with the given folderId is parent of the folder with the given targetIdboolean
HibernateFolderDAO. isInPath(long folderId, long targetId)
boolean
FolderDAO. isMoveEnabled(long folderId, long userId)
boolean
HibernateFolderDAO. isMoveEnabled(long id, long userId)
boolean
FolderDAO. isPermissionEnabled(Permission permission, long folderId, long userId)
This method checks if the given permission is enabled for a folder and an user.boolean
HibernateFolderDAO. isPermissionEnabled(Permission permission, long folderId, long userId)
boolean
FolderDAO. isPrintEnabled(long folderId, long userId)
boolean
HibernateFolderDAO. isPrintEnabled(long folderId, long userId)
boolean
FolderDAO. isReadEnabled(long folderId, long userId)
boolean
HibernateFolderDAO. isReadEnabled(long folderId, long userId)
boolean
FolderDAO. isWriteEnabled(long folderId, long userId)
This method is looking up for writing rights for a folder and an user.boolean
HibernateFolderDAO. isWriteEnabled(long folderId, long userId)
void
FolderDAO. merge(Folder source, Folder target, FolderHistory transaction)
Merges the contents of two foldersvoid
HibernateFolderDAO. merge(Folder source, Folder target, FolderHistory transaction)
void
FolderDAO. move(Folder source, Folder target, FolderHistory transaction)
Moves a folder into another foldervoid
HibernateFolderDAO. move(Folder source, Folder target, FolderHistory transaction)
void
FolderDAO. restore(long folderId, long parentId, FolderHistory transaction)
Restores a previously deleted foldervoid
HibernateFolderDAO. restore(long folderId, long parentId, FolderHistory transaction)
void
FolderDAO. saveFolderHistory(Folder folder, FolderHistory transaction)
Utility method that logs into the DB the transaction that involved the passed folder.void
HibernateFolderDAO. saveFolderHistory(Folder folder, FolderHistory transaction)
Utility method that logs into the DB the transaction that involved the passed folder.void
FolderDAO. store(Folder folder, FolderHistory transaction)
Same as store(Folder, boolean, FolderHistory)void
HibernateFolderDAO. store(Folder folder)
void
HibernateFolderDAO. store(Folder folder, FolderHistory transaction)
void
HibernateFolderHistoryDAO. store(FolderHistory history)
void
FolderDAO. updateSecurityRef(long folderId, long rightsFolderId, FolderHistory transaction)
Changes the securityRef of the given folder, all the other folders that inherits from this one will be changed accordingly.void
HibernateFolderDAO. updateSecurityRef(long folderId, long rightsFolderId, FolderHistory transaction)
-
Uses of PersistenceException in com.logicaldoc.core.generic
Methods in com.logicaldoc.core.generic that throw PersistenceException Modifier and Type Method Description void
HibernateGenericDAO. delete(long genericId, int code)
void
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 void
HibernateAttributeOptionDAO. delete(long id, int code)
void
HibernateAttributeSetDAO. delete(long id, int code)
void
HibernateTemplateDAO. delete(long id, int code)
void
HibernateAttributeSetDAO. store(AttributeSet set)
void
HibernateTemplateDAO. store(Template template)
-
Uses of PersistenceException in com.logicaldoc.core.metadata.validation
Subclasses of PersistenceException in com.logicaldoc.core.metadata.validation Modifier and Type Class Description class
ValidationException
Raised 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 void
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 keyvoid
HibernateSearchDAO. 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)
boolean
SecurityManager. isDownloadEnabled(long docId, long userId)
boolean
SecurityManagerImpl. isDownloadEnabled(long docId, long userId)
boolean
SecurityManager. isPermissionEnabled(Permission permission, long docId, long userId)
This method checks if the given permission is enabled for a document and an user.boolean
SecurityManagerImpl. isPermissionEnabled(Permission permission, long docId, long userId)
boolean
SecurityManager. isPrintEnabled(long docId, long userId)
boolean
SecurityManagerImpl. isPrintEnabled(long docId, long userId)
boolean
SecurityManager. isReadEnabled(long docId, long userId)
boolean
SecurityManagerImpl. isReadEnabled(long docId, long userId)
boolean
SecurityManager. isWriteEnabled(long docId, long userId)
This method is looking up for writing rights for a folder and an user.boolean
SecurityManagerImpl. isWriteEnabled(long docId, long userId)
-
Uses of PersistenceException in com.logicaldoc.core.security.dao
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.void
HibernateDeviceDAO. delete(long deviceId, int code)
void
HibernateGroupDAO. delete(long groupId, int code)
void
HibernateMenuDAO. delete(long menuId, int code)
void
HibernateUserDAO. delete(long userId, int code)
void
HibernateUserDAO. delete(long userId, UserHistory transaction)
void
UserDAO. delete(long userId, UserHistory transaction)
This method deletes the user object and insert a new user history entry.void
HibernateMenuDAO. deleteAll(Collection<Menu> menus)
User
HibernateUserDAO. 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 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 menuvoid
HibernateDeviceDAO. store(Device entity)
void
HibernateGroupDAO. store(Group group)
void
HibernateMenuDAO. store(Menu menu)
void
HibernateUserDAO. store(User user)
void
HibernateUserDAO. store(User user, UserHistory transaction)
void
HibernateUserHistoryDAO. store(UserHistory history)
void
UserDAO. store(User user, UserHistory transaction)
This method persists the user object and insert a new user history entry.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 void
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.core.ticket
Methods in com.logicaldoc.core.ticket that throw PersistenceException Modifier and Type Method Description void
HibernateTicketDAO. store(Ticket entity)
void
HibernateTicketDAO. store(Ticket entity, DocumentHistory transaction)
void
TicketDAO. store(Ticket ticket, DocumentHistory transaction)
This method persists the download ticket object and insert a new document history entry -
Uses of PersistenceException in com.logicaldoc.core.transfer
Methods in com.logicaldoc.core.transfer that throw PersistenceException Modifier and Type Method Description ByteArrayOutputStream
ZipExport. process(FolderHistory transaction, boolean pdfConversion)
Exports the specified folder contentByteArrayOutputStream
ZipExport. process(Long[] docIds, boolean pdfConversion, DocumentHistory transaction)
Exports a selection of documentsvoid
ZipExport. process(Long[] docIds, OutputStream out, boolean pdfConversion, DocumentHistory transaction)
Exports a selection of documentsvoid
ZipImport. process(File zipsource, Folder parent, long userId, String sessionId)
void
ZipImport. 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 GUIDocument
DocumentServiceImpl. fromDocument(Document doc, GUIFolder folder, User sessionUser)
GUIFolder
FolderServiceImpl. fromFolder(Folder folder, boolean computePath)
GUIDocument
DocumentServiceImpl. getDocument(Session session, long docId)
static List<SearchOptions>
SearchServiceImpl. getSearches(Session session)
Load all the search options associated to all the searches saved for the current userstatic Document
DocumentServiceImpl. toDocument(GUIDocument guiDocument)
Produces a plain new Document from a GUIDocument -
Uses of PersistenceException in com.logicaldoc.web.util
Methods in com.logicaldoc.web.util that throw PersistenceException Modifier and Type Method Description static void
ServletUtil. downloadDocument(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String sid, long docId, String fileVersion, String fileName, String suffix, User user)
Sends the specified document to the response object; the client will receive it as a downloadstatic void
ServletUtil. downloadDocument(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String sid, String docId, String fileVersion, String fileName, User user)
Sends the specified document to the response object; the client will receive it as a downloadstatic void
ServletUtil. downloadDocumentText(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, long docId, User user)
Sends the specified document's indexed text to the response object; the client will receive it as a download -
Uses of PersistenceException in com.logicaldoc.webdav.resource.service
Methods in com.logicaldoc.webdav.resource.service that throw PersistenceException Modifier and Type Method Description boolean
ResourceServiceImpl. 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 Document
WSUtil. toDocument(WSDocument wsDoc)
void
WSFolder. 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 WSNote
DocumentService. addNote(long docId, String note)
Adds a new note for the given documentvoid
DocumentService. checkout(long docId)
Executed the checkoutWSDocument
DocumentService. copy(long docId, long folderId)
Copies a document into another foldervoid
FolderService. copy(long folderId, long targetId, int foldersOnly, String securityOption)
Copies an existing folder with the given identifier.WSFolder
FolderService. create(WSFolder folder)
WSDocument
DocumentService. createAlias(long docId, long folderId, String type)
Creates a new document alias for the given document inside a specified folderWSFolder
FolderService. createAlias(long parentId, long foldRef)
Creates a new folder aliasString
DocumentService. createDownloadTicket(long docId, String suffix, Integer expireHours, String expireDate, Integer maxDownloads)
Creates a new download ticketlong
FolderService. createFolder(long parentId, String name)
WSFolder
FolderService. createPath(long parentId, String path)
void
DocumentService. createPdf(long docId, String fileVersion)
Creates the PDF conversion of the given document; if the PDF conversion was already created, nothing will happenWSFolder
FolderService. createSimple(String folderPath)
WSFolder
FolderService. createSimpleForm(String folderPath)
WSFolder
FolderService. createSimpleJSON(String jsonstr)
void
DocumentService. createThumbnail(long docId, String fileVersion, String type)
Creates the thumbail of the given document; if the thumbnail was already created, nothing will happenvoid
DocumentService. delete(long docId)
Deletes a documentvoid
FolderService. delete(long folderId)
void
DocumentService. deleteLink(long id)
Removes an existing linkvoid
DocumentService. deleteNote(long noteId)
Deletes a new note by note identifierString
DocumentService. deleteVersion(long docId, String version)
Deletes a version by document identifier and version ID.WSFolder
FolderService. findByPath(String path)
Finds the folder at the specified pathWSDocument[]
DocumentService. getAliases(long docId)
Gets the aliases of the given documentjavax.activation.DataHandler
DocumentService. getContent(long docId)
Retrieves the file content of a document.WSFolder
FolderService. getDefaultWorkspace()
Gets the Default workspaceWSDocument
DocumentService. getDocument(long docId)
Retrieves a document from the databaseWSDocument
DocumentService. 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 identifiersString
DocumentService. getExtractedText(long docId)
Gets the document's text stored in the full-text indexWSFolder
FolderService. 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)
String
FolderService. 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.DataHandler
DocumentService. getResource(long docId, String fileVersion, String suffix)
Gets the content of a resource associated to the given document.WSFolder
FolderService. getRootFolder()
Gets the root folderjavax.activation.DataHandler
DocumentService. getThumbnail(String type, String docPath, List<javax.ws.rs.core.PathSegment> docPathList)
Retrieves the thumbnail imagejavax.activation.DataHandler
DocumentService. getVersionContent(long docId, String version)
Retrieves the file content of a version.WSDocument[]
DocumentService. getVersions(long docId)
Gets the version history of an existing document with the given identifiervoid
FolderService. grantGroup(long folderId, long groupId, int permissions, boolean recursive)
Grants group permission to the foldervoid
FolderService. grantUser(long folderId, long userId, int permissions, boolean recursive)
Grants user permission to the folder.boolean
FolderService. isGranted(long folderId, int permission)
Tests if the current user has a specific permission on a folderboolean
DocumentService. isReadable(long docId)
Tests if a document is readableboolean
FolderService. isReadable(long folderId)
Tests if a folder is readable.boolean
FolderService. isWritable(long folderId)
Tests if a folder is writableWSLink
DocumentService. 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.void
DocumentService. lock(long docId)
Locks an existing document with the given identifier.void
DocumentService. move(long docId, long folderId)
Moves an existing document with the given identifiervoid
FolderService. move(long folderId, long parentId)
Moves an existing folder with the given identifier.void
DocumentService. promoteVersion(long docId, String version)
Promotes an old version to the current default one.WSRating
DocumentService. rateDocument(long docId, int vote)
Puts a new rating on the given documentvoid
DocumentService. reindex(long docId, String content)
Re-indexes(or indexes from scratch) a documentvoid
DocumentService. rename(long docId, String name)
Renames the title of an existing document with the given identifier.void
FolderService. rename(long folderId, String name)
Renames an existing folder.void
DocumentService. restore(long docId, long folderId)
Restores a deleted documentWSNote
DocumentService. saveNote(long docId, WSNote note)
Adds a new note for the given documentvoid
DocumentService. sendEmail(Long[] docIds, String recipients, String subject, String message)
Sends a set of documents as mail attachmentsvoid
DocumentService. setPassword(long docId, String password)
Puts a password protection to the documentvoid
DocumentService. unlock(long docId)
Unlocks an existing document with the given identifier.boolean
DocumentService. unprotect(long docId, String password)
Unprotects a document that is password protected.void
DocumentService. unsetPassword(long docId, String currentPassword)
Removes the password protection from the documentvoid
DocumentService. update(WSDocument document)
Updates an existing document with the value object containing the document's metadata.void
FolderService. update(WSFolder folder)
Updates an existing folder.void
DocumentService. uploadResource(Integer docId, String fileVersion, String suffix, org.apache.cxf.jaxrs.ext.multipart.Attachment contentDetail)
Uploads a new resource of the document Uploads a new resource attached to the given document. -
Uses of PersistenceException in com.logicaldoc.webservice.rest.endpoint
Methods in com.logicaldoc.webservice.rest.endpoint that throw PersistenceException Modifier and Type Method Description WSNote
RestDocumentService. addNote(long docId, String note)
void
RestDocumentService. checkout(long docId)
WSDocument
RestDocumentService. copy(long docId, long folderId)
void
RestFolderService. copy(long folderId, long targetId, int foldersOnly, String securityOption)
WSFolder
RestFolderService. create(WSFolder folder)
WSDocument
RestDocumentService. createAlias(long docId, long folderId, String type)
WSFolder
RestFolderService. createAlias(long parentId, long foldRef)
String
RestDocumentService. createDownloadTicket(long docId, String suffix, Integer expireHours, String expireDate, Integer maxDownloads)
long
RestFolderService. createFolder(long parentId, String name)
WSFolder
RestFolderService. createPath(long parentId, String path)
void
RestDocumentService. createPdf(long docId, String fileVersion)
WSFolder
RestFolderService. createSimple(String folderPath)
WSFolder
RestFolderService. createSimpleForm(String folderPath)
WSFolder
RestFolderService. createSimpleJSON(String jsonstr)
void
RestDocumentService. createThumbnail(long docId, String fileVersion, String type)
void
RestDocumentService. delete(long docId)
void
RestFolderService. delete(long folderId)
void
RestDocumentService. deleteLink(long id)
void
RestDocumentService. deleteNote(long noteId)
String
RestDocumentService. deleteVersion(long docId, String version)
WSFolder
RestFolderService. findByPath(String path)
WSDocument[]
RestDocumentService. getAliases(long docId)
javax.activation.DataHandler
RestDocumentService. getContent(long docId)
WSFolder
RestFolderService. getDefaultWorkspace()
WSDocument
RestDocumentService. getDocument(long docId)
WSDocument
RestDocumentService. getDocumentByCustomId(String customId)
WSDocument[]
RestDocumentService. getDocuments(Long[] docIds)
String
RestDocumentService. getExtractedText(long docId)
WSFolder
RestFolderService. 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)
String
RestFolderService. getPathString(long folderId)
WSRating[]
RestDocumentService. getRatings(long docId)
WSDocument[]
RestDocumentService. getRecentDocuments(Integer maxHits)
javax.activation.DataHandler
RestDocumentService. getResource(long docId, String fileVersion, String suffix)
WSFolder
RestFolderService. getRootFolder()
javax.activation.DataHandler
RestDocumentService. getThumbnail(String type, String docPath, List<javax.ws.rs.core.PathSegment> docPathList)
javax.activation.DataHandler
RestDocumentService. getVersionContent(long docId, String version)
WSDocument[]
RestDocumentService. getVersions(long docId)
void
RestFolderService. grantGroup(long folderId, long groupId, int permissions, boolean recursive)
void
RestFolderService. grantUser(long folderId, long userId, int permissions, boolean recursive)
boolean
RestFolderService. isGranted(long folderId, int permission)
boolean
RestDocumentService. isReadable(long docId)
boolean
RestFolderService. isReadable(long folderId)
boolean
RestFolderService. isWritable(long folderId)
WSLink
RestDocumentService. 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()
void
RestDocumentService. lock(long docId)
void
RestDocumentService. move(long docId, long folderId)
void
RestFolderService. move(long folderId, long parentId)
void
RestDocumentService. promoteVersion(long docId, String version)
WSRating
RestDocumentService. rateDocument(long docId, int vote)
void
RestDocumentService. reindex(long docId, String content)
void
RestDocumentService. rename(long docId, String name)
void
RestFolderService. rename(long folderId, String name)
void
RestDocumentService. restore(long docId, long folderId)
WSNote
RestDocumentService. saveNote(long docId, WSNote note)
void
RestDocumentService. sendEmail(Long[] docIds, String recipients, String subject, String message)
void
RestDocumentService. setPassword(long docId, String password)
void
RestDocumentService. unlock(long docId)
boolean
RestDocumentService. unprotect(long docId, String password)
void
RestDocumentService. unsetPassword(long docId, String currentPassword)
void
RestDocumentService. update(WSDocument document)
void
RestFolderService. update(WSFolder folder)
void
RestDocumentService. uploadResource(Integer docId, String fileVersion, String suffix, org.apache.cxf.jaxrs.ext.multipart.Attachment contentDetail)
-
Uses of PersistenceException in com.logicaldoc.webservice.soap
Methods in com.logicaldoc.webservice.soap that throw PersistenceException Modifier and Type Method Description void
DocumentMetadataService. addAttributeOption(String sid, long setId, String attribute, WSAttributeOption option)
Add a new option for the given attributeWSNote
DocumentService. addNote(String sid, long docId, String note)
Adds a new note for the given documentWSBookmark
BookmarkService. bookmarkDocument(String sid, long docId)
WSBookmark
BookmarkService. bookmarkFolder(String sid, long folderId)
void
DocumentService. checkin(String sid, long docId, String comment, String filename, boolean release, javax.activation.DataHandler content)
Checks in an existing document with the given identifier to create a new version.void
DocumentService. checkinDocument(String sid, long docId, String comment, String filename, boolean release, WSDocument docVO, javax.activation.DataHandler content)
Checks in an existing document with the given identifier to create a new version.void
DocumentService. checkout(String sid, long docId)
Checks out an existing document with the given identifier.WSDocument
DocumentService. copy(String sid, long docId, long folderId)
Copies a document into another folder.void
FolderService. copy(String sid, long folderId, long targetId, int foldersOnly, String securityOption)
Copies an existing folder with the given identifier.WSDocument
DocumentService. create(String sid, WSDocument document, javax.activation.DataHandler content)
Create a new document.WSFolder
FolderService. create(String sid, WSFolder folder)
Creates a new folder.WSDocument
DocumentService. createAlias(String sid, long docId, long folderId, String type)
Creates a new document alias for the given document inside a specified folderWSFolder
FolderService. createAlias(String sid, long parentId, long foldRef)
Creates a new folder aliasString
DocumentService. createDownloadTicket(String sid, long docId, String suffix, Integer expireHours, String expireDate, Integer maxDownloads)
Creates a new download ticketlong
FolderService. createFolder(String sid, long parentId, String name)
Create a new folder.WSFolder
FolderService. createPath(String sid, long parentId, String path)
Creates the folder for the specified path.void
DocumentService. createPdf(String sid, long docId, String fileVersion)
Creates the PDF conversion of the given document.void
DocumentService. createThumbnail(String sid, long docId, String fileVersion, String type)
Creates the thumbnail of the given document.void
DocumentService. delete(String sid, long docId)
Deletes an existing document with the given identifier.void
FolderService. delete(String sid, long folderId)
Deletes an existing folder.void
DocumentMetadataService. deleteAttributeSet(String sid, long setId)
Deletes an existing attribute set with the given identifier.void
BookmarkService. deleteBookmark(String sid, long bookmarkId)
void
DocumentService. deleteLink(String sid, long id)
Removes an existing linkvoid
DocumentService. deleteNote(String sid, long noteId)
Adds a new note for the given documentvoid
DocumentMetadataService. deleteTemplate(String sid, long templateId)
Deletes an existing template with the given identifierString
DocumentService. deleteVersion(String sid, long docId, String version)
Deletes a version of a document with the given identifiers.WSFolder
FolderService. 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 categoryWSAttributeSet
DocumentMetadataService. getAttributeSet(String sid, String name)
Gets attribute set's metadataWSAttributeSet
DocumentMetadataService. getAttributeSetById(String sid, long setId)
Gets attribute set's metadataWSBookmark[]
BookmarkService. getBookmarks(String sid)
Retrieves all the bookmarks of the current userjavax.activation.DataHandler
DocumentService. getContent(String sid, long docId)
Gets the content of an existing document with the given identifierWSFolder
FolderService. getDefaultWorkspace(String sid)
Gets the Default workspaceWSDocument
DocumentService. getDocument(String sid, long docId)
Gets the metadata of an existing document with the given identifierWSDocument
DocumentService. 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 identifiersString
DocumentService. getExtractedText(String sid, long docId)
Gets the document's text stored in the full-text indexWSFolder
FolderService. 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.DataHandler
DocumentService. getResource(String sid, long docId, String fileVersion, String suffix)
Gets the content of a resource associated to the given document.WSFolder
FolderService. getRootFolder(String sid)
Gets root metadataWSTemplate
DocumentMetadataService. getTemplate(String sid, String name)
Gets template's metadataWSTemplate
DocumentMetadataService. getTemplateById(String sid, long templateId)
Gets template's metadataWSDocument
DocumentService. getVersion(String sid, long docId, String version)
Gets a specific versionjavax.activation.DataHandler
DocumentService. getVersionContent(String sid, long docId, String version)
Gets the content of a specific version of a documentWSDocument[]
DocumentService. getVersions(String sid, long docId)
Gets the version history of an existing document with the given identifiervoid
FolderService. grantGroup(String sid, long folderId, long groupId, int permissions, boolean recursive)
Grants group permission to the foldervoid
DocumentMetadataService. grantGroupToTemplate(String sid, long templateId, long groupId, int permissions)
Grants group permission to the template.void
FolderService. grantUser(String sid, long folderId, long userId, int permissions, boolean recursive)
Grants user permission to the folder.void
DocumentMetadataService. grantUserToTemplate(String sid, long templateId, long userId, int permissions)
Grants user permission to the template.boolean
FolderService. isGranted(String sid, long folderId, int permission)
Tests if the current user has a specific permission on a folderboolean
DocumentService. isReadable(String sid, long docId)
Tests if a document is readableboolean
FolderService. isReadable(String sid, long folderId)
Tests if a folder is readable.boolean
DocumentMetadataService. isTemplateReadable(String sid, long templateId)
Tests if a template is readable.boolean
DocumentMetadataService. isTemplateWritable(String sid, long templateId)
Tests if a template is writableboolean
FolderService. isWritable(String sid, long folderId)
Tests if a folder is writableWSLink
DocumentService. 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.void
DocumentService. lock(String sid, long docId)
Locks an existing document with the given identifier.void
FolderService. merge(String sid, long sourceId, long targetId)
Merges the contents of folder into a targetvoid
DocumentService. move(String sid, long docId, long folderId)
Moves an existing document with the given identifier.void
FolderService. move(String sid, long folderId, long parentId)
Moves an existing folder with the given identifier.void
DocumentService. promoteVersion(String sid, long docId, String version)
Promotes an old version to the current default one.WSRating
DocumentService. rateDocument(String sid, long docId, int vote)
Puts a new rating on the given documentvoid
DocumentService. reindex(String sid, long docId, String content)
Re-indexes(or indexes from scratch) a documentvoid
DocumentService. rename(String sid, long docId, String name)
Renames the title of an existing document with the given identifier.void
FolderService. rename(String sid, long folderId, String name)
Renames an existing folder.void
DocumentService. replaceFile(String sid, long docId, String fileVersion, String comment, javax.activation.DataHandler content)
Replaces the file associated to a given version.void
DocumentService. restore(String sid, long docId, long folderId)
Restores a deleted documentWSBookmark
BookmarkService. saveBookmark(String sid, WSBookmark bookmark)
WSNote
DocumentService. saveNote(String sid, long docId, WSNote note)
Adds a new note for the given documentvoid
DocumentService. sendEmail(String sid, Long[] docIds, String recipients, String subject, String message)
Sends a set of documents as mail attachmentsvoid
DocumentMetadataService. setAttributeOptions(String sid, long setId, String attribute, WSAttributeOption[] options)
Saves the options for the given attributevoid
DocumentService. setPassword(String sid, long docId, String password)
Puts a password protection to the documentlong
DocumentMetadataService. storeAttributeSet(String sid, WSAttributeSet attributeSet)
Create/Update an attribute set.long
DocumentMetadataService. storeTemplate(String sid, WSTemplate template)
Create/Update a template.void
BookmarkService. unbookmarkDocument(String sid, long docId)
void
BookmarkService. unbookmarkFolder(String sid, long folderId)
void
DocumentService. unlock(String sid, long docId)
Unlocks an existing document with the given identifier.boolean
DocumentService. unprotect(String sid, long docId, String password)
Unprotects a document that is password protected.void
DocumentService. unsetPassword(String sid, long docId, String currentPassword)
Removes the password protection from the documentvoid
DocumentService. update(String sid, WSDocument document)
Updates an existing document with the value object containing the document's metadatavoid
FolderService. update(String sid, WSFolder folder)
Updates an existing folder.long
DocumentService. upload(String sid, Long docId, Long folderId, boolean release, String filename, String language, javax.activation.DataHandler content)
Creates a new document or updates an existing one.void
DocumentService. uploadResource(String sid, long docId, String fileVersion, String suffix, javax.activation.DataHandler content)
Uploads a new resource attached to the given document. -
Uses of PersistenceException in com.logicaldoc.webservice.soap.client
Methods in com.logicaldoc.webservice.soap.client that throw PersistenceException Modifier and Type Method Description void
SoapDocumentMetadataClient. addAttributeOption(String sid, long setId, String attribute, WSAttributeOption wsoption)
WSNote
SoapDocumentClient. addNote(String sid, long docId, String note)
WSBookmark
SoapBookmarkClient. bookmarkDocument(String sid, long docId)
WSBookmark
SoapBookmarkClient. bookmarkFolder(String sid, long folderId)
void
SoapDocumentClient. checkin(String sid, long docId, String comment, String filename, boolean release, File content)
void
SoapDocumentClient. checkin(String sid, long docId, String comment, String filename, boolean release, javax.activation.DataHandler content)
void
SoapDocumentClient. checkinDocument(String sid, long docId, String comment, String filename, boolean release, WSDocument docVO, File content)
void
SoapDocumentClient. checkinDocument(String sid, long docId, String comment, String filename, boolean release, WSDocument docVO, javax.activation.DataHandler content)
void
SoapDocumentClient. checkout(String sid, long docId)
WSDocument
SoapDocumentClient. copy(String sid, long docId, long folderId)
void
SoapFolderClient. copy(String sid, long folderId, long parentId, int foldersOnly, String securityOption)
WSDocument
SoapDocumentClient. create(String sid, WSDocument document, File content)
WSDocument
SoapDocumentClient. create(String sid, WSDocument document, javax.activation.DataHandler content)
WSFolder
SoapFolderClient. create(String sid, WSFolder folder)
WSDocument
SoapDocumentClient. createAlias(String sid, long docId, long folderId, String type)
WSFolder
SoapFolderClient. createAlias(String sid, long parentId, long foldRef)
String
SoapDocumentClient. createDownloadTicket(String sid, long docId, String suffix, Integer expireHours, String expireDate, Integer maxDownloads)
long
SoapFolderClient. createFolder(String sid, long parentId, String name)
WSFolder
SoapFolderClient. createPath(String sid, long parentId, String path)
void
SoapDocumentClient. createPdf(String sid, long docId, String fileVersion)
void
SoapDocumentClient. createThumbnail(String sid, long docId, String fileVersion, String type)
void
SoapDocumentClient. delete(String sid, long docId)
void
SoapFolderClient. delete(String sid, long folderId)
void
SoapDocumentMetadataClient. deleteAttributeSet(String sid, long setId)
void
SoapBookmarkClient. deleteBookmark(String sid, long bookmarkId)
void
SoapDocumentClient. deleteLink(String sid, long id)
void
SoapDocumentClient. deleteNote(String sid, long noteId)
void
SoapDocumentMetadataClient. deleteTemplate(String sid, long templateId)
String
SoapDocumentClient. deleteVersion(String sid, long docId, String version)
void
SoapDocumentClient. downloadContent(String sid, long docId, File out)
void
SoapDocumentClient. downloadResourceContent(String sid, long docId, String fileVersion, String suffix, File out)
void
SoapDocumentClient. downloadVersionContent(String sid, long docId, String version, File out)
WSFolder
SoapFolderClient. 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)
WSAttributeSet
SoapDocumentMetadataClient. getAttributeSet(String sid, String name)
WSAttributeSet
SoapDocumentMetadataClient. getAttributeSetById(String sid, long setId)
WSBookmark[]
SoapBookmarkClient. getBookmarks(String sid)
javax.activation.DataHandler
SoapDocumentClient. getContent(String sid, long docId)
WSFolder
SoapFolderClient. getDefaultWorkspace(String sid)
WSDocument
SoapDocumentClient. getDocument(String sid, long docId)
WSDocument
SoapDocumentClient. getDocumentByCustomId(String sid, String customId)
WSDocument[]
SoapDocumentClient. getDocuments(String sid, Long[] docIds)
String
SoapDocumentClient. getExtractedText(String sid, long docId)
WSFolder
SoapFolderClient. 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.DataHandler
SoapDocumentClient. getResource(String sid, long docId, String fileVersion, String suffix)
WSFolder
SoapFolderClient. getRootFolder(String sid)
WSTemplate
SoapDocumentMetadataClient. getTemplate(String sid, String name)
WSTemplate
SoapDocumentMetadataClient. getTemplateById(String sid, long templateId)
WSDocument
SoapDocumentClient. getVersion(String sid, long docId, String version)
javax.activation.DataHandler
SoapDocumentClient. getVersionContent(String sid, long docId, String version)
WSDocument[]
SoapDocumentClient. getVersions(String sid, long docId)
void
SoapFolderClient. grantGroup(String sid, long folderId, long groupId, int permissions, boolean recursive)
void
SoapDocumentMetadataClient. grantGroupToTemplate(String sid, long templateId, long groupId, int permissions)
void
SoapFolderClient. grantUser(String sid, long folderId, long userId, int permissions, boolean recursive)
void
SoapDocumentMetadataClient. grantUserToTemplate(String sid, long templateId, long userId, int permissions)
boolean
SoapFolderClient. isGranted(String sid, long folderId, int permission)
boolean
SoapDocumentClient. isReadable(String sid, long docId)
boolean
SoapFolderClient. isReadable(String sid, long folderId)
boolean
SoapDocumentMetadataClient. isTemplateReadable(String sid, long templateId)
boolean
SoapDocumentMetadataClient. isTemplateWritable(String sid, long templateId)
boolean
SoapFolderClient. isWritable(String sid, long folderId)
WSLink
SoapDocumentClient. 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)
void
SoapDocumentClient. lock(String sid, long docId)
void
SoapFolderClient. merge(String sid, long sourceId, long targetId)
void
SoapDocumentClient. move(String sid, long docId, long folderId)
void
SoapFolderClient. move(String sid, long folderId, long parentId)
void
SoapDocumentClient. promoteVersion(String sid, long docId, String version)
WSRating
SoapDocumentClient. rateDocument(String sid, long docId, int vote)
void
SoapDocumentClient. reindex(String sid, long docId, String content)
void
SoapDocumentClient. rename(String sid, long docId, String name)
void
SoapFolderClient. rename(String sid, long folderId, String name)
void
SoapDocumentClient. replaceFile(String sid, long docId, String fileVersion, String comment, javax.activation.DataHandler content)
void
SoapDocumentClient. restore(String sid, long docId, long folderId)
WSBookmark
SoapBookmarkClient. saveBookmark(String sid, WSBookmark bookmark)
WSNote
SoapDocumentClient. saveNote(String sid, long docId, WSNote note)
void
SoapDocumentClient. sendEmail(String sid, Long[] docIds, String recipients, String subject, String message)
void
SoapDocumentMetadataClient. setAttributeOptions(String sid, long setId, String attribute, WSAttributeOption[] options)
void
SoapDocumentClient. setPassword(String sid, long docId, String password)
long
SoapDocumentMetadataClient. storeAttributeSet(String sid, WSAttributeSet attributeSet)
long
SoapDocumentMetadataClient. storeTemplate(String sid, WSTemplate template)
void
SoapBookmarkClient. unbookmarkDocument(String sid, long docId)
void
SoapBookmarkClient. unbookmarkFolder(String sid, long folderId)
void
SoapDocumentClient. unlock(String sid, long docId)
boolean
SoapDocumentClient. unprotect(String sid, long docId, String password)
void
SoapDocumentClient. unsetPassword(String sid, long docId, String currentPassword)
void
SoapDocumentClient. update(String sid, WSDocument document)
void
SoapFolderClient. update(String sid, WSFolder folder)
long
SoapDocumentClient. upload(String sid, Long docId, Long folderId, boolean release, String filename, String language, javax.activation.DataHandler content)
void
SoapDocumentClient. uploadResource(String sid, long docId, String fileVersion, String suffix, File content)
void
SoapDocumentClient. uploadResource(String sid, long docId, String fileVersion, String suffix, javax.activation.DataHandler content)
-
Uses of PersistenceException in com.logicaldoc.webservice.soap.endpoint
Methods in com.logicaldoc.webservice.soap.endpoint that throw PersistenceException Modifier and Type Method Description void
SoapDocumentMetadataService. addAttributeOption(String sid, long setId, String attribute, WSAttributeOption wsoption)
WSNote
SoapDocumentService. addNote(String sid, long docId, String note)
WSBookmark
SoapBookmarkService. bookmarkDocument(String sid, long docId)
WSBookmark
SoapBookmarkService. bookmarkFolder(String sid, long folderId)
void
SoapDocumentService. checkin(String sid, long docId, String comment, String filename, boolean release, WSDocument docVO, InputStream content)
void
SoapDocumentService. checkin(String sid, long docId, String comment, String filename, boolean release, javax.activation.DataHandler content)
void
SoapDocumentService. checkinDocument(String sid, long docId, String comment, String filename, boolean release, WSDocument docVO, InputStream content)
void
SoapDocumentService. checkinDocument(String sid, long docId, String comment, String filename, boolean release, WSDocument docVO, javax.activation.DataHandler content)
void
SoapDocumentService. checkout(String sid, long docId)
WSDocument
SoapDocumentService. copy(String sid, long docId, long folderId)
void
SoapFolderService. copy(String sid, long folderId, long targetId, int foldersOnly, String securityOption)
WSDocument
SoapDocumentService. create(String sid, WSDocument document, InputStream content)
WSDocument
SoapDocumentService. create(String sid, WSDocument document, javax.activation.DataHandler content)
WSFolder
SoapFolderService. create(String sid, WSFolder wsFolder)
WSDocument
SoapDocumentService. createAlias(String sid, long docId, long folderId, String type)
WSFolder
SoapFolderService. createAlias(String sid, long parentId, long foldRef)
String
SoapDocumentService. createDownloadTicket(String sid, long docId, String suffix, Integer expireHours, String expireDate, Integer maxDownloads)
long
SoapFolderService. createFolder(String sid, long parentId, String name)
WSFolder
SoapFolderService. createPath(String sid, long parentId, String path)
void
SoapDocumentService. createPdf(String sid, long docId, String fileVersion)
void
SoapDocumentService. createThumbnail(String sid, long docId, String fileVersion, String type)
void
SoapDocumentService. delete(String sid, long docId)
void
SoapFolderService. delete(String sid, long folderId)
void
SoapDocumentMetadataService. deleteAttributeSet(String sid, long setId)
void
SoapBookmarkService. deleteBookmark(String sid, long bookmarkId)
void
SoapDocumentService. deleteLink(String sid, long id)
void
SoapDocumentService. deleteNote(String sid, long noteId)
void
SoapDocumentMetadataService. deleteTemplate(String sid, long templateId)
String
SoapDocumentService. deleteVersion(String sid, long docId, String version)
WSFolder
SoapFolderService. 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)
WSAttributeSet
SoapDocumentMetadataService. getAttributeSet(String sid, String name)
WSAttributeSet
SoapDocumentMetadataService. getAttributeSetById(String sid, long setId)
WSBookmark[]
SoapBookmarkService. getBookmarks(String sid)
javax.activation.DataHandler
SoapDocumentService. getContent(String sid, long docId)
WSFolder
SoapFolderService. getDefaultWorkspace(String sid)
WSDocument
SoapDocumentService. getDocument(String sid, long docId)
WSDocument
SoapDocumentService. getDocumentByCustomId(String sid, String customId)
WSDocument[]
SoapDocumentService. getDocuments(String sid, Long[] docIds)
String
SoapDocumentService. getExtractedText(String sid, long docId)
WSFolder
SoapFolderService. 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.DataHandler
SoapDocumentService. getResource(String sid, long docId, String fileVersion, String suffix)
WSFolder
SoapFolderService. getRootFolder(String sid)
WSTemplate
SoapDocumentMetadataService. getTemplate(String sid, String name)
WSTemplate
SoapDocumentMetadataService. getTemplateById(String sid, long templateId)
WSDocument
SoapDocumentService. getVersion(String sid, long docId, String version)
javax.activation.DataHandler
SoapDocumentService. getVersionContent(String sid, long docId, String version)
WSDocument[]
SoapDocumentService. getVersions(String sid, long docId)
void
SoapFolderService. grantGroup(String sid, long folderId, long groupId, int permissions, boolean recursive)
void
SoapDocumentMetadataService. grantGroupToTemplate(String sid, long templateId, long groupId, int permissions)
void
SoapFolderService. grantUser(String sid, long folderId, long userId, int permissions, boolean recursive)
void
SoapDocumentMetadataService. grantUserToTemplate(String sid, long templateId, long userId, int permissions)
boolean
SoapFolderService. isGranted(String sid, long folderId, int permission)
boolean
SoapDocumentService. isReadable(String sid, long docId)
boolean
SoapFolderService. isReadable(String sid, long folderId)
boolean
SoapDocumentMetadataService. isTemplateReadable(String sid, long templateId)
boolean
SoapDocumentMetadataService. isTemplateWritable(String sid, long templateId)
boolean
SoapFolderService. isWritable(String sid, long folderId)
WSLink
SoapDocumentService. 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)
void
SoapDocumentService. lock(String sid, long docId)
void
SoapFolderService. merge(String sid, long sourceId, long targetId)
void
SoapDocumentService. move(String sid, long docId, long folderId)
void
SoapFolderService. move(String sid, long folderId, long parentId)
void
SoapDocumentService. promoteVersion(String sid, long docId, String version)
WSRating
SoapDocumentService. rateDocument(String sid, long docId, int vote)
void
SoapDocumentService. reindex(String sid, long docId, String content)
void
SoapDocumentService. rename(String sid, long docId, String name)
void
SoapFolderService. rename(String sid, long folderId, String name)
void
SoapDocumentService. replaceFile(String sid, long docId, String fileVersion, String comment, javax.activation.DataHandler content)
void
SoapDocumentService. restore(String sid, long docId, long folderId)
WSBookmark
SoapBookmarkService. saveBookmark(String sid, WSBookmark bookmark)
WSNote
SoapDocumentService. saveNote(String sid, long docId, WSNote wsNote)
void
SoapDocumentService. sendEmail(String sid, Long[] docIds, String recipients, String subject, String message)
void
SoapDocumentMetadataService. setAttributeOptions(String sid, long setId, String attribute, WSAttributeOption[] wsOptions)
void
SoapDocumentService. setPassword(String sid, long docId, String password)
long
SoapDocumentMetadataService. storeAttributeSet(String sid, WSAttributeSet attributeSet)
long
SoapDocumentMetadataService. storeTemplate(String sid, WSTemplate wsTemplate)
void
SoapBookmarkService. unbookmarkDocument(String sid, long docId)
void
SoapBookmarkService. unbookmarkFolder(String sid, long folderId)
void
SoapDocumentService. unlock(String sid, long docId)
boolean
SoapDocumentService. unprotect(String sid, long docId, String password)
void
SoapDocumentService. unsetPassword(String sid, long docId, String currentPassword)
void
SoapDocumentService. update(String sid, WSDocument document)
void
SoapFolderService. update(String sid, WSFolder wsFolder)
long
SoapDocumentService. upload(String sid, Long docId, Long folderId, boolean release, String filename, String language, javax.activation.DataHandler content)
void
SoapDocumentService. uploadResource(String sid, long docId, String fileVersion, String suffix, javax.activation.DataHandler content)
-