Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## oracle.ifs.admin.upgrade.common
Class AddAccessLevel

    java.lang.Object
      oracle.ifs.utils.action.AbstractAction
          oracle.ifs.admin.actions.LibrarySessionAction
              oracle.ifs.admin.upgrade.common.LibrarySessionUpgradeAction
                  oracle.ifs.admin.upgrade.common.AddAccessLevel

All Implemented Interfaces:
  Action, IfsParameters

    public abstract class AddAccessLevel

extends LibrarySessionUpgradeAction

This class provides facilities to add access levels. It supports various scenarios common while adding access levels in a upgrade. First used in - 9.0.2.0.0 --> 9.0.3.0.0

(Unpublished)

Field Summary
`static int` | `SELECTOR_MAXITEM_COUNT`

Fields inherited from class oracle.ifs.admin.actions.LibrarySessionAction
`RESTART_SERVICE`

Fields inherited from class oracle.ifs.utils.action.AbstractAction
`CONTINUE_ON_ERROR, m_defaultOptions, m_options`

Fields inherited from interface oracle.ifs.utils.common.IfsParameters
`APPEND_LOG, 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 Summary
`AddAccessLevel()`

Method Summary
`protected void` | `enableAllAccessLevelsInAces(LibrarySession sess, long sourceLevel, long additionalLevel)` Find all AccessControlEntrys in the system that have a set of permissions enabled and also enable a new set of permissions
`protected void` | `enableAllAccessLevelsInPermissionBundles(LibrarySession sess, long sourceLevel, long additionalLevel)` Change permission bundles in the system.
`protected void` | `modifyAccessControlEntries(LibrarySession sess, long sourceLevel, long additionalLevel)`
`protected void` | `modifyPermissionBundles(LibrarySession sess, AccessControlList acl, long additionalLevel)` Add the new access level to the given ACL's permission bundle.
`protected void` | `modifyPermissionBundles(LibrarySession sess, long sourceLevel, long additionalLevel)` Change permission bundles in the system.

Methods inherited from class oracle.ifs.admin.upgrade.common.LibrarySessionUpgradeAction
`failed, getTimestamp, log, log, printStackTrace, stop`

Methods inherited from class oracle.ifs.admin.actions.LibrarySessionAction
`execute, perform, setDomain, setForSchemaUpgrade, setPassword, setRestartService, setSchemaPassword, setUser`

Methods inherited from class oracle.ifs.utils.action.AbstractAction
`getDescription, getName, getValue, isContinueOnError, putValue, setDefaultOptions, setDescription, setName, setOptions`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### SELECTOR_MAXITEM_COUNT

    public static final int SELECTOR_MAXITEM_COUNT

See Also:
  Constant Field Values

Constructor Detail

### AddAccessLevel

    public AddAccessLevel()

Method Detail

### modifyAccessControlEntries

    protected void modifyAccessControlEntries(LibrarySession sess,
                                              long sourceLevel,
                                              long additionalLevel)
                                       throws IfsException

  Throws:
    `IfsException`

### enableAllAccessLevelsInAces

    protected void enableAllAccessLevelsInAces(LibrarySession sess,
                                               long sourceLevel,
                                               long additionalLevel)
                                        throws IfsException

  Description copied from class: `AddAccessLevel`
  Find all AccessControlEntrys in the system that have a set of permissions enabled and also enable a new set of permissions

  Parameters:
    `sess` - handle to the LibrarySession
    `sourceLevel` - existing levels
    `additionalLevel` - new level
  Throws:
    `IfsException` - if the operation fails

### modifyPermissionBundles

    protected void modifyPermissionBundles(LibrarySession sess,
                                           long sourceLevel,
                                           long additionalLevel)
                                    throws IfsException

  Description copied from class: `AddAccessLevel`
  Change permission bundles in the system. If the sourceLevel is enabled in the PB, then enable the additionalLevel.

  Parameters:
    `sess` - handle to the LibrarySession
    `sourceLevel` - existing level
    `additionalLevel` - new level
  Throws:
    `IfsException` - if the operation fails

### modifyPermissionBundles

    protected void modifyPermissionBundles(LibrarySession sess,
                                           AccessControlList acl,
                                           long additionalLevel)
                                    throws IfsException

  Description copied from class: `AddAccessLevel`
  Add the new access level to the given ACL's permission bundle.

  Parameters:
    `sess` - handle to the LibrarySession
    `acl` - ACL whose PB needs to be modified
    `additionalLevel` - new level that needs to be added
  Throws:
    `IfsException` - if the operation fails

### enableAllAccessLevelsInPermissionBundles

    protected void enableAllAccessLevelsInPermissionBundles(LibrarySession sess,
                                                            long sourceLevel,
                                                            long additionalLevel)
                                                     throws IfsException

  Description copied from class: `AddAccessLevel`
  Change permission bundles in the system. If the sourceLevel is sufficiently enabled in the PB, then enable the additionalLevels.

  Parameters:
    `sess` - handle to the LibrarySession
    `sourceLevel` - existing level
    `additionalLevel` - new level
  Throws:
    `IfsException` - if the operation fails

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD