public interface AdCategoryService extends CRUDService<AdCategoryDTO,AdCategoryData,AdCategoryVO>
| Modifier and Type | Method and Description |
|---|---|
void |
saveCategories(java.util.List<AdCategoryDTO> categories)
Saves several categories
|
void |
saveOrder(java.util.List<java.lang.Long> categoryIds)
Updates the order field according to the sequence on AdCategoryVOs set
|
Page<AdCategoryDetailedVO> |
search(AdCategoryQuery params)
Searches categories according to parameters
|
void |
sortAlphabetically(AdCategoryVO adCategory)
Updates the order field of categories child of the given category (or root if adCategoryVO is null)
alphabetically (by name)
|
getData, getDataForNew, load, remove, removeAll, savevoid saveCategories(java.util.List<AdCategoryDTO> categories) throws FrameworkException
FrameworkExceptionvoid saveOrder(java.util.List<java.lang.Long> categoryIds)
throws FrameworkException
FrameworkExceptionPage<AdCategoryDetailedVO> search(AdCategoryQuery params) throws FrameworkException
FrameworkExceptionvoid sortAlphabetically(AdCategoryVO adCategory) throws FrameworkException
FrameworkException