예제 #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 "";
  }