public final void procSeSrv(final Map<String, Object> pRqVs,
    final IRequestData pRqDt, final TradingSettings pTs,
      final OnlineBuyer pBuyer, final Long pItemId) throws Exception {
    List<SeServiceSpecifics> itemSpecLst;
    List<SeServicePlace> itemPlaceLst;
    itemSpecLst = retrieveItemSpecificsList(pRqVs, pTs, pItemId,
      SeServiceSpecifics.class, SeService.class.getSimpleName());
    //extract main image if exist:
    int miIdx = -1;
    for (int i = 0; i < itemSpecLst.size(); i++) {
      if (itemSpecLst.get(i).getSpecifics().getItsType()
        .equals(ESpecificsItemType.IMAGE)) {
        pRqDt.setAttribute("itemImage", itemSpecLst.get(i));
        miIdx = i;
        break;
      }
    }
    if (miIdx != -1) {
      itemSpecLst.remove(miIdx);
    }
    AItemPrice<?, ?> itemPrice = getSrvCart().revealItemPrice(pRqVs, pTs,
        pBuyer, EShopItemType.SESERVICE, pItemId);
    itemPlaceLst = getSrvOrm().retrieveListWithConditions(pRqVs,
        SeServicePlace.class, " where ITEM=" + pItemId);
    pRqDt.setAttribute("itemSpecLst", itemSpecLst);
    pRqDt.setAttribute("itemPlaceLst", itemPlaceLst);
    pRqDt.setAttribute("itemPrice", itemPrice);
  }
public final void procSeSrv ( final Map < String , Object > pRqVs , final IRequestData pRqDt , final TradingSettings pTs , final OnlineBuyer pBuyer , final Long pItemId ) throws Exception { List < SeServiceSpecifics > itemSpecLst ; List < SeServicePlace > itemPlaceLst ; itemSpecLst = retrieveItemSpecificsList ( pRqVs , pTs , pItemId , SeServiceSpecifics . class , SeService . class . getSimpleName ( ) ) ; int miIdx = - 1 ; for ( int i = 0 ; i < itemSpecLst . size ( ) ; i ++ ) { if ( itemSpecLst . get ( i ) . getSpecifics ( ) . getItsType ( ) . equals ( ESpecificsItemType . IMAGE ) ) { pRqDt . setAttribute ( "itemImage" , itemSpecLst . get ( i ) ) ; miIdx = i ; break ; } } if ( miIdx != - 1 ) { itemSpecLst . remove ( miIdx ) ; } AItemPrice < ? , ? > itemPrice = getSrvCart ( ) . revealItemPrice ( pRqVs , pTs , pBuyer , EShopItemType . SESERVICE , pItemId ) ; itemPlaceLst = getSrvOrm ( ) . retrieveListWithConditions ( pRqVs , SeServicePlace . class , " where ITEM=" + pItemId ) ; pRqDt . setAttribute ( "itemSpecLst" , itemSpecLst ) ; pRqDt . setAttribute ( "itemPlaceLst" , itemPlaceLst ) ; pRqDt . setAttribute ( "itemPrice" , itemPrice ) ; }
<p>Process a seGood.</p>
@param pRqVs additional param
@param pRqDt Request Data
@param pTs TradingSettings
@param pBuyer Buyer
@param pItemId Item ID
@throws Exception - an exception