-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #37 from timeforcoffee/fix_departures
Show all departures from backend
- Loading branch information
Showing
12 changed files
with
160 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
.../java/ch/liip/timeforcoffee/api/events/stationsSearchEvents/FetchStationsSearchEvent.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
...ip/timeforcoffee/api/events/stationsSearchOneEvents/FetchStationsOneSearchErrorEvent.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package ch.liip.timeforcoffee.api.events.stationsSearchOneEvents; | ||
|
||
import retrofit.RetrofitError; | ||
|
||
public class FetchStationsOneSearchErrorEvent { | ||
|
||
private RetrofitError error; | ||
private Throwable throwable; | ||
|
||
public FetchStationsOneSearchErrorEvent(RetrofitError error) { | ||
this.error = error; | ||
} | ||
|
||
public FetchStationsOneSearchErrorEvent(Throwable throwable) { | ||
this.throwable = throwable; | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
...ch/liip/timeforcoffee/api/events/stationsSearchOneEvents/FetchStationsSearchOneEvent.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package ch.liip.timeforcoffee.api.events.stationsSearchOneEvents; | ||
|
||
public class FetchStationsSearchOneEvent { | ||
|
||
private String searchQuery; | ||
|
||
public FetchStationsSearchOneEvent(String searchQuery) { | ||
this.searchQuery = searchQuery; | ||
} | ||
|
||
public String getSearchQuery() { | ||
return searchQuery; | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
...liip/timeforcoffee/api/events/stationsSearchOneEvents/FetchZvvStationsSearchOneEvent.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package ch.liip.timeforcoffee.api.events.stationsSearchOneEvents; | ||
|
||
public class FetchZvvStationsSearchOneEvent { | ||
|
||
private final String searchQuery; | ||
|
||
public FetchZvvStationsSearchOneEvent(String searchQuery) { | ||
this.searchQuery = searchQuery; | ||
} | ||
|
||
public String getSearchQuery() { | ||
return searchQuery; | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
.../liip/timeforcoffee/api/events/stationsSearchOneEvents/StationsSearchOneFetchedEvent.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package ch.liip.timeforcoffee.api.events.stationsSearchOneEvents; | ||
|
||
import ch.liip.timeforcoffee.api.models.Station; | ||
|
||
public class StationsSearchOneFetchedEvent { | ||
|
||
private Station station; | ||
|
||
public StationsSearchOneFetchedEvent(Station station) { | ||
this.station = station; | ||
} | ||
|
||
public Station getStation() { | ||
return station; | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
...ip/timeforcoffee/api/events/stationsSearchOneEvents/ZvvStationsSearchOneFetchedEvent.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package ch.liip.timeforcoffee.api.events.stationsSearchOneEvents; | ||
|
||
import ch.liip.timeforcoffee.zvv.Station; | ||
|
||
public class ZvvStationsSearchOneFetchedEvent { | ||
|
||
private Station station; | ||
|
||
public ZvvStationsSearchOneFetchedEvent(Station station) { | ||
this.station = station; | ||
} | ||
|
||
public Station getStation() { | ||
return station; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters