org.enhydra.snapperAdmin
Class SnapperAdmin
java.lang.Object
com.lutris.appserver.server.StandardApplication
org.enhydra.snapperAdmin.SnapperAdmin
- All Implemented Interfaces:
- com.lutris.appserver.server.Application
public class SnapperAdmin
- extends com.lutris.appserver.server.StandardApplication
The application object.
Application-wide data would go here.
Nested classes/interfaces inherited from class com.lutris.appserver.server.StandardApplication |
com.lutris.appserver.server.StandardApplication.ContextMBean |
Fields inherited from class com.lutris.appserver.server.StandardApplication |
appConfigMBean, appName, config, contextMBean, data, databaseManager, databaseManagerMBean, databaseMBean, defaultUrl, jivanFactory, logChannel, logger, loggerSys, postProcessingManager, preProcessingManager, presentationManager, presentationManagerMBean, sendCookieForNewSession, server, sessionManager, sessionManagerMBean, state, tableMBean, tableMBeans, xmlcFactory |
Fields inherited from interface com.lutris.appserver.server.Application |
DEAD, HALTED, INCOMPLETE, RUNNING, STOPPED |
Methods inherited from class com.lutris.appserver.server.StandardApplication |
createDatabaseManager, createPostProcessingManager, createPreProcessingManager, createSession, createSessionManager, encodeUrl, encodeUrl, ensureSession, getConfig, getDatabaseManager, getHttpPresentationManager, getJivanFactory, getLogChannel, getName, getSessionManager, getState, getXMLCFactory, initDodsAsyncCaches, initDodsAsyncCaches, initializeNewSession, printCopyrightHeader, requestPostProcessor, restartup, servletRequestPreprocessor, setCookieForNewSession, setHttpPresentationManager, setJivanFactory, setLogChannel, setName, setXMLCFactory, shutdown, shutdownWithoutMBeanUnRegistration |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
version
protected static java.lang.String version
indexDir
protected static java.lang.String indexDir
indexerClassName
protected static java.lang.String indexerClassName
mountTitleInContent
protected static boolean mountTitleInContent
mountFilePathInContent
protected static boolean mountFilePathInContent
mountPropertiesInContent
protected static boolean mountPropertiesInContent
mountMetaDataInContent
protected static boolean mountMetaDataInContent
forceIndexUnlock
protected static boolean forceIndexUnlock
indexDiference
protected static boolean indexDiference
maxFieldLength
protected static int maxFieldLength
maxPropertiesLength
protected static int maxPropertiesLength
maxIndexLength
protected static long maxIndexLength
sitesUpdated
public static java.util.Vector sitesUpdated
sitesIndexed
public static java.util.Vector sitesIndexed
sitesLocked
public static java.util.Vector sitesLocked
log
public static com.lutris.logging.LogChannel log
siteConfFile
protected static java.lang.String siteConfFile
documentGroupConfFile
protected static java.lang.String documentGroupConfFile
logDirectory
protected static java.lang.String logDirectory
statisticDirectory
protected static java.lang.String statisticDirectory
statisticActive
protected static boolean statisticActive
pathOfConvertedFiles
protected static java.lang.String pathOfConvertedFiles
toSaveConvertedFile
protected static boolean toSaveConvertedFile
toSaveConvertedWord
protected static boolean toSaveConvertedWord
toSaveConvertedExcel
protected static boolean toSaveConvertedExcel
toSaveConvertedPowerPoint
protected static boolean toSaveConvertedPowerPoint
toSaveConvertedWord2007
protected static boolean toSaveConvertedWord2007
toSaveConvertedExcel2007
protected static boolean toSaveConvertedExcel2007
toSaveConvertedPowerPoint2007
protected static boolean toSaveConvertedPowerPoint2007
printStackTrace
protected static boolean printStackTrace
checkConnection
protected static boolean checkConnection
optimizeOnIndex
protected static boolean optimizeOnIndex
optimizeOnUpdate
protected static boolean optimizeOnUpdate
SnapperAdmin
public SnapperAdmin()
startup
public void startup(com.lutris.util.Config appConfig)
throws com.lutris.appserver.server.ApplicationException
- Specified by:
startup
in interface com.lutris.appserver.server.Application
- Overrides:
startup
in class com.lutris.appserver.server.StandardApplication
- Throws:
com.lutris.appserver.server.ApplicationException
requestPreprocessor
public boolean requestPreprocessor(com.lutris.appserver.server.httpPresentation.HttpPresentationComms comms)
throws java.lang.Exception
- Specified by:
requestPreprocessor
in interface com.lutris.appserver.server.Application
- Overrides:
requestPreprocessor
in class com.lutris.appserver.server.StandardApplication
- Throws:
java.lang.Exception
toHtml
public java.lang.String toHtml()
- This is an optional function, used only by the Multiserver's graphical
administration. This bit of HTML appears in the status page for this
application. You could add extra status info, for example a list of
currently logged in users.
- Overrides:
toHtml
in class com.lutris.appserver.server.StandardApplication
- Returns:
- HTML that is displayed in the status page of the Multiserver.
getIndexDir
public static java.lang.String getIndexDir()
getIdexerClassName
public static java.lang.String getIdexerClassName()
getmaxFieldLength
public static int getmaxFieldLength()
getMaxPropertiesLength
public static int getMaxPropertiesLength()
getmaxIndexLength
public static long getmaxIndexLength()
getSitesLocked
public static java.util.Vector getSitesLocked()
setSiteLocked
public static void setSiteLocked(java.lang.String name)
removeSiteLocked
public static void removeSiteLocked(java.lang.String name)
removeAllLocked
public static void removeAllLocked()
getMountTitleInContent
public static boolean getMountTitleInContent()
getForceIndexUnlock
public static boolean getForceIndexUnlock()
getMountFilePathInContent
public static boolean getMountFilePathInContent()
getMountPropertiesInContent
public static boolean getMountPropertiesInContent()
getMountMetaDataInContent
public static boolean getMountMetaDataInContent()
logDebug
public static void logDebug(java.lang.String message)
logInfo
public static void logInfo(java.lang.String message)
logWarrning
public static void logWarrning(java.lang.String message)
logError
public static void logError(java.lang.String message)
getIndexDiference
public static boolean getIndexDiference()
getLogDirectory
public static java.lang.String getLogDirectory()
getSiteConfFile
public static java.lang.String getSiteConfFile()
getDocumentGroupConfFile
public static java.lang.String getDocumentGroupConfFile()
getStatisticDirectory
public static java.lang.String getStatisticDirectory()
getStatisticActive
public static boolean getStatisticActive()
getIndexOSspecific
public static boolean getIndexOSspecific()
getConverterClassNames
public static java.util.Properties getConverterClassNames()
pathOfConvertedFiles
public static java.lang.String pathOfConvertedFiles()
toSaveConvertedFile
public static boolean toSaveConvertedFile()
toSaveConvertedWord
public static boolean toSaveConvertedWord()
toSaveConvertedExcel
public static boolean toSaveConvertedExcel()
toSaveConvertedPowerPoint
public static boolean toSaveConvertedPowerPoint()
printStackTrace
public static boolean printStackTrace()
checkConnection
public static boolean checkConnection()
toSaveConvertedWord2007
public static boolean toSaveConvertedWord2007()
toSaveConvertedExcel2007
public static boolean toSaveConvertedExcel2007()
toSaveConvertedPowerPoint2007
public static boolean toSaveConvertedPowerPoint2007()
getWord2007TransformationPath
public static java.lang.String getWord2007TransformationPath()
getExcel2007TransformationPath
public static java.lang.String getExcel2007TransformationPath()
getPowerPoint2007TransformationPath
public static java.lang.String getPowerPoint2007TransformationPath()
copyFile
public void copyFile(java.io.File temp,
java.io.File temp2)
getOptimizeOnIndex
public static boolean getOptimizeOnIndex()
getOptimizeOnUpdate
public static boolean getOptimizeOnUpdate()
getMaxFileSize
public static int getMaxFileSize()
getTimeLimit
public static long getTimeLimit()
getExcel2007HTMLTemplates
public static javax.xml.transform.Templates getExcel2007HTMLTemplates()
setExcel2007HTMLTransformer
public static void setExcel2007HTMLTransformer(javax.xml.transform.Templates excel2007HTMLTransformer)
getExcel2007TextTemplates
public static javax.xml.transform.Templates getExcel2007TextTemplates()
setExcel2007TextTemplates
public static void setExcel2007TextTemplates(javax.xml.transform.Templates excel2007TextTransformer)
getPowerpoint2007HTMLTemplates
public static javax.xml.transform.Templates getPowerpoint2007HTMLTemplates()
setPowerpoint2007HTMLTemplates
public static void setPowerpoint2007HTMLTemplates(javax.xml.transform.Templates powerpoint2007HTMLTransformer)
getPowerpoint2007TextTemplates
public static javax.xml.transform.Templates getPowerpoint2007TextTemplates()
setPowerpoint2007TextTemplates
public static void setPowerpoint2007TextTemplates(javax.xml.transform.Templates powerpoint2007TextTransformer)
getWord2007HTMLTemplates
public static javax.xml.transform.Templates getWord2007HTMLTemplates()
setWord2007HTMLTemplates
public static void setWord2007HTMLTemplates(javax.xml.transform.Templates word2007HTMLTransformer)
getWord2007TextTemplates
public static javax.xml.transform.Templates getWord2007TextTemplates()
setWord2007TextTemplates
public static void setWord2007TextTemplates(javax.xml.transform.Templates word2007TextTransformer)