C# Class Microsoft.Legal.MatterCenter.Jobs.Functions

This WebJob function will update the matter related lists by giving permissions to external users
Afficher le fichier Open project: Microsoft/mattercenter

Méthodes publiques

Méthode Description
ProcessMatter ( [ RunOnStartup = true)]TimerInfotimerInfo, [ matterInformationVM, TextWriter log ) : void

This web job function will process matter that is there in azure table storage called MatterRequests. If there are any new matter is created, this web job function will get invoked for the time duration that has been specified and will preocess all new matters and will send notification for those respective users Once the matter has been processed, it will change the status of that matter to "Send" so that it will not be processed again

ReadExternalAccessRequests ( [ RunOnStartup = true)]TimerInfotimerInfo, [ matterInformationVM, TextWriter log ) : void

This method will read external access requests azure table storage for all pending requests and update the matter related lists and libraries permissions for external users

ReplaceLastOccurrence ( string Source, string Find, string Replace ) : string

Private Methods

Méthode Description
CheckUserPresentInMatterCenter ( ClientContext ctx, string clientUrl, string email, IConfigurationRoot configuration, TextWriter log ) : bool

This method will check whether user exists in a sharepoint site or not

GetExternalAccessRequestsFromSPO ( MatterInformationVM azureTableMatterInformationVMRow, MatterInformationVM originalMatter, TextWriter log, IConfigurationRoot configuration ) : void

This method will get all list items from external access requests and process all requests which are in accpeted state

SentEmailNotificationForCreatedIsBackwardCompatibleMatters ( MatterInformationVM matterInformation1, ExchangeService service, TextWriter log, IConfigurationRoot configuration ) : void
SentEmailNotificationForCreatedMatters ( MatterInformationVM matterInformation1, ExchangeService service, TextWriter log, IConfigurationRoot configuration ) : void
TeamMembersPermissionInformation ( MatterDetails matterDetails, string mailBodyTeamInformation ) : string

Provides the team members and their respective permission details.

Method Details

ProcessMatter() public static méthode

This web job function will process matter that is there in azure table storage called MatterRequests. If there are any new matter is created, this web job function will get invoked for the time duration that has been specified and will preocess all new matters and will send notification for those respective users Once the matter has been processed, it will change the status of that matter to "Send" so that it will not be processed again
public static ProcessMatter ( [ RunOnStartup = true)]TimerInfotimerInfo, [ matterInformationVM, TextWriter log ) : void
RunOnStartup [
matterInformationVM [
log System.IO.TextWriter
Résultat void

ReadExternalAccessRequests() public static méthode

This method will read external access requests azure table storage for all pending requests and update the matter related lists and libraries permissions for external users
public static ReadExternalAccessRequests ( [ RunOnStartup = true)]TimerInfotimerInfo, [ matterInformationVM, TextWriter log ) : void
RunOnStartup [
matterInformationVM [
log System.IO.TextWriter
Résultat void

ReplaceLastOccurrence() public static méthode

public static ReplaceLastOccurrence ( string Source, string Find, string Replace ) : string
Source string
Find string
Replace string
Résultat string