IConfigurableThemeableApplicationType
is defined in the Telligent.Evolution.Extensibility.Urls.Version1
namespace of Telligent.Evolution.Platform.dll
Definition
interface IConfigurableThemeableApplicationType : IApplicationType, INavigableApplicationType, IPlugin, IThemeableApplicationType { Guid DefaultThemeId { get; } Guid ParentThemeTypeId { get; } string PathDelimiter { get; } string ThemeTypeDescription { get; } Guid ThemeTypeId { get; } string ThemeTypeName { get; } bool CanConfigureTheme(int userId, Guid applicationId); bool CanCreate(int userId, Guid applicationId); bool CanEdit(int userId, Guid applicationId, bool isCustom); bool CanSetDefaultTheme(int userId); bool CanSetTheme(int userId, Guid applicationId); IEnumerable<IApplication> FindApplications(string query); string GetContextName(Guid applicationId); IThemeContext GetParent(Guid applicationId); int[] GetResponsibleUserIds(Guid applicationId); Guid? GetSampleApplicationId(Guid? themeId); Guid GetThemeId(Guid applicationId); void SetDefaultTheme(int userId, Guid themeId); void SetTheme(int userId, Guid applicationId, Guid themeId); }
Properties
Name | Type | Description | Default | Options |
---|---|---|---|---|
DefaultThemeId | Guid | |||
ParentThemeTypeId | Guid | |||
PathDelimiter | string | |||
ThemeTypeDescription | string | |||
ThemeTypeId | Guid | |||
ThemeTypeName | string |
Methods
bool CanConfigureTheme(int userId, Guid applicationId);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
userId | int | User Id | Required | ||
applicationId | Guid | Application Id | Required |
Return Type
bool
bool CanCreate(int userId, Guid applicationId);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
userId | int | User Id | Required | ||
applicationId | Guid | Application Id | Required |
Return Type
bool
bool CanEdit(int userId, Guid applicationId, bool isCustom);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
userId | int | User Id | Required | ||
applicationId | Guid | Application Id | Required | ||
isCustom | bool | Is Custom | Required |
Return Type
bool
bool CanSetDefaultTheme(int userId);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
userId | int | User Id | Required |
Return Type
bool
bool CanSetTheme(int userId, Guid applicationId);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
userId | int | User Id | Required | ||
applicationId | Guid | Application Id | Required |
Return Type
bool
IEnumerable<IApplication> FindApplications(string query);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
query | string | Query | Required |
Return Type
IEnumerable<IApplication>
string GetContextName(Guid applicationId);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
applicationId | Guid | Application Id | Required |
Return Type
string
IThemeContext GetParent(Guid applicationId);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
applicationId | Guid | Application Id | Required |
Return Type
IThemeContext
int[] GetResponsibleUserIds(Guid applicationId);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
applicationId | Guid | Application Id | Required |
Return Type
int[]
Guid? GetSampleApplicationId(Guid? themeId);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
themeId | Guid? | Theme Id | Required |
Return Type
Guid?
Guid GetThemeId(Guid applicationId);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
applicationId | Guid | Application Id | Required |
Return Type
Guid
void SetDefaultTheme(int userId, Guid themeId);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
userId | int | User Id | Required | ||
themeId | Guid | Theme Id | Required |
void SetTheme(int userId, Guid applicationId, Guid themeId);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
userId | int | User Id | Required | ||
applicationId | Guid | Application Id | Required | ||
themeId | Guid | Theme Id | Required |