• R/O
  • SSH
  • HTTPS

pal: Commit


Commit MetaInfo

Revision1651 (tree)
Zeit2009-01-01 06:26:10
Autorshinsuke

Log Message

changed property key, and updated eclipse config.

Ändern Zusammenfassung

Diff

--- userinfo/plugins/userinfo-palportal-plugin/trunk/src/main/java/jp/sf/pal/userinfo/plugin/impl/PortalPluginImpl.java (revision 1650)
+++ userinfo/plugins/userinfo-palportal-plugin/trunk/src/main/java/jp/sf/pal/userinfo/plugin/impl/PortalPluginImpl.java (revision 1651)
@@ -55,7 +55,7 @@
5555
5656 UserManager userManager = getUserManager();
5757 if (userManager.userExists(userInfo.getUserId())) {
58- throw new PortalException("errors.user_already_exists", "User("
58+ throw new PortalException("errors.user_already_exists_on_portal", "User("
5959 + userInfo.getUserId() + ") already exists.");
6060 }
6161
@@ -147,7 +147,7 @@
147147
148148 UserManager userManager = getUserManager();
149149 if (!userManager.userExists(userInfo.getUserId())) {
150- throw new PortalException("errors.user_does_not_exist", "User("
150+ throw new PortalException("errors.user_does_not_exist_on_portal", "User("
151151 + userInfo.getUserId() + ") does not exist.");
152152 }
153153
@@ -208,7 +208,7 @@
208208
209209 UserManager userManager = getUserManager();
210210 if (!userManager.userExists(userInfo.getUserId())) {
211- throw new PortalException("errors.user_does_not_exist", "User("
211+ throw new PortalException("errors.user_does_not_exist_on_portal", "User("
212212 + userInfo.getUserId() + ") does not exist.");
213213 }
214214
@@ -277,7 +277,7 @@
277277 RoleManager roleManager = getRoleManager();
278278 try {
279279 if (roleManager.roleExists(roleInfo.getRoleId())) {
280- throw new PortalException("errors.role_already_exists", "Role("
280+ throw new PortalException("errors.role_already_exists_on_portal", "Role("
281281 + roleInfo.getRoleId() + ") already exists.");
282282 }
283283 roleManager.addRole(roleInfo.getRoleId());
@@ -299,7 +299,7 @@
299299 RoleManager roleManager = getRoleManager();
300300 try {
301301 if (!roleManager.roleExists(roleInfo.getRoleId())) {
302- throw new PortalException("errors.role_does_not_exist", "Role("
302+ throw new PortalException("errors.role_does_not_exist_on_portal", "Role("
303303 + roleInfo.getRoleId() + ") does not exist.");
304304 }
305305 roleManager.removeRole(roleInfo.getRoleId());
@@ -337,7 +337,7 @@
337337 GroupManager groupManager = getGroupManager();
338338 try {
339339 if (groupManager.groupExists(groupInfo.getGroupId())) {
340- throw new PortalException("errors.group_already_exists",
340+ throw new PortalException("errors.group_already_exists_on_portal",
341341 "Group(" + groupInfo.getGroupId() + ") already exists.");
342342 }
343343 groupManager.addGroup(groupInfo.getGroupId());
@@ -359,7 +359,7 @@
359359 GroupManager groupManager = getGroupManager();
360360 try {
361361 if (!groupManager.groupExists(groupInfo.getGroupId())) {
362- throw new PortalException("errors.group_does_not_exist",
362+ throw new PortalException("errors.group_does_not_exist_on_portal",
363363 "Group(" + groupInfo.getGroupId() + ") does not exist.");
364364 }
365365 groupManager.removeGroup(groupInfo.getGroupId());
Show on old repository browser