org.sakaiproject.service.legacy.assignment.cover
Class AssignmentService

java.lang.Object
  extended byorg.sakaiproject.service.legacy.assignment.cover.AssignmentService

public class AssignmentService
extends Object

AssignmentService is a static Cover for the AssignmentService; see that interface for usage details.

Version:
$Revision: 6242 $
Author:
University of Michigan, Sakai Software Development Team

Field Summary
static String REF_TYPE_ASSIGNMENT
           
static String REF_TYPE_CONTENT
           
static String REF_TYPE_GRADES
           
static String REF_TYPE_SUBMISSION
           
static String REF_TYPE_SUBMISSIONS
           
static String REFERENCE_ROOT
           
static String SECURE_ACCESS_ASSIGNMENT
           
static String SECURE_ACCESS_ASSIGNMENT_CONTENT
           
static String SECURE_ACCESS_ASSIGNMENT_SUBMISSION
           
static String SECURE_ADD_ASSIGNMENT
           
static String SECURE_ADD_ASSIGNMENT_CONTENT
           
static String SECURE_ADD_ASSIGNMENT_SUBMISSION
           
static String SECURE_GRADE_ASSIGNMENT_SUBMISSION
           
static String SECURE_REMOVE_ASSIGNMENT
           
static String SECURE_REMOVE_ASSIGNMENT_CONTENT
           
static String SECURE_REMOVE_ASSIGNMENT_SUBMISSION
           
static String SECURE_UPDATE_ASSIGNMENT
           
static String SECURE_UPDATE_ASSIGNMENT_CONTENT
           
static String SECURE_UPDATE_ASSIGNMENT_SUBMISSION
           
static String SERVICE_NAME
           
 
Constructor Summary
AssignmentService()
           
 
Method Summary
static AssignmentEdit addAssignment(String param0)
           
static AssignmentContentEdit addAssignmentContent(String param0)
           
static AssignmentEdit addDuplicateAssignment(String param0, String param1)
           
static AssignmentContentEdit addDuplicateAssignmentContent(String param0, String param1)
           
static AssignmentSubmissionEdit addSubmission(String param0, String param1)
           
static boolean allowAddAssignment(String param0)
           
static boolean allowAddAssignmentContent(String param0)
           
static List allowAddAssignmentUsers(String param0)
           
static boolean allowAddSubmission(String param0)
           
static List allowAddSubmissionUsers(String param0)
           
static boolean allowGetAssignment(String param0)
           
static boolean allowGetAssignmentContent(String param0)
           
static boolean allowGetSubmission(String param0)
           
static boolean allowGradeSubmission(String param0)
           
static boolean allowRemoveAssignment(String param0)
           
static boolean allowRemoveAssignmentContent(String param0)
           
static boolean allowRemoveSubmission(String param0)
           
static boolean allowUpdateAssignment(String param0)
           
static boolean allowUpdateAssignmentContent(String param0)
           
static boolean allowUpdateSubmission(String param0)
           
static String archive(String param0, Document param1, Stack param2, String param3, List param4)
           
static String assignmentReference(String param0, String param1)
           
static void cancelEdit(AssignmentContentEdit param0)
           
static void cancelEdit(AssignmentEdit param0)
           
static void cancelEdit(AssignmentSubmissionEdit param0)
           
static void commitEdit(AssignmentContentEdit param0)
           
static void commitEdit(AssignmentEdit param0)
           
static void commitEdit(AssignmentSubmissionEdit param0)
           
static String contentReference(String param0, String param1)
           
static AssignmentEdit editAssignment(String param0)
           
static AssignmentContentEdit editAssignmentContent(String param0)
           
static AssignmentSubmissionEdit editSubmission(String param0)
           
static Assignment getAssignment(String param0)
           
static AssignmentContent getAssignmentContent(String param0)
           
static Iterator getAssignmentContents(User param0)
           
static Iterator getAssignments(AssignmentContent param0)
           
static Iterator getAssignmentsForContext(String param0)
           
static byte[] getGradesSpreadsheet(String param0)
           
static AssignmentService getInstance()
          Access the component instance: special cover only method.
static String getLabel()
           
static AssignmentSubmission getSubmission(String param0)
           
static AssignmentSubmission getSubmission(String param0, User param1)
           
static Iterator getSubmissions(Assignment param0)
           
static byte[] getSubmissionsZip(String param0)
           
static String gradesSpreadsheetReference(String param0, String param1)
           
static void importResources(String param0, String param1, List param2)
           
static String merge(String param0, Element param1, String param2, String param3, Map param4, HashMap param5, Set param6)
           
static AssignmentEdit mergeAssignment(Element param0)
           
static AssignmentContentEdit mergeAssignmentContent(Element param0)
           
static AssignmentSubmissionEdit mergeSubmission(Element param0)
           
