forked from sakaiproject/sakai
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix some compilation issues with the import work from recent merge.
Wire up the sorting and toggling for the assignment name. Stored in session.
- Loading branch information
1 parent
1c64e5e
commit 04d2cce
Showing
10 changed files
with
98 additions
and
66 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
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
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
20 changes: 18 additions & 2 deletions
20
tool/src/java/org/sakaiproject/gradebookng/business/model/GbAssignmentGradeSortOrder.java
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 |
---|---|---|
@@ -1,19 +1,35 @@ | ||
package org.sakaiproject.gradebookng.business.model; | ||
|
||
import org.sakaiproject.gradebookng.business.SortDirection; | ||
import java.io.Serializable; | ||
|
||
import lombok.Getter; | ||
import lombok.Setter; | ||
|
||
import org.sakaiproject.gradebookng.business.SortDirection; | ||
|
||
/** | ||
* Wrapper for the fields we need to know when sorting an assignment by its grades | ||
*/ | ||
public class GbAssignmentGradeSortOrder { | ||
public class GbAssignmentGradeSortOrder implements Serializable { | ||
|
||
private static final long serialVersionUID = 1L; | ||
|
||
@Getter @Setter | ||
private long assignmentId; | ||
|
||
@Getter @Setter | ||
private SortDirection direction; | ||
|
||
/** | ||
* Constructor to set the values meaning this cannot be an empty object | ||
* @param assignmentId | ||
* @param direction | ||
*/ | ||
public GbAssignmentGradeSortOrder(long assignmentId, SortDirection direction) { | ||
this.assignmentId = assignmentId; | ||
this.direction = direction; | ||
} | ||
|
||
|
||
|
||
} |
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
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
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
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
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
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