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
cf4d02a7
Commit
cf4d02a7
authored
8 years ago
by
Daniel Gerhardt
Browse files
Options
Downloads
Plain Diff
Merge branch '2.x'
parents
fabd07a7
9d439cbc
Branches
Branches containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/main/java/de/thm/arsnova/entities/Motd.java
+43
-43
43 additions, 43 deletions
src/main/java/de/thm/arsnova/entities/Motd.java
src/main/java/de/thm/arsnova/entities/MotdList.java
+10
-10
10 additions, 10 deletions
src/main/java/de/thm/arsnova/entities/MotdList.java
with
53 additions
and
53 deletions
src/main/java/de/thm/arsnova/entities/Motd.java
+
43
−
43
View file @
cf4d02a7
...
...
@@ -28,61 +28,61 @@ import java.util.Date;
@ApiModel
(
value
=
"motd"
,
description
=
"the message of the day entity"
)
public
class
Motd
{
private
String
motdkey
;
//ID
private
Date
startdate
;
private
Date
enddate
;
private
String
title
;
private
String
text
;
private
String
motdkey
;
//ID
private
Date
startdate
;
private
Date
enddate
;
private
String
title
;
private
String
text
;
private
String
audience
;
private
String
sessionId
;
private
String
sessionkey
;
private
String
_id
;
private
String
_rev
;
@ApiModelProperty
(
required
=
true
,
value
=
"the identification string"
)
public
String
getMotdkey
()
{
return
motdkey
;
}
@ApiModelProperty
(
required
=
true
,
value
=
"the identification string"
)
public
String
getMotdkey
()
{
return
motdkey
;
}
public
void
setMotdkey
(
final
String
key
)
{
motdkey
=
key
;
}
public
void
setMotdkey
(
final
String
key
)
{
motdkey
=
key
;
}
@ApiModelProperty
(
required
=
true
,
value
=
"startdate for showing this message (timestamp format)"
)
public
Date
getStartdate
()
{
return
startdate
;
}
public
Date
getStartdate
()
{
return
startdate
;
}
public
void
setStartdate
(
final
Date
timestamp
)
{
startdate
=
timestamp
;
}
public
void
setStartdate
(
final
Date
timestamp
)
{
startdate
=
timestamp
;
}
@ApiModelProperty
(
required
=
true
,
value
=
"enddate for showing this message (timestamp format)"
)
public
Date
getEnddate
()
{
return
enddate
;
}
@ApiModelProperty
(
required
=
true
,
value
=
"enddate for showing this message (timestamp format)"
)
public
Date
getEnddate
()
{
return
enddate
;
}
public
void
setEnddate
(
final
Date
timestamp
)
{
enddate
=
timestamp
;
}
public
void
setEnddate
(
final
Date
timestamp
)
{
enddate
=
timestamp
;
}
@ApiModelProperty
(
required
=
true
,
value
=
"tite of the message"
)
public
String
getTitle
()
{
return
title
;
}
@ApiModelProperty
(
required
=
true
,
value
=
"tite of the message"
)
public
String
getTitle
()
{
return
title
;
}
public
void
setTitle
(
final
String
ttitle
)
{
title
=
ttitle
;
}
public
void
setTitle
(
final
String
ttitle
)
{
title
=
ttitle
;
}
@ApiModelProperty
(
required
=
true
,
value
=
"text of the message"
)
public
String
getText
()
{
return
text
;
}
@ApiModelProperty
(
required
=
true
,
value
=
"text of the message"
)
public
String
getText
()
{
return
text
;
}
public
void
setText
(
final
String
ttext
)
{
text
=
ttext
;
}
public
void
setText
(
final
String
ttext
)
{
text
=
ttext
;
}
@ApiModelProperty
(
required
=
true
,
value
=
"defines the target audience for this motd (one of the following: 'student', 'tutor', 'loggedIn', 'all')"
)
public
String
getAudience
()
{
...
...
@@ -110,14 +110,14 @@ public class Motd {
sessionkey
=
a
;
}
@ApiModelProperty
(
required
=
true
,
value
=
"the couchDB ID"
)
@ApiModelProperty
(
required
=
true
,
value
=
"the couchDB ID"
)
public
String
get_id
()
{
return
_id
;
}
public
void
set_id
(
final
String
id
)
{
_id
=
id
;
}
public
void
set_id
(
final
String
id
)
{
_id
=
id
;
}
public
void
set_rev
(
final
String
rev
)
{
_rev
=
rev
;
...
...
This diff is collapsed.
Click to expand it.
src/main/java/de/thm/arsnova/entities/MotdList.java
+
10
−
10
View file @
cf4d02a7
...
...
@@ -26,7 +26,7 @@ import io.swagger.annotations.ApiModelProperty;
@ApiModel
(
value
=
"motdlist"
,
description
=
"the motdlist to save the messages a user has confirmed to be read"
)
public
class
MotdList
{
private
String
motdkeys
;
private
String
motdkeys
;
private
String
username
;
private
String
_id
;
private
String
_rev
;
...
...
@@ -40,23 +40,23 @@ public class MotdList {
motdkeys
=
motds
;
}
@ApiModelProperty
(
required
=
true
,
value
=
"the username"
)
public
String
getUsername
()
{
return
username
;
}
@ApiModelProperty
(
required
=
true
,
value
=
"the username"
)
public
String
getUsername
()
{
return
username
;
}
public
void
setUsername
(
final
String
u
)
{
public
void
setUsername
(
final
String
u
)
{
username
=
u
;
}
@ApiModelProperty
(
required
=
true
,
value
=
"the couchDB ID"
)
@ApiModelProperty
(
required
=
true
,
value
=
"the couchDB ID"
)
public
String
get_id
()
{
return
_id
;
}
public
void
set_id
(
final
String
id
)
{
_id
=
id
;
}
public
void
set_id
(
final
String
id
)
{
_id
=
id
;
}
public
void
set_rev
(
final
String
rev
)
{
_rev
=
rev
;
...
...
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