- Timestamp:
- Mar 26, 2011, 5:48:43 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/jiwigo-ws-api/src/main/java/fr/mael/jiwigo/dao/CategoryDao.java
r9430 r9879 16 16 17 17 /* 18 Copyright (c) 2010, Mael 19 All rights reserved. 20 21 Redistribution and use in source and binary forms, with or without 22 modification, are permitted provided that the following conditions are met: 23 * Redistributions of source code must retain the above copyright 24 notice, this list of conditions and the following disclaimer. 25 * Redistributions in binary form must reproduce the above copyright 26 notice, this list of conditions and the following disclaimer in the 27 documentation and/or other materials provided with the distribution. 28 * Neither the name of jiwigo nor the 29 names of its contributors may be used to endorse or promote products 30 derived from this software without specific prior written permission. 31 32 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 33 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 34 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 35 DISCLAIMED. IN NO EVENT SHALL Mael BE LIABLE FOR ANY 36 DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 37 (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 38 LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 39 ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 40 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 41 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 42 */ 18 * jiwigo-ws-api Piwigo webservice access Api 19 * Copyright (c) 2010-2011 Mael mael@le-guevel.com 20 * All Rights Reserved 21 * 22 * This library is free software. It comes without any warranty, to 23 * the extent permitted by applicable law. You can redistribute it 24 * and/or modify it under the terms of the Do What The Fuck You Want 25 * To Public License, Version 2, as published by Sam Hocevar. See 26 * http://sam.zoy.org/wtfpl/COPYING for more details. 27 */ 43 28 /** 44 45 29 * Dao for the categories 46 30 * @author mael … … 99 83 String catMeres = cat.getChildText(CategoryEnum.CAT_MERES.getLabel()); 100 84 ArrayList<Integer> idCategoriesMeres = new ArrayList<Integer>(); 85 myCat.setIdParentCategoriesString(catMeres); 101 86 for (String catA : catMeres.split(",")) { 102 87 if (!catA.equals("")) {
Note: See TracChangeset
for help on using the changeset viewer.