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