logo       

roller/src/org/roller/business ExportWebsiteData.java,1.4,1.5: msg#00133

Subject: roller/src/org/roller/business ExportWebsiteData.java,1.4,1.5
Update of /cvsroot/roller/roller/src/org/roller/business
In directory sc8-pr-cvs1:/tmp/cvs-serv8886/src/org/roller/business

Modified Files:
        ExportWebsiteData.java 
Log Message:
Oops, hierarchical cats didn't work with Castor. Now they do.

Index: ExportWebsiteData.java
===================================================================
RCS file: 
/cvsroot/roller/roller/src/org/roller/business/ExportWebsiteData.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** ExportWebsiteData.java      1 Dec 2003 01:18:49 -0000       1.4
--- ExportWebsiteData.java      14 Jan 2004 04:10:38 -0000      1.5
***************
*** 25,29 ****
     protected java.util.Vector weblogCategories;
     protected java.util.Vector weblogEntries;
-    protected java.util.Vector newsfeeds;
     protected java.lang.String editorPage;
  
--- 25,28 ----
***************
*** 44,48 ****
        this.weblogCategories = weblogCategories;
        this.weblogEntries = weblogEntries;
-       this.newsfeeds = newsfeeds;
        this.editorPage = editorPage;
     }
--- 43,46 ----
***************
*** 60,64 ****
        this.weblogCategories = otherData.weblogCategories;
        this.weblogEntries = otherData.weblogEntries;
-       this.newsfeeds = otherData.newsfeeds;
        this.editorPage = otherData.editorPage;
  
--- 58,61 ----
***************
*** 201,218 ****
     }
  
-    /** @castor:field type="org.roller.pojos.NewsfeedData" 
-      *   collection="vector" set-method="setNewsfeeds" 
-      * @castor:field-xml name="newsfeed"
-      * @castor:field-sql many-key="websiteid" 
-      */
-    public java.util.Vector getNewsfeeds()
-    {
-       return this.newsfeeds;
-    }
-    public void setNewsfeeds( java.util.Vector newsfeeds )
-    {
-       this.newsfeeds = newsfeeds;
-    }
- 
     /** @castor:field set-method="setEditorPage"
       * @castor:field-sql name="editorpage" sql-dirty="check" dirty="check" 
--- 198,201 ----
***************
*** 232,236 ****
        StringBuffer str = new StringBuffer("{");
  
!       str.append("id=" + id + " " + "userId=" + userId + " " + 
"defaultPageId=" + defaultPageId + " " + "weblogDayPageId=" + weblogDayPageId + 
" " + "name=" + name + " " + "description=" + description + " " + "pages=" + 
pages + " " + "folders=" + folders + " " + "weblogCategories=" + 
weblogCategories + " " + "weblogEntries=" + weblogEntries + " " + "newsfeeds=" 
+ newsfeeds + " " + "editorPage=" + editorPage);
        str.append('}');
  
--- 215,219 ----
        StringBuffer str = new StringBuffer("{");
  
!       str.append("id=" + id + " " + "userId=" + userId + " " + 
"defaultPageId=" + defaultPageId + " " + "weblogDayPageId=" + weblogDayPageId + 
" " + "name=" + name + " " + "description=" + description + " " + "pages=" + 
pages + " " + "folders=" + folders + " " + "weblogCategories=" + 
weblogCategories + " " + "weblogEntries=" + weblogEntries + " "  + " " + 
"editorPage=" + editorPage);
        str.append('}');
  
***************
*** 325,336 ****
              lEquals = lEquals && this.weblogEntries.equals( 
lTest.weblogEntries );
           }
-          if( this.newsfeeds == null )
-          {
-             lEquals = lEquals && ( lTest.newsfeeds == null );
-          }
-          else
-          {
-             lEquals = lEquals && this.newsfeeds.equals( lTest.newsfeeds );
-          }
           if( this.editorPage == null )
           {
--- 308,311 ----
***************
*** 363,367 ****
        result = 37*result + ((this.weblogCategories != null) ? 
this.weblogCategories.hashCode() : 0);
        result = 37*result + ((this.weblogEntries != null) ? 
this.weblogEntries.hashCode() : 0);
-       result = 37*result + ((this.newsfeeds != null) ? 
this.newsfeeds.hashCode() : 0);
        result = 37*result + ((this.editorPage != null) ? 
this.editorPage.hashCode() : 0);
        return result;
--- 338,341 ----
***************
*** 394,399 ****
        this.weblogEntries = ((ExportWebsiteData)otherData).weblogEntries;
  
-       this.newsfeeds = ((ExportWebsiteData)otherData).newsfeeds;
- 
        this.editorPage = ((ExportWebsiteData)otherData).editorPage;
     }
--- 368,371 ----




-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
web.pylons.gene...    hurd.l4/2002-10...    kernel.commits....    user-groups.lin...    yellowdog.gener...    java.drools.use...    security.openva...    package-managem...    linux.debian.us...    qnx.openqnx.dev...    genealogy.gramp...    file-systems.if...    voip.wengophone...    tex.context/200...    ietf.smime/2003...    audio.csound.de...    culture.region....    xfree86.devel/2...    mobile.kannel.u...    distributed.con...    education.engli...    org.user-groups...    bug-tracking.gn...    recreation.bicy...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe