Interface DocumentServiceAsync


  • public interface DocumentServiceAsync
    • 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 id,
                      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<Void> 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)
      • 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)