static void removeAssignment(AssignmentEdit param0)
           
static void removeAssignmentContent(AssignmentContentEdit param0)
           
static void removeSubmission(AssignmentSubmissionEdit param0)
           
static String submissionReference(String param0, String param1, String param2)
           
static String submissionsZipReference(String param0, String param1)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SERVICE_NAME

public static String SERVICE_NAME

REFERENCE_ROOT

public static String REFERENCE_ROOT

SECURE_ADD_ASSIGNMENT

public static String SECURE_ADD_ASSIGNMENT

SECURE_ADD_ASSIGNMENT_CONTENT

public static String SECURE_ADD_ASSIGNMENT_CONTENT

SECURE_ADD_ASSIGNMENT_SUBMISSION

public static String SECURE_ADD_ASSIGNMENT_SUBMISSION

SECURE_REMOVE_ASSIGNMENT

public static String SECURE_REMOVE_ASSIGNMENT

SECURE_REMOVE_ASSIGNMENT_CONTENT

public static String SECURE_REMOVE_ASSIGNMENT_CONTENT

SECURE_REMOVE_ASSIGNMENT_SUBMISSION

public static String SECURE_REMOVE_ASSIGNMENT_SUBMISSION

SECURE_ACCESS_ASSIGNMENT

public static String SECURE_ACCESS_ASSIGNMENT

SECURE_ACCESS_ASSIGNMENT_CONTENT

public static String SECURE_ACCESS_ASSIGNMENT_CONTENT

SECURE_ACCESS_ASSIGNMENT_SUBMISSION

public static String SECURE_ACCESS_ASSIGNMENT_SUBMISSION

SECURE_UPDATE_ASSIGNMENT

public static String SECURE_UPDATE_ASSIGNMENT

SECURE_UPDATE_ASSIGNMENT_CONTENT

public static String SECURE_UPDATE_ASSIGNMENT_CONTENT

SECURE_UPDATE_ASSIGNMENT_SUBMISSION

public static String SECURE_UPDATE_ASSIGNMENT_SUBMISSION

SECURE_GRADE_ASSIGNMENT_SUBMISSION

public static String SECURE_GRADE_ASSIGNMENT_SUBMISSION

REF_TYPE_ASSIGNMENT

public static String REF_TYPE_ASSIGNMENT

REF_TYPE_SUBMISSION

public static String REF_TYPE_SUBMISSION

REF_TYPE_CONTENT

public static String REF_TYPE_CONTENT

REF_TYPE_GRADES

public static String REF_TYPE_GRADES

REF_TYPE_SUBMISSIONS

public static String REF_TYPE_SUBMISSIONS
Constructor Detail

AssignmentService

public AssignmentService()
Method Detail

getInstance

public static AssignmentService getInstance()
Access the component instance: special cover only method.

Returns:
the component instance.

allowAddAssignment

public static boolean allowAddAssignment(String param0)

allowGetAssignment

public static boolean allowGetAssignment(String param0)

allowUpdateAssignment

public static boolean allowUpdateAssignment(String param0)

allowRemoveAssignment

public static boolean allowRemoveAssignment(String param0)

allowAddAssignmentContent

public static boolean allowAddAssignmentContent(String param0)

allowGetAssignmentContent

public static boolean allowGetAssignmentContent(String param0)

allowUpdateAssignmentContent

public static boolean allowUpdateAssignmentContent(String param0)

allowRemoveAssignmentContent

public static boolean allowRemoveAssignmentContent(String param0)

allowAddSubmission

public static boolean allowAddSubmission(String param0)

allowAddSubmissionUsers

public static List allowAddSubmissionUsers(String param0)

allowAddAssignmentUsers

public static List allowAddAssignmentUsers(String param0)

allowGetSubmission

public static boolean allowGetSubmission(String param0)

allowUpdateSubmission

public static boolean allowUpdateSubmission(String param0)

allowRemoveSubmission

public static boolean allowRemoveSubmission(String param0)

allowGradeSubmission

public static boolean allowGradeSubmission(String param0)

addAssignment

public static AssignmentEdit addAssignment(String param0)
                                    throws PermissionException
Throws:
PermissionException

mergeAssignment

public static AssignmentEdit mergeAssignment(Element param0)
                                      throws IdInvalidException,
                                             IdUsedException,
                                             PermissionException
Throws:
IdInvalidException
IdUsedException
PermissionException

addDuplicateAssignment

public static AssignmentEdit addDuplicateAssignment(String param0,
                                                    String param1)
                                             throws IdInvalidException,
                                                    PermissionException,
                                                    IdUsedException,
                                                    IdUnusedException
Throws:
IdInvalidException
PermissionException
IdUsedException
IdUnusedException

removeAssignment

public static void removeAssignment(AssignmentEdit param0)
                             throws PermissionException
Throws:
PermissionException

editAssignment

