Package de.hybris.platform.ticket.model
Class TicketsAttributeHandler
- java.lang.Object
-
- de.hybris.platform.ticket.model.TicketsAttributeHandler
-
- All Implemented Interfaces:
DynamicAttributeHandler<java.util.List<CsTicketModel>,CustomerModel>
public class TicketsAttributeHandler extends java.lang.Object implements DynamicAttributeHandler<java.util.List<CsTicketModel>,CustomerModel>
Special handler to fetch tickets into a CustomerModel.tickets attribute and vise versa
-
-
Constructor Summary
Constructors Constructor Description TicketsAttributeHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<CsTicketModel>get(CustomerModel model)Holds logic behind getter for dynamic attribute.voidset(CustomerModel model, java.util.List<CsTicketModel> csTicketModel)Holds logic behind setter for dynamic attribute.
-
-
-
Method Detail
-
get
public java.util.List<CsTicketModel> get(CustomerModel model)
Description copied from interface:DynamicAttributeHandlerHolds logic behind getter for dynamic attribute.- Specified by:
getin interfaceDynamicAttributeHandler<java.util.List<CsTicketModel>,CustomerModel>- Parameters:
model- model for which dynamic attribute is declared.- Returns:
- computed value.
-
set
public void set(CustomerModel model, java.util.List<CsTicketModel> csTicketModel)
Description copied from interface:DynamicAttributeHandlerHolds logic behind setter for dynamic attribute.- Specified by:
setin interfaceDynamicAttributeHandler<java.util.List<CsTicketModel>,CustomerModel>- Parameters:
model-csTicketModel-
-
-