• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Improve this Doc

Class TabVersionDetailController

Inheritance
System.Object
ServiceLocator<ITabVersionDetailController, TabVersionDetailController>
TabVersionDetailController
Implements
ITabVersionDetailController
Inherited Members
ServiceLocator<ITabVersionDetailController, TabVersionDetailController>.Instance
ServiceLocator<ITabVersionDetailController, TabVersionDetailController>.Factory
ServiceLocator<ITabVersionDetailController, TabVersionDetailController>.SetTestableInstance(ITabVersionDetailController)
ServiceLocator<ITabVersionDetailController, TabVersionDetailController>.ClearInstance()
ServiceLocator<ITabVersionDetailController, TabVersionDetailController>.GetFactory()
Namespace: DotNetNuke.Entities.Tabs.TabVersions
Assembly: DotNetNuke.dll
Syntax
public class TabVersionDetailController : ServiceLocator<ITabVersionDetailController, TabVersionDetailController>, ITabVersionDetailController

Methods

| Improve this Doc View Source

ClearCache(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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

GetFactory()

Gets the service locator factory.

Declaration
protected override System.Func<ITabVersionDetailController> GetFactory()
Returns
Type Description
System.Func<ITabVersionDetailController>

A factory function.

Overrides
DotNetNuke.Framework.ServiceLocator<DotNetNuke.Entities.Tabs.TabVersions.ITabVersionDetailController, DotNetNuke.Entities.Tabs.TabVersions.TabVersionDetailController>.GetFactory()
| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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
| Improve this Doc View Source

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
| Improve this Doc View Source

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.

Implements

ITabVersionDetailController

Extension Methods

JsonExtensionsWeb.ToJson(Object)
  • View Source
Back to top by the community, for the community... #DNNCMS