C# Class RecruitmentUploadService, Recruitments

Inheritance: System.Web.Services.WebService
Exibir arquivo Open project: ucdavis/Recruitments

Public Methods

Method Description
RecruitmentUploadService ( ) : System

Private Methods

Method Description
EnsureValidHash ( string SID, string hash ) : void
GetApplications ( string positionID, string SID, string hash ) : KeyPairSerializable[],
GetFileTypes ( string SID, string hash ) : KeyPairSerializable[],
GetFilesOfType ( Application, selectedApplication, string fileTypeName ) : List

Parses down the currentApplication files list to just contain files of the correct type

GetHash ( string SID ) : string
GetPositions ( string SID, string hash ) : KeyPairSerializable[],
GetReferences ( string applicationID, string SID, string hash ) : KeyPairSerializable[],
IsHashValid ( string SID, string hash ) : bool
NullSaveGetUser ( string SID ) : User
RemoveAllFilesOfType ( Application, selectedApplication, string fileTypeName ) : void

Removes all files of the given type from the current applicaiton. This removes the files themselves, the file info entry and the application files link

SaveFile ( fileTypes, type, string applicationID, string id, byte fileContent, string SID, string hash ) : bool
SaveReferenceWithWatermark ( byte uploadedFile, string fileName ) : void
UploadFiles ( int applicationID, int fileTypeID, byte uploadedFile ) : bool
UploadPublications ( int applicationID, byte uploadedFile ) : bool
UploadReferences ( int referenceID, byte uploadedFile ) : bool

Method Details

RecruitmentUploadService() public method

public RecruitmentUploadService ( ) : System
return System