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

Class PreviewProfileController

The business of mobile preview profiles.

Inheritance
System.Object
PreviewProfileController
Implements
IPreviewProfileController
Namespace: DotNetNuke.Services.Mobile
Assembly: DotNetNuke.dll
Syntax
public class PreviewProfileController : object, IPreviewProfileController

Methods

| Improve this Doc View Source

Delete(Int32, Int32)

delete a preview profile.

Declaration
public void Delete(int portalId, int id)
Parameters
Type Name Description
System.Int32 portalId

Portal's id.

System.Int32 id

the profile's id.

| Improve this Doc View Source

GetProfileById(Int32, Int32)

get a specific preview profile by id.

Declaration
public IPreviewProfile GetProfileById(int portalId, int id)
Parameters
Type Name Description
System.Int32 portalId

the profile belong's portal.

System.Int32 id

profile's id.

Returns
Type Description
IPreviewProfile

profile object.

| Improve this Doc View Source

GetProfilesByPortal(Int32)

get a preview profiles list for portal.

Declaration
public IList<IPreviewProfile> GetProfilesByPortal(int portalId)
Parameters
Type Name Description
System.Int32 portalId

portal id.

Returns
Type Description
IList<IPreviewProfile>

List of preview profile.

| Improve this Doc View Source

Save(IPreviewProfile)

save a preview profile. If profile.Id equals Null.NullInteger(-1), that means need to add a new profile; otherwise will update the profile by profile.Id.

Declaration
public void Save(IPreviewProfile profile)
Parameters
Type Name Description
IPreviewProfile profile

profile object.

Implements

IPreviewProfileController

Extension Methods

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