Interface DocumentServiceAsync


public interface DocumentServiceAsync
  • Method Details

    • getVersionsById

      void getVersionsById(long id1, long id2, com.google.gwt.user.client.rpc.AsyncCallback<List<GUIVersion>> 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(List<Long> ids, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
    • delete

      void delete(List<Long> ids, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
    • destroyDocuments

      void destroyDocuments(List<Long> ids, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
    • makeImmutable

      void makeImmutable(List<Long> ids, String comment, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
    • lock

      void lock(List<Long> ids, String comment, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
    • unlock

      void unlock(List<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<List<GUIDocument>> callback)
    • checkout

      void checkout(List<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(List<Long> inDocIds, List<Long> outDocIds, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
    • restore

      void restore(List<Long> docIds, long folderId, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
    • addBookmarks

      void addBookmarks(List<Long> targetIds, int type, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
    • deleteBookmarks

      void deleteBookmarks(List<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(List<Long> docIds, int policy, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
    • markUnindexable

      void markUnindexable(List<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(List<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(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

      void updateNote(long docId, long noteId, String fileVersion, String message, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
    • 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

      void indexDocuments(List<Long> docIds, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
    • deleteFromTrash

      void deleteFromTrash(List<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(List<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(List<Long> folderIds, int status, com.google.gwt.user.client.rpc.AsyncCallback<Long> callback)
    • unarchiveDocuments

      void unarchiveDocuments(List<Long> docIds, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
    • createDownloadTicket

      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)
    • 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<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

      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(List<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)
    • getAllowedPermissions

      void getAllowedPermissions(List<Long> docIds, com.google.gwt.user.client.rpc.AsyncCallback<GUIAccessControlEntry> callback)
    • saveACL

      void saveACL(GUIDocument document, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
    • applyParentFolderSecurity

      void applyParentFolderSecurity(long docId, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)