int theReturn = ((ParticipantBMPBean) entity).ejbHomeGetNextAvailableParticipantNumber(min, max);
int theReturn = ((ParticipantBMPBean) entity).ejbHomeGetNextAvailableParticipantNumber(distancePK, min, max);
	public int getNextAvailableParticipantNumber(int min, int max) throws IDOException {		com.idega.data.IDOEntity entity = this.idoCheckOutPooledEntity();		int theReturn = ((ParticipantBMPBean) entity).ejbHomeGetNextAvailableParticipantNumber(min, max);		this.idoCheckInPooledEntity(entity);		return theReturn;	}