Class ScreenLayoutService
- Namespace
- Dynamicweb.CoreUI.Data.ScreenLayouts
- Assembly
- Dynamicweb.CoreUI.dll
public sealed class ScreenLayoutService
- Inheritance
-
ScreenLayoutService
- Inherited Members
-
Methods
DeleteEditorsById(IEnumerable<int>)
public static bool DeleteEditorsById(IEnumerable<int> editorsIds)
Parameters
editorsIds
IEnumerable<int>
Returns
- bool
DeleteGroupsByIds(IEnumerable<int>)
public static bool DeleteGroupsByIds(IEnumerable<int> ids)
Parameters
ids
IEnumerable<int>
Returns
- bool
DeleteScreenLayoutsById(IEnumerable<int>)
public static bool DeleteScreenLayoutsById(IEnumerable<int> ids)
Parameters
ids
IEnumerable<int>
Returns
- bool
DeleteTabsById(IEnumerable<int>)
public static bool DeleteTabsById(IEnumerable<int> ids)
Parameters
ids
IEnumerable<int>
Returns
- bool
GetAllScreenLayouts()
public static IEnumerable<ScreenLayout> GetAllScreenLayouts()
Returns
- IEnumerable<ScreenLayout>
GetEditor(int)
public static ScreenLayoutEditor GetEditor(int editorId)
Parameters
editorId
int
Returns
- ScreenLayoutEditor
GetEditorsByGroupId(int)
public static IEnumerable<ScreenLayoutEditor> GetEditorsByGroupId(int groupId)
Parameters
groupId
int
Returns
- IEnumerable<ScreenLayoutEditor>
GetGroupById(int)
public static ScreenLayoutGroup GetGroupById(int id)
Parameters
id
int
Returns
- ScreenLayoutGroup
GetGroupsByTabId(int)
public static IEnumerable<ScreenLayoutGroup> GetGroupsByTabId(int tabId)
Parameters
tabId
int
Returns
- IEnumerable<ScreenLayoutGroup>
GetScreenLayout(int)
public static ScreenLayout GetScreenLayout(int id)
Parameters
id
int
Returns
- ScreenLayout
GetScreenLayoutEditorsBySystemName(string)
public static IEnumerable<ScreenLayoutEditor> GetScreenLayoutEditorsBySystemName(string systemName)
Parameters
systemName
string
Returns
- IEnumerable<ScreenLayoutEditor>
GetScreenLayoutIdByScreenLayoutEditorId(int)
public static int GetScreenLayoutIdByScreenLayoutEditorId(int editorId)
Parameters
editorId
int
Returns
- int
GetScreenLayoutScreenTypeDataModelByGroupId(int)
public static Type? GetScreenLayoutScreenTypeDataModelByGroupId(int ScreenLayoutGroupId)
Parameters
ScreenLayoutGroupId
int
Returns
- Type
GetTabById(int)
public static ScreenLayoutTab? GetTabById(int tabId)
Parameters
tabId
int
Returns
- ScreenLayoutTab
GetTabsByScreenLayoutId(int)
public static IEnumerable<ScreenLayoutTab> GetTabsByScreenLayoutId(int ScreenLayoutId)
Parameters
ScreenLayoutId
int
Returns
- IEnumerable<ScreenLayoutTab>
SaveEditor(ScreenLayoutEditor)
public static bool SaveEditor(ScreenLayoutEditor editor)
Parameters
editor
ScreenLayoutEditor
Returns
- bool
SaveGroup(ScreenLayoutGroup)
public static bool SaveGroup(ScreenLayoutGroup group)
Parameters
group
ScreenLayoutGroup
Returns
- bool
SaveScreenLayout(ScreenLayout)
public static bool SaveScreenLayout(ScreenLayout editor)
Parameters
editor
ScreenLayout
Returns
- bool
SaveTab(ScreenLayoutTab)
public static bool SaveTab(ScreenLayoutTab tab)
Parameters
tab
ScreenLayoutTab
Returns
- bool