public class RecreateClassObjectViews extends LibrarySessionUpgradeAction
RESTART_SERVICE
CONTINUE_ON_ERROR, m_defaultOptions, m_options
APPEND_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 |
---|
RecreateClassObjectViews() |
Modifier and Type | Method and Description |
---|---|
void |
execute(LibrarySession session)
Creates or re-creates the views for the ClassObject specified by the
ClassObject property, and its subclasses. |
void |
recreateViews(LibrarySession session,
ClassObject co)
Creates or re-creates the views for the specified ClassObject, and its
subclasses.
|
failed, getTimestamp, log, log, printStackTrace, stop
perform, setDomain, setForSchemaUpgrade, setPassword, setRestartService, setSchemaPassword, setUser
getDescription, getName, getValue, isContinueOnError, isPostgres, putValue, setDefaultOptions, setDescription, setName, setOptions
public void execute(LibrarySession session) throws IfsException, ActionFailedException
ClassObject
property, and its subclasses.
If the ClassObject
property is omitted, the views for all
ClassObjects are created or re-created.
execute
in class LibrarySessionAction
session
- the sessionActionFailedException
- if the operation failsIfsException
- if the operation failspublic void recreateViews(LibrarySession session, ClassObject co) throws IfsException
session
- the sessionco
- the ClassObject, or null for all ClassObjectsIfsException
- if the script operation failsCopyright © 2023. All rights reserved.