Examples of CategoryWrapper


Examples of com.dotcms.publisher.pusher.wrapper.CategoryWrapper

   */
  public List<CategoryWrapper> findTopLevelWrappers() throws FileNotFoundException {
    List<CategoryWrapper> topLevels = new ArrayList<CategoryWrapper>();
    for(File category : categories){
      if(category.isDirectory()) continue;
      CategoryWrapper wrapper = getCategoryWrapperFromFile(category);
      if(wrapper.isTopLevel())
        topLevels.add(wrapper);
    }
    return topLevels;
  }
View Full Code Here

Examples of com.dotcms.publisher.pusher.wrapper.CategoryWrapper

    }
    return topLevels;
  }
 
  public CategoryWrapper getCategoryWrapperFromInode(String inode) throws FileNotFoundException {
    CategoryWrapper wrapper = null;
    for(File category : categories){
      if(category.isDirectory()) continue;
      wrapper = getCategoryWrapperFromFile(category);
      if(inode.equals(wrapper.getCategory().getInode()))
        return wrapper;
    }
    return wrapper;
  }
View Full Code Here

Examples of org.broadleafcommerce.core.web.api.wrapper.CategoryWrapper

            request.setAttribute("productLimit", productLimit);
            request.setAttribute("productOffset", productOffset);
            request.setAttribute("subcategoryLimit", subcategoryLimit);
            request.setAttribute("subcategoryOffset", subcategoryOffset);

            CategoryWrapper wrapper = (CategoryWrapper) context.getBean(CategoryWrapper.class.getName());
            wrapper.wrapDetails(cat, request);
            return wrapper;
        }
        throw BroadleafWebServicesException.build(Response.Status.NOT_FOUND.getStatusCode())
                .addMessage(BroadleafWebServicesException.CATEGORY_NOT_FOUND, searchParameter);
    }
View Full Code Here

Examples of org.broadleafcommerce.core.web.api.wrapper.CategoryWrapper

            request.setAttribute("productLimit", productLimit);
            request.setAttribute("productOffset", productOffset);
            request.setAttribute("subcategoryLimit", subcategoryLimit);
            request.setAttribute("subcategoryOffset", subcategoryOffset);

            CategoryWrapper wrapper = (CategoryWrapper)context.getBean(CategoryWrapper.class.getName());
            wrapper.wrapDetails(cat, request);
            return wrapper;
        }
        throw BroadleafWebServicesException.build(Response.Status.NOT_FOUND.getStatusCode())
                .addMessage(BroadleafWebServicesException.CATEGORY_NOT_FOUND, id);
    }
View Full Code Here

Examples of projekt.teama.reservierung.wrapper.CategoryWrapper

                    for (IZimmerpreis preis : zimmerpreise) {
                        if (preis.getKategorie().equals(category)) {
                            preisOfKategorie = preis.getPreis();
                        }
                    }
                    categories.add(new CategoryWrapper(category, 0, getAvailableRooms(category), preisOfKategorie));
                }
            } catch (DatabaseException ex) {
                Logger.getLogger(ReservationManager.class.getName()).log(Level.SEVERE, null, ex);
            }
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.