org.sakaiproject.tool.assessment.ui.bean.author
Class AuthorBean

java.lang.Object
  extended byorg.sakaiproject.tool.assessment.ui.bean.author.AuthorBean
All Implemented Interfaces:
Serializable

public class AuthorBean
extends Object
implements Serializable

General authoring information.

Version:
$Id: AuthorBean.java 3503 2005-11-04 05:07:11Z daisyf@stanford.edu $
Author:
Ed Smiley
See Also:
Serialized Form

Constructor Summary
AuthorBean()
           
 
Method Summary
 String editAssessmentSettings()
           
 AssessmentFacade getAssessment()
           
 String getAssessmentDescription()
           
 String getAssessmentID()
           
 ArrayList getAssessments()
           
 String getAssessmentTemplateId()
           
 ArrayList getAssessmentTemplateList()
           
 String getAssessmentTypeId()
           
 String getAssessTitle()
           
 String getCoreAssessmentOrderBy()
           
 String getCurrentItem()
          If the UI is on a specific item
 String getCurrentQuestionType()
          If UI is on a specific question, get the type
 String getCurrentSection()
          If UI is on a specific section, get the section id
 String getInactivePublishedAssessmentOrderBy()
           
 ArrayList getInactivePublishedAssessments()
           
 String getOutcome()
           
 String getPublishedAssessmentOrderBy()
           
 ArrayList getPublishedAssessments()
           
 ArrayList getSections()
          ArrayList of SectionBeans
 ArrayList getSectionSelectList()
          Derived property.
 TemplateBean getSettings()
          this allows us to store template information
 boolean getShowTemplateList()
           
 String getTotalPoints()
          the total points
 String getTotalQuestions()
           
 boolean isCoreAscending()
          is core assessment table sorted in ascending order
 boolean isHasQuestions()
          derived property
 boolean isInactivePublishedAscending()
          is inactive published assessment table sorted in ascending order
 boolean isPublishedAscending()
          is published assessment table sorted in ascending order
 boolean isShowCompleteAssessment()
          do we show the complete asseassement?
 void setAssessment(AssessmentFacade assessment)
           
 void setAssessmentDescription(String description)
           
 void setAssessmentId(String string)
           
 void setAssessments(ArrayList assessments)
           
 void setAssessmentTemplateId(String assessmentTemplateId)
           
 void setAssessmentTemplateList(ArrayList list)
           
 void setAssessmentTypeId(String typeId)
           
 void setAssessTitle(String string)
           
 void setCoreAscending(boolean coreAscending)
           
 void setCoreAssessmentOrderBy(String coreAssessmentOrderBy)
           
 void setCurrentItem(String currentItem)
          set UI on a specific item
 void setCurrentQuestionType(String currentQuestionType)
          If UI is on a specific question, set the type
 void setCurrentSection(String currentSection)
          set the UI to a specific section id
 void setInactivePublishedAscending(boolean inactivePublishedAscending)
           
 void setInactivePublishedAssessmentOrderBy(String inactivePublishedAssessmentOrderBy)
           
 void setInactivePublishedAssessments(ArrayList inactivePublishedAssessments)
           
 void setOutcome(String outcome)
           
 void setPublishedAscending(boolean publishedAscending)
           
 void setPublishedAssessmentOrderBy(String publishedAssessmentOrderBy)
           
 void setPublishedAssessments(ArrayList publishedAssessments)
           
 void setSections(ArrayList sections)
          set a list of SectionBeans
 void setSettings(TemplateBean settings)
          this allows us to store template information
 void setShowCompleteAssessment(boolean showCompleteAssessment)
          do we show the complete assessment
 void setShowTemplateList(boolean showTemplateList)
           
 void setTotalPoints(String totalPoints)
          total points
 void setTotalQuestions(String totalQuestions)
           
 void startEditAssessmentSettings()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthorBean

public AuthorBean()
Method Detail

getAssessmentID

public String getAssessmentID()
Returns:
the id

getAssessment

public AssessmentFacade getAssessment()

setAssessment

public void setAssessment(AssessmentFacade assessment)

getAssessmentTypeId

public String getAssessmentTypeId()

getAssessmentDescription

public String getAssessmentDescription()

getAssessTitle

public String getAssessTitle()
Returns:
the title

setAssessmentTemplateId

public void setAssessmentTemplateId(String assessmentTemplateId)

getAssessmentTemplateId

public String getAssessmentTemplateId()

setAssessmentTemplateList

public void setAssessmentTemplateList(ArrayList list)

getAssessmentTemplateList

public ArrayList getAssessmentTemplateList()

