public interface AdCategoryService extends CRUDService<AdCategoryDTO,AdCategoryData,java.lang.Long>
| 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(java.lang.Long parentId)
Updates the order field of categories child of the category with the given id (or root if id 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(java.lang.Long parentId)
throws FrameworkException
FrameworkException