Title / Description
Code package com.ocjpmock.client.beans; import javax.faces.bean.ManagedBean; import javax.faces.bean.ViewScoped; import com.ocjpmock.client.utils.OcjpBeans; import com.ocjpmock.server.core.batch.Batches; @ManagedBean @ViewScoped public class BatchBean { private Batches batches; public BatchBean() { if (this.batches == null) { this.batches = new Batches(); } } public void triggerChapterQuestionCount() { this.batches.updateChapterCount(); } public Batches getBatches() { return batches; } public void setBatches(Batches batches) { this.batches = batches; } public void triggerChapterUpdate() { OcjpBeans.getOcjpAppBean().init(); } }
Author
Highlight as C C++ CSS Clojure Delphi ERb Groovy (beta) HAML HTML JSON Java JavaScript PHP Plain text Python Ruby SQL XML YAML diff code