public abstract class CreateNamedPropertyBundle 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 |
---|
CreateNamedPropertyBundle() |
Modifier and Type | Method and Description |
---|---|
protected PropertyBundle |
createNamedPropertyBundle(LibrarySession session,
String name,
String description,
String systemAclName)
Create a ValueDefault
|
protected PropertyBundle |
createPropertyBundle(LibrarySession session,
PropertyBundleDefinition def)
Creates a PropertyBundle from a PropertyBundleDefinition.
|
protected PropertyBundle |
createPropertyBundle(LibrarySession session,
String name,
String description,
AccessControlList acl)
Creates a PropertyBundle given a name and property definitions.
|
protected PropertyBundle |
createPropertyBundle(LibrarySession session,
String name,
String description,
String aclName)
Creates a PropertyBundle given a name and property definitions.
|
protected ValueDefault |
createValueDefault(LibrarySession session,
String name,
String description,
AttributeValue value)
Create a ValueDefault
|
protected ValueDefault |
createValueDefault(LibrarySession session,
ValueDefaultDefinition def) |
protected PropertyBundle |
getNamedPropertyBundle(LibrarySession session,
String name)
Find a named PropertyBundle from a ValueDefault.
|
protected AccessControlList |
lookupSystemAcl(LibrarySession session,
String name)
Find a SystemAccessControlList by name; return null if no SystemAccessControlList
exists with the specified name.
|
protected ValueDefault |
lookupValueDefault(LibrarySession session,
String name)
Find a ValueDefault by name; return null if no ValueDefault
exists with the specified name.
|
protected void |
putPropertyValue(PropertyBundle pb,
String propertyName,
AttributeValue value)
Update or add a property to a property bundle.
|
protected void |
putPropertyValue(PropertyBundle pb,
String propertyName,
AttributeValue value,
boolean skipIfExists)
Update or add a property to a property bundle.
|
protected void |
removeProperties(PropertyBundle pb)
Remove all properties from a property bundle.
|
protected void |
removeProperty(PropertyBundle pb,
String propertyName)
Remove a property from a property bundle.
|
protected void |
updateValueDefaultValue(ValueDefault vdef,
AttributeValue value)
Update the value of a ValueDefault.
|
failed, getTimestamp, log, log, printStackTrace, stop
execute, perform, setDomain, setForSchemaUpgrade, setPassword, setRestartService, setSchemaPassword, setUser
getDescription, getName, getValue, isContinueOnError, isPostgres, putValue, setDefaultOptions, setDescription, setName, setOptions
protected PropertyBundle createNamedPropertyBundle(LibrarySession session, String name, String description, String systemAclName) throws IfsException
IfsException
- if the operation failsprotected PropertyBundle getNamedPropertyBundle(LibrarySession session, String name) throws IfsException
IfsException
- if the operation failsprotected ValueDefault createValueDefault(LibrarySession session, String name, String description, AttributeValue value) throws IfsException
IfsException
- if the operation failsprotected ValueDefault createValueDefault(LibrarySession session, ValueDefaultDefinition def) throws IfsException
IfsException
protected void updateValueDefaultValue(ValueDefault vdef, AttributeValue value) throws IfsException
vdef
- the ValueDefault to updatevalue
- the new value for the ValueDefaultIfsException
- if the operation failsprotected PropertyBundle createPropertyBundle(LibrarySession session, String name, String description, String aclName) throws IfsException
session
- the iFS sessionname
- the name of the new property bundledescription
- the description of the new property bundleaclName
- the name (or domain property key) of the
ACL for the new property bundleIfsException
- if operation failsprotected PropertyBundle createPropertyBundle(LibrarySession session, String name, String description, AccessControlList acl) throws IfsException
session
- the iFS sessionname
- the name of the property bundledescription
- the description of the property bundleacl
- the ACL of the property bundleIfsException
- if operation failsprotected PropertyBundle createPropertyBundle(LibrarySession session, PropertyBundleDefinition def) throws IfsException
session
- the iFS sessiondef
- the definition for the new PropertyBundleIfsException
- if operation failsprotected ValueDefault lookupValueDefault(LibrarySession session, String name) throws IfsException
session
- the sessionname
- ValueDefault nameIfsException
- if operation failsprotected AccessControlList lookupSystemAcl(LibrarySession session, String name) throws IfsException
session
- the sessionname
- System ACL nameIfsException
- if operation failsprotected void putPropertyValue(PropertyBundle pb, String propertyName, AttributeValue value) throws IfsException
pb
- the PropertyBundlepropertyName
- the Property namevalue
- the Property valueIfsException
- if operation failsprotected void putPropertyValue(PropertyBundle pb, String propertyName, AttributeValue value, boolean skipIfExists) throws IfsException
pb
- the PropertyBundlepropertyName
- the Property namevalue
- the Property valueskipIfExists
- indication of whether to avoid putting the
property into the bundle if a property
already exists with that nameIfsException
- if operation failsprotected void removeProperty(PropertyBundle pb, String propertyName) throws IfsException
pb
- the PropertyBundlepropertyName
- the Property nameIfsException
- if operation failsprotected void removeProperties(PropertyBundle pb) throws IfsException
pb
- the PropertyBundleIfsException
- if operation failsCopyright © 2023. All rights reserved.