Modifier and Type | Method and Description |
---|---|
Offer |
OfferAttributeId.getOwner() |
Offer |
OfferAttribute.getOwner() |
Offer |
OfferAttributeDate.getOwner() |
Offer |
OfferAttributeNum.getOwner() |
Modifier and Type | Method and Description |
---|---|
void |
OfferAttributeId.setOwner(Offer owner) |
void |
OfferAttribute.setOwner(Offer owner) |
void |
OfferAttributeDate.setOwner(Offer owner) |
void |
OfferAttributeNum.setOwner(Offer owner) |
Constructor and Description |
---|
OfferAttribute(String key,
String value,
Offer offer)
Creates a new OfferAttribute.java object.
|
OfferAttributeDate(String key,
Timestamp value,
Offer offer)
Creates a new OfferAttributeDate object.
|
OfferAttributeNum(String key,
BigDecimal value,
Offer offer)
Creates a new OfferAttributeNum.java object.
|
Modifier and Type | Field and Description |
---|---|
static javax.persistence.metamodel.SetAttribute<Offer,OfferAttributeDate> |
Offer_.attributeDateList |
static javax.persistence.metamodel.SetAttribute<Offer,OfferAttribute> |
Offer_.attributeList |
static javax.persistence.metamodel.SetAttribute<Offer,OfferAttributeNum> |
Offer_.attributeNumList |
static javax.persistence.metamodel.SingularAttribute<Offer,String> |
Offer_.description |
static javax.persistence.metamodel.SingularAttribute<Offer,Integer> |
Offer_.id |
static javax.persistence.metamodel.SingularAttribute<Offer,Integer> |
Offer_.maxTickets |
static javax.persistence.metamodel.SingularAttribute<Offer,Integer> |
Offer_.minTickets |
static javax.persistence.metamodel.SingularAttribute<Offer,String> |
Offer_.name |
static javax.persistence.metamodel.ListAttribute<OfferGenre,Offer> |
OfferGenre_.offersList |
static javax.persistence.metamodel.SingularAttribute<Offer,Product> |
Offer_.product |
static javax.persistence.metamodel.SingularAttribute<Offer,Integer> |
Offer_.quantity |
static javax.persistence.metamodel.SingularAttribute<Offer,String> |
Offer_.statut |
static javax.persistence.metamodel.SingularAttribute<Offer,OfferGenre> |
Offer_.type |
Modifier and Type | Method and Description |
---|---|
fr.paris.lutece.plugins.stock.commons.ResultList<Offer> |
OfferDAO.findByFilter(OfferFilter filter,
fr.paris.lutece.plugins.stock.commons.dao.PaginationProperties paginationProperties)
Find offers by filter.
|
fr.paris.lutece.plugins.stock.commons.ResultList<Offer> |
IOfferDAO.findByFilter(OfferFilter filter,
fr.paris.lutece.plugins.stock.commons.dao.PaginationProperties paginationProperties)
Find by filter
|
List<Offer> |
OfferDAO.findByProduct(Integer productId,
OfferFilter filter)
Returns offer list of a product
|
List<Offer> |
IOfferDAO.findByProduct(Integer productId,
OfferFilter filter)
Returns offer list of a product
|
Modifier and Type | Method and Description |
---|---|
protected void |
OfferDAO.buildCriteriaQuery(OfferFilter filter,
javax.persistence.criteria.Root<Offer> root,
javax.persistence.criteria.CriteriaQuery<Offer> query,
javax.persistence.criteria.CriteriaBuilder builder)
Build the criteria query used when offers are searched by filter.
|
protected void |
OfferDAO.buildCriteriaQuery(OfferFilter filter,
javax.persistence.criteria.Root<Offer> root,
javax.persistence.criteria.CriteriaQuery<Offer> query,
javax.persistence.criteria.CriteriaBuilder builder)
Build the criteria query used when offers are searched by filter.
|
protected void |
OfferDAO.buildSortQuery(OfferFilter filter,
javax.persistence.criteria.Root<Offer> root,
javax.persistence.criteria.CriteriaQuery<Offer> query,
javax.persistence.criteria.CriteriaBuilder builder)
Add the order by parameter to the query.
|
protected void |
OfferDAO.buildSortQuery(OfferFilter filter,
javax.persistence.criteria.Root<Offer> root,
javax.persistence.criteria.CriteriaQuery<Offer> query,
javax.persistence.criteria.CriteriaBuilder builder)
Add the order by parameter to the query.
|
Modifier and Type | Field and Description |
---|---|
static javax.persistence.metamodel.SingularAttribute<Purchase,Offer> |
Purchase_.offer |
Modifier and Type | Method and Description |
---|---|
Offer |
Purchase.getOffer()
Return the offer
|
Modifier and Type | Method and Description |
---|---|
void |
Purchase.setOffer(Offer offer)
Set the offer
|
Modifier and Type | Method and Description |
---|---|
Offer |
OfferService.findById(Integer offerId)
Returns offer
|
Offer |
IOfferService.findById(Integer offerId)
Returns offer
|
Modifier and Type | Method and Description |
---|---|
List<Offer> |
OfferService.findByProduct(Integer productId)
List all offers for a product
|
List<Offer> |
IOfferService.findByProduct(Integer productId)
List all offers for a product
|
Copyright © 2020 City of Paris. All rights reserved.