Interface DocumentServiceAsync
-
public interface DocumentServiceAsync
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
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
addNote(long docId, String message, com.google.gwt.user.client.rpc.AsyncCallback<Long> callback)
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
checkout(long[] docIds, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
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, String suffix, Integer expireHours, Date expireDate, Integer maxDownloads, com.google.gwt.user.client.rpc.AsyncCallback<String[]> callback)
void
createWithContent(GUIDocument vo, String content, 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
delete(long[] ids, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
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
getAttributes(long templateId, com.google.gwt.user.client.rpc.AsyncCallback<GUIAttribute[]> 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
getRating(long docId, com.google.gwt.user.client.rpc.AsyncCallback<GUIRating> callback)
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
lock(long[] ids, String comment, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
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
restore(Long[] docIds, long folderId, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
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
unlock(long[] ids, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
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 Detail
-
getVersionsById
void getVersionsById(long id1, long id2, com.google.gwt.user.client.rpc.AsyncCallback<GUIVersion[]> callback)
-
getAttributes
void getAttributes(long templateId, com.google.gwt.user.client.rpc.AsyncCallback<GUIAttribute[]> callback)
-
getById
void getById(long docId, com.google.gwt.user.client.rpc.AsyncCallback<GUIDocument> callback)
-
save
void save(GUIDocument document, com.google.gwt.user.client.rpc.AsyncCallback<GUIDocument> callback)
-
sendAsEmail
void sendAsEmail(GUIEmail email, String locale, com.google.gwt.user.client.rpc.AsyncCallback<String> callback)
-
updateLink
void updateLink(long id, String type, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
-
deleteLinks
void deleteLinks(long[] ids, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
-
delete
void delete(long[] ids, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
-
makeImmutable
void makeImmutable(long[] ids, String comment, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
-
lock
void lock(long[] ids, String comment, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
-
unlock
void unlock(long[] ids, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
-
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
void checkout(long[] docIds, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
-
checkin
void checkin(GUIDocument document, boolean major, com.google.gwt.user.client.rpc.AsyncCallback<GUIDocument> callback)
-
linkDocuments
void linkDocuments(long[] inDocIds, long[] outDocIds, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
-
restore
void restore(Long[] docIds, long folderId, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
-
addBookmarks
void addBookmarks(long[] targetIds, int type, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
-
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
void markHistoryAsRead(String event, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
-
markIndexable
void markIndexable(long[] docIds, int policy, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
-
markUnindexable
void markUnindexable(long[] docIds, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
-
cleanUploadedFileFolder
void cleanUploadedFileFolder(com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
-
getRating
void getRating(long docId, com.google.gwt.user.client.rpc.AsyncCallback<GUIRating> callback)
-
saveRating
void saveRating(GUIRating rating, com.google.gwt.user.client.rpc.AsyncCallback<Integer> callback)
-
deleteNotes
void deleteNotes(long[] ids, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
-
addNote
void addNote(long docId, String message, com.google.gwt.user.client.rpc.AsyncCallback<Long> callback)
-
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
void updateNote(long docId, long noteId, String message, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
-
deleteVersions
void deleteVersions(long[] ids, com.google.gwt.user.client.rpc.AsyncCallback<GUIDocument> callback)
-
createWithContent
void createWithContent(GUIDocument vo, String content, com.google.gwt.user.client.rpc.AsyncCallback<GUIDocument> callback)
-
indexDocuments
void indexDocuments(Long[] docIds, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
-
deleteFromTrash
void deleteFromTrash(Long[] ids, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
-
emptyTrash
void emptyTrash(com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
-
archiveDocuments
void archiveDocuments(long[] docIds, String comment, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
-
archiveFolder
void archiveFolder(long folderId, String comment, com.google.gwt.user.client.rpc.AsyncCallback<Long> callback)
-
countDocuments
void countDocuments(long[] folderIds, int status, com.google.gwt.user.client.rpc.AsyncCallback<Long> callback)
-
unarchiveDocuments
void unarchiveDocuments(long[] docIds, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
-
createDownloadTicket
void createDownloadTicket(long docId, String suffix, Integer expireHours, Date expireDate, Integer maxDownloads, com.google.gwt.user.client.rpc.AsyncCallback<String[]> callback)
-
setPassword
void setPassword(long docId, String password, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
-
unsetPassword
void unsetPassword(long docId, String currentPassword, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
-
unprotect
void unprotect(long docId, String password, com.google.gwt.user.client.rpc.AsyncCallback<Boolean> callback)
-
getContentAsString
void getContentAsString(long docId, com.google.gwt.user.client.rpc.AsyncCallback<String> callback)
-
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
void getUserRating(long docId, com.google.gwt.user.client.rpc.AsyncCallback<GUIRating> callback)
-
deleteRating
void deleteRating(long id, com.google.gwt.user.client.rpc.AsyncCallback<Integer> callback)
-
convert
void convert(long docId, String fileVersion, String format, com.google.gwt.user.client.rpc.AsyncCallback<GUIDocument> callback)
-
extractEmail
void extractEmail(long docId, String fileVersion, com.google.gwt.user.client.rpc.AsyncCallback<GUIEmail> callback)
-
saveEmailAttachment
void saveEmailAttachment(long docId, String fileVersion, String attachmentFileName, com.google.gwt.user.client.rpc.AsyncCallback<GUIDocument> callback)
-
replaceAlias
void replaceAlias(long aliasId, com.google.gwt.user.client.rpc.AsyncCallback<GUIDocument> callback)
-
deDuplicate
void deDuplicate(Long folderId, boolean retainNewest, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
-
replaceFile
void replaceFile(long docId, String fileVersion, String comment, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
-
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
void deleteTicket(long ticketId, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
-
enableTicket
void enableTicket(long ticketId, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
-
disableTicket
void disableTicket(long ticketId, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
-
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
void updatePages(long docId, com.google.gwt.user.client.rpc.AsyncCallback<Integer> callback)
-
rename
void rename(long documentId, String name, com.google.gwt.user.client.rpc.AsyncCallback<GUIDocument> callback)
-
validate
void validate(GUIDocument document, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
-
-