roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agillil...@apache.org
Subject svn commit: r475830 - /incubator/roller/trunk/src/org/apache/roller/business/BookmarkManager.java
Date Thu, 16 Nov 2006 17:42:22 GMT
Author: agilliland
Date: Thu Nov 16 09:42:21 2006
New Revision: 475830

URL: http://svn.apache.org/viewvc?view=rev&rev=475830
Log:
code reformatting.


Modified:
    incubator/roller/trunk/src/org/apache/roller/business/BookmarkManager.java

Modified: incubator/roller/trunk/src/org/apache/roller/business/BookmarkManager.java
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/src/org/apache/roller/business/BookmarkManager.java?view=diff&rev=475830&r1=475829&r2=475830
==============================================================================
--- incubator/roller/trunk/src/org/apache/roller/business/BookmarkManager.java (original)
+++ incubator/roller/trunk/src/org/apache/roller/business/BookmarkManager.java Thu Nov 16
09:42:21 2006
@@ -32,33 +32,26 @@
 public interface BookmarkManager {
     
     
-    public void saveBookmark(BookmarkData bookmark) throws RollerException;
+    public void saveFolder(FolderData folder) throws RollerException;
     
     
-    /** 
-     * Delete bookmark. 
-     */
-    public void removeBookmark(BookmarkData bookmark) throws RollerException;
+    public void removeFolder(FolderData folder) throws RollerException;
+    
     
     /** 
-     * Retrieve bookmark by ID, a persistent instance. 
+     * Move contents of folder to another folder.
+     *
+     * @param src Source folder.
+     * @param dest Destination folder.
      */
-    public BookmarkData getBookmark(String id) throws RollerException;
+    public void moveFolderContents(FolderData src, FolderData dest)
+            throws RollerException;
     
     
     /**
-     * @param data
-     * @param subfolders
-     * @return
+     * Delete contents of specified folder.
      */
-    public List getBookmarks(FolderData data, boolean subfolders)
-            throws RollerException;
-    
-    
-    public void saveFolder(FolderData folder) throws RollerException;
-    
-    
-    public void removeFolder(FolderData folder) throws RollerException;
+    public void removeFolderContents(FolderData src) throws RollerException;
     
     
     /** 
@@ -92,6 +85,7 @@
     public FolderData getFolder(WebsiteData website, String folderPath)
             throws RollerException;
     
+    
     /**
      * Get absolute path to folder, appropriate for use by getFolderByPath().
      *
@@ -130,31 +124,39 @@
     public boolean isDuplicateFolderName(FolderData data) throws RollerException;
     
     
+    public void saveBookmark(BookmarkData bookmark) throws RollerException;
+    
+    
     /** 
-     * Import bookmarks from OPML string into specified folder.
-     *
-     * @param site Website.
-     * @param folder Name of folder to hold bookmarks.
-     * @param opml OPML data to be imported.
+     * Delete bookmark. 
      */
-    public void importBookmarks(WebsiteData site, String folder, String opml)
-            throws RollerException;
+    public void removeBookmark(BookmarkData bookmark) throws RollerException;
     
     
     /** 
-     * Move contents of folder to another folder.
-     *
-     * @param src Source folder.
-     * @param dest Destination folder.
+     * Retrieve bookmark by ID, a persistent instance. 
      */
-    public void moveFolderContents(FolderData src, FolderData dest)
-            throws RollerException;
+    public BookmarkData getBookmark(String id) throws RollerException;
     
     
     /**
-     * Delete contents of specified folder.
+     * @param data
+     * @param subfolders
+     * @return
      */
-    public void removeFolderContents(FolderData src) throws RollerException;
+    public List getBookmarks(FolderData data, boolean subfolders)
+            throws RollerException;
+    
+    
+    /** 
+     * Import bookmarks from OPML string into specified folder.
+     *
+     * @param site Website.
+     * @param folder Name of folder to hold bookmarks.
+     * @param opml OPML data to be imported.
+     */
+    public void importBookmarks(WebsiteData site, String folder, String opml)
+            throws RollerException;
     
     
     /**



Mime
View raw message