C# Class Acceleratio.SPDG.Generator.Client.SPModel.SPDGClientWeb

Inheritance: Acceleratio.SPDG.Generator.SPModel.SPDGWeb
Datei anzeigen Open project: Acceleratio/SPDG Class Usage Examples

Public Methods

Method Description
AddList ( string title, string description, int templateId ) : System.Guid
AddNavigationNode ( string title, string url, NavigationNodeLocation location ) : void
AddRoleAssignment ( SPDGPrincipal principal, IEnumerable roledefinitions ) : void
AddSiteGroup ( string name, SPDGUser owner, SPDGUser defaultUser, string description ) : void
AddWeb ( string url, string siteName, string description, uint lcid, string templateName, bool useUniquePermissions, bool convertIfThere ) : SPDGWeb
BreakRoleInheritance ( bool copyRoleAssignments ) : void
Dispose ( ) : void
EnsureUser ( string loginName ) : SPDGUser
GetFolder ( string folderUrl ) : SPDGFolder
GetList ( System.Guid id ) : SPDGList
GetList ( string title ) : SPDGList
GetRoleAssignmentByPrincipal ( SPDGPrincipal principal ) : SPDGRoleAssignment
GetWebTemplates ( uint lcid ) : IEnumerable
SPDGClientWeb ( Web web, SPDGWeb parentWeb, ClientContext context, SPDGClientSite site ) : System
TryGetList ( string title ) : SPDGList

Private Methods

Method Description
invalidateSiteGroups ( ) : void
invalidateSiteUsers ( ) : void

Method Details

AddList() public method

public AddList ( string title, string description, int templateId ) : System.Guid
title string
description string
templateId int
return System.Guid

AddNavigationNode() public method

public AddNavigationNode ( string title, string url, NavigationNodeLocation location ) : void
title string
url string
location NavigationNodeLocation
return void

AddRoleAssignment() public method

public AddRoleAssignment ( SPDGPrincipal principal, IEnumerable roledefinitions ) : void
principal Acceleratio.SPDG.Generator.SPModel.SPDGPrincipal
roledefinitions IEnumerable
return void

AddSiteGroup() public method

public AddSiteGroup ( string name, SPDGUser owner, SPDGUser defaultUser, string description ) : void
name string
owner Acceleratio.SPDG.Generator.SPModel.SPDGUser
defaultUser Acceleratio.SPDG.Generator.SPModel.SPDGUser
description string
return void

AddWeb() public method

public AddWeb ( string url, string siteName, string description, uint lcid, string templateName, bool useUniquePermissions, bool convertIfThere ) : SPDGWeb
url string
siteName string
description string
lcid uint
templateName string
useUniquePermissions bool
convertIfThere bool
return Acceleratio.SPDG.Generator.SPModel.SPDGWeb

BreakRoleInheritance() public method

public BreakRoleInheritance ( bool copyRoleAssignments ) : void
copyRoleAssignments bool
return void

Dispose() public method

public Dispose ( ) : void
return void

EnsureUser() public method

public EnsureUser ( string loginName ) : SPDGUser
loginName string
return Acceleratio.SPDG.Generator.SPModel.SPDGUser

GetFolder() public method

public GetFolder ( string folderUrl ) : SPDGFolder
folderUrl string
return Acceleratio.SPDG.Generator.SPModel.SPDGFolder

GetList() public method

public GetList ( System.Guid id ) : SPDGList
id System.Guid
return SPDGList

GetList() public method

public GetList ( string title ) : SPDGList
title string
return SPDGList

GetRoleAssignmentByPrincipal() public method

public GetRoleAssignmentByPrincipal ( SPDGPrincipal principal ) : SPDGRoleAssignment
principal Acceleratio.SPDG.Generator.SPModel.SPDGPrincipal
return Acceleratio.SPDG.Generator.SPModel.SPDGRoleAssignment

GetWebTemplates() public method

public GetWebTemplates ( uint lcid ) : IEnumerable
lcid uint
return IEnumerable

SPDGClientWeb() public method

public SPDGClientWeb ( Web web, SPDGWeb parentWeb, ClientContext context, SPDGClientSite site ) : System
web Web
parentWeb Acceleratio.SPDG.Generator.SPModel.SPDGWeb
context ClientContext
site SPDGClientSite
return System

TryGetList() public method

public TryGetList ( string title ) : SPDGList
title string
return SPDGList