diff --git a/app/mobile-war/pom.xml b/app/mobile-war/pom.xml index 550252930..a8e8e7540 100644 --- a/app/mobile-war/pom.xml +++ b/app/mobile-war/pom.xml @@ -98,6 +98,13 @@ ${gwtVersion} jar + + com.intendia.gwt.autorpc + autorpc-gwt-processor + 0.1 + provided + true + org.silverpeas.components.delegatednews diff --git a/app/mobile-war/src/main/java/com/silverpeas/mobile/shared/services/ServiceAlmanachAsync.java b/app/mobile-war/src/main/java/com/silverpeas/mobile/shared/services/ServiceAlmanachAsync.java deleted file mode 100644 index 9211df659..000000000 --- a/app/mobile-war/src/main/java/com/silverpeas/mobile/shared/services/ServiceAlmanachAsync.java +++ /dev/null @@ -1,10 +0,0 @@ -package com.silverpeas.mobile.shared.services; - -import java.util.List; - -import com.google.gwt.user.client.rpc.AsyncCallback; -import com.silverpeas.mobile.shared.dto.EventDetailDTO; - -public interface ServiceAlmanachAsync { - void getAlmanach(String instanceId, AsyncCallback> callback); -} diff --git a/app/mobile-war/src/main/java/com/silverpeas/mobile/shared/services/ServiceCommentsAsync.java b/app/mobile-war/src/main/java/com/silverpeas/mobile/shared/services/ServiceCommentsAsync.java deleted file mode 100644 index 0048c07a3..000000000 --- a/app/mobile-war/src/main/java/com/silverpeas/mobile/shared/services/ServiceCommentsAsync.java +++ /dev/null @@ -1,13 +0,0 @@ -package com.silverpeas.mobile.shared.services; - -import com.google.gwt.user.client.rpc.AsyncCallback; -import com.silverpeas.mobile.shared.dto.comments.CommentDTO; - -import java.util.List; - -public interface ServiceCommentsAsync { - void getComments(String id, String type, final AsyncCallback> async); - - void addComment(String id, String instanceId, String type, String message, - final AsyncCallback async); -} diff --git a/app/mobile-war/src/main/java/com/silverpeas/mobile/shared/services/ServiceConnectionAsync.java b/app/mobile-war/src/main/java/com/silverpeas/mobile/shared/services/ServiceConnectionAsync.java deleted file mode 100644 index 1a703527a..000000000 --- a/app/mobile-war/src/main/java/com/silverpeas/mobile/shared/services/ServiceConnectionAsync.java +++ /dev/null @@ -1,17 +0,0 @@ -package com.silverpeas.mobile.shared.services; - -import java.util.List; - -import com.google.gwt.user.client.rpc.AsyncCallback; -import com.silverpeas.mobile.shared.dto.DetailUserDTO; -import com.silverpeas.mobile.shared.dto.DomainDTO; - - -public interface ServiceConnectionAsync { - - void login(String login, String password, String domainId, AsyncCallback callback); - - void getDomains(AsyncCallback> callback); - - void logout(final AsyncCallback async); -} diff --git a/app/mobile-war/src/main/java/com/silverpeas/mobile/shared/services/ServiceContactAsync.java b/app/mobile-war/src/main/java/com/silverpeas/mobile/shared/services/ServiceContactAsync.java deleted file mode 100644 index 81ae78080..000000000 --- a/app/mobile-war/src/main/java/com/silverpeas/mobile/shared/services/ServiceContactAsync.java +++ /dev/null @@ -1,10 +0,0 @@ -package com.silverpeas.mobile.shared.services; - -import java.util.List; - -import com.google.gwt.user.client.rpc.AsyncCallback; -import com.silverpeas.mobile.shared.dto.DetailUserDTO; - -public interface ServiceContactAsync { - void getContacts(String filter, int pageSize, int startIndex, final AsyncCallback> async); -} diff --git a/app/mobile-war/src/main/java/com/silverpeas/mobile/shared/services/ServiceDashboardAsync.java b/app/mobile-war/src/main/java/com/silverpeas/mobile/shared/services/ServiceDashboardAsync.java deleted file mode 100644 index 67a67406b..000000000 --- a/app/mobile-war/src/main/java/com/silverpeas/mobile/shared/services/ServiceDashboardAsync.java +++ /dev/null @@ -1,10 +0,0 @@ -package com.silverpeas.mobile.shared.services; - -import java.util.List; - -import com.google.gwt.user.client.rpc.AsyncCallback; -import com.silverpeas.mobile.shared.dto.SocialInformationDTO; - -public interface ServiceDashboardAsync { - void getAll(int reinitialisationPage, String socialInformationType, AsyncCallback > callback); -} diff --git a/app/mobile-war/src/main/java/com/silverpeas/mobile/shared/services/ServiceDocumentsAsync.java b/app/mobile-war/src/main/java/com/silverpeas/mobile/shared/services/ServiceDocumentsAsync.java deleted file mode 100644 index 5c085379c..000000000 --- a/app/mobile-war/src/main/java/com/silverpeas/mobile/shared/services/ServiceDocumentsAsync.java +++ /dev/null @@ -1,24 +0,0 @@ -package com.silverpeas.mobile.shared.services; - -import java.util.List; - -import com.google.gwt.user.client.rpc.AsyncCallback; -import com.silverpeas.mobile.shared.dto.BaseDTO; -import com.silverpeas.mobile.shared.dto.documents.TopicDTO; -import com.silverpeas.mobile.shared.dto.documents.AttachmentDTO; -import com.silverpeas.mobile.shared.dto.documents.PublicationDTO; - -public interface ServiceDocumentsAsync { - - void getTopics(String instanceId, String rootTopicId, AsyncCallback> callback); - - void getPublications(String instanceId, String topicId, AsyncCallback> callback); - - void getPublication(String pubId, AsyncCallback callback); - - void getTopicsAndPublications(String instanceId, String rootTopicId, AsyncCallback> callback); - - void getAttachment(String appId, String attachmentId, final AsyncCallback async); - - -} diff --git a/app/mobile-war/src/main/java/com/silverpeas/mobile/shared/services/ServiceMediaAsync.java b/app/mobile-war/src/main/java/com/silverpeas/mobile/shared/services/ServiceMediaAsync.java deleted file mode 100644 index 3c892d616..000000000 --- a/app/mobile-war/src/main/java/com/silverpeas/mobile/shared/services/ServiceMediaAsync.java +++ /dev/null @@ -1,32 +0,0 @@ -package com.silverpeas.mobile.shared.services; - -import java.util.List; - -import com.google.gwt.user.client.rpc.AsyncCallback; -import com.silverpeas.mobile.shared.dto.BaseDTO; -import com.silverpeas.mobile.shared.dto.media.PhotoDTO; -import com.silverpeas.mobile.shared.dto.media.SoundDTO; -import com.silverpeas.mobile.shared.dto.media.VideoDTO; -import com.silverpeas.mobile.shared.dto.media.VideoStreamingDTO; -import com.silverpeas.mobile.shared.dto.navigation.ApplicationInstanceDTO; - -public interface ServiceMediaAsync { - - void uploadPicture(String name, String data, String idGallery, String idAlbum, AsyncCallback callback); - - void getAllGalleries(AsyncCallback> callback); - - void getOriginalPicture(String instanceId, String pictureId, AsyncCallback callback); - - void getPreviewPicture(String instanceId, String pictureId, AsyncCallback callback); - - void getAlbumsAndPictures(String instanceId, String albumId, - final AsyncCallback> async); - - void getSound(String instanceId, String soundId, final AsyncCallback async); - - void getVideo(String instanceId, String videoId, final AsyncCallback async); - - void getVideoStreaming(final String instanceId, final String videoId, - final AsyncCallback async); -} diff --git a/app/mobile-war/src/main/java/com/silverpeas/mobile/shared/services/ServiceNewsAsync.java b/app/mobile-war/src/main/java/com/silverpeas/mobile/shared/services/ServiceNewsAsync.java deleted file mode 100644 index ab648fd4f..000000000 --- a/app/mobile-war/src/main/java/com/silverpeas/mobile/shared/services/ServiceNewsAsync.java +++ /dev/null @@ -1,10 +0,0 @@ -package com.silverpeas.mobile.shared.services; - -import com.google.gwt.user.client.rpc.AsyncCallback; -import com.silverpeas.mobile.shared.dto.news.NewsDTO; - -import java.util.List; - -public interface ServiceNewsAsync { - void loadNews(final AsyncCallback> async); -} diff --git a/app/mobile-war/src/main/java/com/silverpeas/mobile/shared/services/ServiceNotificationsAsync.java b/app/mobile-war/src/main/java/com/silverpeas/mobile/shared/services/ServiceNotificationsAsync.java deleted file mode 100644 index 066428083..000000000 --- a/app/mobile-war/src/main/java/com/silverpeas/mobile/shared/services/ServiceNotificationsAsync.java +++ /dev/null @@ -1,14 +0,0 @@ -package com.silverpeas.mobile.shared.services; - -import com.google.gwt.user.client.rpc.AsyncCallback; -import com.silverpeas.mobile.shared.dto.BaseDTO; -import com.silverpeas.mobile.shared.dto.notifications.NotificationDTO; - -import java.util.List; - -public interface ServiceNotificationsAsync { - - void send(NotificationDTO notification, List receivers, String subject, AsyncCallback async); - - void getAllowedUsersAndGroups(String componentId, String contentId, AsyncCallback> async); -} diff --git a/app/mobile-war/src/main/java/com/silverpeas/mobile/shared/services/ServiceRSEAsync.java b/app/mobile-war/src/main/java/com/silverpeas/mobile/shared/services/ServiceRSEAsync.java deleted file mode 100644 index d3c6066fb..000000000 --- a/app/mobile-war/src/main/java/com/silverpeas/mobile/shared/services/ServiceRSEAsync.java +++ /dev/null @@ -1,13 +0,0 @@ -package com.silverpeas.mobile.shared.services; - -import java.util.List; - -import com.google.gwt.user.client.rpc.AsyncCallback; -import com.silverpeas.mobile.shared.dto.StatusDTO; - -public interface ServiceRSEAsync { - void updateStatus(String status, AsyncCallback callback); - void getStatus(int step, AsyncCallback> callback); - - void getStatus(final AsyncCallback async); -} diff --git a/app/mobile-war/src/main/java/com/silverpeas/mobile/shared/services/ServiceSearchAsync.java b/app/mobile-war/src/main/java/com/silverpeas/mobile/shared/services/ServiceSearchAsync.java deleted file mode 100644 index b5c6b61fe..000000000 --- a/app/mobile-war/src/main/java/com/silverpeas/mobile/shared/services/ServiceSearchAsync.java +++ /dev/null @@ -1,10 +0,0 @@ -package com.silverpeas.mobile.shared.services; - -import com.google.gwt.user.client.rpc.AsyncCallback; -import com.silverpeas.mobile.shared.dto.search.ResultDTO; - -import java.util.List; - -public interface ServiceSearchAsync { - void search(String query, AsyncCallback> callback); -} diff --git a/app/mobile-war/src/main/java/com/silverpeas/mobile/shared/services/ServiceTasksAsync.java b/app/mobile-war/src/main/java/com/silverpeas/mobile/shared/services/ServiceTasksAsync.java deleted file mode 100644 index c6d804c72..000000000 --- a/app/mobile-war/src/main/java/com/silverpeas/mobile/shared/services/ServiceTasksAsync.java +++ /dev/null @@ -1,14 +0,0 @@ -package com.silverpeas.mobile.shared.services; - -import com.google.gwt.user.client.rpc.AsyncCallback; -import com.silverpeas.mobile.shared.dto.TaskDTO; - -import java.util.List; - -public interface ServiceTasksAsync { - void loadTasks(final AsyncCallback> async); - - void updateTask(TaskDTO task, final AsyncCallback async); - - void createTask(final TaskDTO task, final AsyncCallback async); -} diff --git a/app/mobile-war/src/main/java/com/silverpeas/mobile/shared/services/navigation/ServiceNavigationAsync.java b/app/mobile-war/src/main/java/com/silverpeas/mobile/shared/services/navigation/ServiceNavigationAsync.java deleted file mode 100644 index 72213c899..000000000 --- a/app/mobile-war/src/main/java/com/silverpeas/mobile/shared/services/navigation/ServiceNavigationAsync.java +++ /dev/null @@ -1,13 +0,0 @@ -package com.silverpeas.mobile.shared.services.navigation; - -import java.util.List; - -import com.google.gwt.user.client.rpc.AsyncCallback; -import com.silverpeas.mobile.shared.dto.navigation.ApplicationInstanceDTO; -import com.silverpeas.mobile.shared.dto.navigation.SilverpeasObjectDTO; - -public interface ServiceNavigationAsync { - void getSpacesAndApps(String rootSpaceId, String appType, AsyncCallback> callback); - - void getApp(String instanceId, final AsyncCallback async); -}