Package | Description |
---|---|
pb138.dal.entities | |
pb138.dal.repository | |
pb138.service.facades | |
pb138.service.filters | |
pb138.service.services |
Modifier and Type | Method and Description |
---|---|
Category |
Item.getCategory()
Gets category
|
Modifier and Type | Method and Description |
---|---|
void |
Item.setCategory(Category category)
Sets category
|
Modifier and Type | Method and Description |
---|---|
Category |
CategoryRepository.getById(long id)
Retrieves entity by id
|
Modifier and Type | Method and Description |
---|---|
Iterable<Category> |
CategoryRepository.find(CategoryFilter filter)
Filters according to criteria specified by filter
|
Modifier and Type | Method and Description |
---|---|
void |
CategoryRepository.create(Category category)
Creates entity in database
|
void |
CategoryRepository.delete(Category category)
Deletes the entity from database
|
void |
CategoryRepository.update(Category category)
Updates entity in database
|
Modifier and Type | Method and Description |
---|---|
Category |
CategoryFacadeImpl.createOrUpdateCategory(String name,
String desctription) |
Category |
CategoryFacade.createOrUpdateCategory(String name,
String desctription)
Creates a new category, or updates it if another one with given name exist;
|
Category |
CategoryFacadeImpl.getCategoryByName(String name) |
Category |
CategoryFacade.getCategoryByName(String name)
Find category with given name in db.
|
Modifier and Type | Method and Description |
---|---|
List<Category> |
CategoryFacadeImpl.getAllCategories() |
List<Category> |
CategoryFacade.getAllCategories()
Get all categories from db.
|
Modifier and Type | Method and Description |
---|---|
List<Sale> |
SaleFacadeImpl.getSalesForCategory(Category category,
Date from,
Date to) |
List<Sale> |
SaleFacade.getSalesForCategory(Category category,
Date from,
Date to)
Get all sales for given category from given period of time
|
Modifier and Type | Method and Description |
---|---|
Category |
ShipmentFilter.getCategory()
Gets category
|
Category |
SaleFilter.getCategory()
Gets category
|
Category |
ItemFilter.getCategory()
Gets category
|
Modifier and Type | Method and Description |
---|---|
void |
ShipmentFilter.setCategory(Category category)
Sets category
|
void |
SaleFilter.setCategory(Category category)
Sets category
|
void |
ItemFilter.setCategory(Category category)
Sets category
|
Modifier and Type | Method and Description |
---|---|
Category |
CategoryServiceImpl.getById(long id) |
Category |
CategoryService.getById(long id)
Return category of given id
|
Category |
CategoryServiceImpl.getByName(String name) |
Category |
CategoryService.getByName(String name)
Return category of given name
|
Modifier and Type | Method and Description |
---|---|
List<Category> |
CategoryServiceImpl.getAllCategories() |
List<Category> |
CategoryService.getAllCategories()
Returns list of all categories
|
Modifier and Type | Method and Description |
---|---|
long |
CategoryServiceImpl.create(Category category) |
long |
CategoryService.create(Category category)
Creates new category
|
void |
CategoryServiceImpl.delete(Category category) |
void |
CategoryService.delete(Category category)
Deletes category
|
List<Item> |
ItemServiceImpl.getByCategory(Category c) |
List<Item> |
ItemService.getByCategory(Category c)
Returns all items belonging to given category
|
void |
CategoryServiceImpl.update(Category category) |
void |
CategoryService.update(Category category)
Updates category
|
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.