package info.metadude.java.library.halfnarp;

import java.util.List;

import info.metadude.java.library.halfnarp.model.CreateTalkPreferencesSuccessResponse;
import info.metadude.java.library.halfnarp.model.GetTalkPreferencesSuccessResponse;
import info.metadude.java.library.halfnarp.model.GetTalksResponse;
import info.metadude.java.library.halfnarp.model.TalkIds;
import info.metadude.java.library.halfnarp.model.UpdateTalkPreferencesSuccessResponse;
import retrofit.Callback;
import retrofit.http.Body;
import retrofit.http.GET;
import retrofit.http.POST;
import retrofit.http.PUT;
import retrofit.http.Path;

public interface TalkPreferencesService {

    public static final String SERVICE_END_POINT =
            "http://halfnarp.events.ccc.de";

    @GET("/-/talkpreferences")
    public void getTalks(
            Callback<List<GetTalksResponse>> getTalksResponseCallback);

    // TODO: Handle post error response

    @POST("/-/talkpreferences")
    public void createTalkPreferences(
            @Body TalkIds talkIds,
            Callback<CreateTalkPreferencesSuccessResponse> createTalkPreferencesResponseCallback);

    // TODO: Handle update error response

    @PUT("/-/talkpreferences/{uniqueId}")
    public void updateTalkPreferences(
            @Path("uniqueId") String uniqueId,
            @Body TalkIds talkIds,
            Callback<UpdateTalkPreferencesSuccessResponse> updateTalkPreferencesResponseCallback);

    // TODO: Handle getTalkPreferences error response

    @GET("/-/talkpreferences/{uniqueId}")
    public void getTalkPreferences(
            @Path("uniqueId") String uniqueId,
            Callback<GetTalkPreferencesSuccessResponse> getTalkPreferencesResponseCallback);

}

@@ -657,28 +657,8 @@
     
-public static final 
 Stri
@@ -679,28 +679,16 @@
 _POINT =
-%0A           
  %22http:/
@@ -745,31 +745,24 @@
 ences%22)%0A    
-public 
 void getTalk
@@ -910,31 +910,24 @@
 ences%22)%0A    
-public 
 void createT
@@ -1162,31 +1162,24 @@
 ueId%7D%22)%0A    
-public 
 void updateT
@@ -1477,19 +1477,12 @@
 %7D%22)%0A
+
     
-public 
 void

Remove unneeded modifiers from interface.