C# Класс Microsoft.Legal.MatterCenter.Business.ValidationFunctions

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

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

Метод Описание
IsMatterValid ( MatterInformationVM matterInformation, int methodNumber, MatterConfigurations matterConfigurations ) : GenericResponseVM
ValidationFunctions ( ISPList spList, IOptions matterSettings, IOptions errorSettings, IMatterRepository matterRespository, IOptions listNames, IOptions camlQueries ) : Microsoft.Extensions.OptionsModel

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

Метод Описание
CheckListExists ( Client client, string matterName, MatterConfigurations matterConfigurations = null ) : bool

Checks if the lists exist

CheckUserPermission ( Matter matter ) : GenericResponseVM

Validates the permissions assigned to the users.

GenericResponse ( string code, string value ) : GenericResponseVM
MatterDetailsValidation ( Matter matter, Client client, int methodNumber, MatterConfigurations matterConfigurations ) : GenericResponseVM

Validates details of a matter and returns the validation status.

MatterMetadataValidation ( Matter matter, Client client, int methodNumber, MatterConfigurations matterConfigurations ) : GenericResponseVM

Validates meta-data of a matter and returns the validation status (success/failure).

MatterNameValidation ( Matter matter ) : GenericResponseVM

Validates the matter name.

RoleCheck ( Matter matter ) : GenericResponseVM

Validates the roles for the matter and returns the validation status.

ValidateClientInformation ( Client client, int methodNumber ) : GenericResponseVM

Function to validate client information

ValidateContentType ( Matter matter ) : GenericResponseVM

Validates content type for the matter.

ValidateFullControlPermission ( Matter matter ) : bool

Validates if there is at-least one user with full control in assign list.

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

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

public IsMatterValid ( MatterInformationVM matterInformation, int methodNumber, MatterConfigurations matterConfigurations ) : GenericResponseVM
matterInformation Microsoft.Legal.MatterCenter.Models.MatterInformationVM
methodNumber int
matterConfigurations Microsoft.Legal.MatterCenter.Models.MatterConfigurations
Результат Microsoft.Legal.MatterCenter.Models.GenericResponseVM

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

public ValidationFunctions ( ISPList spList, IOptions matterSettings, IOptions errorSettings, IMatterRepository matterRespository, IOptions listNames, IOptions camlQueries ) : Microsoft.Extensions.OptionsModel
spList ISPList
matterSettings IOptions
errorSettings IOptions
matterRespository IMatterRepository
listNames IOptions
camlQueries IOptions
Результат Microsoft.Extensions.OptionsModel