Package co.novu.api.layouts
Class LayoutHandler
- java.lang.Object
-
- co.novu.api.layouts.LayoutHandler
-
public class LayoutHandler extends Object
-
-
Constructor Summary
Constructors Constructor Description LayoutHandler(RestHandler restHandler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateLayoutResponsecreateLayout(LayoutRequest request)DeleteLayoutResponsedeleteLayout(String layoutId)FilterLayoutResponsefilterLayouts(FilterLayoutRequest request)GetLayoutResponsegetLayout(String layoutId)SetDefaultLayoutResponsesetDefaultLayout(String layoutId)GetLayoutResponseupdateLayout(String layoutId, LayoutRequest request)
-
-
-
Constructor Detail
-
LayoutHandler
public LayoutHandler(RestHandler restHandler)
-
-
Method Detail
-
createLayout
public CreateLayoutResponse createLayout(LayoutRequest request) throws IOException, NovuNetworkException
- Throws:
IOExceptionNovuNetworkException
-
filterLayouts
public FilterLayoutResponse filterLayouts(FilterLayoutRequest request) throws IOException, NovuNetworkException
- Throws:
IOExceptionNovuNetworkException
-
getLayout
public GetLayoutResponse getLayout(String layoutId) throws IOException, NovuNetworkException
- Throws:
IOExceptionNovuNetworkException
-
deleteLayout
public DeleteLayoutResponse deleteLayout(String layoutId) throws IOException, NovuNetworkException
- Throws:
IOExceptionNovuNetworkException
-
updateLayout
public GetLayoutResponse updateLayout(String layoutId, LayoutRequest request) throws IOException, NovuNetworkException
- Throws:
IOExceptionNovuNetworkException
-
setDefaultLayout
public SetDefaultLayoutResponse setDefaultLayout(String layoutId) throws IOException, NovuNetworkException
- Throws:
IOExceptionNovuNetworkException
-
-