Class ModuleInfo
ModuleInfo provides the Entity Layer for Modules.
Inherited Members
Namespace: DotNetNuke.Entities.Modules
Assembly: DotNetNuke.dll
Syntax
public class ModuleInfo : ContentItem, IHydratable, IPropertyAccess
Constructors
| Improve this Doc View SourceModuleInfo()
Initializes a new instance of the ModuleInfo class.
Declaration
public ModuleInfo()
Properties
| Improve this Doc View SourceAlignment
ModuleInfo provides the Entity Layer for Modules.
Declaration
public string Alignment { get; set; }
Property Value
Type | Description |
---|---|
System.String |
AllModules
ModuleInfo provides the Entity Layer for Modules.
Declaration
public bool AllModules { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
AllTabs
ModuleInfo provides the Entity Layer for Modules.
Declaration
public bool AllTabs { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Border
ModuleInfo provides the Entity Layer for Modules.
Declaration
public string Border { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Cacheability
Gets the cache level for property access.
Declaration
public CacheLevel Cacheability { get; }
Property Value
Type | Description |
---|---|
CacheLevel |
CacheMethod
ModuleInfo provides the Entity Layer for Modules.
Declaration
public string CacheMethod { get; set; }
Property Value
Type | Description |
---|---|
System.String |
CacheTime
ModuleInfo provides the Entity Layer for Modules.
Declaration
public int CacheTime { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Color
ModuleInfo provides the Entity Layer for Modules.
Declaration
public string Color { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ContainerPath
ModuleInfo provides the Entity Layer for Modules.
Declaration
public string ContainerPath { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ContainerSrc
ModuleInfo provides the Entity Layer for Modules.
Declaration
public string ContainerSrc { get; set; }
Property Value
Type | Description |
---|---|
System.String |
CultureCode
ModuleInfo provides the Entity Layer for Modules.
Declaration
public string CultureCode { get; set; }
Property Value
Type | Description |
---|---|
System.String |
DefaultLanguageGuid
ModuleInfo provides the Entity Layer for Modules.
Declaration
public Guid DefaultLanguageGuid { get; set; }
Property Value
Type | Description |
---|---|
Guid |
DefaultLanguageModule
ModuleInfo provides the Entity Layer for Modules.
Declaration
public ModuleInfo DefaultLanguageModule { get; }
Property Value
Type | Description |
---|---|
ModuleInfo |
DesktopModule
Gets the Associated Desktop Module.
Declaration
public DesktopModuleInfo DesktopModule { get; }
Property Value
Type | Description |
---|---|
DesktopModuleInfo | An Integer. |
DesktopModuleID
Gets or sets the ID of the Associated Desktop Module.
Declaration
public int DesktopModuleID { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | An Integer. |
DisplayPrint
ModuleInfo provides the Entity Layer for Modules.
Declaration
public bool DisplayPrint { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
DisplaySyndicate
ModuleInfo provides the Entity Layer for Modules.
Declaration
public bool DisplaySyndicate { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
DisplayTitle
ModuleInfo provides the Entity Layer for Modules.
Declaration
public bool DisplayTitle { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
EndDate
ModuleInfo provides the Entity Layer for Modules.
Declaration
public DateTime EndDate { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
Footer
ModuleInfo provides the Entity Layer for Modules.
Declaration
public string Footer { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Header
ModuleInfo provides the Entity Layer for Modules.
Declaration
public string Header { get; set; }
Property Value
Type | Description |
---|---|
System.String |
HideAdminBorder
ModuleInfo provides the Entity Layer for Modules.
Declaration
public bool HideAdminBorder { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
IconFile
ModuleInfo provides the Entity Layer for Modules.
Declaration
public string IconFile { get; set; }
Property Value
Type | Description |
---|---|
System.String |
InheritViewPermissions
ModuleInfo provides the Entity Layer for Modules.
Declaration
public bool InheritViewPermissions { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsDefaultLanguage
ModuleInfo provides the Entity Layer for Modules.
Declaration
public bool IsDefaultLanguage { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsDefaultModule
ModuleInfo provides the Entity Layer for Modules.
Declaration
public bool IsDefaultModule { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsDeleted
ModuleInfo provides the Entity Layer for Modules.
Declaration
public bool IsDeleted { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsLocalized
ModuleInfo provides the Entity Layer for Modules.
Declaration
public bool IsLocalized { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsNeutralCulture
ModuleInfo provides the Entity Layer for Modules.
Declaration
public bool IsNeutralCulture { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsShareable
ModuleInfo provides the Entity Layer for Modules.
Declaration
public bool IsShareable { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsShareableViewOnly
ModuleInfo provides the Entity Layer for Modules.
Declaration
public bool IsShareableViewOnly { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsShared
ModuleInfo provides the Entity Layer for Modules.
Declaration
public bool IsShared { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsTranslated
ModuleInfo provides the Entity Layer for Modules.
Declaration
public bool IsTranslated { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsWebSlice
ModuleInfo provides the Entity Layer for Modules.
Declaration
public bool IsWebSlice { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
KeyID
Gets or sets the Key ID.
Declaration
public override int KeyID { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | An Integer. |
Overrides
| Improve this Doc View SourceLastContentModifiedOnDate
ModuleInfo provides the Entity Layer for Modules.
Declaration
public DateTime LastContentModifiedOnDate { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
LocalizedModules
ModuleInfo provides the Entity Layer for Modules.
Declaration
public Dictionary<string, ModuleInfo> LocalizedModules { get; }
Property Value
Type | Description |
---|---|
Dictionary<System.String, ModuleInfo> |
LocalizedVersionGuid
ModuleInfo provides the Entity Layer for Modules.
Declaration
public Guid LocalizedVersionGuid { get; set; }
Property Value
Type | Description |
---|---|
Guid |
ModuleControl
ModuleInfo provides the Entity Layer for Modules.
Declaration
public ModuleControlInfo ModuleControl { get; }
Property Value
Type | Description |
---|---|
ModuleControlInfo |
ModuleControlId
ModuleInfo provides the Entity Layer for Modules.
Declaration
public int ModuleControlId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
ModuleDefID
Gets or sets the ID of the Associated Module Definition.
Declaration
public int ModuleDefID { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | An Integer. |
ModuleDefinition
Gets the Associated Module Definition.
Declaration
public ModuleDefinitionInfo ModuleDefinition { get; }
Property Value
Type | Description |
---|---|
ModuleDefinitionInfo | A ModuleDefinitionInfo. |
ModuleOrder
ModuleInfo provides the Entity Layer for Modules.
Declaration
public int ModuleOrder { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
ModulePermissions
Gets or sets get the ModulePermissions for the Module DO NOT USE THE SETTTER.
Declaration
public ModulePermissionCollection ModulePermissions { get; set; }
Property Value
Type | Description |
---|---|
ModulePermissionCollection |
ModuleSettings
ModuleInfo provides the Entity Layer for Modules.
Declaration
public Hashtable ModuleSettings { get; }
Property Value
Type | Description |
---|---|
Hashtable |
ModuleTitle
ModuleInfo provides the Entity Layer for Modules.
Declaration
public string ModuleTitle { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ModuleVersion
ModuleInfo provides the Entity Layer for Modules.
Declaration
public int ModuleVersion { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
OwnerPortalID
ModuleInfo provides the Entity Layer for Modules.
Declaration
public int OwnerPortalID { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
PaneModuleCount
ModuleInfo provides the Entity Layer for Modules.
Declaration
public int PaneModuleCount { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
PaneModuleIndex
ModuleInfo provides the Entity Layer for Modules.
Declaration
public int PaneModuleIndex { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
PaneName
ModuleInfo provides the Entity Layer for Modules.
Declaration
public string PaneName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ParentTab
ModuleInfo provides the Entity Layer for Modules.
Declaration
public TabInfo ParentTab { get; }
Property Value
Type | Description |
---|---|
TabInfo |
PortalID
ModuleInfo provides the Entity Layer for Modules.
Declaration
public int PortalID { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
StartDate
ModuleInfo provides the Entity Layer for Modules.
Declaration
public DateTime StartDate { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
TabModuleID
ModuleInfo provides the Entity Layer for Modules.
Declaration
public int TabModuleID { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
TabModuleSettings
ModuleInfo provides the Entity Layer for Modules.
Declaration
public Hashtable TabModuleSettings { get; }
Property Value
Type | Description |
---|---|
Hashtable |
UniqueId
ModuleInfo provides the Entity Layer for Modules.
Declaration
public Guid UniqueId { get; set; }
Property Value
Type | Description |
---|---|
Guid |
VersionGuid
ModuleInfo provides the Entity Layer for Modules.
Declaration
public Guid VersionGuid { get; set; }
Property Value
Type | Description |
---|---|
Guid |
Visibility
ModuleInfo provides the Entity Layer for Modules.
Declaration
public VisibilityState Visibility { get; set; }
Property Value
Type | Description |
---|---|
VisibilityState |
WebSliceExpiryDate
ModuleInfo provides the Entity Layer for Modules.
Declaration
public DateTime WebSliceExpiryDate { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
WebSliceTitle
ModuleInfo provides the Entity Layer for Modules.
Declaration
public string WebSliceTitle { get; set; }
Property Value
Type | Description |
---|---|
System.String |
WebSliceTTL
ModuleInfo provides the Entity Layer for Modules.
Declaration
public int WebSliceTTL { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
| Improve this Doc View SourceClone()
ModuleInfo provides the Entity Layer for Modules.
Declaration
public ModuleInfo Clone()
Returns
Type | Description |
---|---|
ModuleInfo |
Fill(IDataReader)
Fills a ModuleInfo from a Data Reader.
Declaration
public override void Fill(IDataReader dr)
Parameters
Type | Name | Description |
---|---|---|
IDataReader | dr | The Data Reader to use. |
Overrides
| Improve this Doc View SourceGetEffectiveCacheMethod()
ModuleInfo provides the Entity Layer for Modules.
Declaration
public string GetEffectiveCacheMethod()
Returns
Type | Description |
---|---|
System.String |
GetProperty(String, String, CultureInfo, UserInfo, Scope, ref Boolean)
Gets a property.
Declaration
public string GetProperty(string propertyName, string format, CultureInfo formatProvider, UserInfo accessingUser, Scope currentScope, ref bool propertyNotFound)
Parameters
Type | Name | Description |
---|---|---|
System.String | propertyName | The property name to get. |
System.String | format | The format string to format the property with, or |
CultureInfo | formatProvider | The format provider (e.g. |
UserInfo | accessingUser | The user this property belongs to, UserInfo. |
Scope | currentScope | |
System.Boolean | propertyNotFound | An out parameter that indicates if the property was not found. |
Returns
Type | Description |
---|---|
System.String | A string with the value of the property. |
Initialize(Int32)
ModuleInfo provides the Entity Layer for Modules.
Declaration
public void Initialize(int portalId)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | portalId |