[pal-cvs 2224] [33] implemented Serializable.

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2007年 4月 9日 (月) 12:53:36 JST


Revision: 33
          http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=pal&view=rev&rev=33
Author:   shinsuke
Date:     2007-04-09 12:53:35 +0900 (Mon, 09 Apr 2007)

Log Message:
-----------
implemented Serializable.

Modified Paths:
--------------
    pal-admin/trunk/src/main/java/jp/sf/pal/admin/web/group/GroupConfirmPage.java
    pal-admin/trunk/src/main/java/jp/sf/pal/admin/web/group/GroupEditPage.java
    pal-admin/trunk/src/main/java/jp/sf/pal/admin/web/group/GroupListPage.java
    pal-admin/trunk/src/main/java/jp/sf/pal/admin/web/role/RoleConfirmPage.java
    pal-admin/trunk/src/main/java/jp/sf/pal/admin/web/role/RoleEditPage.java
    pal-admin/trunk/src/main/java/jp/sf/pal/admin/web/role/RoleListPage.java
    pal-admin/trunk/src/main/java/jp/sf/pal/admin/web/user/UserConfirmPage.java
    pal-admin/trunk/src/main/java/jp/sf/pal/admin/web/user/UserCreatePage.java
    pal-admin/trunk/src/main/java/jp/sf/pal/admin/web/user/UserEditPage.java
    pal-admin/trunk/src/main/java/jp/sf/pal/admin/web/user/UserGroupEditPage.java
    pal-admin/trunk/src/main/java/jp/sf/pal/admin/web/user/UserListPage.java
    pal-admin/trunk/src/main/java/jp/sf/pal/admin/web/user/UserProfilingRuleEditPage.java
    pal-admin/trunk/src/main/java/jp/sf/pal/admin/web/user/UserRoleEditPage.java


-------------- next part --------------
Modified: pal-admin/trunk/src/main/java/jp/sf/pal/admin/web/group/GroupConfirmPage.java
===================================================================
--- pal-admin/trunk/src/main/java/jp/sf/pal/admin/web/group/GroupConfirmPage.java	2007-04-09 03:48:59 UTC (rev 32)
+++ pal-admin/trunk/src/main/java/jp/sf/pal/admin/web/group/GroupConfirmPage.java	2007-04-09 03:53:35 UTC (rev 33)
@@ -1,5 +1,7 @@
 package jp.sf.pal.admin.web.group;
 
+import java.io.Serializable;
+
 import javax.faces.internal.FacesMessageUtil;
 
 import jp.sf.pal.admin.PALAdminException;
@@ -9,9 +11,15 @@
 import org.seasar.teeda.extension.annotation.takeover.TakeOver;
 import org.seasar.teeda.extension.annotation.takeover.TakeOverType;
 
