/**
* Remote bean for categories
*/
- private final AdminCategorySessionBeanRemote categoryBean;
-
- ////////////////////// Bean injections ///////////////////////
- /**
- * Shop bean
- */
- @Inject
- private ShopWebController shopController;
+ private AdminCategorySessionBeanRemote categoryBean;
/////////////////////// Properties /////////////////////
/**
*/
private Category parentCategory;
+ ////////////////////// Bean injections ///////////////////////
+
+ /**
+ * Shop bean
+ */
+ @Inject
+ private ShopWebController shopController;
+
/**
* Default constructor
*/
*/
private static final long serialVersionUID = 5_819_375_183_472_871L;
- /**
- * Remote bean for products
- */
- private final AdminProductSessionBeanRemote productRemoteBean;
-
- ////////////////////// Bean injections ///////////////////////
- /**
- * Shop bean
- */
- @Inject
- private ShopWebController shopController;
-
/////////////////////// Properties /////////////////////
/**
* Available
*/
private Float productPrice;
+ /**
+ * Remote bean for products
+ */
+ private AdminProductSessionBeanRemote productRemoteBean;
+
/**
* Property productTitle
*/
private String productTitle;
+ ////////////////////// Bean injections ///////////////////////
+
+ /**
+ * Shop bean
+ */
+ @Inject
+ private ShopWebController shopController;
+
/**
* Default constructor
*/
return this.productRemoteBean.getAllProducts();
}
+ @Override
+ public Boolean getProductAvailability () {
+ return this.productAvailability;
+ }
+
@Override
public void setProductAvailability (final Boolean productAvailability) {
this.productAvailability = productAvailability;
public void setProductTitle (final String productTitle) {
this.productTitle = productTitle;
}
-
- @Override
- public Boolean getProductAvailability () {
- return this.productAvailability;
- }
}