Interface DocumentServiceAsync
public interface DocumentServiceAsync
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addBookmarks
(Long[] targetIds, int type, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback) void
addDocuments
(boolean importZip, String charset, boolean immediateIndexing, GUIDocument metadata, com.google.gwt.user.client.rpc.AsyncCallback<GUIDocument[]> callback) void
addDocuments
(String language, long folderId, boolean importZip, String charset, boolean immediateIndexing, Long templateId, com.google.gwt.user.client.rpc.AsyncCallback<GUIDocument[]> callback) void
void
archiveDocuments
(Long[] docIds, String comment, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback) void
archiveFolder
(long folderId, String comment, com.google.gwt.user.client.rpc.AsyncCallback<Long> callback) void
bulkUpdate
(Long[] ids, GUIDocument vo, boolean ignoreEmptyFields, com.google.gwt.user.client.rpc.AsyncCallback<GUIDocument[]> callback) void
checkin
(GUIDocument document, boolean major, com.google.gwt.user.client.rpc.AsyncCallback<GUIDocument> callback) void
checkinContent
(long docId, String content, com.google.gwt.user.client.rpc.AsyncCallback<GUIDocument> callback) void
void
cleanUploadedFileFolder
(com.google.gwt.user.client.rpc.AsyncCallback<Void> callback) void
convert
(long docId, String fileVersion, String format, com.google.gwt.user.client.rpc.AsyncCallback<GUIDocument> callback) void
countDocuments
(long[] folderIds, int status, com.google.gwt.user.client.rpc.AsyncCallback<Long> callback) void
createDocument
(GUIDocument document, String content, com.google.gwt.user.client.rpc.AsyncCallback<GUIDocument> callback) void
createDownloadTicket
(long docId, int type, String suffix, Integer expireHours, Date expireDate, Integer maxDownloads, Integer maxViews, com.google.gwt.user.client.rpc.AsyncCallback<String[]> callback) void
createWithContent
(GUIDocument vo, String content, boolean checkout, com.google.gwt.user.client.rpc.AsyncCallback<GUIDocument> callback) void
deDuplicate
(Long folderId, boolean retainNewest, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback) void
void
deleteBookmarks
(long[] bookmarkIds, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback) void
deleteFromTrash
(Long[] ids, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback) void
deleteLinks
(long[] ids, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback) void
deleteNotes
(long[] ids, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback) void
deleteRating
(long id, com.google.gwt.user.client.rpc.AsyncCallback<Integer> callback) void
deleteTicket
(long ticketId, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback) void
deleteVersions
(long[] ids, com.google.gwt.user.client.rpc.AsyncCallback<GUIDocument> callback) void
disableTicket
(long ticketId, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback) void
emptyTrash
(com.google.gwt.user.client.rpc.AsyncCallback<Void> callback) void
enableTicket
(long ticketId, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback) void
enforceFilesIntoFolderStorage
(long folderId, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback) void
extractEmail
(long docId, String fileVersion, com.google.gwt.user.client.rpc.AsyncCallback<GUIEmail> callback) void
getById
(long docId, com.google.gwt.user.client.rpc.AsyncCallback<GUIDocument> callback) void
getContentAsString
(long docId, com.google.gwt.user.client.rpc.AsyncCallback<String> callback) void
getNotes
(long docId, String fileVersion, Collection<String> types, com.google.gwt.user.client.rpc.AsyncCallback<GUIDocumentNote[]> callback) void
void
getUserRating
(long docId, com.google.gwt.user.client.rpc.AsyncCallback<GUIRating> callback) void
getVersionsById
(long id1, long id2, com.google.gwt.user.client.rpc.AsyncCallback<GUIVersion[]> callback) void
indexDocuments
(Long[] docIds, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback) void
linkDocuments
(Long[] inDocIds, Long[] outDocIds, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback) void
void
makeImmutable
(Long[] ids, String comment, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback) void
markHistoryAsRead
(String event, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback) void
markIndexable
(Long[] docIds, int policy, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback) void
markUnindexable
(Long[] docIds, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback) void
merge
(Long[] docIds, long targetFolderId, String fileName, com.google.gwt.user.client.rpc.AsyncCallback<GUIDocument> callback) void
promoteVersion
(long docId, String version, com.google.gwt.user.client.rpc.AsyncCallback<GUIDocument> callback) void
rename
(long documentId, String name, com.google.gwt.user.client.rpc.AsyncCallback<GUIDocument> callback) void
replaceAlias
(long aliasId, com.google.gwt.user.client.rpc.AsyncCallback<GUIDocument> callback) void
replaceFile
(long docId, String fileVersion, String comment, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback) void
void
save
(GUIDocument document, com.google.gwt.user.client.rpc.AsyncCallback<GUIDocument> callback) void
saveEmailAttachment
(long docId, String fileVersion, String attachmentFileName, com.google.gwt.user.client.rpc.AsyncCallback<GUIDocument> callback) void
saveNotes
(long docId, GUIDocumentNote[] notes, Collection<String> types, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback) void
saveRating
(GUIRating rating, com.google.gwt.user.client.rpc.AsyncCallback<Integer> callback) void
sendAsEmail
(GUIEmail email, String locale, com.google.gwt.user.client.rpc.AsyncCallback<String> callback) void
setPassword
(long docId, String password, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback) void
unarchiveDocuments
(long[] docIds, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback) void
void
unprotect
(long docId, String password, com.google.gwt.user.client.rpc.AsyncCallback<Boolean> callback) void
unsetPassword
(long docId, String currentPassword, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback) void
updateBookmark
(GUIBookmark bookmark, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback) void
updateLink
(long id, String type, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback) void
updateNote
(long docId, long noteId, String message, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback) void
updatePages
(long docId, com.google.gwt.user.client.rpc.AsyncCallback<Integer> callback) void
validate
(GUIDocument document, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
-
Method Details
-
getVersionsById
void getVersionsById(long id1, long id2, com.google.gwt.user.client.rpc.AsyncCallback<GUIVersion[]> callback) -
getById
-
save
-
sendAsEmail
-
updateLink
-
deleteLinks
-
delete
-
makeImmutable
-
lock
-
unlock
-
addDocuments
void addDocuments(String language, long folderId, boolean importZip, String charset, boolean immediateIndexing, Long templateId, com.google.gwt.user.client.rpc.AsyncCallback<GUIDocument[]> callback) -
checkout
-
checkin
void checkin(GUIDocument document, boolean major, com.google.gwt.user.client.rpc.AsyncCallback<GUIDocument> callback) -
linkDocuments
-
restore
-
addBookmarks
-
deleteBookmarks
void deleteBookmarks(long[] bookmarkIds, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback) -
updateBookmark
void updateBookmark(GUIBookmark bookmark, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback) -
markHistoryAsRead
-
markIndexable
-
markUnindexable
-
cleanUploadedFileFolder
-
getRating
-
saveRating
-
deleteNotes
-
addNote
-
bulkUpdate
void bulkUpdate(Long[] ids, GUIDocument vo, boolean ignoreEmptyFields, com.google.gwt.user.client.rpc.AsyncCallback<GUIDocument[]> callback) -
addDocuments
void addDocuments(boolean importZip, String charset, boolean immediateIndexing, GUIDocument metadata, com.google.gwt.user.client.rpc.AsyncCallback<GUIDocument[]> callback) -
updateNote
-
deleteVersions
-
createWithContent
void createWithContent(GUIDocument vo, String content, boolean checkout, com.google.gwt.user.client.rpc.AsyncCallback<GUIDocument> callback) -
indexDocuments
-
deleteFromTrash
-
emptyTrash
-
archiveDocuments
-
archiveFolder
-
countDocuments
void countDocuments(long[] folderIds, int status, com.google.gwt.user.client.rpc.AsyncCallback<Long> callback) -
unarchiveDocuments
-
createDownloadTicket
-
setPassword
-
unsetPassword
-
unprotect
-
getContentAsString
-
checkinContent
void checkinContent(long docId, String content, com.google.gwt.user.client.rpc.AsyncCallback<GUIDocument> callback) -
createDocument
void createDocument(GUIDocument document, String content, com.google.gwt.user.client.rpc.AsyncCallback<GUIDocument> callback) -
getUserRating
-
deleteRating
-
convert
void convert(long docId, String fileVersion, String format, com.google.gwt.user.client.rpc.AsyncCallback<GUIDocument> callback) -
extractEmail
-
saveEmailAttachment
void saveEmailAttachment(long docId, String fileVersion, String attachmentFileName, com.google.gwt.user.client.rpc.AsyncCallback<GUIDocument> callback) -
replaceAlias
-
deDuplicate
-
replaceFile
-
promoteVersion
void promoteVersion(long docId, String version, com.google.gwt.user.client.rpc.AsyncCallback<GUIDocument> callback) -
getNotes
void getNotes(long docId, String fileVersion, Collection<String> types, com.google.gwt.user.client.rpc.AsyncCallback<GUIDocumentNote[]> callback) -
saveNotes
void saveNotes(long docId, GUIDocumentNote[] notes, Collection<String> types, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback) -
deleteTicket
-
enableTicket
-
disableTicket
-
enforceFilesIntoFolderStorage
void enforceFilesIntoFolderStorage(long folderId, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback) -
merge
void merge(Long[] docIds, long targetFolderId, String fileName, com.google.gwt.user.client.rpc.AsyncCallback<GUIDocument> callback) -
updatePages
-
rename
void rename(long documentId, String name, com.google.gwt.user.client.rpc.AsyncCallback<GUIDocument> callback) -
validate
-