public interface AdCategoryService extends CRUDService<AdCategoryDTO,AdCategoryData,AdCategoryVO>
| Modifier and Type | Method and Description |
|---|---|
void |
saveCategories(@NotNull java.util.List<AdCategoryDTO> categories)
Saves several categories
|
void |
saveOrder(@NotNull java.util.List<java.lang.Long> categoryIds)
Updates the order field according to the sequence on AdCategoryVOs set
|
Page<AdCategoryDetailedVO> |
search(@NotNull AdCategoryQuery params)
Searches categories according to parameters
|
void |
sortAlphabetically(@NotNull 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(@NotNull
@NotNull java.util.List<AdCategoryDTO> categories)
throws FrameworkException
FrameworkExceptionvoid saveOrder(@NotNull
@NotNull java.util.List<java.lang.Long> categoryIds)
throws FrameworkException
FrameworkExceptionPage<AdCategoryDetailedVO> search(@NotNull @NotNull AdCategoryQuery params) throws FrameworkException
FrameworkExceptionvoid sortAlphabetically(@NotNull
@NotNull AdCategoryVO adCategory)
throws FrameworkException
FrameworkException