public abstract class LibrarySessionAndJDBCAction extends LibrarySessionAction implements IfsParameters
RESTART_SERVICECONTINUE_ON_ERROR, m_defaultOptions, m_optionsAPPEND_LOG, DATABASE_TYPE, DATABASE_URL, DB_USER_NAME, DB_USER_PASSWORD, DOMAIN_TYPE, ENABLE_SSL_SUPPORT, FOR_SCHEMA_UPGRADE, IFS_DOMAIN_DISPLAY_NAME, IFS_DOMAIN_NAME, IFS_SCHEMA_NAME, IFS_SCHEMA_PASSWORD, IFS_SERVICE_NAME, IFS_USER_NAME, IFS_USER_PASSWORD, INCLUDE_PATH, INITIAL_CONTEXT_FACTORY, LDAP_URL_DAS_LOOKUP, LDAP_USER_NAME, LDAP_USER_PASSWORD, OUTPUT_FILE, PARAMETER_FILE, REGISTRY, SCHEMA_VERSION_KEY, SECURITY_PROTOCOL_NAME, SERVICE_CONFIGURATION_NAME| Constructor and Description |
|---|
LibrarySessionAndJDBCAction()
An Ecm upgrade that creates an Ecm Domain for each Files Subscriber
|
| Modifier and Type | Method and Description |
|---|---|
void |
execute(LibrarySession sess)
Execute the action.
|
abstract void |
execute(LibrarySession sess,
Connection con) |
void |
failed(Throwable error)
provide "do nothing" implementation for failed().
|
protected Date |
getDate(ResultSet rset,
int position) |
protected void |
log(String msg)
Add message to the log.
|
protected void |
printStackTrace(Throwable e)
Add stack trace to the log.
|
void |
stop()
provide "do nothing" implementation for stop().
|
perform, setDomain, setForSchemaUpgrade, setPassword, setRestartService, setSchemaPassword, setUsergetDescription, getName, getValue, isContinueOnError, isPostgres, putValue, setDefaultOptions, setDescription, setName, setOptionspublic LibrarySessionAndJDBCAction()
public void execute(LibrarySession sess) throws IfsException, ActionFailedException
execute in class LibrarySessionActionsess - the connected LibrarySession (expected to
be in admin mode)ActionFailedException: - if any other exception occursIfsException - if a database error occurs.ActionFailedException - if any other error occurs.public abstract void execute(LibrarySession sess, Connection con) throws ActionFailedException
ActionFailedExceptionprotected Date getDate(ResultSet rset, int position) throws SQLException, IfsException
SQLExceptionIfsExceptionpublic void stop()
public void failed(Throwable error)
protected void printStackTrace(Throwable e)
e - the exception for which to print a stack traceprotected void log(String msg)
msg - the message to logCopyright © 2025. All rights reserved.