You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@roller.apache.org by ag...@apache.org on 2005/12/21 02:22:43 UTC
svn commit: r358170 -
/incubator/roller/trunk/src/org/roller/model/Roller.java
Author: agilliland
Date: Tue Dec 20 17:22:39 2005
New Revision: 358170
URL: http://svn.apache.org/viewcvs?rev=358170&view=rev
Log:
code reformatting.
Modified:
incubator/roller/trunk/src/org/roller/model/Roller.java
Modified: incubator/roller/trunk/src/org/roller/model/Roller.java
URL: http://svn.apache.org/viewcvs/incubator/roller/trunk/src/org/roller/model/Roller.java?rev=358170&r1=358169&r2=358170&view=diff
==============================================================================
--- incubator/roller/trunk/src/org/roller/model/Roller.java (original)
+++ incubator/roller/trunk/src/org/roller/model/Roller.java Tue Dec 20 17:22:39 2005
@@ -1,86 +1,104 @@
package org.roller.model;
+
import java.io.Serializable;
import java.sql.Connection;
-
import org.roller.RollerException;
import org.roller.business.PersistenceStrategy;
import org.roller.pojos.UserData;
-/** The main entry point interface of the Roller business tier.
+
+/**
+ * The main entry point interface of the Roller business tier.
+ *
* @author David M Johnson
*/
-public interface Roller extends Serializable
-{
- /** Get UserManager associated with this Roller instance.
+public interface Roller extends Serializable {
+
+ /**
+ * Get UserManager associated with this Roller instance.
+ *
* @return UserManager associated with this Roller instance.
* @throws RollerException If unable to create or return UserManager.
*/
- public UserManager getUserManager() throws RollerException;
-
- /** Get BookmarkManager associated with this Roller instance.
+ public UserManager getUserManager() throws RollerException;
+
+ /**
+ * Get BookmarkManager associated with this Roller instance.
+ *
* @return BookmarkManager associated with this Roller instance.
* @throws RollerException If unable to create or return BookmarkManager.
*/
- public BookmarkManager getBookmarkManager() throws RollerException;
-
- /** Get WeblogManager associated with this Roller instance.
+ public BookmarkManager getBookmarkManager() throws RollerException;
+
+ /**
+ * Get WeblogManager associated with this Roller instance.
+ *
* @return WeblogManager associated with this Roller instance.
* @throws RollerException If unable to create or return WeblogManager.
*/
- public WeblogManager getWeblogManager() throws RollerException;
+ public WeblogManager getWeblogManager() throws RollerException;
- /** Get RefererManager associated with this Roller instance.
- * @return RefererManager associated with this Roller instance.
- * @throws RollerException If unable to create or return RefererManager.
- */
- public RefererManager getRefererManager() throws RollerException;
+ /**
+ * Get RefererManager associated with this Roller instance.
+ *
+ * @return RefererManager associated with this Roller instance.
+ * @throws RollerException If unable to create or return RefererManager.
+ */
+ public RefererManager getRefererManager() throws RollerException;
- /** Get RefererManager associated with this Roller instance.
+ /**
+ * Get RefererManager associated with this Roller instance.
+ *
* @return RefererManager associated with this Roller instance.
* @throws RollerException If unable to create or return RefererManager.
- */
+ */
public ConfigManager getConfigManager() throws RollerException;
-
+
/**
* Get the AutoPingManager associated with this Roller instance.
+ *
* @return the AutoPingManager associated with this Roller instance.
* @throws RollerException
*/
public AutoPingManager getAutopingManager() throws RollerException;
-
+
/**
* Get the PingTargetManager associated with this Roller instance.
+ *
* @return the PingTargetManager associated with this Roller instance.
* @throws RollerException
*/
public PingTargetManager getPingTargetManager() throws RollerException;
-
+
/**
* Get the PingQueueManager associated with this Roller instance.
+ *
* @return the PingQueueManager associated with this Roller instance.
* @throws RollerException
*/
public PingQueueManager getPingQueueManager() throws RollerException;
-
+
/** Get PropertiesManager associated with this Roller instance.
* @return PropertiesManager associated with this Roller instance.
* @throws RollerException If unable to create or return PropertiesManager.
- */
+ */
public PropertiesManager getPropertiesManager() throws RollerException;
- /** Get FileManager associated with this Roller instance.
+ /**
+ * Get FileManager associated with this Roller instance.
+ *
* @return FileManager associated with this Roller instance.
* @throws RollerException If unable to create or return FileManager.
- */
+ */
public FileManager getFileManager() throws RollerException;
- /**
+ /**
* Get ThreadManager associated with this Roller instance.
*/
public ThreadManager getThreadManager() throws RollerException;
-
- /**
+
+ /**
* Get IndexManager associated with this Roller instance.
*/
public IndexManager getIndexManager() throws RollerException;
@@ -89,7 +107,7 @@
* Get PlanetManager associated with this Roller instance.
*/
public PlanetManager getPlanetManager() throws RollerException;
-
+
/**
* Get ThemeManager associated with this Roller instance.
*/
@@ -100,46 +118,56 @@
*/
public PagePluginManager getPagePluginManager() throws RollerException;
- /** Begin transaction for a thread.
- */
+ /**
+ * Begin transaction for a thread.
+ */
public void begin() throws RollerException;
+
/**
* Start Roller session on behalf of specified user.
*/
public void begin(UserData user) throws RollerException;
+
/**
* Set user for Roller session.
*/
public void setUser(UserData user) throws RollerException;
+
/**
* Get user associated with Roller session.
*/
public UserData getUser() throws RollerException;
- /** Commit transaction for a thread.
+ /**
+ * Commit transaction for a thread.
+ *
* @throws RollerException If database error is thrown.
- */
+ */
public void commit() throws RollerException;
- /** Rollback uncommitted changes for a thread.
- */
+ /**
+ * Rollback uncommitted changes for a thread.
+ */
public void rollback();
/**
* Release all resources associated with Roller session.
- */
+ */
public void release();
-
- /** Get persistence strategy used by managers and POJOs. */
+
+ /**
+ * Get persistence strategy used by managers and POJOs.
+ */
public PersistenceStrategy getPersistenceStrategy();
- /** Repair websites if needed. */
+ /**
+ * Upgrade database if needed.
+ */
public void upgradeDatabase(Connection con) throws RollerException;
/**
- * Release all resources necessary for this instance
- * of Roller.
+ * Release all resources necessary for this instance of Roller.
*/
- public void shutdown();
+ public void shutdown();
}