C# Class Microsoft.Legal.MatterCenter.CreateSampleData.MatterLandingHelperFunction

Main class of Matter Landing page helper functions
ファイルを表示 Open project: Microsoft/mattercenter

Private Methods

Method Description
AddCalendarList ( ClientContext clientContext, Matter matter ) : void

Add Calendar Web Part to client site

AddMatterLandingPageFile ( List sitePageLib, ClientContext clientContext, FileCreationInformation objFileInfo, string matterName ) : int

Adds the matter landing page to the site pages library of client site collection and returns the unique list item Id.

AddWebPart ( ClientContext clientContext, LimitedWebPartManager limitedWebPartManager, WebPartDefinition webPartDefinition, string webParts, string zones ) : string

Adding All Web Parts on Matter Landing Page

AssignUserPermissionsToItem ( ClientContext clientcontext, string listName, List users, string permission, int listItemId ) : string

Assigns permissions to users on the specified list item.

BreakItemPermission ( ClientContext clientContext, string listName, bool copyPermissionsFromParent, int listItemId ) : bool

Breaks item level permission.

ConfigureListViewWebPart ( List sitePageLib, ClientContext clientContext, FileCreationInformation objFileInfo, Client client, Matter matter, string titleUrl ) : string

Configure XML Code of List View Web Part

ConfigureXMLCodeOfWebParts ( Client client, Matter matter, ClientContext clientContext, List sitePageLib, FileCreationInformation objFileInfo, Uri uri, Web web ) : string[]

Function is used to Configure XML of web parts

CreateMatterLandingPage ( ClientContext clientContext, Client client, Matter matter ) : string

Creates Matter Landing Page on matter creation

CreateWebPartPage ( List sitePageLib, ClientContext clientContext, FileCreationInformation objFileInfo, Matter matter, Web web ) : string

Create a Web Part page of matter in its document library

WebPartsCreation ( List sitePageLib, ClientContext clientContext, FileCreationInformation objFileInfo, Matter matter, Web web, ListItemCollection collection ) : string

Breaks, assigns user permission and create Web Parts layout in Matter Landing Page