public AssessmentFacade(Long id, String title, Date lastModifiedDate, String lastModifiedBy, int questionSize) { // in the case of template assessmentBaseId is the assessmentTemplateId super.setAssessmentBaseId(id); super.setTitle(title); super.setLastModifiedDate(lastModifiedDate); super.setLastModifiedBy(lastModifiedBy); this.questionSize = questionSize; }
/** * IMPORTANT: this constructor do not have "data", this constructor is * merely used for holding assessmentBaseId (which is the assessmentId), Title * & lastModifiedDate for displaying purpose. * This constructor does not persist data (which it has none) to DB * @param id * @param title * @param lastModifiedDate */ public AssessmentFacade(Long id, String title, Date lastModifiedDate, String lastModifiedBy) { // in the case of template assessmentBaseId is the assessmentTemplateId super.setAssessmentBaseId(id); super.setTitle(title); super.setLastModifiedDate(lastModifiedDate); super.setLastModifiedBy(lastModifiedBy); }
/** * IMPORTANT: this constructor do not have "data", this constructor is * merely used for holding assessmentBaseId (which is the assessmentId), Title * & lastModifiedDate for displaying purpose. * This constructor does not persist data (which it has none) to DB * @param id * @param title * @param lastModifiedDate */ public AssessmentFacade(Long id, String title, Date lastModifiedDate, String lastModifiedBy) { // in the case of template assessmentBaseId is the assessmentTemplateId super.setAssessmentBaseId(id); super.setTitle(title); super.setLastModifiedDate(lastModifiedDate); super.setLastModifiedBy(lastModifiedBy); }
public AssessmentFacade(Long id, String title, Date lastModifiedDate, Date startDate, Date dueDate, String releaseTo, Map releaseToGroups, String lastModifiedBy, int questionSize) { // in the case of template assessmentBaseId is the assessmentTemplateId super.setAssessmentBaseId(id); super.setTitle(title); super.setLastModifiedDate(lastModifiedDate); super.setLastModifiedBy(lastModifiedBy); this.questionSize = questionSize; this.startDate = startDate; this.dueDate = dueDate; this.releaseTo = releaseTo; this.releaseToGroups = releaseToGroups; setGroupCount(); }