logo       

roller/src/org/roller/business/castor CastorRefererManagerImpl.java,1.1,1.2: msg#00002

Subject: roller/src/org/roller/business/castor CastorRefererManagerImpl.java,1.1,1.2 RollerImpl.java,1.20,1.21
Update of /cvsroot/roller/roller/src/org/roller/business/castor
In directory sc8-pr-cvs1:/tmp/cvs-serv11217/src/org/roller/business/castor

Modified Files:
        CastorRefererManagerImpl.java RollerImpl.java 
Log Message:
Minor refactoring: renaming methods in PersistenceStrategy

Index: CastorRefererManagerImpl.java
===================================================================
RCS file: 
/cvsroot/roller/roller/src/org/roller/business/castor/CastorRefererManagerImpl.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** CastorRefererManagerImpl.java       29 Nov 2003 20:43:52 -0000      1.1
--- CastorRefererManagerImpl.java       1 Dec 2003 00:53:40 -0000       1.2
***************
*** 139,147 ****
      {
          WebsiteData wd = (WebsiteData)
!             mStrategy.retrievePersistentObject(
                  data.getWebsite().getId(), WebsiteData.class);
              
          UserData ud = (UserData)
!             mStrategy.retrievePersistentObject(
                  data.getWebsite().getUser().getId(), UserData.class);
          wd.setUser(ud);
--- 139,147 ----
      {
          WebsiteData wd = (WebsiteData)
!             mStrategy.load(
                  data.getWebsite().getId(), WebsiteData.class);
              
          UserData ud = (UserData)
!             mStrategy.load(
                  data.getWebsite().getUser().getId(), UserData.class);
          wd.setUser(ud);
***************
*** 149,153 ****
          data.setWebsite(wd);
  
!         mStrategy.storePersistentObject( data);
      }
  
--- 149,153 ----
          data.setWebsite(wd);
  
!         mStrategy.store( data);
      }
  

Index: RollerImpl.java
===================================================================
RCS file: 
/cvsroot/roller/roller/src/org/roller/business/castor/RollerImpl.java,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -d -r1.20 -r1.21
*** RollerImpl.java     30 Nov 2003 17:00:51 -0000      1.20
--- RollerImpl.java     1 Dec 2003 00:53:40 -0000       1.21
***************
*** 195,199 ****
          try
          {
!             vo = mStrategy.retrievePersistentObject( id, cls);
          }
          catch (Throwable t)
--- 195,199 ----
          try
          {
!             vo = mStrategy.load( id, cls);
          }
          catch (Throwable t)
***************
*** 212,216 ****
          try
          {
!             mStrategy.removePersistentObject( id, cls);
          }
          catch (Throwable t)
--- 212,216 ----
          try
          {
!             mStrategy.remove( id, cls);
          }
          catch (Throwable t)
***************
*** 224,228 ****
    
      {
!         return mStrategy.retrievePersistentObject(id,cls);
      }
  
--- 224,228 ----
    
      {
!         return mStrategy.load(id,cls);
      }
  




-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/


<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