C# 클래스 Rock.Security.BackgroundCheck.ProtectMyMinistry

상속: BackgroundCheckComponent
파일 보기 프로젝트 열기: NewSpring/Rock

공개 메소드들

메소드 설명
SaveResults ( System.Xml.Linq.XDocument xResult, Rock workflow, RockContext rockContext, bool saveResponse = true ) : void

Saves the results.

SendRequest ( RockContext rockContext, System.ComponentModel.Model workflow, Rock.Web.Cache.AttributeCache personAttribute, Rock.Web.Cache.AttributeCache ssnAttribute, Rock.Web.Cache.AttributeCache requestTypeAttribute, Rock.Web.Cache.AttributeCache billingCodeAttribute, List &errorMessages ) : bool

Sends a background request to Protect My Ministry

Note: If the associated workflow type does not have attributes with the following keys, they will automatically be added to the workflow type configuration in order to store the results of the PMM background check request RequestStatus: The request status returned by PMM request RequestMessage: Any error messages returned by PMM request ReportStatus: The report status returned by PMM ReportLink: The location of the background report on PMM server ReportRecommendation: PMM's recomendataion Report (BinaryFile): The downloaded background report

비공개 메소드들

메소드 설명
GetResponse ( Stream responseStream, string contentType, HttpStatusCode statusCode ) : System.Xml.Linq.XDocument

Gets the response.

GetResponseMessage ( Stream responseStream ) : string

Gets the response message.

PostToWebService ( System.Xml.Linq.XDocument data, string requestUrl ) : System.Xml.Linq.XDocument

Posts to web service.

SaveAttributeValue ( Rock workflow, string key, string value, Rock.Web.Cache.FieldTypeCache fieldType, RockContext rockContext, string>.Dictionary qualifiers = null ) : bool

Saves the attribute value.

SaveFile ( Rock.Web.Cache.AttributeCache binaryFileAttribute, string url, string fileName ) : Guid?

Saves the file.

메소드 상세

SaveResults() 공개 정적인 메소드

Saves the results.
public static SaveResults ( System.Xml.Linq.XDocument xResult, Rock workflow, RockContext rockContext, bool saveResponse = true ) : void
xResult System.Xml.Linq.XDocument The x result.
workflow Rock The workflow.
rockContext Rock.Data.RockContext The rock context.
saveResponse bool if set to true [save response].
리턴 void

SendRequest() 공개 메소드

Sends a background request to Protect My Ministry
Note: If the associated workflow type does not have attributes with the following keys, they will automatically be added to the workflow type configuration in order to store the results of the PMM background check request RequestStatus: The request status returned by PMM request RequestMessage: Any error messages returned by PMM request ReportStatus: The report status returned by PMM ReportLink: The location of the background report on PMM server ReportRecommendation: PMM's recomendataion Report (BinaryFile): The downloaded background report
public SendRequest ( RockContext rockContext, System.ComponentModel.Model workflow, Rock.Web.Cache.AttributeCache personAttribute, Rock.Web.Cache.AttributeCache ssnAttribute, Rock.Web.Cache.AttributeCache requestTypeAttribute, Rock.Web.Cache.AttributeCache billingCodeAttribute, List &errorMessages ) : bool
rockContext Rock.Data.RockContext The rock context.
workflow System.ComponentModel.Model The Workflow initiating the request.
personAttribute Rock.Web.Cache.AttributeCache The person attribute.
ssnAttribute Rock.Web.Cache.AttributeCache The SSN attribute.
requestTypeAttribute Rock.Web.Cache.AttributeCache The request type attribute.
billingCodeAttribute Rock.Web.Cache.AttributeCache The billing code attribute.
errorMessages List The error messages.
리턴 bool