public class OPatchSchemaOperations extends Object
| Constructor and Description |
|---|
OPatchSchemaOperations(DataSource dataSource)
Constructs an OPatchSchemaOperations instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
rollback(InputStream upgradeScript,
AttributeValue[] defaultProperties)
Performs schema operations required by OPATCH rollback.
|
void |
upgrade(InputStream upgradeScript,
AttributeValue[] defaultProperties,
boolean onlineUpgrade)
Performs schema operations required by OPATCH upgrade.
|
public OPatchSchemaOperations(DataSource dataSource) throws IfsException
dataSource - a DataSource for the repository's schemaIfsException - if the operation failspublic void upgrade(InputStream upgradeScript, AttributeValue[] defaultProperties, boolean onlineUpgrade) throws IfsException
upgradeScript - the XML upgrade scriptdefaultProperties - additional default properties, or null if noneonlineUpgrade - whether online upgrade is requestedIfsException - if the operation failspublic void rollback(InputStream upgradeScript, AttributeValue[] defaultProperties) throws IfsException
upgradeScript - the XML upgrade scriptdefaultProperties - additional default properties, or null if noneIfsException - if the operation failsCopyright © 2025. All rights reserved.