public class RemoveAttributeAction extends LibrarySessionUpgradeAction
 Instead of using this class, new upgrade actions should use RemoveAttributeAction, which is
 more data driven (often eliminating the need for a subclass) and
 supports online upgrade.
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 | 
|---|
RemoveAttributeAction()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
execute(LibrarySession sess)
Removes the attribute specified by the  
ClassObject and
 Attribute properties. | 
protected void | 
removeAttributeIfNecessary(LibrarySession sess,
                          String className,
                          String attrName)
Do the real work of adding the attribute, after checking to see
 if the attribute exists already first. 
 | 
protected void | 
removeAttributeIfNecessary(LibrarySession sess,
                          String className,
                          String attrName,
                          boolean dropColumn)
Do the real work of adding the attribute, after checking to see
 if the attribute exists already first. 
 | 
failed, getTimestamp, log, log, printStackTrace, stopperform, setDomain, setForSchemaUpgrade, setPassword, setRestartService, setSchemaPassword, setUsergetDescription, getName, getValue, isContinueOnError, isPostgres, putValue, setDefaultOptions, setDescription, setName, setOptionspublic void execute(LibrarySession sess) throws IfsException, ActionFailedException
ClassObject and
 Attribute properties.execute in class LibrarySessionActionsess - the connected LibrarySession (in admin mode if possible).IfsException - if a database error occurs.ActionFailedException - if any other error occurs.protected void removeAttributeIfNecessary(LibrarySession sess, String className, String attrName) throws IfsException
IfsExceptionprotected void removeAttributeIfNecessary(LibrarySession sess, String className, String attrName, boolean dropColumn) throws IfsException
IfsExceptionCopyright © 2025. All rights reserved.