|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectokapi.coreobjects.OkapiObject
okapi.coreobjects.OkapiSite
public class OkapiSite
Okapi site object Sitewide information may be stored here.
Field Summary |
---|
Fields inherited from class okapi.coreobjects.OkapiObject |
---|
createdBy, createdDate, description, lastModifiedBy, lastModifiedDate, longName, name, objectID, status |
Constructor Summary | |
---|---|
OkapiSite(javax.servlet.ServletContext context)
Construct the site object, initializing sitewide values |
|
OkapiSite(java.lang.String rootDirectory)
Alternative constructor for testing outside a servlet. |
Method Summary | |
---|---|
static java.util.List |
apacheHostIpList()
Return vector of IP addresses for valid Apache connectors |
void |
descend(java.util.List pathVector,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.ServletContext context,
java.util.Vector nexusHistory)
Method descend |
void |
destroy()
Destroy the Site object. |
OcwInfoXmlFactory |
getOcwInfoFactory()
|
static java.lang.String |
getOcwUrl(java.lang.String masterSubjectId)
return OCW Url for (master) subject number |
static OkapiNexus |
getRootNexus()
return root nexus. |
static boolean |
isPreload()
Check for preload status of this site |
static boolean |
isPreload(javax.servlet.http.HttpServletRequest request)
Check for preload status of this site |
static boolean |
isReadOnly()
Check for readOnly status of this site |
static boolean |
isReadOnly(javax.servlet.http.HttpServletRequest request)
Check for readOnly status of this site |
static int |
objectLatency()
Return object latency (time between cache checks) |
void |
setDataSource(javax.sql.DataSource dataSource)
Set the dataSource to be used for data access. |
void |
setOcwInfoFactory(OcwInfoXmlFactory ocwInfoFactory)
|
Methods inherited from class okapi.coreobjects.OkapiObject |
---|
checkAuthorization, currentDateTimeOracle, getAsXml, getAsXml, getAsXml, getAsXml, getCreatedBy, getCreatedDate, getDescription, getLastModifiedBy, getLastModifiedDate, getLongName, getName, getObjectID, getStatus, isEncryptionRequired, refreshFromDB, setAuthorization, setCreatedBy, setCreatedDate, setDescription, setLastModifiedBy, setLastModifiedBy, setLastModifiedDate, setLongName, setName, setStatus, updateDB |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OkapiSite(javax.servlet.ServletContext context)
public OkapiSite(java.lang.String rootDirectory)
Method Detail |
---|
public void setOcwInfoFactory(OcwInfoXmlFactory ocwInfoFactory)
public OcwInfoXmlFactory getOcwInfoFactory()
public static OkapiNexus getRootNexus()
public static boolean isReadOnly(javax.servlet.http.HttpServletRequest request)
public static boolean isReadOnly()
public static boolean isPreload(javax.servlet.http.HttpServletRequest request)
public static boolean isPreload()
public static int objectLatency()
public static java.util.List apacheHostIpList()
public static java.lang.String getOcwUrl(java.lang.String masterSubjectId)
public void destroy()
public void descend(java.util.List pathVector, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.ServletContext context, java.util.Vector nexusHistory) throws java.io.IOException, javax.servlet.ServletException
pathVector
- request
- response
- context
- nexusHistory
-
java.io.IOException
javax.servlet.ServletException
public void setDataSource(javax.sql.DataSource dataSource)
dataSource
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |