C# Class Glyma.UtilityService.SharePoint.GlymaExportWorkItemTimerJob

Inheritance: SPWorkItemJobDefinition
Datei anzeigen Open project: chris-tomich/Glyma Class Usage Examples

Public Methods

Method Description
GlymaExportWorkItemTimerJob ( ) : System
GlymaExportWorkItemTimerJob ( SPWebApplication webApp ) : System
WorkItemType ( ) : System.Guid

The Guid of work items to be process by this job

Protected Methods

Method Description
ProcessWorkItem ( SPContentDatabase contentDatabase, SPWorkItemCollection workItems, SPWorkItem workItem, SPJobState jobState ) : bool
ProcessWorkItems ( SPContentDatabase contentDatabase, SPWorkItemCollection workItems, SPJobState jobState ) : bool

Private Methods

Method Description
DeleteTempFile ( string pathToTempFile ) : void
LogMessage ( SPWorkItem workItem, string logMessage ) : void
WriteExportStatus ( SPWorkItem workItem, ExportStatus status ) : void
WriteProgress ( SPWorkItem workItem, int percentageComplete ) : void
exportUtility_ExceptionRaised ( object sender, ExceptionRaisedEventArgs e ) : void
exportUtility_ExportCompleted ( object sender, ExportCompletedEventArgs e ) : void
exportUtility_ProgressChanged ( object sender, ProgressChangedEventArgs e ) : void

Method Details

GlymaExportWorkItemTimerJob() public method

public GlymaExportWorkItemTimerJob ( ) : System
return System

GlymaExportWorkItemTimerJob() public method

public GlymaExportWorkItemTimerJob ( SPWebApplication webApp ) : System
webApp SPWebApplication
return System

ProcessWorkItem() protected method

protected ProcessWorkItem ( SPContentDatabase contentDatabase, SPWorkItemCollection workItems, SPWorkItem workItem, SPJobState jobState ) : bool
contentDatabase SPContentDatabase
workItems SPWorkItemCollection
workItem SPWorkItem
jobState SPJobState
return bool

ProcessWorkItems() protected method

protected ProcessWorkItems ( SPContentDatabase contentDatabase, SPWorkItemCollection workItems, SPJobState jobState ) : bool
contentDatabase SPContentDatabase
workItems SPWorkItemCollection
jobState SPJobState
return bool

WorkItemType() public method

The Guid of work items to be process by this job
public WorkItemType ( ) : System.Guid
return System.Guid