Package balu.pizza.webapp.services
Class StackService
java.lang.Object
balu.pizza.webapp.services.StackService
Stack item Service
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
StackService
-
-
Method Details
-
create
Writing a new Stack entity to the database- Parameters:
stackItem
-- Returns:
- saved Stack item
-
findAllSorted
Searches all Stack items- Parameters:
sortBy
- sorting parameter- Returns:
- Sorted list of stack items
-
findAll
Searches all Stack items- Returns:
- List of stack items
-