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

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 Source

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

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

Extension Methods

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