C# 클래스 GSoft.Dynamite.Utils.CustomDocumentSetFeatureReceiver

상속: SPFeatureReceiver
파일 보기 프로젝트 열기: GSoft-SharePoint/Dynamite-2010

공개 메소드들

메소드 설명
AddEventHandler ( SPContentType contentType, string name, Type receiver, SPEventReceiverType type, int sequence, SPEventReceiverSynchronization sync ) : void

Adds the event handler to the content type.

AddEventHandler ( SPContentType contentType, string name, string assembly, string className, SPEventReceiverType type, int sequence, SPEventReceiverSynchronization sync ) : void

Adds the event handler to the content type.

FeatureActivated ( SPFeatureReceiverProperties properties ) : void

Occurs on feature activation.

보호된 메소드들

메소드 설명
AddWebPart ( SPLimitedWebPartManager manager, string definition, string zone, int index ) : void

Adds the web part to the page from a definition.

GetWelcomePageWebPartmanager ( SPFile file ) : SPLimitedWebPartManager

Gets the welcome page web part manager.

ProvisionWebParts ( SPLimitedWebPartManager manager ) : void

Provisions the web parts.

비공개 메소드들

메소드 설명
Deployed ( SPContentType contentType ) : bool

Gets a value indicating whether the document sets are fully deployed.

EnsureContext ( SPFeatureReceiverProperties properties ) : void

Sets the Web and Site objects using the properties object.

GetEventHandler ( SPEventReceiverDefinitionCollection sperdcol, string className, SPEventReceiverType type ) : SPEventReceiverDefinition

Gets a specific event handler.

GetWelcomePage ( SPContentType contentType ) : SPFile

Gets the document set welcome page for the specified content type.

ProvisionDocumentSet ( SPContentType contentType ) : void

Provisions the document set.

ProvisionDocumentSet ( SPContentTypeId contentTypeId ) : void

Provisions the document set.

ProvisionEventHandler ( SPContentType contentType ) : void

Provisions the event handler.

ProvisionWelcomePage ( SPContentType contentType ) : SPFile

Provisions the welcome page.

SetContextSite ( SPSite site ) : void

Sets the Web and Site objects.

SetContextWeb ( SPWeb web ) : void

Sets the Web and Site objects.

메소드 상세

AddEventHandler() 공개 정적인 메소드

Adds the event handler to the content type.
public static AddEventHandler ( SPContentType contentType, string name, Type receiver, SPEventReceiverType type, int sequence, SPEventReceiverSynchronization sync ) : void
contentType SPContentType The content type.
name string The name of the event.
receiver System.Type The type reference of the event receiver class.
type SPEventReceiverType The event receiver type.
sequence int The sequence.
sync SPEventReceiverSynchronization The synchronization type.
리턴 void

AddEventHandler() 공개 정적인 메소드

Adds the event handler to the content type.
public static AddEventHandler ( SPContentType contentType, string name, string assembly, string className, SPEventReceiverType type, int sequence, SPEventReceiverSynchronization sync ) : void
contentType SPContentType The content type.
name string The name of the event.
assembly string The assembly containing the event receiver.
className string Name of the event receiver class.
type SPEventReceiverType The event receiver type.
sequence int The sequence.
sync SPEventReceiverSynchronization The synchronization type.
리턴 void

AddWebPart() 보호된 메소드

Adds the web part to the page from a definition.
protected AddWebPart ( SPLimitedWebPartManager manager, string definition, string zone, int index ) : void
manager SPLimitedWebPartManager The web part manager.
definition string The web part definition.
zone string The web part zone.
index int The zone index.
리턴 void

FeatureActivated() 공개 메소드

Occurs on feature activation.
public FeatureActivated ( SPFeatureReceiverProperties properties ) : void
properties SPFeatureReceiverProperties /// An object that represents the properties of the event. ///
리턴 void

GetWelcomePageWebPartmanager() 보호된 정적인 메소드

Gets the welcome page web part manager.
protected static GetWelcomePageWebPartmanager ( SPFile file ) : SPLimitedWebPartManager
file SPFile The file to return a instance for.
리턴 SPLimitedWebPartManager

ProvisionWebParts() 보호된 메소드

Provisions the web parts.
protected ProvisionWebParts ( SPLimitedWebPartManager manager ) : void
manager SPLimitedWebPartManager The manager.
리턴 void