org.sakaiproject.tool.assessment.ui.bean.print
Class PDFAssessmentBean

java.lang.Object
  extended by org.sakaiproject.tool.assessment.ui.bean.print.PDFAssessmentBean
All Implemented Interfaces:
Serializable

public class PDFAssessmentBean
extends Object
implements Serializable

Author:
Joshua Ryan joshua.ryan@asu.edu This class is basically just a conveinceince class for abstracting the creation of PDF's from assessments
See Also:
Serialized Form

Constructor Summary
PDFAssessmentBean()
           
 
Method Summary
 String genName()
          generates the pdf file name
 String getActionString()
           
 String getBaseFontSize()
           
 ArrayList getDeliveryParts()
          gets the delivery bean parts of the assessment
 ArrayList getHtmlChunks()
          gets what should be the full set of html chunks for an assessment
 String getIntro()
          Gets the pdf assessments intro
 ArrayList getParts()
          gets the parts of the assessment
 void getPDFAttachment()
           
 String getSizeDeliveryParts()
           
 ByteArrayOutputStream getStream()
           
 String getTitle()
          gets the Title
 String getTotalQuestions()
           
 String prepDocumentPDF()
           
 String prepPDF()
           
 void setActionString(String actionString)
           
 void setBaseFontSize(String baseFontSize)
           
 void setDeliveryParts(ArrayList deliveryParts)
          sets the delivery parts
 void setIntro(String intro)
          sets the pdf assessments intro
 void setParts(ArrayList parts)
          /** sets the parts
 void setTitle(String title)
          sets the Title
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PDFAssessmentBean

public PDFAssessmentBean()
Method Detail

getIntro

public String getIntro()
Gets the pdf assessments intro

Returns:
assessment intor in html

setIntro

public void setIntro(String intro)
sets the pdf assessments intro

Parameters:
intro - in html

getDeliveryParts

public ArrayList getDeliveryParts()
gets the delivery bean parts of the assessment

Returns:

getParts

public ArrayList getParts()
gets the parts of the assessment

Returns:

getHtmlChunks

public ArrayList getHtmlChunks()
gets what should be the full set of html chunks for an assessment

Returns:

setDeliveryParts

public void setDeliveryParts(ArrayList deliveryParts)
sets the delivery parts

Parameters:
deliveryParts -

setParts

public void setParts(ArrayList parts)
/** sets the parts

Parameters:
parts -

getTitle

public String getTitle()
gets the Title

Returns:

setTitle

public void setTitle(String title)
sets the Title

Parameters:
title -

genName

public String genName()
generates the pdf file name

Returns:
pdf file name

prepPDF

public String prepPDF()

prepDocumentPDF

public String prepDocumentPDF()

getPDFAttachment

public void getPDFAttachment()

getStream

public ByteArrayOutputStream getStream()

getBaseFontSize

public String getBaseFontSize()

setBaseFontSize

public void setBaseFontSize(String baseFontSize)

getActionString

public String getActionString()
Returns:
the actionString

setActionString

public void setActionString(String actionString)
Parameters:
actionString - the actionString to set

getSizeDeliveryParts

public String getSizeDeliveryParts()

getTotalQuestions

public String getTotalQuestions()


Copyright © 2005-2012 Sakai Project. All Rights Reserved.