Provides read-only details for a SharePoint list.
Ejemplo n.º 1
0
 static GlymaLists()
 {
     GlymaExportsList = new ReadOnlyListDetails("GlymaExports", SPListTemplateType.GenericList, "Glyma Exports",
                                                "A list used to manage the processing of exports from Glyma and storing the results of the export operation.", false);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Checks if a list exists in a site using its "internal name" and creates it if it doesn't exist.
 /// </summary>
 /// <param name="site">The site to check.</param>
 /// <param name="listDetail">The details of the list.</param>
 /// <param name="isNewList">A boolean that is set to true, if a new list is created; otherwise, it is set to false.</param>
 /// <returns>A SPList object that references an existing or newly created list.</returns>
 public static SPList EnsureList(this SPWeb site, ReadOnlyListDetails listDetail, ref bool isNewList)
 {
    return EnsureList(site, listDetail.UrlName, listDetail.TemplateType, listDetail.Title, listDetail.Description, ref isNewList);
 }
Ejemplo n.º 3
0
 static GlymaLists()
 {
     GlymaExportsList = new ReadOnlyListDetails("GlymaExports", SPListTemplateType.GenericList, "Glyma Exports",
         "A list used to manage the processing of exports from Glyma and storing the results of the export operation.", false);
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Checks if a list exists in a site using its "internal name" and creates it if it doesn't exist.
 /// </summary>
 /// <param name="site">The site to check.</param>
 /// <param name="listDetail">The details of the list.</param>
 /// <param name="isNewList">A boolean that is set to true, if a new list is created; otherwise, it is set to false.</param>
 /// <returns>A SPList object that references an existing or newly created list.</returns>
 public static SPList EnsureList(this SPWeb site, ReadOnlyListDetails listDetail, ref bool isNewList)
 {
     return(EnsureList(site, listDetail.UrlName, listDetail.TemplateType, listDetail.Title, listDetail.Description, ref isNewList));
 }