fr.paris.lutece.plugins.stock.service
Class OfferService

java.lang.Object
  extended by fr.paris.lutece.plugins.stock.service.impl.AbstractService
      extended by fr.paris.lutece.plugins.stock.service.OfferService
All Implemented Interfaces:
IOfferService

public class OfferService
extends fr.paris.lutece.plugins.stock.service.impl.AbstractService
implements IOfferService

ProductService


Constructor Summary
OfferService()
           
 
Method Summary
 Offer findById(java.lang.Integer offerId)
          Returns offer
 java.lang.Integer getQuantity(java.lang.Integer offerId)
          Return available quantity of offer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OfferService

public OfferService()
Method Detail

getQuantity

public java.lang.Integer getQuantity(java.lang.Integer offerId)
Return available quantity of offer

Specified by:
getQuantity in interface IOfferService
Parameters:
offerId - offer id
Returns:
quantity available

findById

public Offer findById(java.lang.Integer offerId)
Returns offer

Specified by:
findById in interface IOfferService
Parameters:
offerId - id of offer
Returns:
offer


Copyright © 2012 Mairie de Paris. All Rights Reserved.