Interface ApplicationBOMyCouponExtension
- All Superinterfaces:
com.intershop.beehive.businessobject.capi.BusinessObjectExtension<com.intershop.component.application.capi.ApplicationBO>
public interface ApplicationBOMyCouponExtension
extends com.intershop.beehive.businessobject.capi.BusinessObjectExtension<com.intershop.component.application.capi.ApplicationBO>
Extension for the
ApplicationBO
.
Example for usage:
public class MyCouponHandler { @Inject CurrentApplicationBOProvider applicationProvider; private MyCouponBORepository getMyCouponBORepository() { MyCouponBORepository myCouponBORepository = applicationProvider.getExtension(MyCouponBORepository.class); } public MyCouponBO getMyCouponBOByCode(String couponCode) { return getMyCouponBORepository().getMyCouponBOByCode(couponCode); } }
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
The ID of the created extensions which can be used to get them from the business object later. -
Method Summary
Methods inherited from interface com.intershop.beehive.businessobject.capi.BusinessObjectExtension
getContext, getExtendedObject, getExtensionID
-
Field Details
-
EXTENSION_ID
The ID of the created extensions which can be used to get them from the business object later.- See Also:
-
-
Method Details
-
getMyCouponBORepository
MyCouponBORepository getMyCouponBORepository()Returns theMyCouponBORepository
.- Returns:
- The
MyCouponBORepository
.
-