use of ca.etsmtl.applets.etsmobile.model.Etudiant in project ETSMobile-Android2 by ApplETS.
the class SignetsMobileSoap method infoEtudiant.
/**
* Information de base sur l'��tudiant: nom, pr��nom, code permanent, solde
*/
public Etudiant infoEtudiant(final String codeAccesUniversel, final String motPasse) throws Exception {
return (Etudiant) execute(new IWcfMethod() {
@Override
public ExtendedSoapSerializationEnvelope CreateSoapEnvelope() {
ExtendedSoapSerializationEnvelope __envelope = createEnvelope();
SoapObject __soapReq = new SoapObject("http://etsmtl.ca/", "infoEtudiant");
__envelope.setOutputSoapObject(__soapReq);
PropertyInfo __info = null;
__info = new PropertyInfo();
__info.namespace = "http://etsmtl.ca/";
__info.name = "codeAccesUniversel";
__info.type = PropertyInfo.STRING_CLASS;
__info.setValue(codeAccesUniversel);
__soapReq.addProperty(__info);
__info = new PropertyInfo();
__info.namespace = "http://etsmtl.ca/";
__info.name = "motPasse";
__info.type = PropertyInfo.STRING_CLASS;
__info.setValue(motPasse);
__soapReq.addProperty(__info);
return __envelope;
}
@Override
public Object ProcessResult(ExtendedSoapSerializationEnvelope __envelope, SoapObject __result) throws Exception {
return (Etudiant) getResult(Etudiant.class, __result, "infoEtudiantResult", __envelope);
}
}, "http://etsmtl.ca/infoEtudiant");
}
use of ca.etsmtl.applets.etsmobile.model.Etudiant in project ETSMobile-Android2 by ApplETS.
the class ProfilFragment method updateUI.
@Override
void updateUI() {
Etudiant etudiant = profilManager.getEtudiant();
profileAdapter.updateEtudiant(etudiant);
List<Programme> programmes = profilManager.getProgrammes();
profileAdapter.updateListeDesProgrammes(new ArrayList<Programme>(programmes));
}
Aggregations