C# Класс FootlooseFS.Service.FootlooseFSService

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

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

Метод Описание
DeletePerson ( FootlooseFS.Models.Person person ) : FootlooseFS.Service.OperationStatus
Enroll ( FootlooseFS.Service.EnrollmentRequest enrollmentRequest ) : FootlooseFS.Service.OperationStatus
FootlooseFSService ( IFootlooseFSUnitOfWorkFactory unitOfWorkFactory, IFootlooseFSNotificationService notificationService ) : System
GetPersonById ( int personID, PersonIncludes personIncludes ) : FootlooseFS.Models.Person
GetPersonByUsername ( string userName, PersonIncludes personIncludes ) : FootlooseFS.Models.Person
InsertPerson ( FootlooseFS.Models.Person person ) : FootlooseFS.Service.OperationStatus
Login ( string userName, string password ) : FootlooseFS.Service.OperationStatus
SearchPersonDocuments ( int pageNumber, int numRecordsInPage, string sort, SortDirection sortDirection, FootlooseFS.Models.PersonDocument searchCriteria ) : PageOfList
UpdatePassword ( string user, string oldPassword, string newPassword ) : FootlooseFS.Service.OperationStatus
UpdatePerson ( FootlooseFS.Models.Person updatedPerson ) : FootlooseFS.Service.OperationStatus

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

Метод Описание
serializePersonToPersonDocumentJson ( FootlooseFS.Models.Person person ) : string

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

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

public DeletePerson ( FootlooseFS.Models.Person person ) : FootlooseFS.Service.OperationStatus
person FootlooseFS.Models.Person
Результат FootlooseFS.Service.OperationStatus

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

public Enroll ( FootlooseFS.Service.EnrollmentRequest enrollmentRequest ) : FootlooseFS.Service.OperationStatus
enrollmentRequest FootlooseFS.Service.EnrollmentRequest
Результат FootlooseFS.Service.OperationStatus

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

public FootlooseFSService ( IFootlooseFSUnitOfWorkFactory unitOfWorkFactory, IFootlooseFSNotificationService notificationService ) : System
unitOfWorkFactory IFootlooseFSUnitOfWorkFactory
notificationService IFootlooseFSNotificationService
Результат System

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

public GetPersonById ( int personID, PersonIncludes personIncludes ) : FootlooseFS.Models.Person
personID int
personIncludes PersonIncludes
Результат FootlooseFS.Models.Person

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

public GetPersonByUsername ( string userName, PersonIncludes personIncludes ) : FootlooseFS.Models.Person
userName string
personIncludes PersonIncludes
Результат FootlooseFS.Models.Person

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

public InsertPerson ( FootlooseFS.Models.Person person ) : FootlooseFS.Service.OperationStatus
person FootlooseFS.Models.Person
Результат FootlooseFS.Service.OperationStatus

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

public Login ( string userName, string password ) : FootlooseFS.Service.OperationStatus
userName string
password string
Результат FootlooseFS.Service.OperationStatus

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

public SearchPersonDocuments ( int pageNumber, int numRecordsInPage, string sort, SortDirection sortDirection, FootlooseFS.Models.PersonDocument searchCriteria ) : PageOfList
pageNumber int
numRecordsInPage int
sort string
sortDirection SortDirection
searchCriteria FootlooseFS.Models.PersonDocument
Результат PageOfList

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

public UpdatePassword ( string user, string oldPassword, string newPassword ) : FootlooseFS.Service.OperationStatus
user string
oldPassword string
newPassword string
Результат FootlooseFS.Service.OperationStatus

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

public UpdatePerson ( FootlooseFS.Models.Person updatedPerson ) : FootlooseFS.Service.OperationStatus
updatedPerson FootlooseFS.Models.Person
Результат FootlooseFS.Service.OperationStatus