Interface DocumentServiceAsync
public interface DocumentServiceAsync
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addBookmarks
(List<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<List<GUIDocument>> callback) void
addDocuments
(String language, long folderId, boolean importZip, String charset, boolean immediateIndexing, Long templateId, com.google.gwt.user.client.rpc.AsyncCallback<List<GUIDocument>> callback) void
void
applyParentFolderSecurity
(long docId, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback) void
archiveDocuments
(List<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
(List<Long> ids, GUIDocument vo, boolean ignoreEmptyFields, com.google.gwt.user.client.rpc.AsyncCallback<List<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
(List<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<List<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
(List<Long> bookmarkIds, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback) void
deleteFromTrash
(List<Long> ids, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback) void
deleteLinks
(List<Long> ids, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback) void
deleteNotes
(List<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
(List<Long> ids, com.google.gwt.user.client.rpc.AsyncCallback<GUIDocument> callback) void
destroyDocuments
(List<Long> ids, com.google.gwt.user.client.rpc.AsyncCallback<Void> 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
enforceFilesIntoFolderStore
(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
getAllowedPermissions
(List<Long> docIds, com.google.gwt.user.client.rpc.AsyncCallback<GUIAccessControlEntry> 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<List<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<List<GUIVersion>> callback) void
indexDocuments
(List<Long> docIds, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback) void
linkDocuments
(List<Long> inDocIds, List<Long> outDocIds, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback) void
void
makeImmutable
(List<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
(List<Long> docIds, int policy, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback) void
markUnindexable
(List<Long> docIds, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback) void
merge
(List<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
(List<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
saveACL
(GUIDocument document, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback) void
saveEmailAttachment
(long docId, String fileVersion, String attachmentFileName, com.google.gwt.user.client.rpc.AsyncCallback<GUIDocument> callback) void
saveNotes
(long docId, String fileVersion, List<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
(List<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 fileVersion, 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<List<GUIVersion>> callback) -
getById
-
save
-
sendAsEmail
-
updateLink
-
deleteLinks
-
delete
-
destroyDocuments
-
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<List<GUIDocument>> callback) -
checkout
-
checkin
void checkin(GUIDocument document, boolean major, com.google.gwt.user.client.rpc.AsyncCallback<GUIDocument> callback) -
linkDocuments
-
restore
-
addBookmarks
-
deleteBookmarks
-
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(List<Long> ids, GUIDocument vo, boolean ignoreEmptyFields, com.google.gwt.user.client.rpc.AsyncCallback<List<GUIDocument>> callback) -
addDocuments
void addDocuments(boolean importZip, String charset, boolean immediateIndexing, GUIDocument metadata, com.google.gwt.user.client.rpc.AsyncCallback<List<GUIDocument>> callback) -
updateNote
-
deleteVersions
void deleteVersions(List<Long> ids, com.google.gwt.user.client.rpc.AsyncCallback<GUIDocument> callback) -
createWithContent
void createWithContent(GUIDocument vo, String content, boolean checkout, com.google.gwt.user.client.rpc.AsyncCallback<GUIDocument> callback) -
indexDocuments
-
deleteFromTrash
-
emptyTrash
-
archiveDocuments
-
archiveFolder
-
countDocuments
-
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<List<GUIDocumentNote>> callback) -
saveNotes
void saveNotes(long docId, String fileVersion, List<GUIDocumentNote> notes, Collection<String> types, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback) -
deleteTicket
-
enableTicket
-
disableTicket
-
enforceFilesIntoFolderStore
void enforceFilesIntoFolderStore(long folderId, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback) -
merge
void merge(List<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
-
getAllowedPermissions
void getAllowedPermissions(List<Long> docIds, com.google.gwt.user.client.rpc.AsyncCallback<GUIAccessControlEntry> callback) -
saveACL
-
applyParentFolderSecurity
void applyParentFolderSecurity(long docId, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
-