Source Code Cross Referenced for AssignmentService.java in  » ERP-CRM-Financial » sakai » org » sakaiproject » assignment » cover » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » ERP CRM Financial » sakai » org.sakaiproject.assignment.cover 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /**********************************************************************************
002:         * $URL: https://source.sakaiproject.org/svn/assignment/tags/sakai_2-4-1/assignment-api/api/src/java/org/sakaiproject/assignment/cover/AssignmentService.java $
003:         * $Id: AssignmentService.java 10870 2006-06-19 14:17:26Z zqian@umich.edu $
004:         ***********************************************************************************
005:         *
006:         * Copyright (c) 2003, 2004, 2005, 2006 The Sakai Foundation.
007:         * 
008:         * Licensed under the Educational Community License, Version 1.0 (the "License"); 
009:         * you may not use this file except in compliance with the License. 
010:         * You may obtain a copy of the License at
011:         * 
012:         *      http://www.opensource.org/licenses/ecl1.php
013:         * 
014:         * Unless required by applicable law or agreed to in writing, software 
015:         * distributed under the License is distributed on an "AS IS" BASIS, 
016:         * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 
017:         * See the License for the specific language governing permissions and 
018:         * limitations under the License.
019:         *
020:         **********************************************************************************/package org.sakaiproject.assignment.cover;
021:
022:        import java.util.Set;
023:        import java.util.Vector;
024:
025:        import org.sakaiproject.component.cover.ComponentManager;
026:
027:        /**
028:         * <p>
029:         * AssignmentService is a static Cover for the {@link org.sakaiproject.assignment.api.AssignmentService AssignmentService}; see that interface for usage details.
030:         * </p>
031:         */
032:        public class AssignmentService {
033:            /**
034:             * Access the component instance: special cover only method.
035:             * 
036:             * @return the component instance.
037:             */
038:            public static org.sakaiproject.assignment.api.AssignmentService getInstance() {
039:                if (ComponentManager.CACHE_COMPONENTS) {
040:                    if (m_instance == null)
041:                        m_instance = (org.sakaiproject.assignment.api.AssignmentService) ComponentManager
042:                                .get(org.sakaiproject.assignment.api.AssignmentService.class);
043:                    return m_instance;
044:                } else {
045:                    return (org.sakaiproject.assignment.api.AssignmentService) ComponentManager
046:                            .get(org.sakaiproject.assignment.api.AssignmentService.class);
047:                }
048:            }
049:
050:            private static org.sakaiproject.assignment.api.AssignmentService m_instance = null;
051:
052:            public static java.lang.String APPLICATION_ID = org.sakaiproject.assignment.api.AssignmentService.APPLICATION_ID;
053:
054:            public static java.lang.String REFERENCE_ROOT = org.sakaiproject.assignment.api.AssignmentService.REFERENCE_ROOT;
055:
056:            public static java.lang.String SECURE_ALL_GROUPS = org.sakaiproject.assignment.api.AssignmentService.SECURE_ALL_GROUPS;
057:
058:            public static java.lang.String SECURE_ADD_ASSIGNMENT = org.sakaiproject.assignment.api.AssignmentService.SECURE_ADD_ASSIGNMENT;
059:
060:            public static java.lang.String SECURE_ADD_ASSIGNMENT_CONTENT = org.sakaiproject.assignment.api.AssignmentService.SECURE_ADD_ASSIGNMENT_CONTENT;
061:
062:            public static java.lang.String SECURE_ADD_ASSIGNMENT_SUBMISSION = org.sakaiproject.assignment.api.AssignmentService.SECURE_ADD_ASSIGNMENT_SUBMISSION;
063:
064:            public static java.lang.String SECURE_REMOVE_ASSIGNMENT = org.sakaiproject.assignment.api.AssignmentService.SECURE_REMOVE_ASSIGNMENT;
065:
066:            public static java.lang.String SECURE_REMOVE_ASSIGNMENT_CONTENT = org.sakaiproject.assignment.api.AssignmentService.SECURE_REMOVE_ASSIGNMENT_CONTENT;
067:
068:            public static java.lang.String SECURE_REMOVE_ASSIGNMENT_SUBMISSION = org.sakaiproject.assignment.api.AssignmentService.SECURE_REMOVE_ASSIGNMENT_SUBMISSION;
069:
070:            public static java.lang.String SECURE_ACCESS_ASSIGNMENT = org.sakaiproject.assignment.api.AssignmentService.SECURE_ACCESS_ASSIGNMENT;
071:
072:            public static java.lang.String SECURE_ACCESS_ASSIGNMENT_CONTENT = org.sakaiproject.assignment.api.AssignmentService.SECURE_ACCESS_ASSIGNMENT_CONTENT;
073:
074:            public static java.lang.String SECURE_ACCESS_ASSIGNMENT_SUBMISSION = org.sakaiproject.assignment.api.AssignmentService.SECURE_ACCESS_ASSIGNMENT_SUBMISSION;
075:
076:            public static java.lang.String SECURE_UPDATE_ASSIGNMENT = org.sakaiproject.assignment.api.AssignmentService.SECURE_UPDATE_ASSIGNMENT;
077:
078:            public static java.lang.String SECURE_UPDATE_ASSIGNMENT_CONTENT = org.sakaiproject.assignment.api.AssignmentService.SECURE_UPDATE_ASSIGNMENT_CONTENT;
079:
080:            public static java.lang.String SECURE_UPDATE_ASSIGNMENT_SUBMISSION = org.sakaiproject.assignment.api.AssignmentService.SECURE_UPDATE_ASSIGNMENT_SUBMISSION;
081:
082:            public static java.lang.String SECURE_GRADE_ASSIGNMENT_SUBMISSION = org.sakaiproject.assignment.api.AssignmentService.SECURE_GRADE_ASSIGNMENT_SUBMISSION;
083:
084:            public static java.lang.String REF_TYPE_ASSIGNMENT = org.sakaiproject.assignment.api.AssignmentService.REF_TYPE_ASSIGNMENT;
085:
086:            public static java.lang.String REF_TYPE_SUBMISSION = org.sakaiproject.assignment.api.AssignmentService.REF_TYPE_SUBMISSION;
087:
088:            public static java.lang.String REF_TYPE_CONTENT = org.sakaiproject.assignment.api.AssignmentService.REF_TYPE_CONTENT;
089:
090:            public static java.lang.String REF_TYPE_GRADES = org.sakaiproject.assignment.api.AssignmentService.REF_TYPE_GRADES;
091:
092:            public static java.lang.String REF_TYPE_SUBMISSIONS = org.sakaiproject.assignment.api.AssignmentService.REF_TYPE_SUBMISSIONS;
093:
094:            public static java.lang.String REF_TYPE_SITE_GROUPS = org.sakaiproject.assignment.api.AssignmentService.REF_TYPE_SITE_GROUPS;
095:
096:            public static boolean allowAddAssignment(java.lang.String param0) {
097:                org.sakaiproject.assignment.api.AssignmentService service = getInstance();
098:                if (service == null)
099:                    return false;
100:
101:                return service.allowAddAssignment(param0);
102:            }
103:
104:            public static boolean allowAddSiteAssignment(java.lang.String param0) {
105:                org.sakaiproject.assignment.api.AssignmentService service = getInstance();
106:                if (service == null)
107:                    return false;
108:
109:                return service.allowAddSiteAssignment(param0);
110:            }
111:
112:            public static java.util.Collection getGroupsAllowAddAssignment(
113:                    java.lang.String param0) {
114:                org.sakaiproject.assignment.api.AssignmentService service = getInstance();
115:                if (service == null)
116:                    return new Vector();
117:
118:                return service.getGroupsAllowAddAssignment(param0);
119:            }
120:
121:            public static boolean allowGetAssignment(java.lang.String param0) {
122:                org.sakaiproject.assignment.api.AssignmentService service = getInstance();
123:                if (service == null)
124:                    return false;
125:
126:                return service.allowGetAssignment(param0);
127:            }
128:
129:            public static boolean allowUpdateAssignment(java.lang.String param0) {
130:                org.sakaiproject.assignment.api.AssignmentService service = getInstance();
131:                if (service == null)
132:                    return false;
133:
134:                return service.allowUpdateAssignment(param0);
135:            }
136:
137:            public static boolean allowRemoveAssignment(java.lang.String param0) {
138:                org.sakaiproject.assignment.api.AssignmentService service = getInstance();
139:                if (service == null)
140:                    return false;
141:
142:                return service.allowRemoveAssignment(param0);
143:            }
144:
145:            public static boolean allowAddAssignmentContent(
146:                    java.lang.String param0) {
147:                org.sakaiproject.assignment.api.AssignmentService service = getInstance();
148:                if (service == null)
149:                    return false;
150:
151:                return service.allowAddAssignmentContent(param0);
152:            }
153:
154:            public static boolean allowGetAssignmentContent(
155:                    java.lang.String param0) {
156:                org.sakaiproject.assignment.api.AssignmentService service = getInstance();
157:                if (service == null)
158:                    return false;
159:
160:                return service.allowGetAssignmentContent(param0);
161:            }
162:
163:            public static boolean allowUpdateAssignmentContent(
164:                    java.lang.String param0) {
165:                org.sakaiproject.assignment.api.AssignmentService service = getInstance();
166:                if (service == null)
167:                    return false;
168:
169:                return service.allowUpdateAssignmentContent(param0);
170:            }
171:
172:            public static boolean allowRemoveAssignmentContent(
173:                    java.lang.String param0) {
174:                org.sakaiproject.assignment.api.AssignmentService service = getInstance();
175:                if (service == null)
176:                    return false;
177:
178:                return service.allowRemoveAssignmentContent(param0);
179:            }
180:
181:            public static boolean allowAddSubmission(java.lang.String param0) {
182:                org.sakaiproject.assignment.api.AssignmentService service = getInstance();
183:                if (service == null)
184:                    return false;
185:
186:                return service.allowAddSubmission(param0);
187:            }
188:
189:            public static java.util.List allowAddSubmissionUsers(
190:                    java.lang.String param0) {
191:                org.sakaiproject.assignment.api.AssignmentService service = getInstance();
192:                if (service == null)
193:                    return null;
194:
195:                return service.allowAddSubmissionUsers(param0);
196:            }
197:
198:            public static java.util.List allowAddAssignmentUsers(
199:                    java.lang.String param0) {
200:                org.sakaiproject.assignment.api.AssignmentService service = getInstance();
201:                if (service == null)
202:                    return null;
203:
204:                return service.allowAddAssignmentUsers(param0);
205:            }
206:
207:            public static boolean allowGetSubmission(java.lang.String param0) {
208:                org.sakaiproject.assignment.api.AssignmentService service = getInstance();
209:                if (service == null)
210:                    return false;
211:
212:                return service.allowGetSubmission(param0);
213:            }
214:
215:            public static boolean allowUpdateSubmission(java.lang.String param0) {
216:                org.sakaiproject.assignment.api.AssignmentService service = getInstance();
217:                if (service == null)
218:                    return false;
219:
220:                return service.allowUpdateSubmission(param0);
221:            }
222:
223:            public static boolean allowRemoveSubmission(java.lang.String param0) {
224:                org.sakaiproject.assignment.api.AssignmentService service = getInstance();
225:                if (service == null)
226:                    return false;
227:
228:                return service.allowRemoveSubmission(param0);
229:            }
230:
231:            public static boolean allowGradeSubmission(String param0) {
232:                org.sakaiproject.assignment.api.AssignmentService service = getInstance();
233:                if (service == null)
234:                    return false;
235:
236:                return service.allowGradeSubmission(param0);
237:            }
238:
239:            public static org.sakaiproject.assignment.api.AssignmentEdit addAssignment(
240:                    java.lang.String param0)
241:                    throws org.sakaiproject.exception.PermissionException {
242:                org.sakaiproject.assignment.api.AssignmentService service = getInstance();
243:                if (service == null)
244:                    return null;
245:
246:                return service.addAssignment(param0);
247:            }
248:
249:            public static org.sakaiproject.assignment.api.AssignmentEdit mergeAssignment(
250:                    org.w3c.dom.Element param0)
251:                    throws org.sakaiproject.exception.IdInvalidException,
252:                    org.sakaiproject.exception.IdUsedException,
253:                    org.sakaiproject.exception.PermissionException {
254:                org.sakaiproject.assignment.api.AssignmentService service = getInstance();
255:                if (service == null)
256:                    return null;
257:
258:                return service.mergeAssignment(param0);
259:            }
260:
261:            public static org.sakaiproject.assignment.api.AssignmentEdit addDuplicateAssignment(
262:                    java.lang.String param0, java.lang.String param1)
263:                    throws org.sakaiproject.exception.IdInvalidException,
264:                    org.sakaiproject.exception.PermissionException,
265:                    org.sakaiproject.exception.IdUsedException,
266:                    org.sakaiproject.exception.IdUnusedException {
267:                org.sakaiproject.assignment.api.AssignmentService service = getInstance();
268:                if (service == null)
269:                    return null;
270:
271:                return service.addDuplicateAssignment(param0, param1);
272:            }
273:
274:            public static void removeAssignment(
275:                    org.sakaiproject.assignment.api.AssignmentEdit param0)
276:                    throws org.sakaiproject.exception.PermissionException {
277:                org.sakaiproject.assignment.api.AssignmentService service = getInstance();
278:                if (service == null)
279:                    return;
280:
281:                service.removeAssignment(param0);
282:            }
283:
284:            public static org.sakaiproject.assignment.api.AssignmentEdit editAssignment(
285:                    java.lang.String param0)
286:                    throws org.sakaiproject.exception.IdUnusedException,
287:                    org.sakaiproject.exception.PermissionException,
288:                    org.sakaiproject.exception.InUseException {
289:                org.sakaiproject.assignment.api.AssignmentService service = getInstance();
290:                if (service == null)
291:                    return null;
292:
293:                return service.editAssignment(param0);
294:            }
295:
296:            public static void commitEdit(
297:                    org.sakaiproject.assignment.api.AssignmentContentEdit param0) {
298:                org.sakaiproject.assignment.api.AssignmentService service = getInstance();
299:                if (service == null)
300:                    return;
301:
302:                service.commitEdit(param0);
303:            }
304:
305:            public static void commitEdit(
306:                    org.sakaiproject.assignment.api.AssignmentEdit param0) {
307:                org.sakaiproject.assignment.api.AssignmentService service = getInstance();
308:                if (service == null)
309:                    return;
310:
311:                service.commitEdit(param0);
312:            }
313:
314:            public static void commitEdit(
315:                    org.sakaiproject.assignment.api.AssignmentSubmissionEdit param0) {
316:                org.sakaiproject.assignment.api.AssignmentService service = getInstance();
317:                if (service == null)
318:                    return;
319:
320:                service.commitEdit(param0);
321:            }
322:
323:            public static void cancelEdit(
324:                    org.sakaiproject.assignment.api.AssignmentSubmissionEdit param0) {
325:                org.sakaiproject.assignment.api.AssignmentService service = getInstance();
326:                if (service == null)
327:                    return;
328:
329:                service.cancelEdit(param0);
330:            }
331:
332:            public static void cancelEdit(
333:                    org.sakaiproject.assignment.api.AssignmentContentEdit param0) {
334:                org.sakaiproject.assignment.api.AssignmentService service = getInstance();
335:                if (service == null)
336:                    return;
337:
338:                service.cancelEdit(param0);
339:            }
340:
341:            public static void cancelEdit(
342:                    org.sakaiproject.assignment.api.AssignmentEdit param0) {
343:                org.sakaiproject.assignment.api.AssignmentService service = getInstance();
344:                if (service == null)
345:                    return;
346:
347:                service.cancelEdit(param0);
348:            }
349:
350:            public static org.sakaiproject.assignment.api.AssignmentContentEdit addAssignmentContent(
351:                    java.lang.String param0)
352:                    throws org.sakaiproject.exception.PermissionException {
353:                org.sakaiproject.assignment.api.AssignmentService service = getInstance();
354:                if (service == null)
355:                    return null;
356:
357:                return service.addAssignmentContent(param0);
358:            }
359:
360:            public static org.sakaiproject.assignment.api.AssignmentContentEdit mergeAssignmentContent(
361:                    org.w3c.dom.Element param0)
362:                    throws org.sakaiproject.exception.IdInvalidException,
363:                    org.sakaiproject.exception.IdUsedException,
364:                    org.sakaiproject.exception.PermissionException {
365:                org.sakaiproject.assignment.api.AssignmentService service = getInstance();
366:                if (service == null)
367:                    return null;
368:
369:                return service.mergeAssignmentContent(param0);
370:            }
371:
372:            public static org.sakaiproject.assignment.api.AssignmentContentEdit addDuplicateAssignmentContent(
373:                    java.lang.String param0, java.lang.String param1)
374:                    throws org.sakaiproject.exception.IdInvalidException,
375:                    org.sakaiproject.exception.PermissionException,
376:                    org.sakaiproject.exception.IdUnusedException {
377:                org.sakaiproject.assignment.api.AssignmentService service = getInstance();
378:                if (service == null)
379:                    return null;
380:
381:                return service.addDuplicateAssignmentContent(param0, param1);
382:            }
383:
384:            public static void removeAssignmentContent(
385:                    org.sakaiproject.assignment.api.AssignmentContentEdit param0)
386:                    throws org.sakaiproject.assignment.api.AssignmentContentNotEmptyException,
387:                    org.sakaiproject.exception.PermissionException {
388:                org.sakaiproject.assignment.api.AssignmentService service = getInstance();
389:                if (service == null)
390:                    return;
391:
392:                service.removeAssignmentContent(param0);
393:            }
394:
395:            public static org.sakaiproject.assignment.api.AssignmentContentEdit editAssignmentContent(
396:                    java.lang.String param0)
397:                    throws org.sakaiproject.exception.IdUnusedException,
398:                    org.sakaiproject.exception.PermissionException,
399:                    org.sakaiproject.exception.InUseException {
400:                org.sakaiproject.assignment.api.AssignmentService service = getInstance();
401:                if (service == null)
402:                    return null;
403:
404:                return service.editAssignmentContent(param0);
405:            }
406:
407:            public static org.sakaiproject.assignment.api.AssignmentSubmissionEdit addSubmission(
408:                    java.lang.String param0, java.lang.String param1)
409:                    throws org.sakaiproject.exception.PermissionException {
410:                org.sakaiproject.assignment.api.AssignmentService service = getInstance();
411:                if (service == null)
412:                    return null;
413:
414:                return service.addSubmission(param0, param1);
415:            }
416:
417:            public static org.sakaiproject.assignment.api.AssignmentSubmissionEdit mergeSubmission(
418:                    org.w3c.dom.Element param0)
419:                    throws org.sakaiproject.exception.IdInvalidException,
420:                    org.sakaiproject.exception.IdUsedException,
421:                    org.sakaiproject.exception.PermissionException {
422:                org.sakaiproject.assignment.api.AssignmentService service = getInstance();
423:                if (service == null)
424:                    return null;
425:
426:                return service.mergeSubmission(param0);
427:            }
428:
429:            public static void removeSubmission(
430:                    org.sakaiproject.assignment.api.AssignmentSubmissionEdit param0)
431:                    throws org.sakaiproject.exception.PermissionException {
432:                org.sakaiproject.assignment.api.AssignmentService service = getInstance();
433:                if (service == null)
434:                    return;
435:
436:                service.removeSubmission(param0);
437:            }
438:
439:            public static org.sakaiproject.assignment.api.AssignmentSubmissionEdit editSubmission(
440:                    java.lang.String param0)
441:                    throws org.sakaiproject.exception.IdUnusedException,
442:                    org.sakaiproject.exception.PermissionException,
443:                    org.sakaiproject.exception.InUseException {
444:                org.sakaiproject.assignment.api.AssignmentService service = getInstance();
445:                if (service == null)
446:                    return null;
447:
448:                return service.editSubmission(param0);
449:            }
450:
451:            public static java.util.Iterator getAssignmentContents(
452:                    org.sakaiproject.user.api.User param0) {
453:                org.sakaiproject.assignment.api.AssignmentService service = getInstance();
454:                if (service == null)
455:                    return null;
456:
457:                return service.getAssignmentContents(param0);
458:            }
459:
460:            public static org.sakaiproject.assignment.api.Assignment getAssignment(
461:                    java.lang.String param0)
462:                    throws org.sakaiproject.exception.IdUnusedException,
463:                    org.sakaiproject.exception.PermissionException {
464:                org.sakaiproject.assignment.api.AssignmentService service = getInstance();
465:                if (service == null)
466:                    return null;
467:
468:                return service.getAssignment(param0);
469:            }
470:
471:            public static org.sakaiproject.assignment.api.AssignmentContent getAssignmentContent(
472:                    java.lang.String param0)
473:                    throws org.sakaiproject.exception.IdUnusedException,
474:                    org.sakaiproject.exception.PermissionException {
475:                org.sakaiproject.assignment.api.AssignmentService service = getInstance();
476:                if (service == null)
477:                    return null;
478:
479:                return service.getAssignmentContent(param0);
480:            }
481:
482:            public static org.sakaiproject.assignment.api.AssignmentSubmission getSubmission(
483:                    java.lang.String param0)
484:                    throws org.sakaiproject.exception.IdUnusedException,
485:                    org.sakaiproject.exception.PermissionException {
486:                org.sakaiproject.assignment.api.AssignmentService service = getInstance();
487:                if (service == null)
488:                    return null;
489:
490:                return service.getSubmission(param0);
491:            }
492:
493:            public static org.sakaiproject.assignment.api.AssignmentSubmission getSubmission(
494:                    java.lang.String param0,
495:                    org.sakaiproject.user.api.User param1)
496:                    throws org.sakaiproject.exception.IdUnusedException,
497:                    org.sakaiproject.exception.PermissionException {
498:                org.sakaiproject.assignment.api.AssignmentService service = getInstance();
499:                if (service == null)
500:                    return null;
501:
502:                return service.getSubmission(param0, param1);
503:            }
504:
505:            public static java.util.Iterator getAssignments(
506:                    org.sakaiproject.assignment.api.AssignmentContent param0) {
507:                org.sakaiproject.assignment.api.AssignmentService service = getInstance();
508:                if (service == null)
509:                    return null;
510:
511:                return service.getAssignments(param0);
512:            }
513:
514:            public static java.util.Iterator getAssignmentsForContext(
515:                    java.lang.String param0) {
516:                org.sakaiproject.assignment.api.AssignmentService service = getInstance();
517:                if (service == null)
518:                    return null;
519:
520:                return service.getAssignmentsForContext(param0);
521:            }
522:
523:            public static java.util.List getListAssignmentsForContext(
524:                    java.lang.String param0) {
525:                org.sakaiproject.assignment.api.AssignmentService service = getInstance();
526:                if (service == null)
527:                    return null;
528:
529:                return service.getListAssignmentsForContext(param0);
530:            }
531:
532:            public static java.util.Iterator getSubmissions(
533:                    org.sakaiproject.assignment.api.Assignment param0) {
534:                org.sakaiproject.assignment.api.AssignmentService service = getInstance();
535:                if (service == null)
536:                    return null;
537:
538:                return service.getSubmissions(param0);
539:            }
540:
541:            public static byte[] getGradesSpreadsheet(java.lang.String param0)
542:                    throws org.sakaiproject.exception.IdUnusedException,
543:                    org.sakaiproject.exception.PermissionException {
544:                org.sakaiproject.assignment.api.AssignmentService service = getInstance();
545:                if (service == null)
546:                    return null;
547:
548:                return service.getGradesSpreadsheet(param0);
549:            }
550:
551:            public static byte[] getSubmissionsZip(java.lang.String param0)
552:                    throws org.sakaiproject.exception.IdUnusedException,
553:                    org.sakaiproject.exception.PermissionException {
554:                org.sakaiproject.assignment.api.AssignmentService service = getInstance();
555:                if (service == null)
556:                    return null;
557:
558:                return service.getSubmissionsZip(param0);
559:            }
560:
561:            public static java.lang.String assignmentReference(
562:                    java.lang.String param0, java.lang.String param1) {
563:                org.sakaiproject.assignment.api.AssignmentService service = getInstance();
564:                if (service == null)
565:                    return null;
566:
567:                return service.assignmentReference(param0, param1);
568:            }
569:
570:            public static java.lang.String contentReference(
571:                    java.lang.String param0, java.lang.String param1) {
572:                org.sakaiproject.assignment.api.AssignmentService service = getInstance();
573:                if (service == null)
574:                    return null;
575:
576:                return service.contentReference(param0, param1);
577:            }
578:
579:            public static java.lang.String submissionReference(
580:                    java.lang.String param0, java.lang.String param1,
581:                    java.lang.String param2) {
582:                org.sakaiproject.assignment.api.AssignmentService service = getInstance();
583:                if (service == null)
584:                    return null;
585:
586:                return service.submissionReference(param0, param1, param2);
587:            }
588:
589:            public static java.lang.String gradesSpreadsheetReference(
590:                    java.lang.String param0, java.lang.String param1) {
591:                org.sakaiproject.assignment.api.AssignmentService service = getInstance();
592:                if (service == null)
593:                    return null;
594:
595:                return service.gradesSpreadsheetReference(param0, param1);
596:            }
597:
598:            public static java.lang.String submissionsZipReference(
599:                    java.lang.String param0, java.lang.String param1) {
600:                org.sakaiproject.assignment.api.AssignmentService service = getInstance();
601:                if (service == null)
602:                    return null;
603:
604:                return service.submissionsZipReference(param0, param1);
605:            }
606:
607:            public static java.lang.String merge(java.lang.String param0,
608:                    org.w3c.dom.Element param1, java.lang.String param2,
609:                    java.lang.String param3, java.util.Map param4,
610:                    java.util.HashMap param5, Set param6) {
611:                org.sakaiproject.assignment.api.AssignmentService service = getInstance();
612:                if (service == null)
613:                    return null;
614:
615:                return service.merge(param0, param1, param2, param3, param4,
616:                        param5, param6);
617:            }
618:
619:            public static java.lang.String getLabel() {
620:                org.sakaiproject.assignment.api.AssignmentService service = getInstance();
621:                if (service == null)
622:                    return null;
623:
624:                return service.getLabel();
625:            }
626:
627:            public static java.lang.String archive(java.lang.String param0,
628:                    org.w3c.dom.Document param1, java.util.Stack param2,
629:                    java.lang.String param3, java.util.List param4) {
630:                org.sakaiproject.assignment.api.AssignmentService service = getInstance();
631:                if (service == null)
632:                    return null;
633:
634:                return service.archive(param0, param1, param2, param3, param4);
635:            }
636:
637:            public static boolean getAllowGroupAssignments() {
638:                org.sakaiproject.assignment.api.AssignmentService service = getInstance();
639:                if (service == null)
640:                    return false;
641:
642:                return service.getAllowGroupAssignments();
643:            }
644:
645:            public static boolean getAllowGroupAssignmentsInGradebook() {
646:                org.sakaiproject.assignment.api.AssignmentService service = getInstance();
647:                if (service == null)
648:                    return false;
649:
650:                return service.getAllowGroupAssignmentsInGradebook();
651:            }
652:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.