Class ItemListServiceController
Inheritance
ItemListServiceController
Assembly: DotNetNuke.Web.dll
Syntax
[DnnAuthorize]
public class ItemListServiceController : DnnApiController
Constructors
ItemListServiceController()
Declaration
[Obsolete("Deprecated in DotNetNuke 10.2.2. Please use overload with IHostSettings. Scheduled removal in v12.0.0.")]
public ItemListServiceController()
ItemListServiceController(IHostSettings, DataProvider, IPortalController, IApplicationStatusInfo, IPortalGroupController)
Declaration
public ItemListServiceController(IHostSettings hostSettings, DataProvider dataProvider, IPortalController portalController, IApplicationStatusInfo appStatus, IPortalGroupController portalGroupController)
Parameters
Methods
GetFiles(int, string, int, string, int)
Declaration
public HttpResponseMessage GetFiles(int parentId, string filter, int sortOrder = 0, string permission = null, int portalId = -1)
Parameters
Returns
GetFolderDescendants(string, int, string, string, int)
Declaration
public HttpResponseMessage GetFolderDescendants(string parentId = null, int sortOrder = 0, string searchText = "", string permission = null, int portalId = -1)
Parameters
Returns
GetFolders(int, string, int, int)
Declaration
public HttpResponseMessage GetFolders(int sortOrder = 0, string permission = null, int portalId = -1, int parentFolderId = -1)
Parameters
| Type |
Name |
Description |
| int |
sortOrder |
|
| string |
permission |
|
| int |
portalId |
|
| int |
parentFolderId |
|
Returns
GetPageDescendants(string, int, string, int, bool, bool, bool, bool, string, bool)
Declaration
public HttpResponseMessage GetPageDescendants(string parentId = null, int sortOrder = 0, string searchText = "", int portalId = -1, bool includeDisabled = false, bool includeAllTypes = false, bool includeActive = true, bool includeHostPages = false, string roles = "", bool disabledNotSelectable = false)
Parameters
Returns
GetPageDescendantsInPortalGroup(string, int, string, bool, bool, bool, bool, string)
Declaration
public HttpResponseMessage GetPageDescendantsInPortalGroup(string parentId = null, int sortOrder = 0, string searchText = "", bool includeDisabled = false, bool includeAllTypes = false, bool includeActive = true, bool includeHostPages = false, string roles = "")
Parameters
Returns
GetPages(int, int, bool, bool, bool, bool, string, bool)
Declaration
public HttpResponseMessage GetPages(int sortOrder = 0, int portalId = -1, bool includeDisabled = false, bool includeAllTypes = false, bool includeActive = true, bool includeHostPages = false, string roles = "", bool disabledNotSelectable = false)
Parameters
| Type |
Name |
Description |
| int |
sortOrder |
|
| int |
portalId |
|
| bool |
includeDisabled |
|
| bool |
includeAllTypes |
|
| bool |
includeActive |
|
| bool |
includeHostPages |
|
| string |
roles |
|
| bool |
disabledNotSelectable |
|
Returns
GetPagesInPortalGroup(int)
Declaration
public HttpResponseMessage GetPagesInPortalGroup(int sortOrder = 0)
Parameters
| Type |
Name |
Description |
| int |
sortOrder |
|
Returns
GetPortalsInGroup(int)
Declaration
public HttpResponseMessage GetPortalsInGroup(int sortOrder = 0)
Parameters
| Type |
Name |
Description |
| int |
sortOrder |
|
Returns
GetTerms(string, bool, bool)
Declaration
public HttpResponseMessage GetTerms(string q, bool includeSystem, bool includeTags)
Parameters
Returns
GetTreePathForFolder(string, int, string, int)
Declaration
public HttpResponseMessage GetTreePathForFolder(string itemId, int sortOrder = 0, string permission = null, int portalId = -1)
Parameters
Returns
GetTreePathForPage(string, int, int, bool, bool, bool, bool, string)
Declaration
public HttpResponseMessage GetTreePathForPage(string itemId, int sortOrder = 0, int portalId = -1, bool includeDisabled = false, bool includeAllTypes = false, bool includeActive = true, bool includeHostPages = false, string roles = "")
Parameters
Returns
GetTreePathForPageInPortalGroup(string, int, bool, bool, bool, bool, string)
Declaration
public HttpResponseMessage GetTreePathForPageInPortalGroup(string itemId, int sortOrder = 0, bool includeDisabled = false, bool includeAllTypes = false, bool includeActive = true, bool includeHostPages = false, string roles = "")
Parameters
Returns
SearchFiles(int, string, string, int, string, int)
Declaration
public HttpResponseMessage SearchFiles(int parentId, string filter, string searchText, int sortOrder = 0, string permission = null, int portalId = -1)
Parameters
Returns
SearchFolders(string, int, string, int)
Declaration
public HttpResponseMessage SearchFolders(string searchText, int sortOrder = 0, string permission = null, int portalId = -1)
Parameters
Returns
SearchPages(string, int, int, bool, bool, bool, bool, string)
Declaration
public HttpResponseMessage SearchPages(string searchText, int sortOrder = 0, int portalId = -1, bool includeDisabled = false, bool includeAllTypes = false, bool includeActive = true, bool includeHostPages = false, string roles = "")
Parameters
Returns
SearchPagesInPortalGroup(string, int, bool, bool, bool, bool, string)
Declaration
public HttpResponseMessage SearchPagesInPortalGroup(string searchText, int sortOrder = 0, bool includeDisabled = false, bool includeAllTypes = false, bool includeActive = true, bool includeHostPages = false, string roles = "")
Parameters
Returns
SearchUser(string)
Declaration
public HttpResponseMessage SearchUser(string q)
Parameters
| Type |
Name |
Description |
| string |
q |
|
Returns
SortFiles(int, string, int, string, string, int)
Declaration
public HttpResponseMessage SortFiles(int parentId, string filter, int sortOrder = 0, string searchText = "", string permission = null, int portalId = -1)
Parameters
Returns
SortFolders(string, int, string, string, int)
Declaration
public HttpResponseMessage SortFolders(string treeAsJson, int sortOrder = 0, string searchText = "", string permission = null, int portalId = -1)
Parameters
Returns
SortPages(string, int, string, int, bool, bool, bool, bool, string)
Declaration
public HttpResponseMessage SortPages(string treeAsJson, int sortOrder = 0, string searchText = "", int portalId = -1, bool includeDisabled = false, bool includeAllTypes = false, bool includeActive = true, bool includeHostPages = false, string roles = "")
Parameters
Returns
SortPagesInPortalGroup(string, int, string, bool, bool, bool, bool, string)
Declaration
public HttpResponseMessage SortPagesInPortalGroup(string treeAsJson, int sortOrder = 0, string searchText = "", bool includeDisabled = false, bool includeAllTypes = false, bool includeActive = true, bool includeHostPages = false, string roles = "")
Parameters
Returns
Extension Methods