29 lines
715 B
Java
29 lines
715 B
Java
package it.acxent.face.callable;
|
|
|
|
import it.acxent.db.ResParm;
|
|
import it.acxent.face.Foto;
|
|
import it.acxent.face.PuntoFoto;
|
|
import java.io.File;
|
|
import java.util.concurrent.Callable;
|
|
|
|
public class IndexFotoCallable implements Callable<ResParm> {
|
|
private Foto foto;
|
|
|
|
private PuntoFoto puntoFoto;
|
|
|
|
private File theFoto;
|
|
|
|
private long id_users;
|
|
|
|
public IndexFotoCallable(Foto foto, PuntoFoto puntoFoto, File theFoto, long id_users) {
|
|
this.foto = foto;
|
|
this.puntoFoto = puntoFoto;
|
|
this.theFoto = theFoto;
|
|
this.id_users = id_users;
|
|
}
|
|
|
|
public ResParm call() throws Exception {
|
|
ResParm rp = this.foto.indexFoto(this.puntoFoto, this.theFoto, this.id_users);
|
|
return rp;
|
|
}
|
|
}
|