| org.sakaiproject.cheftool.PagedResourceActionII org.sakaiproject.assignment.tool.AssignmentAction
AssignmentAction | public class AssignmentAction extends PagedResourceActionII (Code) | |
AssignmentAction is the action class for the assignment tool.
|
Inner Class :public class UserSubmission | |
Method Summary | |
public String | buildMainPanelContext(VelocityPortlet portlet, Context context, RunData data, SessionState state) | protected String | build_instructor_delete_assignment_context(VelocityPortlet portlet, Context context, RunData data, SessionState state) | protected String | build_instructor_grade_assignment_context(VelocityPortlet portlet, Context context, RunData data, SessionState state) | protected String | build_instructor_grade_submission_context(VelocityPortlet portlet, Context context, RunData data, SessionState state) | protected String | build_instructor_new_edit_assignment_context(VelocityPortlet portlet, Context context, RunData data, SessionState state) | protected String | build_instructor_preview_assignment_context(VelocityPortlet portlet, Context context, RunData data, SessionState state) | protected String | build_instructor_preview_grade_submission_context(VelocityPortlet portlet, Context context, RunData data, SessionState state) | protected String | build_instructor_report_submissions(VelocityPortlet portlet, Context context, RunData data, SessionState state) | protected String | build_instructor_view_assignment_context(VelocityPortlet portlet, Context context, RunData data, SessionState state) | protected String | build_instructor_view_students_assignment_context(VelocityPortlet portlet, Context context, RunData data, SessionState state) | protected String | build_list_assignments_context(VelocityPortlet portlet, Context context, RunData data, SessionState state) | protected String | build_student_preview_submission_context(VelocityPortlet portlet, Context context, RunData data, SessionState state) | protected String | build_student_view_assignment_context(VelocityPortlet portlet, Context context, RunData data, SessionState state) | protected String | build_student_view_grade_context(VelocityPortlet portlet, Context context, RunData data, SessionState state) | protected String | build_student_view_submission_context(VelocityPortlet portlet, Context context, RunData data, SessionState state) | public void | doAssignment_form(RunData data) | public void | doAttachments(RunData data) | public void | doCancel_delete_assignment(RunData data) | public void | doCancel_edit_assignment(RunData data) | public void | doCancel_grade_submission(RunData data) | public void | doCancel_new_assignment(RunData data) | public void | doCancel_preview_grade_submission(RunData data) | public void | doCancel_show_submission(RunData data) | public void | doCancel_student_view_assignment(RunData data) | public void | doCancel_view_grade(RunData data) | public void | doCollapse_grade_assignment(RunData data) | public void | doCollapse_grade_submission(RunData data) | public void | doDeep_delete_assignment(RunData data) | public void | doDelete_assignment(RunData data) | public void | doDelete_confirm_assignment(RunData data) | public void | doDone_preview_edit_assignment(RunData data) | public void | doDone_preview_new_assignment(RunData data) | public void | doDone_preview_submission(RunData data) | public void | doDone_view_assignment(RunData data) | public void | doDuplicate_assignment(RunData data) | public void | doEdit_assignment(RunData data) | public void | doExpand_grade_assignment(RunData data) | public void | doExpand_grade_submission(RunData data) | public void | doGrade_assignment(RunData data) | public void | doGrade_assignment_from(RunData data) | public void | doGrade_submission(RunData data) | public void | doHide_assignment_option(RunData data) | public void | doHide_preview_assignment_assignment(RunData data) | public void | doHide_preview_assignment_student_view(RunData data) | public void | doHide_student_submission(RunData data) | public void | doHide_submission_assignment_instruction(RunData data) | public void | doHide_view_assignment(RunData data) | public void | doHide_view_student_view(RunData data) | public void | doList_assignments(RunData data) | public void | doNew_assignment(RunData data, Context context) | public void | doPermissions(RunData data) | public void | doPost_assignment(RunData data) | public void | doPost_submission(RunData data) | public void | doPreview_assignment(RunData data) | public void | doPreview_grade_submission(RunData data) | public void | doPreview_submission(RunData data) | public void | doRead_add_submission_form(RunData data) | public void | doRelease_grade_submission(RunData data) | public void | doRelease_grades(RunData data) | public void | doReport_submissions(RunData data) | public void | doReturn_grade_submission(RunData data) | public void | doReturn_preview_grade_submission(RunData data) | public void | doSave_assignment(RunData data) | public void | doSave_grade_submission(RunData data) | public void | doSave_preview_grade_submission(RunData data) | public void | doSave_submission(RunData data) | public void | doShow_assignment_option(RunData data) | public void | doShow_preview_assignment_assignment(RunData data) | public void | doShow_preview_assignment_student_view(RunData data) | public void | doShow_student_submission(RunData data) | public void | doShow_submission_assignment_instruction(RunData data) | public void | doShow_view_assignment(RunData data) | public void | doShow_view_student_view(RunData data) | public void | doSort(RunData data) | public void | doSort_grade_submission(RunData data) | public void | doSort_submission(RunData data) | public void | doSortbygroupdescription(RunData data) | public void | doSortbygrouptitle(RunData data) | public void | doView(RunData data) | public void | doView_assignment(RunData data) | public void | doView_assignment_as_student(RunData data) | public void | doView_grade(RunData data) | public void | doView_instructor(RunData data) | public void | doView_student(RunData data) | public void | doView_students_assignment(RunData data) | public void | doView_submission(RunData data) | public static String | escapeAssignmentFeedback(String value) Called to deal with old Chef-style assignment feedback annotation, {{like this}}. | public static String | escapeAssignmentFeedbackTextarea(String value) | protected void | initState(SessionState state, VelocityPortlet portlet, JetspeedRunData data) | protected void | integrateGradebook(SessionState state, String assignmentRef, String associateGradebookAssignment, String addUpdateRemoveAssignment, String oldAssignment_title, String newAssignment_title, int newAssignment_maxPoints, Time newAssignment_dueTime, String submissionRef, String updateRemoveSubmission) | protected boolean | isGradebookDefined() | public void | readGradeForm(RunData data, SessionState state, String gradeOption) | protected List | readResourcesPage(SessionState state, int first, int last) Implement this to return alist of all the resources that there are to page. | protected void | setAssignmentFormContext(SessionState state, Context context) | protected void | setNewAssignmentParameters(RunData data, boolean validify) | public static String | showPrevFeedback(String value) Apply the fix to pre 1.1.05 assignments submissions feedback. | protected int | sizeResources(SessionState state) |
build_instructor_new_edit_assignment_context | protected String build_instructor_new_edit_assignment_context(VelocityPortlet portlet, Context context, RunData data, SessionState state)(Code) | | build the instructor view of creating a new assignment or editing an existing one
|
build_instructor_view_students_assignment_context | protected String build_instructor_view_students_assignment_context(VelocityPortlet portlet, Context context, RunData data, SessionState state)(Code) | | build the instructor view to view the list of students for an assignment
|
doAssignment_form | public void doAssignment_form(RunData data)(Code) | | |
doAttachments | public void doAttachments(RunData data)(Code) | | Action is to use when doAattchmentsadding requested, corresponding to chef_Assignments-new "eventSubmit_doAattchmentsadding" when "add attachments" is clicked
|
doCancel_delete_assignment | public void doCancel_delete_assignment(RunData data)(Code) | | Action is to cancel the delete assignment process
|
doCancel_edit_assignment | public void doCancel_edit_assignment(RunData data)(Code) | | Action is to end the show submission process
|
doCancel_grade_submission | public void doCancel_grade_submission(RunData data)(Code) | | Action is to cancel the grade submission process
|
doCancel_new_assignment | public void doCancel_new_assignment(RunData data)(Code) | | Action is to end the show submission process
|
doCancel_preview_grade_submission | public void doCancel_preview_grade_submission(RunData data)(Code) | | Action is to cancel the preview grade process
|
doCancel_show_submission | public void doCancel_show_submission(RunData data)(Code) | | Action is to end the show submission process
|
doCancel_student_view_assignment | public void doCancel_student_view_assignment(RunData data)(Code) | | Action is to end the user view assignment process and redirect him to the assignment list view
|
doCancel_view_grade | public void doCancel_view_grade(RunData data)(Code) | | Action is to cancel the student view grade process
|
doCollapse_grade_assignment | public void doCollapse_grade_assignment(RunData data)(Code) | | Action is to hide the assignment in grading page
|
doCollapse_grade_submission | public void doCollapse_grade_submission(RunData data)(Code) | | Action is to hide the submissions in grading page
|
doDeep_delete_assignment | public void doDeep_delete_assignment(RunData data)(Code) | | Action is to delete the assignment and also the related AssignmentSubmission
|
doDelete_assignment | public void doDelete_assignment(RunData data)(Code) | | Action is to delete the confirmed assignments
|
doDelete_confirm_assignment | public void doDelete_confirm_assignment(RunData data)(Code) | | Action is to show the delete assigment confirmation screen
|
doDone_preview_edit_assignment | public void doDone_preview_edit_assignment(RunData data)(Code) | | Action is to end the preview edit assignment process
|
doDone_preview_new_assignment | public void doDone_preview_new_assignment(RunData data)(Code) | | Action is to end the preview new assignment process
|
doDone_preview_submission | public void doDone_preview_submission(RunData data)(Code) | | Action is to end the preview submission process
|
doDone_view_assignment | public void doDone_view_assignment(RunData data)(Code) | | Action is to end the view assignment process
|
doDuplicate_assignment | public void doDuplicate_assignment(RunData data)(Code) | | Action is to show the duplicate assignment screen
|
doEdit_assignment | public void doEdit_assignment(RunData data)(Code) | | Action is to show the edit assignment screen
|
doExpand_grade_assignment | public void doExpand_grade_assignment(RunData data)(Code) | | Action is to show the assignment in grading page
|
doExpand_grade_submission | public void doExpand_grade_submission(RunData data)(Code) | | Action is to show the submissions in grading page
|
doGrade_assignment | public void doGrade_assignment(RunData data)(Code) | | Action is to show the grade assignment
|
doGrade_assignment_from | public void doGrade_assignment_from(RunData data)(Code) | | Action is to show the grade assignment
|
doGrade_submission | public void doGrade_submission(RunData data)(Code) | | Action is to show the grade submission screen
|
doHide_assignment_option | public void doHide_assignment_option(RunData data)(Code) | | Action is to hide the assignment option
|
doHide_preview_assignment_assignment | public void doHide_preview_assignment_assignment(RunData data)(Code) | | Action is to hide the preview assignment assignment infos
|
doHide_preview_assignment_student_view | public void doHide_preview_assignment_student_view(RunData data)(Code) | | Action is to hide the preview assignment student view
|
doHide_student_submission | public void doHide_student_submission(RunData data)(Code) | | Action is to hide the student submissions
|
doHide_submission_assignment_instruction | public void doHide_submission_assignment_instruction(RunData data)(Code) | | Action is to hide the preview assignment student view
|
doHide_view_assignment | public void doHide_view_assignment(RunData data)(Code) | | Action is to hide the assignment content in the view assignment page
|
doHide_view_student_view | public void doHide_view_student_view(RunData data)(Code) | | Action is to hide the student view in the view assignment page
|
doList_assignments | public void doList_assignments(RunData data)(Code) | | Action is to return to the view of list assignments
|
doNew_assignment | public void doNew_assignment(RunData data, Context context)(Code) | | Action is to show the new assignment screen
|
doPermissions | public void doPermissions(RunData data)(Code) | | Fire up the permissions editor
|
doPost_assignment | public void doPost_assignment(RunData data)(Code) | | Action is to post assignment
|
doPost_submission | public void doPost_submission(RunData data)(Code) | | Action is to post the submission
|
doPreview_assignment | public void doPreview_assignment(RunData data)(Code) | | Action is to preview the selected assignment
|
doPreview_grade_submission | public void doPreview_grade_submission(RunData data)(Code) | | Preview of the grading of submission
|
doPreview_submission | public void doPreview_submission(RunData data)(Code) | | Preview of the submission
|
doRead_add_submission_form | public void doRead_add_submission_form(RunData data)(Code) | | Dispatch function inside add submission page
|
doRelease_grade_submission | public void doRelease_grade_submission(RunData data)(Code) | | Action is to release the grade to submission
|
doRelease_grades | public void doRelease_grades(RunData data)(Code) | | Action is to release all the grades of the submission
|
doReport_submissions | public void doReport_submissions(RunData data)(Code) | | Action is to show the student submissions
|
doReturn_grade_submission | public void doReturn_grade_submission(RunData data)(Code) | | Action is to return submission with or without grade
|
doReturn_preview_grade_submission | public void doReturn_preview_grade_submission(RunData data)(Code) | | Action is to return submission with or without grade from preview
|
doSave_assignment | public void doSave_assignment(RunData data)(Code) | | Action is to post new assignment
|
doSave_grade_submission | public void doSave_grade_submission(RunData data)(Code) | | Action is to save the grade to submission
|
doSave_preview_grade_submission | public void doSave_preview_grade_submission(RunData data)(Code) | | Action is to save submission with or without grade from preview
|
doSave_submission | public void doSave_submission(RunData data)(Code) | | Action is to save the submission as a draft
|
doShow_assignment_option | public void doShow_assignment_option(RunData data)(Code) | | Action is to show the assignment option
|
doShow_preview_assignment_assignment | public void doShow_preview_assignment_assignment(RunData data)(Code) | | Action is to show the preview assignment assignment info
|
doShow_preview_assignment_student_view | public void doShow_preview_assignment_student_view(RunData data)(Code) | | Action is to show the preview assignment student view
|
doShow_student_submission | public void doShow_student_submission(RunData data)(Code) | | Action is to show the student submissions
|
doShow_submission_assignment_instruction | public void doShow_submission_assignment_instruction(RunData data)(Code) | | Action is to show the preview assignment student view
|
doShow_view_assignment | public void doShow_view_assignment(RunData data)(Code) | | Action is to show the assignment content in the view assignment page
|
doShow_view_student_view | public void doShow_view_student_view(RunData data)(Code) | | Action is to show the student view in the view assignment page
|
doSort | public void doSort(RunData data)(Code) | | Sort based on the given property
|
doSort_grade_submission | public void doSort_grade_submission(RunData data)(Code) | | Sort submission based on the given property in instructor grade view
|
doSort_submission | public void doSort_submission(RunData data)(Code) | | Sort submission based on the given property
|
doSortbygroupdescription | public void doSortbygroupdescription(RunData data)(Code) | | Do sort by group description
|
doSortbygrouptitle | public void doSortbygrouptitle(RunData data)(Code) | | Do sort by group title
|
doView_assignment | public void doView_assignment(RunData data)(Code) | | Action is to view the selected assignment
|
doView_assignment_as_student | public void doView_assignment_as_student(RunData data)(Code) | | Action is for student to view one assignment content
|
doView_grade | public void doView_grade(RunData data)(Code) | | Action is to show the graded assignment submission
|
doView_instructor | public void doView_instructor(RunData data)(Code) | | Go to the instructor view
|
doView_student | public void doView_student(RunData data)(Code) | | Go to the student view
|
doView_students_assignment | public void doView_students_assignment(RunData data)(Code) | | Action is to show the View Students assignment screen
|
doView_submission | public void doView_submission(RunData data)(Code) | | Action is to view the content of one specific assignment submission
|
escapeAssignmentFeedback | public static String escapeAssignmentFeedback(String value)(Code) | | Called to deal with old Chef-style assignment feedback annotation, {{like this}}.
Parameters: value - A formatted text string that may contain {{}} style markup HTML ready to for display on a browser |
escapeAssignmentFeedbackTextarea | public static String escapeAssignmentFeedbackTextarea(String value)(Code) | | Escapes the given assignment feedback text, to be edited as formatted text (perhaps using the formatted text widget)
|
integrateGradebook | protected void integrateGradebook(SessionState state, String assignmentRef, String associateGradebookAssignment, String addUpdateRemoveAssignment, String oldAssignment_title, String newAssignment_title, int newAssignment_maxPoints, Time newAssignment_dueTime, String submissionRef, String updateRemoveSubmission)(Code) | | integration with gradebook
Parameters: state - Parameters: assignmentRef - Assignment reference Parameters: associateGradebookAssignment - The title for the associated GB assignment Parameters: addUpdateRemoveAssignment - "add" for adding the assignment; "update" for updating the assignment; "remove" for remove assignment Parameters: oldAssignment_title - The original assignment title Parameters: newAssignment_title - The updated assignment title Parameters: newAssignment_maxPoints - The maximum point of the assignment Parameters: newAssignment_dueTime - The due time of the assignment Parameters: submissionRef - Any submission grade need to be updated? Do bulk update if null Parameters: updateRemoveSubmission - "update" for update submission;"remove" for remove submission |
isGradebookDefined | protected boolean isGradebookDefined()(Code) | | |
readResourcesPage | protected List readResourcesPage(SessionState state, int first, int last)(Code) | | Implement this to return alist of all the resources that there are to page. Sort them as appropriate.
|
setNewAssignmentParameters | protected void setNewAssignmentParameters(RunData data, boolean validify)(Code) | | Action is to save the input infos for assignment fields
Parameters: validify - Need to validify the inputs or not |
showPrevFeedback | public static String showPrevFeedback(String value)(Code) | | Apply the fix to pre 1.1.05 assignments submissions feedback.
|
Methods inherited from org.sakaiproject.cheftool.PagedResourceActionII | protected void addListPagingMenus(Menu bar, SessionState state)(Code)(Java Doc) protected void addRefreshMenus(Menu bar, SessionState state)(Code)(Java Doc) protected void addSearchMenus(Menu bar, SessionState state)(Code)(Java Doc) protected void addViewPagingMenus(Menu bar, SessionState state)(Code)(Java Doc) public void cleanStatePaging(SessionState state)(Code)(Java Doc) public void doAuto(RunData data, Context context)(Code)(Java Doc) public void doChange_pagesize(RunData data, Context context)(Code)(Java Doc) public void doList_first(RunData runData, Context context)(Code)(Java Doc) public void doList_last(RunData runData, Context context)(Code)(Java Doc) public void doList_next(RunData runData, Context context)(Code)(Java Doc) public void doList_prev(RunData runData, Context context)(Code)(Java Doc) public void doRefresh(RunData data, Context context)(Code)(Java Doc) public void doSearch(RunData runData, Context context)(Code)(Java Doc) public void doSearch_clear(RunData runData, Context context)(Code)(Java Doc) public void doView_next(RunData runData, Context context)(Code)(Java Doc) public void doView_page(RunData runData, Context context)(Code)(Java Doc) public void doView_prev(RunData runData, Context context)(Code)(Java Doc) public void enableObserver(SessionState state)(Code)(Java Doc) protected void initState(SessionState state, VelocityPortlet portlet, JetspeedRunData rundata)(Code)(Java Doc) public void pagingInfoToContext(SessionState state, Context context)(Code)(Java Doc) protected List prepPage(SessionState state)(Code)(Java Doc) abstract protected List readResourcesPage(SessionState state, int first, int last)(Code)(Java Doc) protected void resetPaging(SessionState state)(Code)(Java Doc) abstract protected int sizeResources(SessionState state)(Code)(Java Doc) protected int totalPageNumber(SessionState state)(Code)(Java Doc)
|
|
|