RoboCupMS

Classes | Public Member Functions | List of all members
com.robogames.RoboCupMS.Business.Service.DisciplineService Class Reference

## Classes
enum | Message

## Public Member Functions
List< Discipline > | getAll ()
Discipline | get (Long id) throws Exception
void | create (DisciplineObj disciplineObj) throws Exception
void | remove (Long id) throws Exception
void | edit (Long id, DisciplineObj disciplineObj) throws Exception

## Detailed Description

Zajistuje spravu souteznich disciplin

## Member Function Documentation

## ◆ create()

void com.robogames.RoboCupMS.Business.Service.DisciplineService.create | ( | DisciplineObj | disciplineObj | ) | throws Exception
| inline

Vytvori novou disciplinu

Parameters

  disciplineObj | Parametry nove discipliny

## ◆ edit()

void com.robogames.RoboCupMS.Business.Service.DisciplineService.edit | ( | Long | id,
|  | DisciplineObj | disciplineObj
| ) |  | throws Exception
| inline

Upravi disciplinu (nazev nebo popis)

Parameters

  id | ID discipliny jejiz data maji byt zmeneny
  disciplineObj | Paramtery nove discipliny

## ◆ get()

Discipline com.robogames.RoboCupMS.Business.Service.DisciplineService.get | ( | Long | id | ) | throws Exception
| inline

Navarti disciplinu s konkretim ID

Parameters

  id | ID pozadovane discipliny

Returns
  Disciplina

## ◆ getAll()

List<Discipline> com.robogames.RoboCupMS.Business.Service.DisciplineService.getAll | ( |  | ) |
| inline

Navrati vsechny vytvorene discipliny

Returns
  Seznam disciplin

## ◆ remove()

void com.robogames.RoboCupMS.Business.Service.DisciplineService.remove | ( | Long | id | ) | throws Exception
| inline

Z databaze odstrani disciplinu

Parameters

  id | ID discipliny, ktera ma byt odstraneni

The documentation for this class was generated from the following file:

- /home/martin/Programing/RoboCupMS/src/main/java/com/robogames/RoboCupMS/Business/Service/DisciplineService.java