Show / Hide Table of Contents

Class BaseController

Inheritance
object
BaseController
ExportController
ImportController
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: Dnn.ExportImport.Components.Controllers
Assembly: DotNetNuke.SiteExportImport.dll
Syntax
public class BaseController

Constructors

BaseController()

Declaration
[Obsolete("Deprecated in DotNetNuke 10.0.0. Please use overload with IEnumerable<BasePortableService>. Scheduled removal in v12.0.0.")]
public BaseController()

BaseController(IEnumerable<BasePortableService>)

Declaration
public BaseController(IEnumerable<BasePortableService> portableServices)
Parameters
Type Name Description
IEnumerable<BasePortableService> portableServices

Fields

ExportFolder

Declaration
public static readonly string ExportFolder
Field Value
Type Description
string

Properties

PortableServices

Declaration
protected IEnumerable<BasePortableService> PortableServices { get; }
Property Value
Type Description
IEnumerable<BasePortableService>

Methods

AddEventLog(int, int, int, string)

Declaration
protected void AddEventLog(int portalId, int userId, int jobId, string logTypeKey)
Parameters
Type Name Description
int portalId
int userId
int jobId
string logTypeKey

BuildJobSummary(IEnumerable<BasePortableService>, int)

Declaration
protected static ImportExportSummary BuildJobSummary(IEnumerable<BasePortableService> portableServices, int jobId)
Parameters
Type Name Description
IEnumerable<BasePortableService> portableServices
int jobId
Returns
Type Description
ImportExportSummary

BuildJobSummary(IEnumerable<BasePortableService>, string, IExportImportRepository, ImportExportSummary)

Declaration
protected static void BuildJobSummary(IEnumerable<BasePortableService> portableServices, string packageId, IExportImportRepository repository, ImportExportSummary summary)
Parameters
Type Name Description
IEnumerable<BasePortableService> portableServices
string packageId
IExportImportRepository repository
ImportExportSummary summary

CancelJob(int, int)

Declaration
public bool CancelJob(int portalId, int jobId)
Parameters
Type Name Description
int portalId
int jobId
Returns
Type Description
bool

GetAllJobs(int, int, int?, int?, int?, string)

Declaration
public AllJobsResult GetAllJobs(int portalId, int currentPortalId, int? pageSize, int? pageIndex, int? jobType, string keywords)
Parameters
Type Name Description
int portalId
int currentPortalId
int? pageSize
int? pageIndex
int? jobType
string keywords
Returns
Type Description
AllJobsResult

GetExportFileInfo(string)

Declaration
protected static ExportFileInfo GetExportFileInfo(string manifestPath)
Parameters
Type Name Description
string manifestPath
Returns
Type Description
ExportFileInfo

GetJobDetails(int, int)

Declaration
public JobItem GetJobDetails(int portalId, int jobId)
Parameters
Type Name Description
int portalId
int jobId
Returns
Type Description
JobItem

GetLastJobTime(int, JobType)

Declaration
public DateTime? GetLastJobTime(int portalId, JobType jobType)
Parameters
Type Name Description
int portalId
JobType jobType
Returns
Type Description
DateTime?

GetPackageInfo(string)

Declaration
protected static ImportPackageInfo GetPackageInfo(string manifestPath)
Parameters
Type Name Description
string manifestPath
Returns
Type Description
ImportPackageInfo

RemoveJob(int, int)

Declaration
public bool RemoveJob(int portalId, int jobId)
Parameters
Type Name Description
int portalId
int jobId
Returns
Type Description
bool

Extension Methods

JsonExtensionsWeb.ToJson(object)
Back to top by the community, for the community... #DNNCMS