- Timestamp:
- Feb 28, 2011, 7:40:53 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/jiwigo-ws-api/src/main/java/fr/mael/jiwigo/dao/CategoryDao.java
r9392 r9430 11 11 import fr.mael.jiwigo.transverse.enumeration.CategoryEnum; 12 12 import fr.mael.jiwigo.transverse.enumeration.MethodsEnum; 13 import fr.mael.jiwigo.transverse.exception.ProxyAuthenticationException; 13 14 import fr.mael.jiwigo.transverse.session.SessionManager; 14 15 import fr.mael.jiwigo.transverse.util.Tools; … … 81 82 * @return the list of categories 82 83 * @throws IOException 84 * @throws ProxyAuthenticationException 83 85 */ 84 public List<Category> list(boolean recursive) throws IOException {86 public List<Category> list(boolean recursive) throws IOException, ProxyAuthenticationException { 85 87 Document doc = sessionManager.executeReturnDocument(MethodsEnum.LISTER_CATEGORIES.getLabel(), "recursive", 86 88 String.valueOf(recursive)); … … 112 114 * @param category the category to create 113 115 * @return true if the category is successfully created 116 * @throws ProxyAuthenticationException 114 117 */ 115 public boolean create(Category category) {118 public boolean create(Category category) throws ProxyAuthenticationException { 116 119 try { 117 120 if (category.getDirectParent() != null) {
Note: See TracChangeset
for help on using the changeset viewer.