1 /* 2 * Licensed to the Apache Software Foundation (ASF) under one or more 3 * contributor license agreements. The ASF licenses this file to You 4 * under the Apache License, Version 2.0 (the "License"); you may not 5 * use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. For additional information regarding 15 * copyright in this work, please see the NOTICE file in the top level 16 * directory of this distribution. 17 */ 18 19 package org.apache.roller.model; 20 21 import java.io.Serializable; 22 import java.sql.Connection; 23 import org.apache.roller.RollerException; 24 import org.apache.roller.business.referrers.ReferrerQueueManager; 25 26 27 /** 28 * The main entry point interface of the Roller business tier. 29 */ 30 public interface Roller { 31 32 33 /** 34 * Get UserManager associated with this Roller instance. 35 */ 36 public UserManager getUserManager() throws RollerException; 37 38 39 /** 40 * Get BookmarkManager associated with this Roller instance. 41 */ 42 public BookmarkManager getBookmarkManager() throws RollerException; 43 44 45 /** 46 * Get WeblogManager associated with this Roller instance. 47 */ 48 public WeblogManager getWeblogManager() throws RollerException; 49 50 51 /** 52 * Get RefererManager associated with this Roller instance. 53 */ 54 public RefererManager getRefererManager() throws RollerException; 55 56 57 /** 58 * Get ReferrerQueueManager. 59 */ 60 public ReferrerQueueManager getReferrerQueueManager(); 61 62 63 /** 64 * Get RefererManager associated with this Roller instance. 65 */ 66 public ConfigManager getConfigManager() throws RollerException; 67 68 69 /** 70 * Get the AutoPingManager associated with this Roller instance. 71 */ 72 public AutoPingManager getAutopingManager() throws RollerException; 73 74 75 /** 76 * Get the PingTargetManager associated with this Roller instance. 77 */ 78 public PingTargetManager getPingTargetManager() throws RollerException; 79 80 81 /** 82 * Get the PingQueueManager associated with this Roller instance. 83 */ 84 public PingQueueManager getPingQueueManager() throws RollerException; 85 86 87 /** 88 * Get PropertiesManager associated with this Roller instance. 89 */ 90 public PropertiesManager getPropertiesManager() throws RollerException; 91 92 93 /** 94 * Get FileManager associated with this Roller instance. 95 */ 96 public FileManager getFileManager() throws RollerException; 97 98 99 /** 100 * Get ThreadManager associated with this Roller instance. 101 */ 102 public ThreadManager getThreadManager() throws RollerException; 103 104 105 /** 106 * Get IndexManager associated with this Roller instance. 107 */ 108 public IndexManager getIndexManager() throws RollerException; 109 110 111 /** 112 * Get PlanetManager associated with this Roller instance. 113 */ 114 public PlanetManager getPlanetManager() throws RollerException; 115 116 117 /** 118 * Get ThemeManager associated with this Roller instance. 119 */ 120 public ThemeManager getThemeManager() throws RollerException; 121 122 123 /** 124 * Get PluginManager associated with this Roller instance. 125 */ 126 public PluginManager getPagePluginManager() throws RollerException; 127 128 129 /** 130 * Flush object states. 131 */ 132 public void flush() throws RollerException; 133 134 135 /** 136 * Release all resources associated with Roller session. 137 */ 138 public void release(); 139 140 141 /** 142 * Release all resources necessary for this instance of Roller. 143 */ 144 public void shutdown(); 145 146 } 147 148