Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
OLAT CI-CD Testing Project
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Lars Oliver Dam
OLAT CI-CD Testing Project
Commits
19832f34
Commit
19832f34
authored
13 years ago
by
strentini
Browse files
Options
Downloads
Patches
Plain Diff
OO-179 : removed one attribute from wikiVO : isGroupWiki ( wikiVO are now all repo-wikis)
parent
52208e49
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/main/java/org/olat/modules/wiki/restapi/WikisWebService.java
+0
-1
0 additions, 1 deletion
...n/java/org/olat/modules/wiki/restapi/WikisWebService.java
src/main/java/org/olat/modules/wiki/restapi/vo/WikiVO.java
+0
-14
0 additions, 14 deletions
src/main/java/org/olat/modules/wiki/restapi/vo/WikiVO.java
with
0 additions
and
15 deletions
src/main/java/org/olat/modules/wiki/restapi/WikisWebService.java
+
0
−
1
View file @
19832f34
...
@@ -116,7 +116,6 @@ public class WikisWebService {
...
@@ -116,7 +116,6 @@ public class WikisWebService {
private
static
WikiVO
wikivoFromRepoEntry
(
RepositoryEntry
entry
)
{
private
static
WikiVO
wikivoFromRepoEntry
(
RepositoryEntry
entry
)
{
WikiVO
wiki
=
new
WikiVO
();
WikiVO
wiki
=
new
WikiVO
();
wiki
.
setGroupWiki
(
false
);
wiki
.
setTitle
(
entry
.
getDisplayname
());
wiki
.
setTitle
(
entry
.
getDisplayname
());
wiki
.
setKey
(
entry
.
getResourceableId
());
wiki
.
setKey
(
entry
.
getResourceableId
());
wiki
.
setSoftkey
(
entry
.
getSoftkey
());
wiki
.
setSoftkey
(
entry
.
getSoftkey
());
...
...
This diff is collapsed.
Click to expand it.
src/main/java/org/olat/modules/wiki/restapi/vo/WikiVO.java
+
0
−
14
View file @
19832f34
...
@@ -55,11 +55,6 @@ public class WikiVO {
...
@@ -55,11 +55,6 @@ public class WikiVO {
}
}
/**
* for groupWikis, this is true, for "normal" repository-Wikis this is false
*/
private
boolean
isGroupWiki
;
public
Long
getKey
()
{
public
Long
getKey
()
{
return
key
;
return
key
;
}
}
...
@@ -72,10 +67,6 @@ public class WikiVO {
...
@@ -72,10 +67,6 @@ public class WikiVO {
return
title
;
return
title
;
}
}
public
boolean
isGroupWiki
()
{
return
isGroupWiki
;
}
public
void
setKey
(
Long
key
)
{
public
void
setKey
(
Long
key
)
{
this
.
key
=
key
;
this
.
key
=
key
;
}
}
...
@@ -88,15 +79,10 @@ public class WikiVO {
...
@@ -88,15 +79,10 @@ public class WikiVO {
this
.
title
=
title
;
this
.
title
=
title
;
}
}
public
void
setGroupWiki
(
boolean
isGroupWiki
)
{
this
.
isGroupWiki
=
isGroupWiki
;
}
@Override
@Override
public
String
toString
()
{
public
String
toString
()
{
StringBuilder
sb
=
new
StringBuilder
();
StringBuilder
sb
=
new
StringBuilder
();
sb
.
append
(
"WikiVO[key="
).
append
(
key
).
append
(
":title="
).
append
(
title
);
sb
.
append
(
"WikiVO[key="
).
append
(
key
).
append
(
":title="
).
append
(
title
);
sb
.
append
(
":isGroupWiki="
).
append
(
isGroupWiki
);
sb
.
append
(
"]"
);
sb
.
append
(
"]"
);
return
sb
.
toString
();
return
sb
.
toString
();
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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