C# Class Enmarcha.SharePoint.Entities.Artefacts.ListSharePoint

Inheritance: IListSharePoint
Afficher le fichier Open project: Encamina/Enmarcha-SharePoint Class Usage Examples

Méthodes publiques

Méthode Description
AddContentType ( string contentTypeName ) : bool

Add Content Type

AddField ( Enmarcha.SharePoint.Entities.Artefacts.SiteColumn column ) : bool

Añadir Campos

AddPermissionsGroup ( string group, RoleType role ) : bool

Add permissions fror Group in SharePoint

AddPermissionsInFolder ( string name, string group, SPRoleType role ) : bool

Da permisos a la carpeta especificada

ClearPermisions ( ) : bool

Funcion que elimina los permisos en una lista

Create ( string description, ListTemplateType type ) : bool

Create List

Create ( string description, ListTemplateType type, bool versionControl ) : bool

Create List

CreateFolder ( string name ) : bool

Create a folder in the document libraries

Delete ( ) : bool

Delete List

DeleteContentType ( string contentTypeName ) : bool

Delete ContentType

DeleteField ( Enmarcha.SharePoint.Entities.Artefacts.SiteColumn column ) : bool

Delete Field

Exist ( ) : bool

This list exists or not?

ExistContentType ( string contentTypeName ) : bool

Existe este Tipo de contenido en la Lista

ExistField ( Enmarcha.SharePoint.Entities.Artefacts.SiteColumn column ) : bool

Existe esta Columna de Lista

GetContentType ( ) : IEnumerable

Return content type the sharepoint list

ListSharePoint ( SPWeb web, ILog logger ) : System
ListSharePoint ( SPWeb web, ILog logger, string name ) : System
RemovePermissionsGroup ( string group ) : bool

Delete Permisions for Group

Private Methods

Méthode Description
AddFieldBoolean ( Enmarcha.SharePoint.Entities.Artefacts.SiteColumn column, SPList listEdit ) : void
AddFieldCalculated ( Enmarcha.SharePoint.Entities.Artefacts.SiteColumn column, SPList listEdit ) : void
AddFieldChoice ( Enmarcha.SharePoint.Entities.Artefacts.SiteColumn column, SPList listEdit ) : void
AddFieldCurrency ( Enmarcha.SharePoint.Entities.Artefacts.SiteColumn column ) : void
AddFieldDateTime ( Enmarcha.SharePoint.Entities.Artefacts.SiteColumn column, SPList listEdit ) : void
AddFieldLookup ( Enmarcha.SharePoint.Entities.Artefacts.SiteColumn column, SPList listEdit ) : void

Method Details

AddContentType() public méthode

Add Content Type
public AddContentType ( string contentTypeName ) : bool
contentTypeName string
Résultat bool

AddField() public méthode

Añadir Campos
public AddField ( Enmarcha.SharePoint.Entities.Artefacts.SiteColumn column ) : bool
column Enmarcha.SharePoint.Entities.Artefacts.SiteColumn
Résultat bool

AddPermissionsGroup() public méthode

Add permissions fror Group in SharePoint
public AddPermissionsGroup ( string group, RoleType role ) : bool
group string
role RoleType
Résultat bool

AddPermissionsInFolder() public méthode

Da permisos a la carpeta especificada
public AddPermissionsInFolder ( string name, string group, SPRoleType role ) : bool
name string Ruta de la Carpeta
group string Grupo de Usuarios a los que da permisos
role SPRoleType Rol de la administrador
Résultat bool

ClearPermisions() public méthode

Funcion que elimina los permisos en una lista
public ClearPermisions ( ) : bool
Résultat bool

Create() public méthode

Create List
public Create ( string description, ListTemplateType type ) : bool
description string
type ListTemplateType
Résultat bool

Create() public méthode

Create List
public Create ( string description, ListTemplateType type, bool versionControl ) : bool
description string
type ListTemplateType
versionControl bool
Résultat bool

CreateFolder() public méthode

Create a folder in the document libraries
public CreateFolder ( string name ) : bool
name string Nombre de la Carpeta a crear ydonde va a estar la carpet: Example /// "/Document Library/Folder1" ////Creates a folder named “Folder11” under “Folder1” in “Document Library” in a sub site
Résultat bool

Delete() public méthode

Delete List
public Delete ( ) : bool
Résultat bool

DeleteContentType() public méthode

Delete ContentType
public DeleteContentType ( string contentTypeName ) : bool
contentTypeName string
Résultat bool

DeleteField() public méthode

Delete Field
public DeleteField ( Enmarcha.SharePoint.Entities.Artefacts.SiteColumn column ) : bool
column Enmarcha.SharePoint.Entities.Artefacts.SiteColumn
Résultat bool

Exist() public méthode

This list exists or not?
public Exist ( ) : bool
Résultat bool

ExistContentType() public méthode

Existe este Tipo de contenido en la Lista
public ExistContentType ( string contentTypeName ) : bool
contentTypeName string
Résultat bool

ExistField() public méthode

Existe esta Columna de Lista
public ExistField ( Enmarcha.SharePoint.Entities.Artefacts.SiteColumn column ) : bool
column Enmarcha.SharePoint.Entities.Artefacts.SiteColumn
Résultat bool

GetContentType() public méthode

Return content type the sharepoint list
public GetContentType ( ) : IEnumerable
Résultat IEnumerable

ListSharePoint() public méthode

public ListSharePoint ( SPWeb web, ILog logger ) : System
web SPWeb
logger ILog
Résultat System

ListSharePoint() public méthode

public ListSharePoint ( SPWeb web, ILog logger, string name ) : System
web SPWeb
logger ILog
name string
Résultat System

RemovePermissionsGroup() public méthode

Delete Permisions for Group
public RemovePermissionsGroup ( string group ) : bool
group string
Résultat bool