Class ListController
Inheritance
ListController
Assembly: DotNetNuke.dll
Syntax
public class ListController
Constructors
ListController()
Declaration
ListController(IEventLogger)
Declaration
public ListController(IEventLogger eventLogger)
Parameters
Fields
NonLocalizedLists
Declaration
[Obsolete("Deprecated in DotNetNuke 9.8.1. Use UnLocalizedLists instead. Scheduled removal in v11.0.0.")]
public readonly string[] NonLocalizedLists
Field Value
Properties
UnLocalizedLists
Declaration
public IReadOnlyCollection<string> UnLocalizedLists { get; }
Property Value
Methods
AddListEntry(ListEntryInfo)
Declaration
public int AddListEntry(ListEntryInfo listEntry)
Parameters
Returns
DeleteList(ListInfo, bool)
Declaration
public void DeleteList(ListInfo list, bool includeChildren)
Parameters
DeleteList(string, string)
Declaration
public void DeleteList(string listName, string parentKey)
Parameters
DeleteList(string, string, int)
Declaration
public void DeleteList(string listName, string parentKey, int portalId)
Parameters
DeleteListEntryByID(int, bool)
Declaration
public void DeleteListEntryByID(int entryId, bool deleteChild)
Parameters
Type |
Name |
Description |
int |
entryId |
|
bool |
deleteChild |
|
DeleteListEntryByListName(string, string, bool)
Declaration
public void DeleteListEntryByListName(string listName, string listValue, bool deleteChild)
Parameters
GetListEntryInfo(int)
Declaration
public ListEntryInfo GetListEntryInfo(int entryId)
Parameters
Type |
Name |
Description |
int |
entryId |
|
Returns
GetListEntryInfo(string, int)
Declaration
public ListEntryInfo GetListEntryInfo(string listName, int entryId)
Parameters
Type |
Name |
Description |
string |
listName |
|
int |
entryId |
|
Returns
GetListEntryInfo(string, string)
Declaration
public ListEntryInfo GetListEntryInfo(string listName, string listValue)
Parameters
Returns
GetListEntryInfoDictionary(string)
Declaration
public Dictionary<string, ListEntryInfo> GetListEntryInfoDictionary(string listName)
Parameters
Type |
Name |
Description |
string |
listName |
|
Returns
GetListEntryInfoDictionary(string, string)
Declaration
public Dictionary<string, ListEntryInfo> GetListEntryInfoDictionary(string listName, string parentKey)
Parameters
Returns
GetListEntryInfoDictionary(string, string, int)
Declaration
public Dictionary<string, ListEntryInfo> GetListEntryInfoDictionary(string listName, string parentKey, int portalId)
Parameters
Returns
GetListEntryInfoItems(string)
Declaration
public IEnumerable<ListEntryInfo> GetListEntryInfoItems(string listName)
Parameters
Type |
Name |
Description |
string |
listName |
|
Returns
GetListEntryInfoItems(string, string)
Declaration
public IEnumerable<ListEntryInfo> GetListEntryInfoItems(string listName, string parentKey)
Parameters
Returns
GetListEntryInfoItems(string, string, int)
Declaration
public IEnumerable<ListEntryInfo> GetListEntryInfoItems(string listName, string parentKey, int portalId)
Parameters
Returns
GetListInfo(string)
Declaration
public ListInfo GetListInfo(string listName)
Parameters
Type |
Name |
Description |
string |
listName |
|
Returns
GetListInfo(string, string)
Declaration
public ListInfo GetListInfo(string listName, string parentKey)
Parameters
Returns
GetListInfo(string, string, int)
Declaration
public ListInfo GetListInfo(string listName, string parentKey, int portalId)
Parameters
Returns
GetListInfoCollection()
Declaration
public ListInfoCollection GetListInfoCollection()
Returns
GetListInfoCollection(string)
Declaration
public ListInfoCollection GetListInfoCollection(string listName)
Parameters
Type |
Name |
Description |
string |
listName |
|
Returns
GetListInfoCollection(string, string)
Declaration
public ListInfoCollection GetListInfoCollection(string listName, string parentKey)
Parameters
Returns
GetListInfoCollection(string, string, int)
Declaration
public ListInfoCollection GetListInfoCollection(string listName, string parentKey, int portalId)
Parameters
Returns
UpdateListEntry(ListEntryInfo)
Declaration
public void UpdateListEntry(ListEntryInfo listEntry)
Parameters
UpdateListSortOrder(int, bool)
Declaration
public void UpdateListSortOrder(int entryID, bool moveUp)
Parameters
Type |
Name |
Description |
int |
entryID |
|
bool |
moveUp |
|
Extension Methods