Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Riina Antikainen
/
Moya
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit d59f0eda
authored
Jun 06, 2013
by
Tuomas Riihimäki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Printtaus toimii \o/
1 parent
b2593292
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
code/MoyaBeans/ejbModule/fi/codecrew/moya/beans/CardTemplateBean.java
code/MoyaBeans/ejbModule/fi/codecrew/moya/beans/CardTemplateBean.java
View file @
d59f0ed
...
@@ -66,7 +66,7 @@ public class CardTemplateBean implements CardTemplateBeanLocal {
...
@@ -66,7 +66,7 @@ public class CardTemplateBean implements CardTemplateBeanLocal {
private
EventUserFacade
eventUserFacade
;
private
EventUserFacade
eventUserFacade
;
@EJB
@EJB
private
UserBean
Local
userbean
;
private
UserBean
userbean
;
@EJB
@EJB
private
LanEventPropertyFacade
eventPropertyFacade
;
private
LanEventPropertyFacade
eventPropertyFacade
;
...
@@ -186,7 +186,7 @@ public class CardTemplateBean implements CardTemplateBeanLocal {
...
@@ -186,7 +186,7 @@ public class CardTemplateBean implements CardTemplateBeanLocal {
@RolesAllowed
(
UserPermission
.
S_VIEW_ALL
)
@RolesAllowed
(
UserPermission
.
S_VIEW_ALL
)
public
CardTemplate
getUsersCardtype
(
EventUser
user
)
{
public
CardTemplate
getUsersCardtype
(
EventUser
user
)
{
List
<
Role
>
roles
=
userbean
.
f
indUsersRoles
(
user
);
List
<
Role
>
roles
=
userbean
.
localF
indUsersRoles
(
user
);
CardTemplate
greatestTemplate
=
null
;
CardTemplate
greatestTemplate
=
null
;
for
(
Role
listrole
:
roles
)
{
for
(
Role
listrole
:
roles
)
{
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment