01: /*
02: * Copyright ? 2006 Sun Microsystems, Inc. All rights reserved.
03: *
04: * Sun Microsystems, Inc. has intellectual property rights relating to
05: * technology embodied in the product that is described in this document.
06: * In particular, and without limitation, these intellectual property
07: * rights may include one or more of the U.S. patents listed at
08: * http://www.sun.com/patents and one or more additional patents or
09: * pending patent applications in the U.S. and in other countries.
10: *
11: * U.S. Government Rights - Commercial software. Government users are subject
12: * to the Sun Microsystems, Inc. standard license agreement and applicable
13: * provisions of the FAR and its supplements. Use is subject to license terms.
14: * This distribution may include materials developed by third parties.
15: * Sun, Sun Microsystems, the Sun logo and Java are trademarks or registered
16: * trademarks of Sun Microsystems, Inc. in the U.S. and other countries.
17: */
18: package com.sun.portal.app.blog.env;
19:
20: import com.sun.portal.app.blog.BlogPortletException;
21: import java.net.URL;
22: import javax.servlet.ServletContextEvent;
23: import javax.servlet.ServletContextListener;
24:
25: /**
26: * Abstract base class for preferences.
27: *
28: * Implementations of this class define the concept of
29: * preferences for different runtime application runtime environments.
30: */
31: public interface Prefs {
32: public String getAppUrl() throws BlogPortletException;
33:
34: public void setAppUrl(String val) throws BlogPortletException;
35:
36: public String getAppEntriesUrl() throws BlogPortletException;
37:
38: public void setAppEntriesUrl(String val)
39: throws BlogPortletException;
40:
41: public String getAppUserName() throws BlogPortletException;
42:
43: public void setAppUserName(String val) throws BlogPortletException;
44:
45: public String getAppUserPassword() throws BlogPortletException;
46:
47: public void setAppUserPassword(String val)
48: throws BlogPortletException;
49:
50: public String getAappUrl() throws BlogPortletException;
51:
52: public String getAappUserName() throws BlogPortletException;
53:
54: public void setAappUserName(String val) throws BlogPortletException;
55:
56: public String getAappUserPassword() throws BlogPortletException;
57:
58: public String getHandle() throws BlogPortletException;
59:
60: public void setHandle(String val) throws BlogPortletException;
61:
62: public String getConfigMode() throws BlogPortletException;
63:
64: public String getMemberPermission() throws BlogPortletException;
65:
66: public String getUserUrl() throws BlogPortletException;
67:
68: public int getPageSize() throws BlogPortletException;
69:
70: public URL getSearchUrl() throws BlogPortletException;
71:
72: public String getSearchDatabase() throws BlogPortletException;
73:
74: public int getRefreshInterval() throws BlogPortletException;
75:
76: public void store() throws BlogPortletException;
77: }
|