public class RemoveAttributeAction extends LibrarySessionAction
The attribute to be removed is specified by properties. As a result, upgrade actions can often use this class as is, without needing to introduce an action-specific subclass.
| Modifier and Type | Field and Description |
|---|---|
protected static String |
PROPERTY_ATTRIBUTE
The property whose string value is name of the attribute.
|
protected static String |
PROPERTY_CLASSOBJECT
The property whose string value is the name of the classobject.
|
protected static String |
PROPERTY_DROPCOLUMN
The property whose boolean value is true to drop the attribute's column
in the base table (the default), or false to mark the column unused.
|
PROPERTY_PREVENTSESSIONTIMEOUTS| Constructor and Description |
|---|
RemoveAttributeAction() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
analyze(LibrarySession session)
Called by
analyze. |
protected void |
upgrade(LibrarySession session)
Called by
upgrade. |
abortTransaction, analyze, postUpgrade, postUpgrade, preUpgrade, preUpgrade, rollback, rollback, upgradegetName, getProperties, getProperty, getUpgradeActionContext, initializeprotected static final String PROPERTY_CLASSOBJECT
protected static final String PROPERTY_ATTRIBUTE
protected static final String PROPERTY_DROPCOLUMN
protected void analyze(LibrarySession session) throws IfsException
analyze.
Subclasses should override this method to perform the analysis phase of the upgrade action.
analyze in class LibrarySessionActionsession - the sessionIfsException - if the operation failsprotected void upgrade(LibrarySession session) throws IfsException
upgrade.
Subclasses should override this method to perform the upgrade phase of the upgrade action.
upgrade in class LibrarySessionActionsession - the sessionIfsException - if the operation failsCopyright © 2025. All rights reserved.