C# Class Dynamite.Example.ContentOrganizer.ContentOrganizer.Routers.MyCommonRouter

TODO: Update summary.
Inheritance: ICustomRouter
Afficher le fichier Open project: GSoft-SharePoint/Dynamite-2010-Example-ContentOrganizer

Méthodes publiques

Méthode Description
OnSubmitFile ( EcmDocumentRoutingWeb contentOrganizerWeb, string recordSeries, string userName, Stream fileContent, Microsoft.SharePoint.RecordsRepositoryProperty properties, SPFolder finalFolder, string &resultDetails ) : CustomRouterResult

OnSubmitFile method for the content organizer

Méthodes protégées

Méthode Description
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

Method Details

NormalizeFileName() protected static méthode

Remove the Error prefix from the file name
protected static NormalizeFileName ( string fileName ) : string
fileName string The file name
Résultat string

OnSubmitFile() public abstract méthode

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.
Résultat CustomRouterResult

ResolveDependencies() protected méthode

Resolve dependencies for Dynamite Helpers
protected ResolveDependencies ( ) : void
Résultat void

SaveDocumentToDropOffLibrary() protected méthode

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. ///
Résultat SPListItem