Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ARSnova Backend
Manage
Activity
Members
Labels
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Privacy
Imprint
Contact
Snippets
Groups
Projects
Show more breadcrumbs
Paul-Christian Volkmer
ARSnova Backend
Commits
c5792acf
Commit
c5792acf
authored
10 years ago
by
Tom Käsler
Browse files
Options
Downloads
Patches
Plain Diff
convert RPC to REST Style URLs for LectureQuestionController
parent
d204bde6
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/de/thm/arsnova/controller/LecturerQuestionController.java
+4
-4
4 additions, 4 deletions
...de/thm/arsnova/controller/LecturerQuestionController.java
with
4 additions
and
4 deletions
src/main/java/de/thm/arsnova/controller/LecturerQuestionController.java
+
4
−
4
View file @
c5792acf
...
@@ -428,7 +428,7 @@ public class LecturerQuestionController extends AbstractController {
...
@@ -428,7 +428,7 @@ public class LecturerQuestionController extends AbstractController {
}
}
}
}
@RequestMapping
(
value
=
"/
set
subjectsort"
,
method
=
RequestMethod
.
POST
)
@RequestMapping
(
value
=
"/subjectsort"
,
method
=
RequestMethod
.
POST
)
public
void
setSubjectSortOrder
(
public
void
setSubjectSortOrder
(
@RequestParam
(
required
=
true
)
final
String
sessionkey
,
@RequestParam
(
required
=
true
)
final
String
sessionkey
,
@RequestParam
(
required
=
true
)
final
String
sorttype
,
@RequestParam
(
required
=
true
)
final
String
sorttype
,
...
@@ -442,7 +442,7 @@ public class LecturerQuestionController extends AbstractController {
...
@@ -442,7 +442,7 @@ public class LecturerQuestionController extends AbstractController {
}
}
}
}
@RequestMapping
(
value
=
"/
get
subjectsort"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"/subjectsort"
,
method
=
RequestMethod
.
GET
)
public
String
getSubjectSortType
(
public
String
getSubjectSortType
(
@RequestParam
(
required
=
true
)
final
String
sessionkey
,
@RequestParam
(
required
=
true
)
final
String
sessionkey
,
@RequestParam
(
required
=
true
)
final
String
ispreparation
@RequestParam
(
required
=
true
)
final
String
ispreparation
...
@@ -450,7 +450,7 @@ public class LecturerQuestionController extends AbstractController {
...
@@ -450,7 +450,7 @@ public class LecturerQuestionController extends AbstractController {
return
questionService
.
getSubjectSortType
(
sessionkey
,
ispreparation
);
return
questionService
.
getSubjectSortType
(
sessionkey
,
ispreparation
);
}
}
@RequestMapping
(
value
=
"/
set
questionsort"
,
method
=
RequestMethod
.
POST
)
@RequestMapping
(
value
=
"/questionsort"
,
method
=
RequestMethod
.
POST
)
public
void
setQuestionSortOrder
(
public
void
setQuestionSortOrder
(
@RequestParam
(
required
=
true
)
final
String
sessionkey
,
@RequestParam
(
required
=
true
)
final
String
sessionkey
,
@RequestParam
(
required
=
true
)
final
String
subject
,
@RequestParam
(
required
=
true
)
final
String
subject
,
...
@@ -465,7 +465,7 @@ public class LecturerQuestionController extends AbstractController {
...
@@ -465,7 +465,7 @@ public class LecturerQuestionController extends AbstractController {
}
}
}
}
@RequestMapping
(
value
=
"/
get
questionsort"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"/questionsort"
,
method
=
RequestMethod
.
GET
)
public
String
getQuestionSortType
(
public
String
getQuestionSortType
(
@RequestParam
(
required
=
true
)
final
String
sessionkey
,
@RequestParam
(
required
=
true
)
final
String
sessionkey
,
@RequestParam
(
required
=
true
)
final
String
subject
,
@RequestParam
(
required
=
true
)
final
String
subject
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment