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

java.lang.Object
  extended by org.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 97673 2011-08-29 23:17:13Z ktsao@stanford.edu $
Author:
Ed Smiley
See Also:
Serialized Form

Constructor Summary
AuthorBean()
           
 
Method Summary
 String editAssessmentSettings()
           
 String getAssessCreationMode()
           
 AssessmentFacade getAssessment()
           
 String getAssessmentDescription()
           
 String getAssessmentID()
           
 ArrayList getAssessments()
           
 String getAssessmentTemplateId()
           
 ArrayList getAssessmentTemplateList()
           
 String getAssessmentTypeId()
           
 String getAssessTitle()
           
 boolean getCanRecordAverage()
           
 String getCoreAssessmentOrderBy()
           
 long getCurrentFormTime()
           
 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
 boolean getEditPubAssessmentRestricted()
           
 String getFirstFromPage()
           
 String getFromPage()
           
 String getImportOutcome()
           
 String getInactivePublishedAssessmentOrderBy()
           
 ArrayList getInactivePublishedAssessments()
           
 boolean getIsAnyAssessmentRetractForEdit()
           
 boolean getIsEditable()
           
 boolean getIsEditPendingAssessmentFlow()
           
 boolean getIsErrorInSettings()
           
 boolean getIsGradeable()
           
 boolean getIsRepublishAndRegrade()
           
 boolean getIsRetractedForEdit()
           
 boolean getJustPublishedAnAssessment()
           
 String getOutcome()
           
 ArrayList<javax.faces.model.SelectItem> getPendingSelectActionList1()
           
 ArrayList<javax.faces.model.SelectItem> getPendingSelectActionList2()
           
 String getProtocol()
           
 String getPublishedAssessmentOrderBy()
           
 ArrayList getPublishedAssessments()
           
 ArrayList<javax.faces.model.SelectItem> getPublishedSelectActionList()
           
 ArrayList getSections()
          ArrayList of SectionBeans
 ArrayList getSectionSelectList()
          Derived property.
 String getSelectActionOutcome()
           
 TemplateBean getSettings()
          this allows us to store template information
 boolean getShowTemplateList()
           
 String getTotalPoints()
          the total points
 String getTotalQuestions()
           
 String getUpdateFormTime()
           
 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 setAssessCreationMode(String assessCreationMode)
           
 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 setCurrentFormTime(long formTime)
           
 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 setEditPubAssessmentRestricted(boolean editPubAssessmentRestricted)
           
 void setFirstFromPage(String firstFromPage)
           
 void setFromPage(String fromPage)
           
 void setImportOutcome(String importOutcome)
           
 void setInactivePublishedAscending(boolean inactivePublishedAscending)
           
 void setInactivePublishedAssessmentOrderBy(String inactivePublishedAssessmentOrderBy)
           
 void setInactivePublishedAssessments(ArrayList inactivePublishedAssessments)
           
 void setIsAnyAssessmentRetractForEdit(boolean isAnyAssessmentRetractForEdit)
           
 void setIsEditable(boolean isEditable)
           
 void setIsEditPendingAssessmentFlow(boolean isEditPendingAssessmentFlow)
           
 void setIsErrorInSettings(boolean isErrorInSettings)
           
 void setIsGradeable(boolean isGradeable)
           
 void setIsRepublishAndRegrade(boolean isRepublishAndRegrade)
           
 void setIsRetractedForEdit(boolean isRetractedForEdit)
           
 void setJustPublishedAnAssessment(boolean justPublishedAnAssessment)
           
 void setOutcome(String outcome)
           
 void setProtocol(String protocol)
           
 void setPublishedAscending(boolean publishedAscending)
           
 void setPublishedAssessmentOrderBy(String publishedAssessmentOrderBy)
           
 void setPublishedAssessments(ArrayList publishedAssessments)
           
 void setSections(ArrayList sections)
          set a list of SectionBeans
 void setSelectActionOutcome(String selectActionOutcome)
           
 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)
           
 
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()

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)

getSelectActionOutcome

public String getSelectActionOutcome()

setSelectActionOutcome

public void setSelectActionOutcome(String selectActionOutcome)

getImportOutcome

public String getImportOutcome()

setImportOutcome

public void setImportOutcome(String importOutcome)

getShowTemplateList

public boolean getShowTemplateList()

setShowTemplateList

public void setShowTemplateList(boolean showTemplateList)

getIsEditPendingAssessmentFlow

public boolean getIsEditPendingAssessmentFlow()

setIsEditPendingAssessmentFlow

public void setIsEditPendingAssessmentFlow(boolean isEditPendingAssessmentFlow)

getFromPage

public String getFromPage()

setFromPage

public void setFromPage(String fromPage)

getFirstFromPage

public String getFirstFromPage()

setFirstFromPage

public void setFirstFromPage(String firstFromPage)

getIsRetractedForEdit

public boolean getIsRetractedForEdit()

setIsRetractedForEdit

public void setIsRetractedForEdit(boolean isRetractedForEdit)

getEditPubAssessmentRestricted

public boolean getEditPubAssessmentRestricted()

setEditPubAssessmentRestricted

public void setEditPubAssessmentRestricted(boolean editPubAssessmentRestricted)

getIsRepublishAndRegrade

public boolean getIsRepublishAndRegrade()

setIsRepublishAndRegrade

public void setIsRepublishAndRegrade(boolean isRepublishAndRegrade)

getIsAnyAssessmentRetractForEdit

public boolean getIsAnyAssessmentRetractForEdit()

setIsAnyAssessmentRetractForEdit

public void setIsAnyAssessmentRetractForEdit(boolean isAnyAssessmentRetractForEdit)

getUpdateFormTime

public String getUpdateFormTime()

getCurrentFormTime

public long getCurrentFormTime()

setCurrentFormTime

public void setCurrentFormTime(long formTime)

getAssessCreationMode

public String getAssessCreationMode()

setAssessCreationMode

public void setAssessCreationMode(String assessCreationMode)

setIsGradeable

public void setIsGradeable(boolean isGradeable)

getIsGradeable

public boolean getIsGradeable()

setIsEditable

public void setIsEditable(boolean isEditable)

getIsEditable

public boolean getIsEditable()

getPendingSelectActionList1

public ArrayList<javax.faces.model.SelectItem> getPendingSelectActionList1()

getPendingSelectActionList2

public ArrayList<javax.faces.model.SelectItem> getPendingSelectActionList2()

getPublishedSelectActionList

public ArrayList<javax.faces.model.SelectItem> getPublishedSelectActionList()

getCanRecordAverage

public boolean getCanRecordAverage()

setJustPublishedAnAssessment

public void setJustPublishedAnAssessment(boolean justPublishedAnAssessment)

getJustPublishedAnAssessment

public boolean getJustPublishedAnAssessment()

setIsErrorInSettings

public void setIsErrorInSettings(boolean isErrorInSettings)

getIsErrorInSettings

public boolean getIsErrorInSettings()

getProtocol

public String getProtocol()

setProtocol

public void setProtocol(String protocol)


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