using Oqtane.Models;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Oqtane.Services
{
///
/// Service to manage entries
///
public interface IThemeService
{
///
/// Returns a list of available themes
///
///
Task> GetThemesAsync();
///
/// Returns a specific theme
///
///
///
///
Task GetThemeAsync(int themeId, int siteId);
///
/// Returns a theme s containing a specific theme control type
///
///
///
///
Theme GetTheme(List themes, string themeControlType);
///
/// Returns a list of s from the given themes
///
///
///
List GetThemeControls(List themes);
///
/// Returns a list of s for a theme containing a specific theme control type
///
///
///
///
List GetThemeControls(List themes, string themeControlType);
///
/// Returns a list of containers () for a theme containing a specific theme control type
///
///
///
///
List GetContainerControls(List themes, string themeControlType);
///
/// Updates a existing theme
///
///
///
Task UpdateThemeAsync(Theme theme);
///
/// Deletes a theme
///
///
///
Task DeleteThemeAsync(string themeName);
///
/// Creates a new theme
///
///
///
Task CreateThemeAsync(Theme theme);
///
/// Returns a list of theme templates ()
///
///
Task> GetThemeTemplatesAsync();
///
/// Returns a list of layouts () from the given themes with a matching theme name
///
///
///
///
List GetLayoutControls(List themes, string themeName);
}
}