fr.paris.lutece.plugins.stock.modules.tickets.business
Class ShowDTO

java.lang.Object
  extended by fr.paris.lutece.plugins.stock.commons.AbstractDTO<fr.paris.lutece.plugins.stock.business.product.Product>
      extended by fr.paris.lutece.plugins.stock.modules.tickets.business.ShowDTO
All Implemented Interfaces:
fr.paris.lutece.portal.service.resource.IExtendableResource

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

DOCUMENT ME!.

Author:
abataille

Field Summary
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_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.
 
Fields inherited from class fr.paris.lutece.plugins.stock.commons.AbstractDTO
mapper
 
Constructor Summary
ShowDTO()
           
 
Method Summary
 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.
 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 getWebsite()
          Gets the website.
 String getWith()
          Gets the with.
 boolean isSubscribable()
          Get the subscribable
 void setAlaffiche(Boolean aLaffiche)
          Sets the alaffiche.
 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 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 setWebsite(String website)
          Sets the website.
 void setWith(String with)
          Sets the with.
 
Methods inherited from class fr.paris.lutece.plugins.stock.commons.AbstractDTO
convertList
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STRING_TRUE

public static final String STRING_TRUE
The Constant STRING_TRUE.

See Also:
Constant Field Values

STRING_FALSE

public static final String STRING_FALSE
The Constant STRING_FALSE.

See Also:
Constant Field Values

PROPERTY_RESOURCE_TYPE

public static final String PROPERTY_RESOURCE_TYPE
The Constant PROPERTY_RESOURCE_TYPE.

See Also:
Constant Field Values

ATTR_DATE_START

public static final String ATTR_DATE_START
The Constant ATTR_DATE_START.

See Also:
Constant Field Values

ATTR_DATE_END

public static final String ATTR_DATE_END
The Constant ATTR_DATE_END.

See Also:
Constant Field Values

ATTR_WITH

public static final String ATTR_WITH
The Constant ATTR_WITH.

See Also:
Constant Field Values

ATTR_WEBSITE

public static final String ATTR_WEBSITE
The Constant ATTR_WEBSITE.

See Also:
Constant Field Values

ATTR_POSTER

public static final String ATTR_POSTER
The Constant ATTR_POSTER.

See Also:
Constant Field Values

ATTR_PUBLIC

public static final String ATTR_PUBLIC
The Constant ATTR_PUBLIC.

See Also:
Constant Field Values

ATTR_A_LAFFICHE

public static final String ATTR_A_LAFFICHE
The Constant ATTR_A_LAFFICHE.

See Also:
Constant Field Values

ATTR_SUBSCRIBABLE

public static final String ATTR_SUBSCRIBABLE
The Constant ATTR_SUBSCRIBABLE.

See Also:
Constant Field Values
Constructor Detail

ShowDTO

public ShowDTO()
Method Detail

getId

public Integer getId()
Gets the id.

Specified by:
getId in class fr.paris.lutece.plugins.stock.commons.AbstractDTO<fr.paris.lutece.plugins.stock.business.product.Product>
Returns:
the id

setId

public void setId(Integer idProduct)
Sets the id.

Parameters:
idProduct - the new id

getDescription

public String getDescription()
Gets the description.

Returns:
the description

setDescription

public void setDescription(String description)
Sets the description.

Parameters:
description - the description to set

getName

public String getName()
Gets the name.

Returns:
the name

setName

public void setName(String name)
Sets the name.

Parameters:
name - the name to set

getPrice

public Float getPrice()
Gets the price.

Returns:
the price

setPrice

public void setPrice(Float price)
Sets the price.

Parameters:
price - the price to set

getIdCategory

public Integer getIdCategory()
Gets the id category.

Returns:
the idCategory

setIdCategory

public void setIdCategory(Integer idCategory)
Sets the id category.

Parameters:
idCategory - the idCategory to set

getIdProvider

public Integer getIdProvider()
Gets the id provider.

Returns:
the idProvider

setIdProvider

public void setIdProvider(Integer idProvider)
Sets the id provider.

Parameters:
idProvider - the idProvider to set

getWith

public String getWith()
Gets the with.

Returns:
the with

setWith

public void setWith(String with)
Sets the with.

Parameters:
with - the with to set

getStartDate

