C# Class DotNetNuke.Modules.UserDefinedTable.Serialization.ModuleSerializationController

ファイルを表示 Open project: DNNCommunity/DNN.FormAndList

Public Methods

Method Description
DeserializeModule ( XmlNode nodeModule, XmlNode nodePane, int portalId, int tabId, PortalTemplateModuleAction mergeTabs, Hashtable hModules ) : void
SerializeModule ( XmlDocument xmlModule, DotNetNuke.Entities.Modules.ModuleInfo objModule, bool includeContent ) : XmlNode

SerializeModule

SerializeModule ( XmlDocument xmlModule, DotNetNuke.Entities.Modules.ModuleInfo objModule, bool includeContent, int maxNumberofRecords ) : XmlNode

SerializeModule

Private Methods

Method Description
AddContent ( XmlNode nodeModule, DotNetNuke.Entities.Modules.ModuleInfo module, int maxNumberOfRecords ) : void
AddSettings ( XmlNode nodeModule, DotNetNuke.Entities.Modules.ModuleInfo module ) : void
CheckIsInstance ( int templateModuleId, Hashtable hModules ) : bool
CreateEventQueueMessage ( DotNetNuke.Entities.Modules.ModuleInfo module, string content, string version, int userId ) : void
DeserializeModule ( XmlNode nodeModule, XmlNode nodePane, int portalId, int tabId, int moduleDefId ) : DotNetNuke.Entities.Modules.ModuleInfo
DeserializeModulePermissions ( XmlNodeList nodeModulePermissions, int portalId, DotNetNuke.Entities.Modules.ModuleInfo module ) : void
DeserializeModuleSettings ( XmlNodeList nodeModuleSettings, int moduleId ) : void
DeserializeTabModuleSettings ( XmlNodeList nodeTabModuleSettings, int moduleId, int tabId ) : void
FindModule ( XmlNode nodeModule, int tabId, PortalTemplateModuleAction mergeTabs ) : bool
GetModuleContent ( XmlNode nodeModule, int moduleId, int tabId, int portalId, bool isInstance ) : void
GetModuleDefinition ( XmlNode nodeModule ) : DotNetNuke.Entities.Modules.Definitions.ModuleDefinitionInfo

Method Details

DeserializeModule() public static method

public static DeserializeModule ( XmlNode nodeModule, XmlNode nodePane, int portalId, int tabId, PortalTemplateModuleAction mergeTabs, Hashtable hModules ) : void
nodeModule System.Xml.XmlNode
nodePane System.Xml.XmlNode
portalId int
tabId int
mergeTabs PortalTemplateModuleAction
hModules System.Collections.Hashtable
return void

SerializeModule() public static method

SerializeModule
public static SerializeModule ( XmlDocument xmlModule, DotNetNuke.Entities.Modules.ModuleInfo objModule, bool includeContent ) : XmlNode
xmlModule System.Xml.XmlDocument The Xml Document to use for the Module
objModule DotNetNuke.Entities.Modules.ModuleInfo The ModuleInfo object to serialize
includeContent bool A flak that determines whether the content of the module is serialised.
return System.Xml.XmlNode

SerializeModule() public static method

SerializeModule
public static SerializeModule ( XmlDocument xmlModule, DotNetNuke.Entities.Modules.ModuleInfo objModule, bool includeContent, int maxNumberofRecords ) : XmlNode
xmlModule System.Xml.XmlDocument The Xml Document to use for the Module
objModule DotNetNuke.Entities.Modules.ModuleInfo The ModuleInfo object to serialize
includeContent bool A flak that determines whether the content of the module is serialised.
maxNumberofRecords int Numer of reords. Choose Null.NullInteger (-1) to include all records
return System.Xml.XmlNode