|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.aoindustries.website.SiteSettings
public class SiteSettings
Provides site-wide settings.
| Constructor Summary | |
|---|---|
SiteSettings(javax.servlet.ServletContext servletContext)
|
|
| Method Summary | |
|---|---|
com.aoindustries.aoserv.client.Brand |
getBrand()
Gets the Brand for this site. |
boolean |
getCanEditResources()
Determines if this site allows direct editing of resource bundles. |
boolean |
getExceptionShowError()
Defaults to false. |
static SiteSettings |
getInstance(javax.servlet.ServletContext servletContext)
Gets the proper settings instance as configured in the web.xml file. |
java.util.List<Skin.Language> |
getLanguages(javax.servlet.http.HttpServletRequest req)
Gets the unmodifiable list of languages supported by this site. |
boolean |
getProtocolActionRedirectOnMismatch()
Defaults to true. |
com.aoindustries.aoserv.client.AOServConnector |
getRootAOServConnector()
Gets the root connector. |
protected java.lang.String |
getRootAOServConnectorPassword()
Gets the password for the root AOServConnector. |
protected java.lang.String |
getRootAOServConnectorUsername()
Gets the username for the root AOServConnector. |
java.util.List<Skin> |
getSkins()
Gets the unmodifiable list of skins supported by this site. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SiteSettings(javax.servlet.ServletContext servletContext)
| Method Detail |
|---|
public static SiteSettings getInstance(javax.servlet.ServletContext servletContext)
public java.util.List<Skin> getSkins()
protected java.lang.String getRootAOServConnectorUsername()
getRootAOServConnector()protected java.lang.String getRootAOServConnectorPassword()
getRootAOServConnector()
public com.aoindustries.aoserv.client.AOServConnector getRootAOServConnector()
throws java.io.IOException
java.io.IOException
public com.aoindustries.aoserv.client.Brand getBrand()
throws java.io.IOException,
java.sql.SQLException
java.io.IOException
java.sql.SQLException
public java.util.List<Skin.Language> getLanguages(javax.servlet.http.HttpServletRequest req)
throws java.io.IOException,
java.sql.SQLException
java.io.IOException
java.sql.SQLExceptionpublic boolean getProtocolActionRedirectOnMismatch()
true.
public boolean getExceptionShowError()
false.
public boolean getCanEditResources()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||