public String getStartDate()
Gets the start date.

Returns:
the startDate

setStartDate

public void setStartDate(String startDate)
Sets the start date.

Parameters:
startDate - the startDate to set

getEndDate

public String getEndDate()
Gets the end date.

Returns:
the endDate

setEndDate

public void setEndDate(String endDate)
Sets the end date.

Parameters:
endDate - the endDate to set

getWebsite

public String getWebsite()
Gets the website.

Returns:
the website

setWebsite

public void setWebsite(String website)
Sets the website.

Parameters:
website - the website to set

getPosterName

public String getPosterName()
Gets the poster name.

Returns:
the posterName

setPosterName

public void setPosterName(String posterName)
Sets the poster name.

Parameters:
posterName - the posterName to set

getProviderName

public String getProviderName()
Gets the provider name.

Returns:
the providerName

setProviderName

public void setProviderName(String providerName)
Sets the provider name.

Parameters:
providerName - the providerName to set

getProviderAddress

public String getProviderAddress()
Gets the provider Address.

Returns:
the providerAddress

setProviderAddress

public void setProviderAddress(String providerAddress)
Sets the provider Address.

Parameters:
providerAddress - the providerAddress to set

getCategoryName

public String getCategoryName()
Gets the category name.

Returns:
the categoryrName

setCategoryName

public void setCategoryName(String categoryName)
Sets the category name.

Parameters:
categoryName - the new category name

isSubscribable

public boolean isSubscribable()
Get the subscribable

Returns:
subscribable

setSubscribable

public void setSubscribable(boolean subscribable)
Set the subscribable

Parameters:
subscribable -

convertEntityList

public static fr.paris.lutece.plugins.stock.commons.ResultList<ShowDTO> convertEntityList(Collection<fr.paris.lutece.plugins.stock.business.product.Product> listSource)
Convert entity list.

Parameters:
listSource - the list source
Returns:
the result list

convertEntity

public static ShowDTO convertEntity(fr.paris.lutece.plugins.stock.business.product.Product source)
Convert entity.

Parameters:
source - the source
Returns:
the show dto

convert

public fr.paris.lutece.plugins.stock.business.product.Product convert()

Specified by:
convert in class fr.paris.lutece.plugins.stock.commons.AbstractDTO<fr.paris.lutece.plugins.stock.business.product.Product>

setProviderMail

public void setProviderMail(String providerMail)
Sets the provider mail.

Parameters:
providerMail - the providerMail to set

getProviderMail

public String getProviderMail()
Gets the provider mail.

Returns:
the providerMail

getTargetPublic

public String getTargetPublic()
Gets the target public.

Returns:
the targetPublic

setTargetPublic

public void setTargetPublic(String targetPublic)
Sets the target public.

Parameters:
targetPublic - the targetPublic to set

getAlaffiche

public Boolean getAlaffiche()
Gets the alaffiche.

Returns:
the aLaffiche

setAlaffiche

public void setAlaffiche(Boolean aLaffiche)
Sets the alaffiche.

Parameters:
aLaffiche - the aLaffiche to set

getCategoryColor

public String getCategoryColor()
Get the category color.

Returns:
the categoryColor, or an empty string if empty

setCategoryColor

public void setCategoryColor(String categoryColor)
Set the category color.

Parameters:
categoryColor - the categoryColor to set

getIdExtendableResource

public String getIdExtendableResource()

Specified by:
getIdExtendableResource in interface fr.paris.lutece.portal.service.resource.IExtendableResource

getExtendableResourceType

public String getExtendableResourceType()

Specified by:
getExtendableResourceType in interface fr.paris.lutece.portal.service.resource.IExtendableResource

getExtendableResourceName

public String getExtendableResourceName()

Specified by:
getExtendableResourceName in interface fr.paris.lutece.portal.service.resource.IExtendableResource

getExtendableResourceDescription

public String getExtendableResourceDescription()

Specified by:
getExtendableResourceDescription in interface fr.paris.lutece.portal.service.resource.IExtendableResource

getExtendableResourceImageUrl

public String getExtendableResourceImageUrl()

Specified by:
getExtendableResourceImageUrl in interface fr.paris.lutece.portal.service.resource.IExtendableResource


Copyright © 2014 Mairie de Paris. All Rights Reserved.