-public class GroupConfirmPage extends AbstractGroupPage
+public class GroupConfirmPage extends AbstractGroupPage implements Serializable
 {
+
     /**
+     * 
+     */
+    private static final long serialVersionUID = -283173697251156241L;
+
+    /**
      * Logger for this class
      */
     private static final Logger logger = Logger

Modified: pal-admin/trunk/src/main/java/jp/sf/pal/admin/web/group/GroupEditPage.java
===================================================================
--- pal-admin/trunk/src/main/java/jp/sf/pal/admin/web/group/GroupEditPage.java	2007-04-09 03:48:59 UTC (rev 32)
+++ pal-admin/trunk/src/main/java/jp/sf/pal/admin/web/group/GroupEditPage.java	2007-04-09 03:53:35 UTC (rev 33)
@@ -1,8 +1,15 @@
 package jp.sf.pal.admin.web.group;
 
-public class GroupEditPage extends AbstractGroupPage
+import java.io.Serializable;
+
+public class GroupEditPage extends AbstractGroupPage implements Serializable
 {
 
+    /**
+     * 
+     */
+    private static final long serialVersionUID = 666316850285389222L;
+
     public String initialize()
     {
         return null;

Modified: pal-admin/trunk/src/main/java/jp/sf/pal/admin/web/group/GroupListPage.java
===================================================================
--- pal-admin/trunk/src/main/java/jp/sf/pal/admin/web/group/GroupListPage.java	2007-04-09 03:48:59 UTC (rev 32)
+++ pal-admin/trunk/src/main/java/jp/sf/pal/admin/web/group/GroupListPage.java	2007-04-09 03:53:35 UTC (rev 33)
@@ -1,5 +1,6 @@
 package jp.sf.pal.admin.web.group;
 
+import java.io.Serializable;
 import java.util.List;
 import java.util.Map;
 
@@ -9,9 +10,14 @@
 
 import org.seasar.teeda.extension.annotation.takeover.TakeOver;
 
-public class GroupListPage extends AbstractListPage
+public class GroupListPage extends AbstractListPage implements Serializable
 {
 
+    /**
+     * 
+     */
+    private static final long serialVersionUID = 2827788757965933167L;
+
     private int groupIndex;
 
     private List<Map<String, Object>> groupItems;

Modified: pal-admin/trunk/src/main/java/jp/sf/pal/admin/web/role/RoleConfirmPage.java
===================================================================
--- pal-admin/trunk/src/main/java/jp/sf/pal/admin/web/role/RoleConfirmPage.java	2007-04-09 03:48:59 UTC (rev 32)
+++ pal-admin/trunk/src/main/java/jp/sf/pal/admin/web/role/RoleConfirmPage.java	2007-04-09 03:53:35 UTC (rev 33)
@@ -1,6 +1,8 @@
 package jp.sf.pal.admin.web.role;
 
 
+import java.io.Serializable;
+
 import javax.faces.internal.FacesMessageUtil;
 
 import jp.sf.pal.admin.PALAdminException;
@@ -10,9 +12,13 @@
 import org.seasar.teeda.extension.annotation.takeover.TakeOver;
 import org.seasar.teeda.extension.annotation.takeover.TakeOverType;
 
-public class RoleConfirmPage extends AbstractRolePage
+public class RoleConfirmPage extends AbstractRolePage implements Serializable
 {
     /**
+     * 
+     */
+    private static final long serialVersionUID = 8565809646908671454L;
+    /**
      * Logger for this class
      */
     private static final Logger logger = Logger

Modified: pal-admin/trunk/src/main/java/jp/sf/pal/admin/web/role/RoleEditPage.java
===================================================================
--- pal-admin/trunk/src/main/java/jp/sf/pal/admin/web/role/RoleEditPage.java	2007-04-09 03:48:59 UTC (rev 32)
+++ pal-admin/trunk/src/main/java/jp/sf/pal/admin/web/role/RoleEditPage.java	2007-04-09 03:53:35 UTC (rev 33)
@@ -1,8 +1,15 @@
 package jp.sf.pal.admin.web.role;
 
-public class RoleEditPage extends AbstractRolePage
+import java.io.Serializable;
+
+public class RoleEditPage extends AbstractRolePage implements Serializable
 {
 
+    /**
+     * 
+     */
+    private static final long serialVersionUID = 8348278121674992785L;
+
     public String initialize()
     {
         return null;

Modified: pal-admin/trunk/src/main/java/jp/sf/pal/admin/web/role/RoleListPage.java
===================================================================
--- pal-admin/trunk/src/main/java/jp/sf/pal/admin/web/role/RoleListPage.java	2007-04-09 03:48:59 UTC (rev 32)
+++ pal-admin/trunk/src/main/java/jp/sf/pal/admin/web/role/RoleListPage.java	2007-04-09 03:53:35 UTC (rev 33)
@@ -1,5 +1,6 @@
 package jp.sf.pal.admin.web.role;
 
+import java.io.Serializable;
 import java.util.List;
 import java.util.Map;
 
@@ -9,9 +10,14 @@
 
 import org.seasar.teeda.extension.annotation.takeover.TakeOver;
 
-public class RoleListPage extends AbstractListPage
+public class RoleListPage extends AbstractListPage implements Serializable
 {
 
+    /**
+     * 
+     */
+    private static final long serialVersionUID = -9134524940073547390L;
+
     private int roleIndex;
 
     private List<Map<String, Object>> roleItems;

Modified: pal-admin/trunk/src/main/java/jp/sf/pal/admin/web/user/UserConfirmPage.java
===================================================================
--- pal-admin/trunk/src/main/java/jp/sf/pal/admin/web/user/UserConfirmPage.java	2007-04-09 03:48:59 UTC (rev 32)
+++ pal-admin/trunk/src/main/java/jp/sf/pal/admin/web/user/UserConfirmPage.java	2007-04-09 03:53:35 UTC (rev 33)
@@ -1,5 +1,7 @@
 package jp.sf.pal.admin.web.user;
 
+import java.io.Serializable;
+
 import javax.faces.internal.FacesMessageUtil;
 
 import jp.sf.pal.admin.PALAdminException;
@@ -9,9 +11,14 @@
 import org.seasar.teeda.extension.annotation.takeover.TakeOver;
 import org.seasar.teeda.extension.annotation.takeover.TakeOverType;
 
-public class UserConfirmPage extends AbstractUserPage
+public class UserConfirmPage extends AbstractUserPage implements Serializable
 {
     /**
+     * 
+     */
+    private static final long serialVersionUID = 5950243264539560661L;
+
+    /**
      * Logger for this class
      */
     private static final Logger logger = Logger

Modified: pal-admin/trunk/src/main/java/jp/sf/pal/admin/web/user/UserCreatePage.java
===================================================================
--- pal-admin/trunk/src/main/java/jp/sf/pal/admin/web/user/UserCreatePage.java	2007-04-09 03:48:59 UTC (rev 32)
+++ pal-admin/trunk/src/main/java/jp/sf/pal/admin/web/user/UserCreatePage.java	2007-04-09 03:53:35 UTC (rev 33)
@@ -1,10 +1,16 @@
 package jp.sf.pal.admin.web.user;
 
+import java.io.Serializable;
 import java.util.List;
 import java.util.Map;
 
-public class UserCreatePage extends AbstractUserPage
+public class UserCreatePage extends AbstractUserPage implements Serializable
 {
+    /**
+     * 
+     */
+    private static final long serialVersionUID = 4251184998427709566L;
+
     private List<Map<String, String>> roleNameItems;
 
     /**

Modified: pal-admin/trunk/src/main/java/jp/sf/pal/admin/web/user/UserEditPage.java
===================================================================
--- pal-admin/trunk/src/main/java/jp/sf/pal/admin/web/user/UserEditPage.java	2007-04-09 03:48:59 UTC (rev 32)
+++ pal-admin/trunk/src/main/java/jp/sf/pal/admin/web/user/UserEditPage.java	2007-04-09 03:53:35 UTC (rev 33)
@@ -1,5 +1,6 @@
 package jp.sf.pal.admin.web.user;
 
+import java.io.Serializable;
 import java.util.List;
 import java.util.Map;
 
@@ -12,9 +13,14 @@
 import org.seasar.framework.log.Logger;
 import org.seasar.teeda.extension.annotation.validator.Required;
 
-public class UserEditPage extends AbstractCrudPage
+public class UserEditPage extends AbstractCrudPage implements Serializable
 {
     /**
+     * 
+     */
+    private static final long serialVersionUID = 8197167663670294677L;
+
+    /**
      * Logger for this class
      */
     private static final Logger logger = Logger.getLogger(UserEditPage.class);

Modified: pal-admin/trunk/src/main/java/jp/sf/pal/admin/web/user/UserGroupEditPage.java
===================================================================
--- pal-admin/trunk/src/main/java/jp/sf/pal/admin/web/user/UserGroupEditPage.java	2007-04-09 03:48:59 UTC (rev 32)
+++ pal-admin/trunk/src/main/java/jp/sf/pal/admin/web/user/UserGroupEditPage.java	2007-04-09 03:53:35 UTC (rev 33)
@@ -1,5 +1,6 @@
 package jp.sf.pal.admin.web.user;
 
+import java.io.Serializable;
 import java.util.List;
 import java.util.Map;
 
@@ -12,9 +13,14 @@
 
 import org.seasar.framework.log.Logger;
 
-public class UserGroupEditPage extends AbstractCrudPage
+public class UserGroupEditPage extends AbstractCrudPage implements Serializable
 {
     /**
+     * 
+     */
+    private static final long serialVersionUID = 1292537289932760208L;
+
+    /**
      * Logger for this class
      */
     private static final Logger logger = Logger

Modified: pal-admin/trunk/src/main/java/jp/sf/pal/admin/web/user/UserListPage.java
===================================================================
--- pal-admin/trunk/src/main/java/jp/sf/pal/admin/web/user/UserListPage.java	2007-04-09 03:48:59 UTC (rev 32)
+++ pal-admin/trunk/src/main/java/jp/sf/pal/admin/web/user/UserListPage.java	2007-04-09 03:53:35 UTC (rev 33)
@@ -1,5 +1,6 @@
 package jp.sf.pal.admin.web.user;
 
+import java.io.Serializable;
 import java.util.List;
 import java.util.Map;
 
@@ -9,9 +10,14 @@
 
 import org.seasar.teeda.extension.annotation.takeover.TakeOver;
 
-public class UserListPage extends AbstractListPage
+public class UserListPage extends AbstractListPage implements Serializable
 {
 
+    /**
+     * 
+     */
+    private static final long serialVersionUID = 1803281059596051705L;
+
     private String name;
 
     private int userIndex;
@@ -61,7 +67,8 @@
     /**
      * @param userManagementService the userManagementService to set
      */
-    public void setUserManagementService(UserManagementService userManagementService)
+    public void setUserManagementService(
+            UserManagementService userManagementService)
     {
         this.userManagementService = userManagementService;
     }

Modified: pal-admin/trunk/src/main/java/jp/sf/pal/admin/web/user/UserProfilingRuleEditPage.java
===================================================================
--- pal-admin/trunk/src/main/java/jp/sf/pal/admin/web/user/UserProfilingRuleEditPage.java	2007-04-09 03:48:59 UTC (rev 32)
+++ pal-admin/trunk/src/main/java/jp/sf/pal/admin/web/user/UserProfilingRuleEditPage.java	2007-04-09 03:53:35 UTC (rev 33)
@@ -1,5 +1,6 @@
 package jp.sf.pal.admin.web.user;
 
+import java.io.Serializable;
 import java.util.ArrayList;
 import java.util.List;
 import java.util.Map;
@@ -14,9 +15,15 @@
 import jp.sf.pal.admin.util.PALAdminUtil;
 import jp.sf.pal.admin.web.AbstractCrudPage;
 
-public class UserProfilingRuleEditPage extends AbstractCrudPage
+public class UserProfilingRuleEditPage extends AbstractCrudPage implements
+        Serializable
 {
     /**
+     * 
+     */
+    private static final long serialVersionUID = -863022117977960622L;
+
+    /**
      * Logger for this class
      */
     private static final Logger logger = Logger

Modified: pal-admin/trunk/src/main/java/jp/sf/pal/admin/web/user/UserRoleEditPage.java
===================================================================
--- pal-admin/trunk/src/main/java/jp/sf/pal/admin/web/user/UserRoleEditPage.java	2007-04-09 03:48:59 UTC (rev 32)
+++ pal-admin/trunk/src/main/java/jp/sf/pal/admin/web/user/UserRoleEditPage.java	2007-04-09 03:53:35 UTC (rev 33)
@@ -1,5 +1,6 @@
 package jp.sf.pal.admin.web.user;
 
+import java.io.Serializable;
 import java.util.List;
 import java.util.Map;
 
@@ -12,9 +13,14 @@
 
 import org.seasar.framework.log.Logger;
 
-public class UserRoleEditPage extends AbstractCrudPage
+public class UserRoleEditPage extends AbstractCrudPage implements Serializable
 {
     /**
+     * 
+     */
+    private static final long serialVersionUID = 3675965027344869490L;
+
+    /**
      * Logger for this class
      */
     private static final Logger logger = Logger
@@ -162,8 +168,8 @@
         try
         {
             getUserManagementService().addRoleToUser(this);
-            FacesMessageUtil.addInfoMessage("added.role.to.user",
-                    new Object[] { getName(), getNewRole() });
+            FacesMessageUtil.addInfoMessage("added.role.to.user", new Object[] {
+                    getName(), getNewRole() });
 
             // clear
             setNewRole(null);


pal-cvs メーリングリストの案内
Back to archive index