C# 클래스 Microsoft.Legal.MatterCenter.Repository.SPContentTypes

상속: ISPContentTypes
파일 보기 프로젝트 열기: Microsoft/mattercenter

공개 메소드들

메소드 설명
AssignContentTypeHelper ( MatterMetadata matterMetadata, ClientContext clientContext, IList contentTypeCollection, Client client, Matter matter ) : GenericResponseVM

This method will assign content types to the matter that is getting created

GetContentTypeData ( ClientContext clientContext, IList contentTypesNames, Client client, Matter matter ) : IList

This method will get all content types from the specified content type group and will filter out the content types that user has selected when creating the matter

SPContentTypes ( IOptions contentTypesConfig, IOptions camlQueries, ISPList spList, ICustomLogger customLogger, IOptions logTables, IOptions taxonomySettings, IConfigurationRoot configuration ) : Microsoft.Extensions.Configuration

비공개 메소드들

메소드 설명
GetContentType ( ClientContext clientContext, IList contentTypeCollection, List matterList ) : FieldCollection

Retrieves the list of content types that are to be associated with the matter.

GetContentTypeList ( IList contentTypesNames, List contentTypeList ) : IList

Generates the list of Content Types that are associated with matter.

GetWSSId ( ClientContext clientContext, MatterMetadata matterMetadata, FieldCollection fields ) : MatterMetadata

Function to get the WssID for all the managed columns that user has configured

SetDefaultContentType ( ClientContext clientContext, List list, Client client, Matter matter ) : void

Sets the default content type based on user selection for the new matter that is getting created

SetFieldValues ( ClientContext clientContext, IList contentTypeCollection, List matterList, MatterMetadata matterMetadata ) : void

Assigns field values for specified content types to the specified matter (document library).

메소드 상세

AssignContentTypeHelper() 공개 메소드

This method will assign content types to the matter that is getting created
public AssignContentTypeHelper ( MatterMetadata matterMetadata, ClientContext clientContext, IList contentTypeCollection, Client client, Matter matter ) : GenericResponseVM
matterMetadata Microsoft.Legal.MatterCenter.Models.MatterMetadata
clientContext ClientContext
contentTypeCollection IList
client Microsoft.Legal.MatterCenter.Models.Client
matter Microsoft.Legal.MatterCenter.Models.Matter
리턴 Microsoft.Legal.MatterCenter.Models.GenericResponseVM

GetContentTypeData() 공개 메소드

This method will get all content types from the specified content type group and will filter out the content types that user has selected when creating the matter
public GetContentTypeData ( ClientContext clientContext, IList contentTypesNames, Client client, Matter matter ) : IList
clientContext ClientContext The sharepoint context object
contentTypesNames IList Content Type Names that user selected in the create matter screen
client Microsoft.Legal.MatterCenter.Models.Client The client object which contains information for which client the matter is getting created and the url of the client
matter Microsoft.Legal.MatterCenter.Models.Matter The matter information that is getting created
리턴 IList

SPContentTypes() 공개 메소드

public SPContentTypes ( IOptions contentTypesConfig, IOptions camlQueries, ISPList spList, ICustomLogger customLogger, IOptions logTables, IOptions taxonomySettings, IConfigurationRoot configuration ) : Microsoft.Extensions.Configuration
contentTypesConfig IOptions
camlQueries IOptions
spList ISPList
customLogger ICustomLogger
logTables IOptions
taxonomySettings IOptions
configuration IConfigurationRoot
리턴 Microsoft.Extensions.Configuration