C# Class Microsoft.Legal.MatterCenter.Service.MatterProvision

Inheritance: IMatterProvision
显示文件 Open project: Microsoft/mattercenter

Public Methods

Method Description
CreateMatter ( ) : GenericResponseVM
DeleteMatter ( Client client, Matter matter ) : GenericResponseVM
MatterProvision ( IMatterRepository matterRepositoy, IOptions matterSettings, IOptions errorSettings, ISPOAuthorization spoAuthorization, IEditFunctions editFunctions, ValidationFunctions validationFunctions, ICustomLogger customLogger, IOptions logTables, IOptions mailSettings ) : Microsoft.Extensions.OptionsModel
UpdateMatter ( MatterInformationVM matterInformation ) : GenericResponseVM
UpdateMatterMetadata ( MatterMetdataVM matterMetadata ) : GenericResponseVM

Private Methods

Method Description
CheckFullPermissionInAssignList ( IList AssignUserNames, IList Permissions, string loggedInUserName ) : bool

Check Full Permission for logged in User.

GenerateMailList ( Matter matter, Client client, List &userList ) : List

Generates list of users for sending email.

RetrieveMatterUsers ( IEnumerable userPermissionOnLibrary ) : List

Gets the display name of users having permission on library.

SetStampProperty ( Client client, Matter matter, MatterDetails matterDetails ) : string>.Dictionary

Function to create dictionary object for stamp property

ShareMatter ( MatterMetdataVM matterMetadata, string matterLandingFlag ) : GenericResponseVM

Creates an item in the specific list with the list of users to whom the matter will be shared.

ShareMatterUtility ( Client client, Matter matter, MatterDetails matterDetails, string mailSiteURL, string centralMailListURL, string matterLandingFlag, MatterConfigurations matterConfigurations ) : GenericResponseVM

Function to share the matter.

TeamMembersPermissionInformation ( MatterDetails matterDetails, string mailBodyTeamInformation ) : string

Provides the team members and their respective permission details.

Method Details

CreateMatter() public method

public CreateMatter ( ) : GenericResponseVM
return Microsoft.Legal.MatterCenter.Models.GenericResponseVM

DeleteMatter() public method

public DeleteMatter ( Client client, Matter matter ) : GenericResponseVM
client Microsoft.Legal.MatterCenter.Models.Client
matter Microsoft.Legal.MatterCenter.Models.Matter
return Microsoft.Legal.MatterCenter.Models.GenericResponseVM

MatterProvision() public method

public MatterProvision ( IMatterRepository matterRepositoy, IOptions matterSettings, IOptions errorSettings, ISPOAuthorization spoAuthorization, IEditFunctions editFunctions, ValidationFunctions validationFunctions, ICustomLogger customLogger, IOptions logTables, IOptions mailSettings ) : Microsoft.Extensions.OptionsModel
matterRepositoy IMatterRepository
matterSettings IOptions
errorSettings IOptions
spoAuthorization ISPOAuthorization
editFunctions IEditFunctions
validationFunctions ValidationFunctions
customLogger ICustomLogger
logTables IOptions
mailSettings IOptions
return Microsoft.Extensions.OptionsModel

UpdateMatter() public method

public UpdateMatter ( MatterInformationVM matterInformation ) : GenericResponseVM
matterInformation Microsoft.Legal.MatterCenter.Models.MatterInformationVM
return Microsoft.Legal.MatterCenter.Models.GenericResponseVM

UpdateMatterMetadata() public method

public UpdateMatterMetadata ( MatterMetdataVM matterMetadata ) : GenericResponseVM
matterMetadata Microsoft.Legal.MatterCenter.Models.MatterMetdataVM
return Microsoft.Legal.MatterCenter.Models.GenericResponseVM