Showing
1 changed file
with
6 additions
and
0 deletions
... | @@ -52,6 +52,9 @@ public class ListPublisherVersionsView implements Serializable { | ... | @@ -52,6 +52,9 @@ public class ListPublisherVersionsView implements Serializable { |
52 | //no args constructor to make it proxyable | 52 | //no args constructor to make it proxyable |
53 | } | 53 | } |
54 | 54 | ||
55 | + /** | ||
56 | + * Sets view up according to availability of Id in stringId | ||
57 | + */ | ||
55 | @PostConstruct | 58 | @PostConstruct |
56 | @RequestAction | 59 | @RequestAction |
57 | public void init() { | 60 | public void init() { |
... | @@ -75,6 +78,9 @@ public class ListPublisherVersionsView implements Serializable { | ... | @@ -75,6 +78,9 @@ public class ListPublisherVersionsView implements Serializable { |
75 | } | 78 | } |
76 | } | 79 | } |
77 | 80 | ||
81 | + /** | ||
82 | + * Filters on Id | ||
83 | + */ | ||
78 | protected void filterOnID() { | 84 | protected void filterOnID() { |
79 | publisherVersions = publisherVersions.stream() | 85 | publisherVersions = publisherVersions.stream() |
80 | .filter(version -> version.getPublisher().getPublisherId() == publisherId) | 86 | .filter(version -> version.getPublisher().getPublisherId() == publisherId) | ... | ... |
-
Please register or login to post a comment