import java.util.ArrayList;
import java.util.Map;
-import rx.Observable;
import adullact.publicrowdfunding.model.local.cache.CacheSet;
import adullact.publicrowdfunding.model.local.callback.HoldAllToDo;
import adullact.publicrowdfunding.model.local.callback.HoldToDo;
import adullact.publicrowdfunding.model.server.entities.SimpleServerResponse;
import adullact.publicrowdfunding.model.server.event.CreateEvent;
import adullact.publicrowdfunding.model.server.event.DeleteEvent;
+import rx.Observable;
/**
* @author Ferrand and Nelaupe
this.m_funding = new CacheSet<Funding>();
for(final ServerFunding serverFunding : detailedServerUser.fundedProjects) {
- //m_funding.add(new Funding().makeCopyFromServer(serverFunding).getCache(Integer.toString(serverFunding.id)));
+ m_funding.add(new Funding().makeCopyFromServer(serverFunding).getCache(Integer.toString(serverFunding.id)));
}
return this;
}
public void errorServer() {
bookmarkCreateEvent.errorServer();
}
+
+ @Override
+ public void errorAdministratorRequired() {
+ bookmarkCreateEvent.errorAdministratorRequired();
+ }
});
}
});
}
+ public CacheSet<Funding> getFundedProjects() {
+ return m_funding;
+ }
+
/* Setters */
public void setPseudo(String pseudo) {
m_pseudo = pseudo;