Interface IDataService
Assembly: Dnn.PersonaBar.Library.dll
Syntax
public interface IDataService
Methods
|
Improve this Doc
View Source
DeletePersonaBarExtension(String)
Declaration
void DeletePersonaBarExtension(string identifier)
Parameters
| Type |
Name |
Description |
| System.String |
identifier |
|
|
Improve this Doc
View Source
Declaration
void DeletePersonaBarMenuByIdentifier(string identifier)
Parameters
| Type |
Name |
Description |
| System.String |
identifier |
|
|
Improve this Doc
View Source
DeletePersonaBarPermission(Int32)
Declaration
void DeletePersonaBarPermission(int permissionId)
Parameters
| Type |
Name |
Description |
| System.Int32 |
permissionId |
|
|
Improve this Doc
View Source
Declaration
void DeletePersonbaBarMenuPermissionsById(int menuPermissionId)
Parameters
| Type |
Name |
Description |
| System.Int32 |
menuPermissionId |
|
|
Improve this Doc
View Source
Declaration
void DeletePersonbaBarMenuPermissionsByMenuId(int portalId, int menuId)
Parameters
| Type |
Name |
Description |
| System.Int32 |
portalId |
|
| System.Int32 |
menuId |
|
|
Improve this Doc
View Source
GetPersonaBarExtensions()
Declaration
IDataReader GetPersonaBarExtensions()
Returns
| Type |
Description |
| IDataReader |
|
|
Improve this Doc
View Source
Declaration
IDataReader GetPersonaBarMenu()
Returns
| Type |
Description |
| IDataReader |
|
|
Improve this Doc
View Source
Declaration
string GetPersonaBarMenuDefaultPermissions(int menuId)
Parameters
| Type |
Name |
Description |
| System.Int32 |
menuId |
|
Returns
| Type |
Description |
| System.String |
|
|
Improve this Doc
View Source
GetPersonaBarPermissions()
Declaration
IDataReader GetPersonaBarPermissions()
Returns
| Type |
Description |
| IDataReader |
|
|
Improve this Doc
View Source
Declaration
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
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
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
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
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
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
void UpdateMenuController(string identifier, string controller, int userId)
Parameters
| Type |
Name |
Description |
| System.String |
identifier |
|
| System.String |
controller |
|
| System.Int32 |
userId |
|
Extension Methods