Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Codecrew
/
Moya
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
30
Merge Requests
2
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 3f9dc3f6
authored
Jun 11, 2014
by
Tuukka Kivilahti
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
also some incomingflow-fixes and one '2 changes at the same time' -fix
1 parent
f7709320
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
2 deletions
code/MoyaBeans/ejbModule/fi/codecrew/moya/beans/CardTemplateBean.java
code/MoyaBeans/ejbModule/fi/codecrew/moya/beans/NetworkAssociationBean.java
code/MoyaBeans/ejbModule/fi/codecrew/moya/beans/ReaderBean.java
code/MoyaBeans/ejbModule/fi/codecrew/moya/beans/CardTemplateBean.java
View file @
3f9dc3f
...
@@ -50,6 +50,10 @@ import fi.codecrew.moya.util.MailMessage;
...
@@ -50,6 +50,10 @@ import fi.codecrew.moya.util.MailMessage;
@DeclareRoles
({
UserPermission
.
S_WRITE_ROLES
})
@DeclareRoles
({
UserPermission
.
S_WRITE_ROLES
})
public
class
CardTemplateBean
implements
CardTemplateBeanLocal
{
public
class
CardTemplateBean
implements
CardTemplateBeanLocal
{
private
static
final
Logger
logger
=
LoggerFactory
.
getLogger
(
CardTemplateBean
.
class
);
private
static
final
Logger
logger
=
LoggerFactory
.
getLogger
(
CardTemplateBean
.
class
);
/**
/**
...
...
code/MoyaBeans/ejbModule/fi/codecrew/moya/beans/NetworkAssociationBean.java
View file @
3f9dc3f
...
@@ -261,7 +261,7 @@ public class NetworkAssociationBean implements NetworkAssociationBeanLocal {
...
@@ -261,7 +261,7 @@ public class NetworkAssociationBean implements NetworkAssociationBeanLocal {
}
}
// Finally persist the association and return
// Finally persist the association and return
n
a
=
n
etworkAssociationFacade
.
create
(
na
);
networkAssociationFacade
.
create
(
na
);
return
na
;
return
na
;
}
}
...
...
code/MoyaBeans/ejbModule/fi/codecrew/moya/beans/ReaderBean.java
View file @
3f9dc3f
...
@@ -172,10 +172,16 @@ public class ReaderBean implements ReaderBeanLocal {
...
@@ -172,10 +172,16 @@ public class ReaderBean implements ReaderBeanLocal {
@Override
@Override
public
ReaderEvent
assocCodeToCard
(
ReaderEvent
readerEvent
,
PrintedCard
card
)
{
public
ReaderEvent
assocCodeToCard
(
ReaderEvent
readerEvent
,
PrintedCard
card
)
{
// you can select between this and flushCache.
card
=
cardfacade
.
reload
(
card
);
CardCode
code
=
new
CardCode
(
card
,
readerEvent
.
getReader
().
getType
(),
readerEvent
.
getValue
());
CardCode
code
=
new
CardCode
(
card
,
readerEvent
.
getReader
().
getType
(),
readerEvent
.
getValue
()
,
eventbean
.
getCurrentEvent
()
);
cardCodeFacade
.
create
(
code
);
cardCodeFacade
.
create
(
code
);
card
.
getCardCodes
().
add
(
code
);
return
readerEvent
;
return
readerEvent
;
}
}
...
...
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