- Timestamp:
- Oct 10, 2010, 10:45:43 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/PiwigoLib/PiwigoLib/Service/PwgCategoriesService.cs
r3837 r7149 7 7 using Com.Piwigo.Lib.Proxy.Response; 8 8 using Com.Piwigo.Lib.DTO.Helper; 9 using Com.Piwigo.Lib.IService; 9 10 10 11 namespace Com.Piwigo.Lib.Service 11 12 { 12 13 13 static public classPwgCategoriesService14 internal sealed class PwgCategoriesService : IPwgCategoriesService 14 15 { 15 16 /// <summary> … … 18 19 /// <param name="sortedByCounter"></param> 19 20 /// <returns></returns> 20 staticpublic List<PwgCategory> GetListOfCategory(Int32? CatgeroryId, Boolean? Recursive, Boolean? PublicOnly)21 public List<PwgCategory> GetListOfCategory(Int32? CatgeroryId, Boolean? Recursive, Boolean? PublicOnly) 21 22 { 22 23 List<PwgCategory> returnValue = new List<PwgCategory>(); … … 55 56 /// </summary> 56 57 /// <returns></returns> 57 staticpublic List<PwgCategory> GetAdminListOfCategory()58 public List<PwgCategory> GetAdminListOfCategory() 58 59 { 59 60 List<PwgCategory> returnValue = new List<PwgCategory>(); … … 96 97 /// <param name="messageInfo">Message returned by the server</param> 97 98 /// <returns>false, if a error occurs</returns> 98 staticpublic Boolean AddCategory(String categoryName, Int32? upperCatId, ref Int32 newId, ref String messageInfo)99 public Boolean AddCategory(String categoryName, Int32? upperCatId, ref Int32 newId, ref String messageInfo) 99 100 { 100 101 Boolean returnValue = false; … … 139 140 /// <param name="categoryComment"></param> 140 141 /// <returns></returns> 141 staticpublic Boolean UpdateCategoryInfo(Int32 IdCat, String categoryName, String categoryComment)142 public Boolean UpdateCategoryInfo(Int32 IdCat, String categoryName, String categoryComment) 142 143 { 143 144 Boolean returnValue = false; … … 195 196 /// <param name="CountReturned"></param> 196 197 /// <returns></returns> 197 staticpublic List<PwgImage> GetListOfImagesFormCategory(Int32 categoryId,198 public List<PwgImage> GetListOfImagesFormCategory(Int32 categoryId, 198 199 Boolean? recursive, 199 200 Int32? perPage, … … 269 270 /// <param name="response"></param> 270 271 /// <param name="session"></param> 271 static public List<PwgCategory> ConvertProxyResponseToDTO(PwgCategoriesProxyResponse response)272 internal static List<PwgCategory> ConvertProxyResponseToDTO(PwgCategoriesProxyResponse response) 272 273 { 273 274 List<PwgCategory> returnValue = new List<PwgCategory>(); … … 287 288 /// <param name="response"></param> 288 289 /// <param name="session"></param> 289 static public PwgCategory ConvertProxyResponseToDTO(PwgCategoryProxyResponse response)290 internal static PwgCategory ConvertProxyResponseToDTO(PwgCategoryProxyResponse response) 290 291 { 291 292 PwgCategory returnValue = new PwgCategory();
Note: See TracChangeset
for help on using the changeset viewer.