Commit 4d2ecb1a authored by Liang Ding's avatar Liang Ding

Updated javadoc..

parent d14ddcda
...@@ -37,6 +37,7 @@ Without this configuration present, some functionality in the IDE may be limited ...@@ -37,6 +37,7 @@ Without this configuration present, some functionality in the IDE may be limited
<word>sitemap</word> <word>sitemap</word>
<word>struct</word> <word>struct</word>
<word>structs</word> <word>structs</word>
<word>Swithches</word>
<word>Upgrader</word> <word>Upgrader</word>
<word>Upgraders</word> <word>Upgraders</word>
</spellchecker-wordlist> </spellchecker-wordlist>
......
...@@ -114,10 +114,11 @@ public final class UserMgmtService { ...@@ -114,10 +114,11 @@ public final class UserMgmtService {
} }
/** /**
* change user role by the specified userid. * Swithches the user role between "defaultRole" and "visitorRole" by the specified user id.
* *
* @param userId the specified userid * @param userId the specified user id
* @throws ServiceException exception * @throws ServiceException exception
* @see User
*/ */
public void changeRole(final String userId) throws ServiceException { public void changeRole(final String userId) throws ServiceException {
final Transaction transaction = userRepository.beginTransaction(); final Transaction transaction = userRepository.beginTransaction();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment