示例#1
0
  // Actions
  public String addMebel() {

    mm.addMebel(mebel);
    mm.addProducentToMebel(mebel.getId(), producentId);
    mm.addKrajToMebelList(mebel.getId(), krajeTemp);

    return null;
  }
示例#2
0
 public ListDataModel<Mebel> getAllMeble() {
   meble.setWrappedData(mm.getAllMeble());
   return meble;
 }
示例#3
0
  public String editMebel() {
    mm.editMebel(this.mebel);

    return "showMebele?faces-redirect=true";
  }
示例#4
0
  public String delMebel(Long id) {
    mm.delMebel(id);

    return null;
  }