/**
  * Listar algunos Prestamo dado el $prestamoEstudianteId
  * 
  * @param $prestamoEstudianteId
  * @param $performSize
  * @param $firstResultNumber
  * @param $numResults
  */
 public function listPrestamosByPrestamoEstudianteId($prestamoEstudianteId, $performSize = false, $firstResultNumber = null, $numResults = null, $orderBy = null, $orderPriority = SQL_ASCENDING_ORDER)
 {
     $objBean = new EstudianteBean($this->persistenceManager);
     $obj = new Estudiante();
     $obj->setId($prestamoEstudianteId);
     # Validamos los campos
     if ($firstResultNumber !== null && !EntityValidator::validatePositiveNumber($firstResultNumber)) {
         throw new Exception(SALAS_COMP_ALERT_E_VALIDATION_FAIL, $this->ID + 103);
     }
     if (!EntityValidator::validateGlobalOrderPriority($orderPriority)) {
         throw new Exception(SALAS_COMP_ALERT_E_VALIDATION_FAIL, $this->ID + 105);
     }
     if (!EntityValidator::validateId($prestamoEstudianteId)) {
         throw new Exception(SALAS_COMP_ALERT_E_VALIDATION_FAIL, $this->ID + 107);
     }
     # Verificamos que la entidad exista
     if (!$objBean->getEstudiante($obj)) {
         throw new Exception(SALAS_COMP_ALERT_E_ENTITY_NOT_FOUND_FAIL, $this->ID + 109);
     }
     # Listamos las entidades
     if ($performSize) {
         $this->lastRequestSize = $this->prestamoBean->countGetPrestamosByPrestamoEstudiante($obj);
     }
     return PrestamoDTO::loadFromEntities($this->prestamoBean->listPrestamosByPrestamoEstudiante($obj, $firstResultNumber, $numResults, $orderBy, $orderPriority));
 }