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

Interface ITabVersionController

Controller interface responsible to manage tab versions.

Namespace: DotNetNuke.Entities.Tabs.TabVersions
Assembly: DotNetNuke.dll
Syntax
public interface ITabVersionController

Methods

| Improve this Doc View Source

CreateTabVersion(Int32, Int32, Boolean)

Creates a new version for a existing Tab.

Declaration
TabVersion CreateTabVersion(int tabId, int createdByUserId, bool isPublished = false)
Parameters
Type Name Description
System.Int32 tabId

The Tab Id to be queried.

System.Int32 createdByUserId

User Id who creates the version.

System.Boolean isPublished

If true, the version is automatically published.

Returns
Type Description
TabVersion

TabVersion filled with the new version data.

| Improve this Doc View Source

DeleteTabVersion(Int32, Int32)

Deletes a Tab Version.

Declaration
void DeleteTabVersion(int tabId, int tabVersionId)
Parameters
Type Name Description
System.Int32 tabId

The Tab Id to be queried.

System.Int32 tabVersionId

The TabVersion Id to be deleted.

| Improve this Doc View Source

DeleteTabVersionDetailByModule(Int32)

Deletes a Tab Version details for a module.

Declaration
void DeleteTabVersionDetailByModule(int moduleId)
Parameters
Type Name Description
System.Int32 moduleId

The Module Id to be queried.

| Improve this Doc View Source

GetTabVersion(Int32, Int32, Boolean)

Gets a Tab Version object of an existing Tab.

Declaration
TabVersion GetTabVersion(int tabVersionId, int tabId, bool ignoreCache = false)
Parameters
Type Name Description
System.Int32 tabVersionId

The Tab Version Id to be get.

System.Int32 tabId

The Tab Id to be queried.

System.Boolean ignoreCache

If true, the method will not use the Caching Storage.

Returns
Type Description
TabVersion

TabVersion filled with the specific version data.

| Improve this Doc View Source

GetTabVersions(Int32, Boolean)

Gets all Tab Versions of an existing Tab.

Declaration
IEnumerable<TabVersion> GetTabVersions(int tabId, bool ignoreCache = false)
Parameters
Type Name Description
System.Int32 tabId

Tha Tab ID to be quiered.

System.Boolean ignoreCache

If true, the method will not use the Caching Storage.

Returns
Type Description
IEnumerable<TabVersion>

List of TabVersion objects.

| Improve this Doc View Source

SaveTabVersion(TabVersion, Int32, Int32)

Saves a Tab Version object. Adds or updates an existing one.

Declaration
void SaveTabVersion(TabVersion tabVersion, int createdByUserId, int modifiedByUserId)
Parameters
Type Name Description
TabVersion tabVersion

TabVersion object to be saved.

System.Int32 createdByUserId

User Id who creates the TabVersion.

System.Int32 modifiedByUserId

User Id who modifies the TabVersion.

| Improve this Doc View Source

SaveTabVersion(TabVersion, Int32)

Saves a Tab Version object. Adds or updates an existing one.

Declaration
void SaveTabVersion(TabVersion tabVersion, int createdByUserId)
Parameters
Type Name Description
TabVersion tabVersion

TabVersion object to be saved.

System.Int32 createdByUserId

User Id who creates the TabVersion.

| Improve this Doc View Source

SaveTabVersion(TabVersion)

Saves a Tab Version object. Adds or updates an existing one.

Declaration
void SaveTabVersion(TabVersion tabVersion)
Parameters
Type Name Description
TabVersion tabVersion

TabVersion object to be saved.

Extension Methods

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