Interface ITabVersionDetailController
Interface controller responsible to manage the tab version details.
Namespace: DotNetNuke.Entities.Tabs.TabVersions
Assembly: DotNetNuke.dll
Syntax
public interface ITabVersionDetailController
Methods
| Improve this Doc View SourceClearCache(Int32)
Clears the tab version cache based on the tab version identifier.
Declaration
void ClearCache(int tabVersionId)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | tabVersionId | The tab version identifier. |
DeleteTabVersionDetail(Int32, Int32)
Deletes a TabVersionDetail.
Declaration
void DeleteTabVersionDetail(int tabVersionId, int tabVersionDetailId)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | tabVersionId | The TabVersion Id to be queried. |
System.Int32 | tabVersionDetailId | The TabVersionDetail Id to be deleted. |
GetTabVersionDetail(Int32, Int32, Boolean)
Gets a Tab Version Detail object of an existing Tab Version.
Declaration
TabVersionDetail GetTabVersionDetail(int tabVersionDetailId, int tabVersionId, bool ignoreCache = false)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | tabVersionDetailId | The Tab Version Detail Id to be get. |
System.Int32 | tabVersionId | The Tab Version Id to be queried. |
System.Boolean | ignoreCache | If true, the method will not use the Caching Storage. |
Returns
Type | Description |
---|---|
TabVersionDetail | TabVersionDetail object filled with specific data. |
GetTabVersionDetails(Int32, Boolean)
Gets all TabVersionDetail objects of an existing TabVersion.
Declaration
IEnumerable<TabVersionDetail> GetTabVersionDetails(int tabVersionId, bool ignoreCache = false)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | tabVersionId | Tha TabVersion Id to be queried. |
System.Boolean | ignoreCache | If true, the method will not use the Caching Storage. |
Returns
Type | Description |
---|---|
IEnumerable<TabVersionDetail> | List of TabVersionDetail objects. |
GetVersionHistory(Int32, Int32)
Get all Tab Version Details of a existing version and earlier.
Declaration
IEnumerable<TabVersionDetail> GetVersionHistory(int tabId, int version)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | tabId | The Tab Id to be queried. |
System.Int32 | version | The maximum tab version to retrieve. |
Returns
Type | Description |
---|---|
IEnumerable<TabVersionDetail> | List of TabVersionDetail objects. |
SaveTabVersionDetail(TabVersionDetail, Int32, Int32)
Saves a TabVersionDetail object. Adds or updates an existing one.
Declaration
void SaveTabVersionDetail(TabVersionDetail tabVersionDetail, int createdByUserId, int modifiedByUserId)
Parameters
Type | Name | Description |
---|---|---|
TabVersionDetail | tabVersionDetail | TabVersionDetail object to be saved. |
System.Int32 | createdByUserId | User Id who created the TabVersionDetail. |
System.Int32 | modifiedByUserId | User Id who modifies the TabVersionDetail. |
SaveTabVersionDetail(TabVersionDetail, Int32)
Saves a TabVersionDetail object. Adds or updates an existing one.
Declaration
void SaveTabVersionDetail(TabVersionDetail tabVersionDetail, int createdByUserId)
Parameters
Type | Name | Description |
---|---|---|
TabVersionDetail | tabVersionDetail | TabVersionDetail object to be saved. |
System.Int32 | createdByUserId | User Id who creates the TabVersionDetail. |
SaveTabVersionDetail(TabVersionDetail)
Saves a Tab Version Detail object. Adds or updates an existing one.
Declaration
void SaveTabVersionDetail(TabVersionDetail tabVersionDetail)
Parameters
Type | Name | Description |
---|---|---|
TabVersionDetail | tabVersionDetail | TabVersionDetail object to be saved. |