コード例 #1
0
 public String removePosition(long positionId) {
   for (Position position : positionBunchBean.getAllPositions()) {
     if (position.getPositionId() == positionId) positionBo.removePosition(position);
   }
   resetView();
   return "";
 }
コード例 #2
0
  public String addPosition() {
    Position position = new Position();
    position.setName(name);

    positionBo.addNewPosion(position);

    resetView();
    return "";
  }