setAssessments

public void setAssessments(ArrayList assessments)

getAssessments

public ArrayList getAssessments()

setPublishedAssessments

public void setPublishedAssessments(ArrayList publishedAssessments)

getPublishedAssessments

public ArrayList getPublishedAssessments()

setInactivePublishedAssessments

public void setInactivePublishedAssessments(ArrayList inactivePublishedAssessments)

getInactivePublishedAssessments

public ArrayList getInactivePublishedAssessments()

isShowCompleteAssessment

public boolean isShowCompleteAssessment()
do we show the complete asseassement?

Returns:
boolean

getTotalPoints

public String getTotalPoints()
the total points

Returns:
the total points

getCurrentQuestionType

public String getCurrentQuestionType()
If UI is on a specific question, get the type

Returns:
question type

getCurrentSection

public String getCurrentSection()
If UI is on a specific section, get the section id

Returns:

getSections

public ArrayList getSections()
ArrayList of SectionBeans

Returns:

isHasQuestions

public boolean isHasQuestions()
derived property

Returns:
true if there are questions

setAssessmentId

public void setAssessmentId(String string)
Parameters:
string - the id

setAssessTitle

public void setAssessTitle(String string)
Parameters:
string - the title

setShowCompleteAssessment

public void setShowCompleteAssessment(boolean showCompleteAssessment)
do we show the complete assessment

Parameters:
showCompleteAssessment - boolean

setTotalPoints

public void setTotalPoints(String totalPoints)
total points

Parameters:
totalPoints - total points for assessment

setCurrentQuestionType

public void setCurrentQuestionType(String currentQuestionType)
If UI is on a specific question, set the type

Parameters:
currentQuestionType -

setCurrentSection

public void setCurrentSection(String currentSection)
set the UI to a specific section id

Parameters:
currentSection -

setSections

public void setSections(ArrayList sections)
set a list of SectionBeans

Parameters:
sections -

getSettings

public TemplateBean getSettings()
this allows us to store template information

Returns:

setSettings

public void setSettings(TemplateBean settings)
this allows us to store template information

Parameters:
settings -

getTotalQuestions

public String getTotalQuestions()

setTotalQuestions

public void setTotalQuestions(String totalQuestions)

getSectionSelectList

public ArrayList getSectionSelectList()
Derived property.

Returns:
ArrayList of model SelectItems

getCurrentItem

public String getCurrentItem()
If the UI is on a specific item

Returns:
the item id

setCurrentItem

public void setCurrentItem(String currentItem)
set UI on a specific item

Parameters:
currentItem - the item id

editAssessmentSettings

public String editAssessmentSettings()

startEditAssessmentSettings

public void startEditAssessmentSettings()

getCoreAssessmentOrderBy

public String getCoreAssessmentOrderBy()

setCoreAssessmentOrderBy

public void setCoreAssessmentOrderBy(String coreAssessmentOrderBy)

isCoreAscending

public boolean isCoreAscending()
is core assessment table sorted in ascending order

Returns:
true if it is

setCoreAscending

public void setCoreAscending(boolean coreAscending)
Parameters:
coreAscending - is core assessment table sorted in ascending order

getPublishedAssessmentOrderBy

public String getPublishedAssessmentOrderBy()

setPublishedAssessmentOrderBy

public void setPublishedAssessmentOrderBy(String publishedAssessmentOrderBy)

isPublishedAscending

public boolean isPublishedAscending()
is published assessment table sorted in ascending order

Returns:
true if it is

setPublishedAscending

public void setPublishedAscending(boolean publishedAscending)
Parameters:
publishedAscending - is published assessment table sorted in ascending order

getInactivePublishedAssessmentOrderBy

public String getInactivePublishedAssessmentOrderBy()

setInactivePublishedAssessmentOrderBy

public void setInactivePublishedAssessmentOrderBy(String inactivePublishedAssessmentOrderBy)

isInactivePublishedAscending

public boolean isInactivePublishedAscending()
is inactive published assessment table sorted in ascending order

Returns:
true if it is

setInactivePublishedAscending

public void setInactivePublishedAscending(boolean inactivePublishedAscending)
Parameters:
inactivePublishedAscending - is inactive published assessment table sorted in ascending order

setAssessmentTypeId

public void setAssessmentTypeId(String typeId)

setAssessmentDescription

public void setAssessmentDescription(String description)

getOutcome

public String getOutcome()

setOutcome

public void setOutcome(String outcome)

getShowTemplateList

public boolean getShowTemplateList()

setShowTemplateList

public void setShowTemplateList(boolean showTemplateList)