forked from sakaiproject/sakai
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
git-svn-id: https://source.sakaiproject.org/svn/lessonbuilder/rutgers/lessonbuilder/trunk@94622 66ffb92e-73f9-0310-93c1-f5514f145a0a
- Loading branch information
Showing
222 changed files
with
21,085 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/bin/sh | ||
|
||
#hbm/target/sakai-lessonbuildertool-hbm-1.0.jar tomcat/shared/lib/sakai-lessonbuildertool-hbm-1.0.jar | ||
#tool/target/sakai-lessonbuildertool-tool-1.0.war to tomcat/webapps/sakai-lessonbuildertool-tool.war | ||
#components/target/sakai-lessonbuildertool-components-1.0.war into tomcat/components/sakai-lessonbuildertool-components | ||
|
||
tar cf dist.tar -C hbm/target sakai-lessonbuildertool-hbm-1.0.jar -C ../../tool/target sakai-lessonbuildertool-tool-1.0.war -C ../../components/target sakai-lessonbuildertool-components-1.0.war | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Froumchooserproducer | ||
forumentity | ||
jforumentity |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
JforumEntity implements LessonEntity | ||
|
||
in service | ||
registerJforum(JforumEntity) | ||
service.getJforum().getentity... | ||
user can check whether getJforum returns null | ||
|
||
call sequences: | ||
ForumEntity.getEntity() | ||
|
||
init { | ||
JforumEntity jforumEntity = service.getJforum(); | ||
} | ||
if (jforumEntity != null) | ||
jforumEntity.getEntity() | ||
|
||
|
||
class LessonEntity | ||
Object actual | ||
int type; actual underlying Sakai type | ||
String reference | ||
static boolean addEntityControl(String ref, String siteId, String groupId) throws IOException { | ||
static boolean removeEntityControl(String ref, String siteId, String groupId) throws IOException { | ||
static LessonEntity getEntity(ref) | ||
String getTitle | ||
String getUrl | ||
Date getDueDate | ||
static LessonSubmission getSubmission(ref, user); | ||
static List<LessonEntity> getEntitiesInSite(siteid); | ||
|
||
class LessonSubmission | ||
Object actual | ||
int type; actual underlying Sakai type | ||
boolean isAvailable; i.e. was it fully submitted | ||
boolean isComplete(item); meets requirements | ||
|
||
|
||
|
||
|
||
GroupPermissionsService.java | ||
|
||
private static boolean addAssignmentControl(String ref, String siteId, String groupId) throws IOException { | ||
private static boolean removeAssignmentControl(String ref, String siteId, String groupId) throws IOException { | ||
wire into | ||
addControl, removeControl | ||
|
||
LessonBuilderEntityProducer | ||
|
||
given ref, look up item and find title | ||
|
||
SimplePageBean.java | ||
|
||
public int getAssignmentTypeOfGrade(String ref) { | ||
given ref, lookup item and find title and due date | ||
given ref, lookup submission for user | ||
submission exists, grade available, grade sufficient; | ||
simplest ui would to pass the ref and user and ask if assignment is complete | ||
|
||
picker | ||
get all items in site | ||
get title | ||
get URL so they can preview it | ||
|
||
ShowPageProducer.java | ||
given ref, find type of grade | ||
given ref, find URL to take | ||
|
||
|
Oops, something went wrong.