Code Review
/
portal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
UserRolesController methods up
[portal.git]
/
portal-BE
/
src
/
main
/
java
/
org
/
onap
/
portal
/
dao
/
fn
/
FnRoleDao.java
diff --git
a/portal-BE/src/main/java/org/onap/portal/dao/fn/FnRoleDao.java
b/portal-BE/src/main/java/org/onap/portal/dao/fn/FnRoleDao.java
index
66f4758
..
01bcdfe
100644
(file)
--- a/
portal-BE/src/main/java/org/onap/portal/dao/fn/FnRoleDao.java
+++ b/
portal-BE/src/main/java/org/onap/portal/dao/fn/FnRoleDao.java
@@
-53,5
+53,8
@@
import org.springframework.transaction.annotation.Transactional;
public interface FnRoleDao extends JpaRepository<FnRole, Long> {
@Query
public interface FnRoleDao extends JpaRepository<FnRole, Long> {
@Query
- List<FnRole> retrieveAppRoleByAppRoleIdAndByAppId(final @Param("appId") Long appId, final @Param("appRoleId") Long appRoleId);
+ List<FnRole> retrieveAppRoleByAppRoleIdAndByAppId(final @Param("appId") Long appId,
+ final @Param("appRoleId") Long appRoleId);
+
+ List<FnRole> getUserRoleOnUserIdAndAppId(final @Param("userId") Long userId, final @Param("appId") Long appId);
}
}