• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Improve this Doc

Interface IDataService

Namespace: Dnn.PersonaBar.Library.Data
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

DeletePersonaBarMenuByIdentifier(String)

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

DeletePersonbaBarMenuPermissionsById(Int32)

Declaration
void DeletePersonbaBarMenuPermissionsById(int menuPermissionId)
Parameters
Type Name Description
System.Int32 menuPermissionId
| Improve this Doc View Source

DeletePersonbaBarMenuPermissionsByMenuId(Int32, Int32)

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

GetPersonaBarMenu()

Declaration
IDataReader GetPersonaBarMenu()
Returns
Type Description
IDataReader
| Improve this Doc View Source

GetPersonaBarMenuDefaultPermissions(Int32)

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

GetPersonbaBarMenuPermissionsByPortal(Int32)

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

SavePersonaBarMenu(String, String, String, String, String, String, String, String, String, Int32, Int32, Boolean, Boolean, Int32)

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

SavePersonaBarMenuDefaultPermissions(Int32, String)

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

SavePersonaBarMenuPermission(Int32, Int32, Int32, Int32, Int32, Boolean, Int32)

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

UpdateMenuController(String, String, Int32)

Declaration
void UpdateMenuController(string identifier, string controller, int userId)
Parameters
Type Name Description
System.String identifier
System.String controller
System.Int32 userId

Extension Methods

JsonExtensionsWeb.ToJson(Object)
  • View Source
Back to top by the community, for the community... #DNNCMS