Update of 
/var/cvs/contributions/CMSContainer_Modules/community/src/java/com/finalist/cmsc/services/community/domain
In directory 
james.mmbase.org:/tmp/cvs-serv6882/java/com/finalist/cmsc/services/community/domain

Modified Files:
        PreferenceVO.java 
Log Message:
CMSC-1093(Add sort on the jsp.)


See also: 
http://cvs.mmbase.org/viewcvs/contributions/CMSContainer_Modules/community/src/java/com/finalist/cmsc/services/community/domain
See also: http://www.mmbase.org/jira/browse/CMSC-1093


Index: PreferenceVO.java
===================================================================
RCS file: 
/var/cvs/contributions/CMSContainer_Modules/community/src/java/com/finalist/cmsc/services/community/domain/PreferenceVO.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- PreferenceVO.java   23 Sep 2008 07:12:57 -0000      1.3
+++ PreferenceVO.java   21 Oct 2008 07:49:46 -0000      1.4
@@ -1,5 +1,7 @@
 package com.finalist.cmsc.services.community.domain;
 
+import org.apache.commons.lang.StringUtils;
+
 public class PreferenceVO {
 
    private String id;
@@ -16,6 +18,10 @@
 
    private String method;
 
+   public PreferenceVO() {
+      super();
+   }
+
    public String getUserId() {
       return userId;
    }
@@ -72,4 +78,24 @@
       this.authenticationId = authenticationId;
    }
 
+   public PreferenceVO(Long id, String userId, Long authenticationId, String 
module, String key, String value){
+      super();
+      this.id = String.valueOf(id);
+      this.userId = userId;
+      this.authenticationId = String.valueOf(authenticationId);
+      this.module = module;
+      this.key = key;
+      this.value = value;
+      
+   }
+   public void clean(){
+      this.authenticationId = null;
+      this.id = null;
+      this.key = null;
+      this.method = null;
+      this.module = null;
+      this.userId = null;
+      this.value = null;
+   }
+
 }
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to