public class ShowDTO
extends fr.paris.lutece.plugins.stock.commons.AbstractDTO<fr.paris.lutece.plugins.stock.business.product.Product>
implements fr.paris.lutece.portal.service.resource.IExtendableResource
Modifier and Type | Field and Description |
---|---|
static String |
ATTR_A_LAFFICHE
The Constant ATTR_A_LAFFICHE.
|
static String |
ATTR_DATE_END
The Constant ATTR_DATE_END.
|
static String |
ATTR_DATE_START
The Constant ATTR_DATE_START.
|
static String |
ATTR_DATE_UPDATE
The Constant ATTR_DATE_UPDATE.
|
static String |
ATTR_ID_CONTACT |
static String |
ATTR_POSTER
The Constant ATTR_POSTER.
|
static String |
ATTR_PUBLIC
The Constant ATTR_PUBLIC.
|
static String |
ATTR_SUBSCRIBABLE
The Constant ATTR_SUBSCRIBABLE.
|
static String |
ATTR_WEBSITE
The Constant ATTR_WEBSITE.
|
static String |
ATTR_WITH
The Constant ATTR_WITH.
|
static String |
PROPERTY_RESOURCE_TYPE
The Constant PROPERTY_RESOURCE_TYPE.
|
static String |
STRING_FALSE
The Constant STRING_FALSE.
|
static String |
STRING_TRUE
The Constant STRING_TRUE.
|
Constructor and Description |
---|
ShowDTO() |
Modifier and Type | Method and Description |
---|---|
fr.paris.lutece.plugins.stock.business.product.Product |
convert() |
static ShowDTO |
convertEntity(fr.paris.lutece.plugins.stock.business.product.Product source)
Convert entity.
|
static fr.paris.lutece.plugins.stock.commons.ResultList<ShowDTO> |
convertEntityList(Collection<fr.paris.lutece.plugins.stock.business.product.Product> listSource)
Convert entity list.
|
Boolean |
getAlaffiche()
Gets the alaffiche.
|
String |
getCategoryColor()
Get the category color.
|
String |
getCategoryName()
Gets the category name.
|
String |
getDescription()
Gets the description.
|
String |
getEndDate()
Gets the end date.
|
String |
getExtendableResourceDescription() |
String |
getExtendableResourceImageUrl() |
String |
getExtendableResourceName() |
String |
getExtendableResourceType() |
Integer |
getId()
Gets the id.
|
Integer |
getIdCategory()
Gets the id category.
|
Integer[] |
getIdContact() |
String |
getIdExtendableResource() |
Integer |
getIdProvider()
Gets the id provider.
|
String |
getName()
Gets the name.
|
String |
getPosterName()
Gets the poster name.
|
Float |
getPrice()
Gets the price.
|
String |
getProviderAddress()
Gets the provider Address.
|
String |
getProviderMail()
Gets the provider mail.
|
String |
getProviderName()
Gets the provider name.
|
String |
getStartDate()
Gets the start date.
|
String |
getTargetPublic()
Gets the target public.
|
String |
getUpdateDate()
Gets the update date.
|
String |
getWebsite()
Gets the website.
|
String |
getWith()
Gets the with.
|
boolean |
isAvailableChildInvitation() |
boolean |
isAvailableInvitation() |
boolean |
isAvailableReducedPrice() |
boolean |
isSubscribable()
Get the subscribable
|
void |
setAlaffiche(Boolean aLaffiche)
Sets the alaffiche.
|
void |
setAvailableChildInvitation(boolean availableChildInvitation) |
void |
setAvailableInvitation(boolean availableInvitation) |
void |
setAvailableReducedPrice(boolean availableReducedPrice) |
void |
setCategoryColor(String categoryColor)
Set the category color.
|
void |
setCategoryName(String categoryName)
Sets the category name.
|
void |
setDescription(String description)
Sets the description.
|
void |
setEndDate(String endDate)
Sets the end date.
|
void |
setId(Integer idProduct)
Sets the id.
|
void |
setIdCategory(Integer idCategory)
Sets the id category.
|
void |
setIdContact(Integer[] idContact)
Set the contact
|
void |
setIdProvider(Integer idProvider)
Sets the id provider.
|
void |
setName(String name)
Sets the name.
|
void |
setPosterName(String posterName)
Sets the poster name.
|
void |
setPrice(Float price)
Sets the price.
|
void |
setProviderAddress(String providerAddress)
Sets the provider Address.
|
void |
setProviderMail(String providerMail)
Sets the provider mail.
|
void |
setProviderName(String providerName)
Sets the provider name.
|
void |
setStartDate(String startDate)
Sets the start date.
|
void |
setSubscribable(boolean subscribable)
Set the subscribable
|
void |
setTargetPublic(String targetPublic)
Sets the target public.
|
void |
setUpdateDate(String updateDate)
Sets the update date.
|
void |
setWebsite(String website)
Sets the website.
|
void |
setWith(String with)
Sets the with.
|
public static final String STRING_TRUE
public static final String STRING_FALSE
public static final String PROPERTY_RESOURCE_TYPE
public static final String ATTR_DATE_START
public static final String ATTR_DATE_END
public static final String ATTR_DATE_UPDATE
public static final String ATTR_WITH
public static final String ATTR_WEBSITE
public static final String ATTR_POSTER
public static final String ATTR_PUBLIC
public static final String ATTR_A_LAFFICHE
public static final String ATTR_SUBSCRIBABLE
public static final String ATTR_ID_CONTACT
public Integer getId()
getId
in class fr.paris.lutece.plugins.stock.commons.AbstractDTO<fr.paris.lutece.plugins.stock.business.product.Product>
public void setId(Integer idProduct)
idProduct
- the new idpublic String getDescription()
public void setDescription(String description)
description
- the description to setpublic String getName()
public void setName(String name)
name
- the name to setpublic Float getPrice()
public void setPrice(Float price)
price
- the price to setpublic Integer getIdCategory()
public void setIdCategory(Integer idCategory)
idCategory
- the idCategory to setpublic Integer getIdProvider()
public void setIdProvider(Integer idProvider)
idProvider
- the idProvider to setpublic String getWith()
public void setWith(String with)
with
- the with to setpublic String getStartDate()
public void setStartDate(String startDate)
startDate
- the startDate to setpublic String getEndDate()
public void setEndDate(String endDate)
endDate
- the endDate to setpublic String getUpdateDate()
public void setUpdateDate(String updateDate)
updateDate
- the updateDate to setpublic String getWebsite()
public void setWebsite(String website)
website
- the website to setpublic String getPosterName()
public void setPosterName(String posterName)
posterName
- the posterName to setpublic String getProviderName()
public void setProviderName(String providerName)
providerName
- the providerName to setpublic String getProviderAddress()
public void setProviderAddress(String providerAddress)
providerAddress
- the providerAddress to setpublic String getCategoryName()
public void setCategoryName(String categoryName)
categoryName
- the new category namepublic boolean isSubscribable()
public void setSubscribable(boolean subscribable)
subscribable
- public static fr.paris.lutece.plugins.stock.commons.ResultList<ShowDTO> convertEntityList(Collection<fr.paris.lutece.plugins.stock.business.product.Product> listSource)
listSource
- the list sourcepublic static ShowDTO convertEntity(fr.paris.lutece.plugins.stock.business.product.Product source)
source
- the sourcepublic fr.paris.lutece.plugins.stock.business.product.Product convert()
convert
in class fr.paris.lutece.plugins.stock.commons.AbstractDTO<fr.paris.lutece.plugins.stock.business.product.Product>
public void setProviderMail(String providerMail)
providerMail
- the providerMail to setpublic String getProviderMail()
public String getTargetPublic()
public void setTargetPublic(String targetPublic)
targetPublic
- the targetPublic to setpublic Boolean getAlaffiche()
public void setAlaffiche(Boolean aLaffiche)
aLaffiche
- the aLaffiche to setpublic String getCategoryColor()
public void setCategoryColor(String categoryColor)
categoryColor
- the categoryColor to setpublic String getIdExtendableResource()
getIdExtendableResource
in interface fr.paris.lutece.portal.service.resource.IExtendableResource
public String getExtendableResourceType()
getExtendableResourceType
in interface fr.paris.lutece.portal.service.resource.IExtendableResource
public String getExtendableResourceName()
getExtendableResourceName
in interface fr.paris.lutece.portal.service.resource.IExtendableResource
public String getExtendableResourceDescription()
getExtendableResourceDescription
in interface fr.paris.lutece.portal.service.resource.IExtendableResource
public String getExtendableResourceImageUrl()
getExtendableResourceImageUrl
in interface fr.paris.lutece.portal.service.resource.IExtendableResource
public Integer[] getIdContact()
public void setIdContact(Integer[] idContact)
idContact
- the new contact to setpublic boolean isAvailableInvitation()
public void setAvailableInvitation(boolean availableInvitation)
availableInvitation
- the availableInvitation to setpublic boolean isAvailableChildInvitation()
public void setAvailableChildInvitation(boolean availableChildInvitation)
availableChildInvitation
- the availableChildInvitation to setpublic boolean isAvailableReducedPrice()
public void setAvailableReducedPrice(boolean availableReducedPrice)
availableReducedPrice
- the availableReducedPrice to setCopyright © 2020 City of Paris. All rights reserved.