package devopsdistilled.operp.client.context.items;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import devopsdistilled.operp.client.items.panes.models.CreateBrandPaneModel;
import devopsdistilled.operp.client.items.panes.models.CreateCategoryPaneModel;
import devopsdistilled.operp.client.items.panes.models.CreateItemPaneModel;
import devopsdistilled.operp.client.items.panes.models.CreateManufacturerPaneModel;
import devopsdistilled.operp.client.items.panes.models.CreateProductPaneModel;
import devopsdistilled.operp.client.items.panes.models.EditBrandPaneModel;
import devopsdistilled.operp.client.items.panes.models.EditCategoryPaneModel;
import devopsdistilled.operp.client.items.panes.models.EditItemPaneModel;
import devopsdistilled.operp.client.items.panes.models.EditManufacturerPaneModel;
import devopsdistilled.operp.client.items.panes.models.EditProductPaneModel;
import devopsdistilled.operp.client.items.panes.models.ListBrandPaneModel;
import devopsdistilled.operp.client.items.panes.models.ListCategoryPaneModel;
import devopsdistilled.operp.client.items.panes.models.ListItemPaneModel;
import devopsdistilled.operp.client.items.panes.models.ListManufacturerPaneModel;
import devopsdistilled.operp.client.items.panes.models.ListProductPaneModel;
import devopsdistilled.operp.client.items.panes.models.impl.CreateBrandPaneModelImpl;
import devopsdistilled.operp.client.items.panes.models.impl.CreateCategoryPaneModelImpl;
import devopsdistilled.operp.client.items.panes.models.impl.CreateItemPaneModelImpl;
import devopsdistilled.operp.client.items.panes.models.impl.CreateManufacturerPaneModelImpl;
import devopsdistilled.operp.client.items.panes.models.impl.CreateProductPaneModelImpl;
import devopsdistilled.operp.client.items.panes.models.impl.EditBrandPaneModelImpl;
import devopsdistilled.operp.client.items.panes.models.impl.EditCategoryPaneModelImpl;
import devopsdistilled.operp.client.items.panes.models.impl.EditItemPaneModelImpl;
import devopsdistilled.operp.client.items.panes.models.impl.EditManufacturerPaneModelImpl;
import devopsdistilled.operp.client.items.panes.models.impl.EditProductPaneModelImpl;
import devopsdistilled.operp.client.items.panes.models.impl.ListBrandPaneModelImpl;
import devopsdistilled.operp.client.items.panes.models.impl.ListCategoryPaneModelImpl;
import devopsdistilled.operp.client.items.panes.models.impl.ListItemPaneModelImpl;
import devopsdistilled.operp.client.items.panes.models.impl.ListManufacturerPaneModelImpl;
import devopsdistilled.operp.client.items.panes.models.impl.ListProductPaneModelImpl;
@Configuration
public class MvcModelContext {
@Bean
public CreateItemPaneModel createItemPaneModel() {
return new CreateItemPaneModelImpl();
}
@Bean
public ListItemPaneModel listItemPaneModel() {
return new ListItemPaneModelImpl();
}
@Bean
public EditItemPaneModel editItemPaneModel() {
return new EditItemPaneModelImpl();
}
@Bean
public CreateCategoryPaneModel createCategoryPaneModel() {
return new CreateCategoryPaneModelImpl();
}
@Bean
public EditCategoryPaneModel editCategoryPaneModel() {
return new EditCategoryPaneModelImpl();
}
@Bean
public ListCategoryPaneModel listCategoryPaneModel() {
return new ListCategoryPaneModelImpl();
}
@Bean
public CreateProductPaneModel createProductPaneModel() {
return new CreateProductPaneModelImpl();
}
@Bean
public ListProductPaneModel listProductPaneModel() {
return new ListProductPaneModelImpl();
}
@Bean
public EditProductPaneModel editProductPaneModel() {
return new EditProductPaneModelImpl();
}
@Bean
public CreateManufacturerPaneModel createManufacturerPaneModel() {
return new CreateManufacturerPaneModelImpl();
}
@Bean
public ListManufacturerPaneModel listManufacturerPaneModel() {
return new ListManufacturerPaneModelImpl();
}
@Bean
public EditManufacturerPaneModel editManufacturerPaneModel() {
return new EditManufacturerPaneModelImpl();
}
@Bean
public CreateBrandPaneModel createBrandPaneModel() {
return new CreateBrandPaneModelImpl();
}
@Bean
public ListBrandPaneModel listBrandPaneModel() {
return new ListBrandPaneModelImpl();
}
@Bean
public EditBrandPaneModel editBrandPaneModel() {
return new EditBrandPaneModelImpl();
}
}