C# Класс Glyma.UtilityService.SharePoint.UtilityServiceManager

Наследование: IUtilityServiceManager
Показать файл Открыть проект

Открытые методы

Метод Описание
CreateExportJob ( System.Guid domainUid, System.Guid rootMapUid, string>.IDictionary exportProperties, MapType mapType, ExportType exportType ) : ExportJobResponse

Creates an ExportJob and schedules the WorkItem for the timer job that processes the exports.

DeleteExportJob ( ExportJob job ) : ExportJobResponse

Deletes an ExportJob if it's in the Scheduled, Completed, or Error ExportStates.

GetExportJobs ( System.Guid domainUid, System.Guid rootMapUid ) : ExportJobsResponse

Gets the ExportJobs for the particular allap schema types for a domain and root map.

GetExportJobsForMapType ( MapType mapType, System.Guid domainUid, System.Guid rootMapUid ) : ExportJobsResponse

Gets the ExportJobs for the particular map schema type for a domain and root map.

IsExportingAvailable ( ) : ExportAvailabilityResponse

Checks if the Glyma Export Timer Job exists in the current web pplicatio for the site.

Приватные методы

Метод Описание
CleanupErrorWorkItems ( ExportJob job, SPSite site, SPWeb web ) : void

Deletes and of the TimerJob WorkItems for the GlymaExportWorkItemTimerJob if they still exist and are in error state.

CreateExportJobListEntry ( SPList exportsList, System.Guid domainId, System.Guid rootmapId, MapType mapType, ExportType type, System.Guid workItemId, string serializedExportProperties, int userId ) : int

Adds the SPListItem for the ExportJob to the GlymaExports lists if there isn't one already in the Scheduled ExportState for the exact same export.

GetCreatedTime ( SPList exportsList, int listItemId ) : System.DateTime
GetExportJob ( SPListItem export ) : ExportJob
GetExportJobsImp ( MapType mapType, System.Guid domainUid, System.Guid rootMapUid ) : ExportJobsResponse

Gets the ExportJobs for the particular map schema type for a domain and root map.

Описание методов

CreateExportJob() публичный Метод

Creates an ExportJob and schedules the WorkItem for the timer job that processes the exports.
public CreateExportJob ( System.Guid domainUid, System.Guid rootMapUid, string>.IDictionary exportProperties, MapType mapType, ExportType exportType ) : ExportJobResponse
domainUid System.Guid The DominUid for the map being exported
rootMapUid System.Guid The RootMapUid for the map being exported
exportProperties string>.IDictionary The export properties for the export
mapType MapType The map type (schema) for the map being exported
exportType ExportType The output format for the export
Результат Glyma.UtilityService.Common.ExportServiceClasses.ExportJobResponse

DeleteExportJob() публичный Метод

Deletes an ExportJob if it's in the Scheduled, Completed, or Error ExportStates.
public DeleteExportJob ( ExportJob job ) : ExportJobResponse
job Glyma.UtilityService.Common.Model.ExportJob The ExportJob to delete
Результат Glyma.UtilityService.Common.ExportServiceClasses.ExportJobResponse

GetExportJobs() публичный Метод

Gets the ExportJobs for the particular allap schema types for a domain and root map.
public GetExportJobs ( System.Guid domainUid, System.Guid rootMapUid ) : ExportJobsResponse
domainUid System.Guid The DomainUid for the exports
rootMapUid System.Guid The RootMapUid for the exports
Результат ExportJobsResponse

GetExportJobsForMapType() публичный Метод

Gets the ExportJobs for the particular map schema type for a domain and root map.
public GetExportJobsForMapType ( MapType mapType, System.Guid domainUid, System.Guid rootMapUid ) : ExportJobsResponse
mapType MapType The map schema type
domainUid System.Guid The DomainUid for the exports
rootMapUid System.Guid The RootMapUid for the exports
Результат ExportJobsResponse

IsExportingAvailable() публичный Метод

Checks if the Glyma Export Timer Job exists in the current web pplicatio for the site.
public IsExportingAvailable ( ) : ExportAvailabilityResponse
Результат Glyma.UtilityService.Common.ExportServiceClasses.ExportAvailabilityResponse