Package | Description |
---|---|
com.logicaldoc.core.document | |
com.logicaldoc.core.document.dao | |
com.logicaldoc.core.security |
Modifier and Type | Method and Description |
---|---|
void |
DocumentListener.afterCheckin(Document document,
History transaction,
Map<String,Object> dictionary)
Called after a document is checked in
|
void |
DocumentListener.afterStore(Document document,
History transaction,
Map<String,Object> dictionary)
Called after a document is stored in the database
|
void |
DocumentListener.beforeCheckin(Document document,
History transaction,
Map<String,Object> dictionary)
Called before a document is checked in
|
void |
DocumentListener.beforeStore(Document document,
History transaction,
Map<String,Object> dictionary)
Called before a document is stored in the database
|
void |
DocumentManagerImpl.checkin(long docId,
File file,
String filename,
boolean release,
Document docVO,
History transaction) |
void |
DocumentManager.checkin(long docId,
File file,
String filename,
boolean release,
Document docVO,
History transaction)
Checks in the given document
|
void |
DocumentManagerImpl.checkin(long docId,
InputStream content,
String filename,
boolean release,
Document docVO,
History transaction) |
void |
DocumentManager.checkin(long docId,
InputStream fileInputStream,
String filename,
boolean release,
Document docVO,
History transaction)
Checks in the given document
|
void |
DocumentManagerImpl.checkout(long docId,
History transaction) |
void |
DocumentManager.checkout(long docId,
History history)
Checks out the given document
|
Document |
DocumentManagerImpl.copyToFolder(Document doc,
Folder folder,
History transaction) |
Document |
DocumentManager.copyToFolder(Document doc,
Folder folder,
History transaction)
Copy a document to the specified folder.
|
Document |
DocumentManagerImpl.create(File file,
Document docVO,
History transaction) |
Document |
DocumentManager.create(File file,
Document docVO,
History transaction)
Creates a new Document.
|
Document |
DocumentManagerImpl.create(InputStream content,
Document docVO,
History transaction) |
Document |
DocumentManager.create(InputStream content,
Document docVO,
History transaction)
Creates a new Document.
|
Document |
DocumentManagerImpl.createShortcut(Document doc,
Folder folder,
History transaction) |
Document |
DocumentManager.createShortcut(Document doc,
Folder folder,
History transaction)
Create a shortcut associated to the given doc to the specified folder.
|
Version |
DocumentManagerImpl.deleteVersion(long versionId,
History transaction) |
Version |
DocumentManager.deleteVersion(long versionId,
History transition)
Deletes a specific version.
|
void |
DocumentManagerImpl.lock(long docId,
int status,
History transaction) |
void |
DocumentManager.lock(long docId,
int status,
History transaction)
Locks the given document
|
void |
DocumentManagerImpl.makeImmutable(long docId,
History transaction) |
void |
DocumentManager.makeImmutable(long docId,
History transaction)
Marks the document, with the given docId, as immutable and save the given
document history
|
void |
DocumentManagerImpl.moveToFolder(Document doc,
Folder folder,
History transaction) |
void |
DocumentManager.moveToFolder(Document doc,
Folder folder,
History transaction)
Moves a document to the specified folder.
|
void |
DocumentManagerImpl.rename(Document doc,
String newName,
boolean title,
History transaction) |
void |
DocumentManager.rename(Document doc,
String newName,
boolean title,
History transaction)
Rename an existing document title/filename.
|
void |
DocumentManagerImpl.unlock(long docId,
History transaction) |
void |
DocumentManager.unlock(long docId,
History transaction)
UNChecks out the given document
|
void |
DocumentManagerImpl.update(Document doc,
Document docVO,
History transaction) |
void |
DocumentManager.update(Document doc,
Document docVO,
History transaction)
Updates an existing document and marks it to be re-indexed
|
Modifier and Type | Method and Description |
---|---|
List<History> |
HistoryDAO.findByDocId(long docId)
This method selects all histories of a given document.
|
List<History> |
HibernateHistoryDAO.findByDocId(long docId) |
List<History> |
HistoryDAO.findByFolderId(long folderId)
This method selects all histories of a given folder.
|
List<History> |
HibernateHistoryDAO.findByFolderId(long folderId) |
List<History> |
HistoryDAO.findByPath(String pathExpression,
Date oldestDate,
Collection<String> events,
Integer max)
This method finds all histories about a path (you can use expression)
|
List<History> |
HibernateHistoryDAO.findByPath(String pathExpression,
Date olderDate,
Collection<String> events,
Integer max) |
List<History> |
HistoryDAO.findByUserId(long userId)
This method selects all histories of a given user.
|
List<History> |
HibernateHistoryDAO.findByUserId(long userId) |
List<History> |
HistoryDAO.findByUserIdAndEvent(long userId,
String event,
String sessionId)
This method selects all histories of a given user and related to the
given event.
|
List<History> |
HibernateHistoryDAO.findByUserIdAndEvent(long userId,
String event,
String sessionId) |
List<History> |
HistoryDAO.findNotNotified(Integer max)
This method selects all histories not notified yet.
|
List<History> |
HibernateHistoryDAO.findNotNotified(Integer max) |
Modifier and Type | Method and Description |
---|---|
boolean |
HibernateDocumentDAO.delete(long docId,
History transaction) |
boolean |
DocumentDAO.delete(long docId,
History transaction)
This method deletes the document object and insert a new document history
entry.
|
void |
HibernateDocumentDAO.deleteAll(Collection<Document> documents,
History transaction) |
void |
DocumentDAO.deleteAll(Collection<Document> documents,
History transaction)
Deletes all documents form the database and modifies the custom ids of
all documents
|
void |
HibernateDocumentDAO.makeImmutable(long docId,
History transaction) |
void |
DocumentDAO.makeImmutable(long docId,
History transaction)
Marks the document, with the given docId, as immutable.
|
void |
HibernateDocumentDAO.restore(long docId,
long folderId,
History transaction) |
void |
DocumentDAO.restore(long docId,
long folderId,
History transaction)
Restores a previously deleted document
|
boolean |
HibernateDocumentDAO.store(Document doc,
History transaction) |
boolean |
DocumentDAO.store(Document doc,
History transaction)
This method persists the document object and insert a new document
history entry.
|
boolean |
HibernateHistoryDAO.store(History entity) |
Modifier and Type | Method and Description |
---|---|
void |
SystemQuota.afterCheckin(Document document,
History transaction,
Map<String,Object> dictionary) |
void |
SystemQuota.afterStore(Document document,
History transaction,
Map<String,Object> dictionary) |
void |
SystemQuota.beforeCheckin(Document document,
History transaction,
Map<String,Object> dictionary) |
void |
SystemQuota.beforeStore(Document document,
History transaction,
Map<String,Object> dictionary) |
Copyright © 2008-2014 Logical Objects. All Rights Reserved.