using System.Collections.Generic; using Sony.Filtr.Contracts.Entities; namespace Sony.Filtr.Contracts.Abstractions { public interface IApplicationInstanceManager { Application GetApplication(int id); List GetApplications(); void ClearApplicationsCache(); Application GetFallbackApplication(); Application GetGlobalPushApplication(); Application GetApplicationByCountry(string countryCode, bool fallback = true, bool onlyActive = true); Application GetRegularApplicationByCountrySpecialFallback(string countryCode); Application GetWorkoutApplicationByCountrySpecialFallback(string countryCode); Application SaveApplication(Application app); void DeleteApplication(Application app); Application GetWorkoutFallbackApplication(); IList GetCentralAmericanAndCaribbeanCountryCodes(); Application GetCentralAmericaMarket(IEnumerable apps); Application GetLatinMarket(IEnumerable apps); IList GetLatinCountryCodes(); bool IsCentralAmericanAndCaribbeanCountry(string countryCode); bool IsLatinCountry(string countryCode); List GetApplicationRegions(string countryCode); } }