public static AssignmentEdit editAssignment(String param0)
                                     throws IdUnusedException,
                                            PermissionException,
                                            InUseException
Throws:
IdUnusedException
PermissionException
InUseException

commitEdit

public static void commitEdit(AssignmentContentEdit param0)

commitEdit

public static void commitEdit(AssignmentEdit param0)

commitEdit

public static void commitEdit(AssignmentSubmissionEdit param0)

cancelEdit

public static void cancelEdit(AssignmentSubmissionEdit param0)

cancelEdit

public static void cancelEdit(AssignmentContentEdit param0)

cancelEdit

public static void cancelEdit(AssignmentEdit param0)

addAssignmentContent

public static AssignmentContentEdit addAssignmentContent(String param0)
                                                  throws PermissionException
Throws:
PermissionException

mergeAssignmentContent

public static AssignmentContentEdit mergeAssignmentContent(Element param0)
                                                    throws IdInvalidException,
                                                           IdUsedException,
                                                           PermissionException
Throws:
IdInvalidException
IdUsedException
PermissionException

addDuplicateAssignmentContent

public static AssignmentContentEdit addDuplicateAssignmentContent(String param0,
                                                                  String param1)
                                                           throws IdInvalidException,
                                                                  PermissionException,
                                                                  IdUnusedException
Throws:
IdInvalidException
PermissionException
IdUnusedException

removeAssignmentContent

public static void removeAssignmentContent(AssignmentContentEdit param0)
                                    throws AssignmentContentNotEmptyException,
                                           PermissionException
Throws:
AssignmentContentNotEmptyException
PermissionException

editAssignmentContent

public static AssignmentContentEdit editAssignmentContent(String param0)
                                                   throws IdUnusedException,
                                                          PermissionException,
                                                          InUseException
Throws:
IdUnusedException
PermissionException
InUseException

addSubmission

public static AssignmentSubmissionEdit addSubmission(String param0,
                                                     String param1)
                                              throws PermissionException
Throws:
PermissionException

mergeSubmission

public static AssignmentSubmissionEdit mergeSubmission(Element param0)
                                                throws IdInvalidException,
                                                       IdUsedException,
                                                       PermissionException
Throws:
IdInvalidException
IdUsedException
PermissionException

removeSubmission

public static void removeSubmission(AssignmentSubmissionEdit param0)
                             throws PermissionException
Throws:
PermissionException

editSubmission

public static AssignmentSubmissionEdit editSubmission(String param0)
                                               throws IdUnusedException,
                                                      PermissionException,
                                                      InUseException
Throws:
IdUnusedException
PermissionException
InUseException

getAssignmentContents

public static Iterator getAssignmentContents(User param0)

getAssignment

public static Assignment getAssignment(String param0)
                                throws IdUnusedException,
                                       PermissionException
Throws:
IdUnusedException
PermissionException

getAssignmentContent

public static AssignmentContent getAssignmentContent(String param0)
                                              throws IdUnusedException,
                                                     PermissionException
Throws:
IdUnusedException
PermissionException

getSubmission

public static AssignmentSubmission getSubmission(String param0)
                                          throws IdUnusedException,
                                                 PermissionException
Throws:
IdUnusedException
PermissionException

getSubmission

public static AssignmentSubmission getSubmission(String param0,
                                                 User param1)
                                          throws IdUnusedException,
                                                 PermissionException
Throws:
IdUnusedException
PermissionException

getAssignments

public static Iterator getAssignments(AssignmentContent param0)

getAssignmentsForContext

public static Iterator getAssignmentsForContext(String param0)

getSubmissions

public static Iterator getSubmissions(Assignment param0)

getGradesSpreadsheet

public static byte[] getGradesSpreadsheet(String param0)
                                   throws IdUnusedException,
                                          PermissionException
Throws:
IdUnusedException
PermissionException

getSubmissionsZip

public static byte[] getSubmissionsZip(String param0)
                                throws IdUnusedException,
                                       PermissionException
Throws:
IdUnusedException
PermissionException

assignmentReference

public static String assignmentReference(String param0,
                                         String param1)

contentReference

public static String contentReference(String param0,
                                      String param1)

submissionReference

public static String submissionReference(String param0,
                                         String param1,
                                         String param2)

gradesSpreadsheetReference

public static String gradesSpreadsheetReference(String param0,
                                                String param1)

submissionsZipReference

public static String submissionsZipReference(String param0,
                                             String param1)

merge

public static String merge(String param0,
                           Element param1,
                           String param2,
                           String param3,
                           Map param4,
                           HashMap param5,
                           Set param6)

getLabel

public static String getLabel()

archive

public static String archive(String param0,
                             Document param1,
                             Stack param2,
                             String param3,
                             List param4)

importResources

public static void importResources(String param0,
                                   String param1,
                                   List param2)