Class DataService
Inheritance
System.Object
DataService
Assembly: Dnn.PersonaBar.Library.dll
Syntax
public class DataService : object, IDataService
Fields
|
Improve this Doc
View Source
DataProvider
Declaration
protected static readonly DataProvider DataProvider
Field Value
Methods
|
Improve this Doc
View Source
DeletePersonaBarExtension(String)
Declaration
public void DeletePersonaBarExtension(string identifier)
Parameters
| Type |
Name |
Description |
| System.String |
identifier |
|
|
Improve this Doc
View Source
Declaration
public void DeletePersonaBarMenuByIdentifier(string identifier)
Parameters
| Type |
Name |
Description |
| System.String |
identifier |
|
|
Improve this Doc
View Source
DeletePersonaBarPermission(Int32)
Declaration
public void DeletePersonaBarPermission(int permissionId)
Parameters
| Type |
Name |
Description |
| System.Int32 |
permissionId |
|
|
Improve this Doc
View Source
Declaration
public void DeletePersonbaBarMenuPermissionsById(int menuPermissionId)
Parameters
| Type |
Name |
Description |
| System.Int32 |
menuPermissionId |
|
|
Improve this Doc
View Source
Declaration
public void DeletePersonbaBarMenuPermissionsByMenuId(int portalId, int menuId)
Parameters
| Type |
Name |
Description |
| System.Int32 |
portalId |
|
| System.Int32 |
menuId |
|
|
Improve this Doc
View Source
GetPersonaBarExtensions()
Declaration
public IDataReader GetPersonaBarExtensions()
Returns
| Type |
Description |
| IDataReader |
|
|
Improve this Doc
View Source
Declaration
public IDataReader GetPersonaBarMenu()
Returns
| Type |
Description |
| IDataReader |
|
|
Improve this Doc
View Source
Declaration
public string GetPersonaBarMenuDefaultPermissions(int menuId)
Parameters
| Type |
Name |
Description |
| System.Int32 |
menuId |
|
Returns
| Type |
Description |
| System.String |
|
|
Improve this Doc
View Source
GetPersonaBarPermissions()
Declaration
public IDataReader GetPersonaBarPermissions()
Returns
| Type |
Description |
| IDataReader |
|
|
Improve this Doc
View Source
Declaration
public IDataReader GetPersonbaBarMenuPermissionsByPortal(int portalId)
Parameters
| Type |
Name |
Description |
| System.Int32 |
portalId |
|
Returns
| Type |
Description |
| IDataReader |
|
|
Improve this Doc
View Source
SavePersonaBarExtension(String, Int32, String, String, String, String, Int32, Boolean, Int32)
Declaration
public int SavePersonaBarExtension(string identifier, int menuId, string folderName, string controller, string container, string path, int order, bool enabled, int currentUserId)
Parameters
| Type |
Name |
Description |
| System.String |
identifier |
|
| System.Int32 |
menuId |
|
| System.String |
folderName |
|
| System.String |
controller |
|
| System.String |
container |
|
| System.String |
path |
|
| System.Int32 |
order |
|
| System.Boolean |
enabled |
|
| System.Int32 |
currentUserId |
|
Returns
| Type |
Description |
| System.Int32 |
|
|
Improve this Doc
View Source
Declaration
public int SavePersonaBarMenu(string identifier, string moduleName, string folderName, string controller, string resourceKey, string path, string link, string cssClass, string iconFile, int parentId, int order, bool allowHost, bool enabled, int currentUserId)
Parameters
| Type |
Name |
Description |
| System.String |
identifier |
|
| System.String |
moduleName |
|
| System.String |
folderName |
|
| System.String |
controller |
|
| System.String |
resourceKey |
|
| System.String |
path |
|
| System.String |
link |
|
| System.String |
cssClass |
|
| System.String |
iconFile |
|
| System.Int32 |
parentId |
|
| System.Int32 |
order |
|
| System.Boolean |
allowHost |
|
| System.Boolean |
enabled |
|
| System.Int32 |
currentUserId |
|
Returns
| Type |
Description |
| System.Int32 |
|
|
Improve this Doc
View Source
Declaration
public int SavePersonaBarMenuDefaultPermissions(int menuId, string roleNames)
Parameters
| Type |
Name |
Description |
| System.Int32 |
menuId |
|
| System.String |
roleNames |
|
Returns
| Type |
Description |
| System.Int32 |
|
|
Improve this Doc
View Source
Declaration
public int SavePersonaBarMenuPermission(int portalId, int menuId, int permissionId, int roleId, int userId, bool allowAccees, int currentUserId)
Parameters
| Type |
Name |
Description |
| System.Int32 |
portalId |
|
| System.Int32 |
menuId |
|
| System.Int32 |
permissionId |
|
| System.Int32 |
roleId |
|
| System.Int32 |
userId |
|
| System.Boolean |
allowAccees |
|
| System.Int32 |
currentUserId |
|
Returns
| Type |
Description |
| System.Int32 |
|
|
Improve this Doc
View Source
SavePersonaBarPermission(Int32, String, String, Int32)
Declaration
public int SavePersonaBarPermission(int menuId, string permissionKey, string permissionName, int currentUserId)
Parameters
| Type |
Name |
Description |
| System.Int32 |
menuId |
|
| System.String |
permissionKey |
|
| System.String |
permissionName |
|
| System.Int32 |
currentUserId |
|
Returns
| Type |
Description |
| System.Int32 |
|
|
Improve this Doc
View Source
Declaration
public void UpdateMenuController(string identifier, string controller, int userId)
Parameters
| Type |
Name |
Description |
| System.String |
identifier |
|
| System.String |
controller |
|
| System.Int32 |
userId |
|
Implements
Extension Methods