Modifier and Type | Method and Description |
---|---|
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.
|
Document |
DocumentLink.getDocument1() |
Document |
DocumentLink.getDocument2() |
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.changeIndexingStatus(Document doc,
int status) |
void |
DocumentManager.changeIndexingStatus(Document doc,
int status)
Utility method used to declare that:
a document must be taken into consideration by the indexer (status =
AbstractDocument.INDEX_TO_INDEX).
|
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 |
Document.copyAttributes(Document docVO) |
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.
|
static Version |
Version.create(Document document,
User user,
String comment,
String event,
boolean release)
Factory method that creates a Version and replicate all given document's
properties.
|
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.
|
void |
DocumentManagerImpl.deleteFromIndex(Document doc)
Utility method for document removal from index
|
void |
DocumentManager.deleteFromIndex(Document doc)
Utility method for document removal from index and database update(flag
indexed)
|
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 |
DocumentLink.setDocument1(Document document1) |
void |
DocumentLink.setDocument2(Document document2) |
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 |
---|---|
Document |
HibernateDocumentDAO.findByCustomId(String customId) |
Document |
DocumentDAO.findByCustomId(String customId)
This method finds a document by the custom ID.
|
Modifier and Type | Method and Description |
---|---|
List<Document> |
HibernateDocumentDAO.findByFileNameAndParentFolderId(Long folderId,
String fileName,
Long excludeId,
Integer max) |
List<Document> |
DocumentDAO.findByFileNameAndParentFolderId(Long folderId,
String fileName,
Long excludeId,
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.findByFolder(long folderId,
Integer max) |
List<Document> |
DocumentDAO.findByFolder(long folderId,
Integer max)
Finds all documents inside the given folder.
|
List<Document> |
HibernateDocumentDAO.findByIds(Long[] ids,
Integer max) |
List<Document> |
DocumentDAO.findByIds(Long[] ids,
Integer max)
Finds all documents whose id is included in the given pool of ids
|
List<Document> |
HibernateDocumentDAO.findByIndexed(int indexed) |
List<Document> |
DocumentDAO.findByIndexed(int indexed)
Finds all documents by the indexed state.
|
List<Document> |
HibernateDocumentDAO.findByLockUserAndStatus(Long userId,
Integer status) |
List<Document> |
DocumentDAO.findByLockUserAndStatus(Long userId,
Integer status)
Finds all document of the specified status and locked by the specified
user
|
List<Document> |
HibernateDocumentDAO.findByTitleAndParentFolderId(long folderId,
String title,
Long excludeId) |
List<Document> |
DocumentDAO.findByTitleAndParentFolderId(long folderId,
String title,
Long excludeId)
Finds that document that lies under a specific folder (given by the id)
an with a given title(like operator is used)
|
List<Document> |
HibernateDocumentDAO.findByUserIdAndTag(long userId,
String tag,
Integer max) |
List<Document> |
DocumentDAO.findByUserIdAndTag(long userId,
String tag,
Integer max)
Finds authorized documents for a user having a specified tag.
|
List<Document> |
HibernateDocumentDAO.findDeleted(long userId,
Integer maxHits) |
List<Document> |
DocumentDAO.findDeleted(long userId,
Integer maxHits)
Finds all deleted docs of a specific user.
|
List<Document> |
HibernateDocumentDAO.findDeletedDocs() |
List<Document> |
DocumentDAO.findDeletedDocs()
Finds the list of deleted documents.
|
List<Document> |
HibernateDocumentDAO.findLastDownloadsByUserId(long userId,
int maxResults) |
List<Document> |
DocumentDAO.findLastDownloadsByUserId(long userId,
int maxResults)
Finds the last downloaded documents by the given user
|
List<Document> |
HibernateDocumentDAO.findLastModifiedByUserId(long userId,
int maxElements) |
List<Document> |
DocumentDAO.findLastModifiedByUserId(long userId,
int maxResults)
Finds a max number of documents last modified by an user.
|
List<Document> |
HibernateDocumentDAO.findLinkedDocuments(long docId,
String linkType,
Integer direction) |
List<Document> |
DocumentDAO.findLinkedDocuments(long docId,
String linkType,
Integer direction)
This method enlists documents linked to the given document.
|
List<Document> |
HibernateDocumentDAO.findLockedByUserId(long userId)
Deprecated.
|
List<Document> |
DocumentDAO.findLockedByUserId(long userId)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
HibernateDocumentDAO.initialize(Document doc) |
void |
DocumentDAO.initialize(Document doc)
Initializes lazy loaded collections
|
boolean |
HibernateDocumentDAO.store(Document doc) |
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.
|
void |
HibernateDocumentDAO.updateDigest(Document doc) |
void |
DocumentDAO.updateDigest(Document doc)
Updates the document's digest (SHA-1)
|
Modifier and Type | Method and Description |
---|---|
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
|
Modifier and Type | Method and Description |
---|---|
void |
ThumbnailManager.createPreview(Document document)
Creates the preview for all the pages of the document
|
void |
ThumbnailManager.createPreview(Document document,
String fileVersion)
Creates the preview for all the pages of the document.
|
void |
ThumbnailManager.createTumbnail(Document document)
Creates the thumbnail for the specified document
|
void |
ThumbnailManager.createTumbnail(Document document,
String fileVersion)
Creates the thumbnail for the specified document and file version.
|
Modifier and Type | Class and Description |
---|---|
class |
Hit
Search result
|
Modifier and Type | Method and Description |
---|---|
void |
StandardSearchEngine.addHit(Document document,
InputStream content) |
void |
SearchEngine.addHit(Document document,
InputStream content)
Adds a new hit to the index
|
void |
StandardSearchEngine.addHit(Document document,
String content) |
void |
SearchEngine.addHit(Document document,
String content)
Adds a new Hit into the index
|
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) |
static void |
SystemQuota.checkUserQuota(Document document)
Checks if user quota will be exceeded adding a document
|
static void |
SystemQuota.decrementUserQuota(Document document)
Decrements user quota counter of the document file size
|
static void |
SystemQuota.incrementUserQuota(Document document,
Long filesize)
Increments user quota counter of the document file size retrieving the
userid from the given document
|
Modifier and Type | Method and Description |
---|---|
String |
Storer.getResourceName(Document doc,
String fileVersion,
String suffix)
Computes the resource name inside the container
|
String |
FSStorer.getResourceName(Document doc,
String fileVersion,
String suffix) |
Modifier and Type | Field and Description |
---|---|
protected Document |
ZipImport.docVo |
Constructor and Description |
---|
InMemoryZipImport(Document docVo) |
ZipImport(Document docVo)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
DocumentPreview.createPreviewResource(Document doc,
String fileVersion,
String resource)
Creates the preview resource according to the specified format storing it
in the repository for future access.
|
Modifier and Type | Method and Description |
---|---|
protected Document |
DocumentServiceImpl.toDocument(GUIDocument document)
Produces a plain new Document from a GUIDocument
|
Modifier and Type | Method and Description |
---|---|
protected void |
DocumentServiceImpl.checkPublished(User user,
Document doc) |
static GUIDocument |
DocumentServiceImpl.fromDocument(Document doc,
GUIFolder folder) |
Modifier and Type | Method and Description |
---|---|
protected void |
ResourceServiceImpl.checkPublished(User user,
Document doc) |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractService.checkPublished(User user,
Document doc) |
Modifier and Type | Method and Description |
---|---|
Document |
WSDocument.toDocument() |
Copyright © 2008-2014 Logical Objects. All Rights Reserved.