C# Class GSoft.Dynamite.Utils.ContentOrganizerHelper

SharePoint Content Organizer Helper
Mostrar archivo Open project: GSoft-SharePoint/Dynamite-2010 Class Usage Examples

Public Methods

Method Description
CreateCustomRouter ( SPWeb web, string routerName, string routerAssemblyName, string routerClassName ) : void

Create a custom router for a web content organizer

CreateCustomRule ( SPWeb web, string ruleName, string ruleDescription, string contentType, string conditionXml, int priority, bool routeToExternalLocation, string targetPath, string customerRouterName ) : void

Create a custom rule for the content organizer (Without folder auto creation)

DeleteCustomRouter ( SPWeb web, string routerName ) : void

Delete a custom router

DeleteCustomRule ( SPWeb web, string ruleName ) : void

Delete a custom rule

ForceContentOrganizerTimerJobProcessing ( SPSite site ) : void

Force content organizer timer job to run

GetDropOffLibrary ( SPWeb web ) : SPList

Get the content organizer Drop Off Library for a SPWeb

Method Details

CreateCustomRouter() public method

Create a custom router for a web content organizer
public CreateCustomRouter ( SPWeb web, string routerName, string routerAssemblyName, string routerClassName ) : void
web SPWeb The web
routerName string Router name
routerAssemblyName string Router assembly name
routerClassName string Router class name in the assembly
return void

CreateCustomRule() public method

Create a custom rule for the content organizer (Without folder auto creation)
public CreateCustomRule ( SPWeb web, string ruleName, string ruleDescription, string contentType, string conditionXml, int priority, bool routeToExternalLocation, string targetPath, string customerRouterName ) : void
web SPWeb The web
ruleName string The rule name
ruleDescription string The rule description
contentType string The content type name
conditionXml string Conditions in XML
priority int Rule priority
routeToExternalLocation bool Route to external location
targetPath string The target path
customerRouterName string Custom router name
return void

DeleteCustomRouter() public method

Delete a custom router
public DeleteCustomRouter ( SPWeb web, string routerName ) : void
web SPWeb The web
routerName string The router name
return void

DeleteCustomRule() public method

Delete a custom rule
public DeleteCustomRule ( SPWeb web, string ruleName ) : void
web SPWeb the web
ruleName string The rule name
return void

ForceContentOrganizerTimerJobProcessing() public method

Force content organizer timer job to run
public ForceContentOrganizerTimerJobProcessing ( SPSite site ) : void
site SPSite /// The site. ///
return void

GetDropOffLibrary() public method

Get the content organizer Drop Off Library for a SPWeb
public GetDropOffLibrary ( SPWeb web ) : SPList
web SPWeb The web
return SPList