@@ -0,0 +1,1315 @@
+package de.pascaldierich.domain.repository.network;%0A%0A/**%0A * Created by Pascal Dierich on Feb, 2017.%0A */%0A%0Aimport de.pascaldierich.model.network.models.youtube.channel.YouTubeChannelsPage;%0Aimport de.pascaldierich.model.network.models.youtube.search.YouTubeSearchPage;%0A%0A/**%0A * Boundaries for model.network.services and interactors%0A * Defines Methods for interacting with the Data Layer to request Api-Data%0A */%0Apublic interface ApiRepository %7B%0A%0A    /**%0A     * Search in YouTube Api for the latest (@param time)%0A     * X (@param range) Activities for given User (@param id).%0A     * @param id, String: userId defined as key in 'Sites' table%0A     * @param time, String as RFC3339: publishedAfter Parameter in Api-Request%0A     * @param range, int: number of maxResults in Api-Response%0A     * @return YouTubeSearchPage: model-POJO for interactors%0A     */%0A    YouTubeSearchPage searchYouTube(String id, String time, int range);%0A%0A    /**%0A     * Get X (@param range) results for userId request%0A     * from YouTube for given Name (@param name)%0A     * @param name, String: (@WARNING: UserInput) Name of the requested Observable%0A     * @param range, int: number of maxResults in Api-Response%0A     * @return YouTubeChannelsPage: model-POJO for interactors%0A     */%0A    YouTubeChannelsPage getIdYouTube(String name, int range);%0A%0A%0A%0A%7D%0A

add ApiRepository interface in 'app' module in domain Layer