Class BaseController
Inheritance
BaseController
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
Fields
ExportFolder
Declaration
public static readonly string ExportFolder
Field Value
Properties
PortableServices
Declaration
protected IEnumerable<BasePortableService> PortableServices { get; }
Property Value
Methods
AddEventLog(int, int, int, string)
Declaration
protected void AddEventLog(int portalId, int userId, int jobId, string logTypeKey)
Parameters
BuildJobSummary(IEnumerable<BasePortableService>, int)
Declaration
protected static ImportExportSummary BuildJobSummary(IEnumerable<BasePortableService> portableServices, int jobId)
Parameters
Returns
BuildJobSummary(IEnumerable<BasePortableService>, string, IExportImportRepository, ImportExportSummary)
Declaration
protected static void BuildJobSummary(IEnumerable<BasePortableService> portableServices, string packageId, IExportImportRepository repository, ImportExportSummary summary)
Parameters
CancelJob(int, int)
Declaration
public bool CancelJob(int portalId, int jobId)
Parameters
Type |
Name |
Description |
int |
portalId |
|
int |
jobId |
|
Returns
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
GetExportFileInfo(string)
Declaration
protected static ExportFileInfo GetExportFileInfo(string manifestPath)
Parameters
Type |
Name |
Description |
string |
manifestPath |
|
Returns
GetJobDetails(int, int)
Declaration
public JobItem GetJobDetails(int portalId, int jobId)
Parameters
Type |
Name |
Description |
int |
portalId |
|
int |
jobId |
|
Returns
GetLastJobTime(int, JobType)
Declaration
public DateTime? GetLastJobTime(int portalId, JobType jobType)
Parameters
Type |
Name |
Description |
int |
portalId |
|
JobType |
jobType |
|
Returns
GetPackageInfo(string)
Declaration
protected static ImportPackageInfo GetPackageInfo(string manifestPath)
Parameters
Type |
Name |
Description |
string |
manifestPath |
|
Returns
RemoveJob(int, int)
Declaration
public bool RemoveJob(int portalId, int jobId)
Parameters
Type |
Name |
Description |
int |
portalId |
|
int |
jobId |
|
Returns
Extension Methods