C# 클래스 Dynamite.Example.ContentOrganizer.ContentOrganizer.Routers.MyCommonRouter

TODO: Update summary.
상속: ICustomRouter
파일 보기 프로젝트 열기: GSoft-SharePoint/Dynamite-2010-Example-ContentOrganizer

공개 메소드들

메소드 설명
OnSubmitFile ( EcmDocumentRoutingWeb contentOrganizerWeb, string recordSeries, string userName, Stream fileContent, Microsoft.SharePoint.RecordsRepositoryProperty properties, SPFolder finalFolder, string &resultDetails ) : CustomRouterResult

OnSubmitFile method for the content organizer

보호된 메소드들

메소드 설명
NormalizeFileName ( string fileName ) : string

Remove the Error prefix from the file name

ResolveDependencies ( ) : void

Resolve dependencies for Dynamite Helpers

SaveDocumentToDropOffLibrary ( Stream fileContent, Hashtable docProperties, SPList dropOffLibrary, string fileName, EcmDocumentRoutingWeb web, SPUser user ) : SPListItem

Save a document to the drop off library

메소드 상세

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

Remove the Error prefix from the file name
protected static NormalizeFileName ( string fileName ) : string
fileName string The file name
리턴 string

OnSubmitFile() 공개 추상적인 메소드

OnSubmitFile method for the content organizer
public abstract OnSubmitFile ( EcmDocumentRoutingWeb contentOrganizerWeb, string recordSeries, string userName, Stream fileContent, Microsoft.SharePoint.RecordsRepositoryProperty properties, SPFolder finalFolder, string &resultDetails ) : CustomRouterResult
contentOrganizerWeb EcmDocumentRoutingWeb The web.
recordSeries string Record series.
userName string Submitting user name.
fileContent System.IO.Stream File content.
properties Microsoft.SharePoint.RecordsRepositoryProperty File properties.
finalFolder SPFolder The final folder.
resultDetails string Result processing details.
리턴 CustomRouterResult

ResolveDependencies() 보호된 메소드

Resolve dependencies for Dynamite Helpers
protected ResolveDependencies ( ) : void
리턴 void

SaveDocumentToDropOffLibrary() 보호된 메소드

Save a document to the drop off library
protected SaveDocumentToDropOffLibrary ( Stream fileContent, Hashtable docProperties, SPList dropOffLibrary, string fileName, EcmDocumentRoutingWeb web, SPUser user ) : SPListItem
fileContent System.IO.Stream /// The file content ///
docProperties System.Collections.Hashtable /// The document properties ///
dropOffLibrary SPList /// Drop Off Library List instance ///
fileName string /// The file name ///
web EcmDocumentRoutingWeb /// The content organizer web. ///
user SPUser /// The user who submit the file. ///
리턴 SPListItem