Class TabVersionBuilder
Inheritance
TabVersionBuilder
Assembly: DotNetNuke.dll
Syntax
public class TabVersionBuilder : ServiceLocator<ITabVersionBuilder, TabVersionBuilder>, ITabVersionBuilder
Constructors
TabVersionBuilder()
Declaration
public TabVersionBuilder()
Methods
CreateNewVersion(int, int)
Declaration
public TabVersion CreateNewVersion(int tabId, int createdByUserId)
Parameters
Type |
Name |
Description |
int |
tabId |
|
int |
createdByUserId |
|
Returns
CreateNewVersion(int, int, int)
Declaration
public TabVersion CreateNewVersion(int portalid, int tabId, int createdByUserId)
Parameters
Type |
Name |
Description |
int |
portalid |
|
int |
tabId |
|
int |
createdByUserId |
|
Returns
DeleteVersion(int, int, int)
Declaration
public void DeleteVersion(int tabId, int createdByUserId, int version)
Parameters
Type |
Name |
Description |
int |
tabId |
|
int |
createdByUserId |
|
int |
version |
|
Discard(int, int)
Declaration
public void Discard(int tabId, int createdByUserId)
Parameters
Type |
Name |
Description |
int |
tabId |
|
int |
createdByUserId |
|
GetCurrentModules(int)
Declaration
public IEnumerable<ModuleInfo> GetCurrentModules(int tabId)
Parameters
Type |
Name |
Description |
int |
tabId |
|
Returns
GetCurrentVersion(int, bool)
Declaration
public TabVersion GetCurrentVersion(int tabId, bool ignoreCache = false)
Parameters
Type |
Name |
Description |
int |
tabId |
|
bool |
ignoreCache |
|
Returns
GetFactory()
Declaration
protected override Func<ITabVersionBuilder> GetFactory()
Returns
Overrides
GetModuleContentLatestVersion(ModuleInfo)
Declaration
public int GetModuleContentLatestVersion(ModuleInfo module)
Parameters
Returns
GetUnPublishedVersion(int)
Declaration
public TabVersion GetUnPublishedVersion(int tabId)
Parameters
Type |
Name |
Description |
int |
tabId |
|
Returns
GetUnPublishedVersionModules(int)
Declaration
public IEnumerable<ModuleInfo> GetUnPublishedVersionModules(int tabId)
Parameters
Type |
Name |
Description |
int |
tabId |
|
Returns
GetVersionModules(int, int)
Declaration
public IEnumerable<ModuleInfo> GetVersionModules(int tabId, int version)
Parameters
Type |
Name |
Description |
int |
tabId |
|
int |
version |
|
Returns
Publish(int, int, int)
Declaration
public void Publish(int portalId, int tabId, int createdByUserId)
Parameters
Type |
Name |
Description |
int |
portalId |
|
int |
tabId |
|
int |
createdByUserId |
|
RollBackVesion(int, int, int)
Declaration
public TabVersion RollBackVesion(int tabId, int createdByUserId, int version)
Parameters
Type |
Name |
Description |
int |
tabId |
|
int |
createdByUserId |
|
int |
version |
|
Returns
SetupFirstVersionForExistingTab(int, int)
Declaration
public void SetupFirstVersionForExistingTab(int portalId, int tabId)
Parameters
Type |
Name |
Description |
int |
portalId |
|
int |
tabId |
|
Implements
Extension Methods