Class TabVersionDetailController
Inheritance
Implements
Inherited Members
Namespace: DotNetNuke.Entities.Tabs.TabVersions
Assembly: DotNetNuke.dll
Syntax
public class TabVersionDetailController : ServiceLocator<ITabVersionDetailController, TabVersionDetailController>, ITabVersionDetailController
Methods
| Improve this Doc View SourceClearCache(Int32)
Clears the tab version cache based on the tab version identifier.
Declaration
public void ClearCache(int tabVersionId)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | tabVersionId | The tab version identifier. |
DeleteTabVersionDetail(Int32, Int32)
Deletes a TabVersionDetail.
Declaration
public 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. |
GetFactory()
Gets the service locator factory.
Declaration
protected override System.Func<ITabVersionDetailController> GetFactory()
Returns
Type | Description |
---|---|
System.Func<ITabVersionDetailController> | A factory function. |
Overrides
GetTabVersionDetail(Int32, Int32, Boolean)
Gets a Tab Version Detail object of an existing Tab Version.
Declaration
public 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
public 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
public 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
public void SaveTabVersionDetail(TabVersionDetail tabVersionDetail, int createdByUserID, int modifiedByUserID)
Parameters
Type | Name | Description |
---|---|---|
TabVersionDetail | tabVersionDetail | TabVersionDetail object to be saved. |
System.Int32 | createdByUserID | |
System.Int32 | modifiedByUserID |
SaveTabVersionDetail(TabVersionDetail, Int32)
Saves a TabVersionDetail object. Adds or updates an existing one.
Declaration
public void SaveTabVersionDetail(TabVersionDetail tabVersionDetail, int createdByUserID)
Parameters
Type | Name | Description |
---|---|---|
TabVersionDetail | tabVersionDetail | TabVersionDetail object to be saved. |
System.Int32 | createdByUserID |
SaveTabVersionDetail(TabVersionDetail)
Saves a Tab Version Detail object. Adds or updates an existing one.
Declaration
public void SaveTabVersionDetail(TabVersionDetail tabVersionDetail)
Parameters
Type | Name | Description |
---|---|---|
TabVersionDetail | tabVersionDetail | TabVersionDetail object to be saved. |