Interface BannerService
-
- All Superinterfaces:
CRUDService<BannerDTO,BannerData,BannerDataParams>,Service
- All Known Subinterfaces:
BannerServiceLocal
public interface BannerService extends CRUDService<BannerDTO,BannerData,BannerDataParams>
Service interface for banners
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BannersListDatagetListData(@NotNull ConfigurationVO configuration)Returns data to list banners in a given configurationList<BannerVO>list(@NotNull ConfigurationVO configuration)Lists all banners for the given configurationvoidmove(@NotNull Long id, boolean up)Moves the banner in order, either up or down-
Methods inherited from interface org.cyclos.services.CRUDService
getData, getDataForNew, load, remove, removeAll, save
-
-
-
-
Method Detail
-
getListData
BannersListData getListData(@NotNull @NotNull ConfigurationVO configuration) throws FrameworkException
Returns data to list banners in a given configuration- Throws:
FrameworkException
-
list
List<BannerVO> list(@NotNull @NotNull ConfigurationVO configuration) throws FrameworkException
Lists all banners for the given configuration- Throws:
FrameworkException
-
move
void move(@NotNull @NotNull Long id, boolean up) throws FrameworkExceptionMoves the banner in order, either up or down- Throws:
FrameworkException
-
-