Package org.eclipse.emf.spi.cdo

## Class CDOSessionProtocol.OpenSessionResult

- java.lang.Object
- - org.eclipse.core.runtime.PlatformObject
  - - org.eclipse.emf.spi.cdo.CDOSessionProtocol.OpenSessionResult

- All Implemented Interfaces:
    `IAdaptable`, `CDOCommonRepository`, `CDOTimeProvider`
  Enclosing interface:
    CDOSessionProtocol

      public static final class CDOSessionProtocol.OpenSessionResult
      extends PlatformObject
      implements CDOCommonRepository

  If the meaning of this type isn't clear, there really should be more of a description here...
  Since:
    3.0
  Author:
    Eike Stepper
  No Instantiate
    This class is not intended to be instantiated by clients.

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from interface org.eclipse.emf.cdo.common.CDOCommonRepository

      `CDOCommonRepository.CommitInfoStorage, CDOCommonRepository.IDGenerationLocation, CDOCommonRepository.ListOrdering, CDOCommonRepository.State, CDOCommonRepository.StateChangedEvent, CDOCommonRepository.Type, CDOCommonRepository.TypeChangedEvent`

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---

    `OpenSessionResult​(int sessionID, java.lang.String userID, java.lang.String repositoryUUID, CDOCommonRepository.Type repositoryType, CDOCommonRepository.State repositoryState, java.lang.String storeType, java.util.Set<CDOID.ObjectType> objectIDTypes, long repositoryCreationTime, long lastUpdateTime, CDOID rootResourceID, boolean repositorySupportingAudits, boolean repositorySupportingBranches, boolean repositorySerializingCommits, boolean repositoryEnsuringReferentialIntegrity, CDOCommonRepository.IDGenerationLocation repositoryIDGenerationLocation)`

    Deprecated.
    As of 4.4 use `OpenSessionResult(CDODataInput, int)`.

    `OpenSessionResult​(CDODataInput in, int sessionID)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods Deprecated Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `java.lang.String[]` | `getAuthorizationResults()` |
    `CDOCommonRepository.CommitInfoStorage` | `getCommitInfoStorage()` |
    `long` | `getCreationTime()` | Returns the creation time of this repository.
    `CDOCommonRepository.IDGenerationLocation` | `getIDGenerationLocation()` |
    `long` | `getLastUpdateTime()` |
    `java.lang.String` | `getName()` | Returns the name of this repository.
    `java.util.Set<CDOID.ObjectType>` | `getObjectIDTypes()` | Returns the type of CDOIDs created by the store of this repository.
    `long` | `getOpeningTime()` |
    `java.util.List<InternalCDOPackageUnit>` | `getPackageUnits()` |
    `long` | `getRepositoryCreationTime()` | Deprecated. As of 4.5 use `getCreationTime()`.
    `CDOCommonRepository.IDGenerationLocation` | `getRepositoryIDGenerationLocation()` | Deprecated. As of 4.5 use `getIDGenerationLocation()`.
    `CDOCommonRepository.State` | `getRepositoryState()` | Deprecated. As of 4.5 use `getState()`.
    `CDOSessionProtocol.RepositoryTimeResult` | `getRepositoryTimeResult()` |
    `CDOCommonRepository.Type` | `getRepositoryType()` | Deprecated. As of 4.5 use `getType()`.
    `java.lang.String` | `getRepositoryUUID()` | Deprecated. As of 4.5 use `getUUID()`.
    `CDOID` | `getRootResourceID()` | Returns the ID of the root resource of this repository.
    `int` | `getSessionID()` |
    `CDOCommonRepository.State` | `getState()` | Returns the state of this repository.
    `java.lang.String` | `getStoreType()` | Returns the type of the store of this repository.
    `int` | `getTagModCount()` |
    `long` | `getTimeStamp()` |
    `CDOCommonRepository.Type` | `getType()` | Returns the type of this repository.
    `java.lang.String` | `getUserID()` |
    `java.lang.String` | `getUUID()` | Returns the UUID of this repository.
    `boolean` | `isAuthenticating()` | Returns `true` if this repository requires user authentication, `false` otherwise.
    `boolean` | `isAuthorizingOperations()` |
    `boolean` | `isEnsuringReferentialIntegrity()` | Returns `true` if this repository ensures referential integrity, `false` otherwise.
    `boolean` | `isRepositoryAuthenticating()` | Deprecated. As of 4.5 use `isAuthenticating()`.
    `boolean` | `isRepositoryEnsuringReferentialIntegrity()` | Deprecated. As of 4.5 use `isEnsuringReferentialIntegrity()`.
    `boolean` | `isRepositorySerializingCommits()` | Deprecated. As of 4.5 use `isSerializingCommits()`.
    `boolean` | `isRepositorySupportingAudits()` | Deprecated. As of 4.5 use `isSupportingAudits()`.
    `boolean` | `isRepositorySupportingBranches()` | Deprecated. As of 4.5 use `isSupportingBranches()`.
    `boolean` | `isRepositorySupportingEcore()` | Deprecated. As of 4.2 instances of Ecore are always supported (on demand).
    `boolean` | `isSerializingCommits()` | Returns `true` if this repository serializes commits, `false` otherwise.
    `boolean` | `isSupportingAudits()` | Returns `true` if this repository supports auditing, `false` otherwise.
    `boolean` | `isSupportingBranches()` | Returns `true` if this repository supports branching, `false` otherwise.
    `boolean` | `isSupportingEcore()` | Deprecated. As of 4.2 instances of Ecore are always supported (on demand).
    `boolean` | `isSupportingUnits()` | Returns `true` if this repository supports units, `false` otherwise.
    `void` | `setRepositoryTimeResult​(CDOSessionProtocol.RepositoryTimeResult repositoryTimeResult)` |
    `boolean` | `waitWhileInitial​(IProgressMonitor monitor)` |

    - ### Methods inherited from class org.eclipse.core.runtime.PlatformObject

      `getAdapter`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

    - ### Methods inherited from interface org.eclipse.core.runtime.IAdaptable

      `getAdapter`

- - ### Constructor Detail

    - #### OpenSessionResult

          public OpenSessionResult​(CDODataInput in,
                                   int sessionID)
                            throws java.io.IOException

      Throws:
        `java.io.IOException`
      Since:
        4.4

    - #### OpenSessionResult

          @Deprecated
          public OpenSessionResult​(int sessionID,
                                   java.lang.String userID,
                                   java.lang.String repositoryUUID,
                                   CDOCommonRepository.Type repositoryType,
                                   CDOCommonRepository.State repositoryState,
                                   java.lang.String storeType,
                                   java.util.Set<CDOID.ObjectType> objectIDTypes,
                                   long repositoryCreationTime,
                                   long lastUpdateTime,
                                   CDOID rootResourceID,
                                   boolean repositorySupportingAudits,
                                   boolean repositorySupportingBranches,
                                   boolean repositorySerializingCommits,
                                   boolean repositoryEnsuringReferentialIntegrity,
                                   CDOCommonRepository.IDGenerationLocation repositoryIDGenerationLocation)

      Deprecated.
      As of 4.4 use `OpenSessionResult(CDODataInput, int)`.
      Since:
        4.2

  - ### Method Detail

    - #### getSessionID

          public int getSessionID()

    - #### getUserID

          public java.lang.String getUserID()

      Since:
        3.0

    - #### getUUID

          public java.lang.String getUUID()

      Description copied from interface: `CDOCommonRepository`
      Returns the UUID of this repository.
      Specified by:
        `getUUID` in interface `CDOCommonRepository`
      Since:
        4.5

    - #### getName

          public java.lang.String getName()

      Description copied from interface: `CDOCommonRepository`
      Returns the name of this repository.
      Specified by:
        `getName` in interface `CDOCommonRepository`
      Since:
        4.5

    - #### getType

          public CDOCommonRepository.Type getType()

      Description copied from interface: `CDOCommonRepository`
      Returns the type of this repository.
      Specified by:
        `getType` in interface `CDOCommonRepository`
      Since:
        4.5

    - #### getState

          public CDOCommonRepository.State getState()

      Description copied from interface: `CDOCommonRepository`
      Returns the state of this repository.
      Specified by:
        `getState` in interface `CDOCommonRepository`
      Since:
        4.5

    - #### getStoreType

          public java.lang.String getStoreType()

      Description copied from interface: `CDOCommonRepository`
      Returns the type of the store of this repository.
      Specified by:
        `getStoreType` in interface `CDOCommonRepository`
      Since:
        3.0

    - #### getObjectIDTypes

          public java.util.Set<CDOID.ObjectType> getObjectIDTypes()

      Description copied from interface: `CDOCommonRepository`
      Returns the type of CDOIDs created by the store of this repository.
      Specified by:
        `getObjectIDTypes` in interface `CDOCommonRepository`
      Since:
        3.0

    - #### getRootResourceID

          public CDOID getRootResourceID()

      Description copied from interface: `CDOCommonRepository`
      Returns the ID of the root resource of this repository.
      Specified by:
        `getRootResourceID` in interface `CDOCommonRepository`
      Since:
        3.0

    - #### getCreationTime

          public long getCreationTime()

      Description copied from interface: `CDOCommonRepository`
      Returns the creation time of this repository.
      Specified by:
        `getCreationTime` in interface `CDOCommonRepository`
      Since:
        4.5

    - #### isAuthenticating

          public boolean isAuthenticating()

      Description copied from interface: `CDOCommonRepository`
      Returns `true` if this repository requires user authentication, `false` otherwise.
      Specified by:
        `isAuthenticating` in interface `CDOCommonRepository`
      Since:
        4.5

    - #### isSupportingAudits

          public boolean isSupportingAudits()

      Description copied from interface: `CDOCommonRepository`
      Returns `true` if this repository supports auditing, `false` otherwise.
      Specified by:
        `isSupportingAudits` in interface `CDOCommonRepository`
      Since:
        4.5

    - #### isSupportingBranches

          public boolean isSupportingBranches()

      Description copied from interface: `CDOCommonRepository`
      Returns `true` if this repository supports branching, `false` otherwise.
      Specified by:
        `isSupportingBranches` in interface `CDOCommonRepository`
      Since:
        4.5

    - #### isSupportingUnits

          public boolean isSupportingUnits()

      Description copied from interface: `CDOCommonRepository`
      Returns `true` if this repository supports units, `false` otherwise.
      Specified by:
        `isSupportingUnits` in interface `CDOCommonRepository`
      Since:
        4.5

    - #### isSupportingEcore

          @Deprecated
          public boolean isSupportingEcore()

      Deprecated.
      As of 4.2 instances of Ecore are always supported (on demand).
      Description copied from interface: `CDOCommonRepository`
      Returns `true` if this repository supports instances of Ecore, `false` otherwise.
      Specified by:
        `isSupportingEcore` in interface `CDOCommonRepository`
      Since:
        4.5

    - #### isSerializingCommits

          public boolean isSerializingCommits()

      Description copied from interface: `CDOCommonRepository`
      Returns `true` if this repository serializes commits, `false` otherwise.
      Specified by:
        `isSerializingCommits` in interface `CDOCommonRepository`
      Since:
        4.5

    - #### isEnsuringReferentialIntegrity

          public boolean isEnsuringReferentialIntegrity()

      Description copied from interface: `CDOCommonRepository`
      Returns `true` if this repository ensures referential integrity, `false` otherwise.
      Specified by:
        `isEnsuringReferentialIntegrity` in interface `CDOCommonRepository`
      Since:
        4.5

    - #### isAuthorizingOperations

          public boolean isAuthorizingOperations()

      Specified by:
        `isAuthorizingOperations` in interface `CDOCommonRepository`
      Since:
        4.15

    - #### getIDGenerationLocation

          public CDOCommonRepository.IDGenerationLocation getIDGenerationLocation()

      Specified by:
        `getIDGenerationLocation` in interface `CDOCommonRepository`
      Since:
        4.5

    - #### getCommitInfoStorage

          public CDOCommonRepository.CommitInfoStorage getCommitInfoStorage()

      Specified by:
        `getCommitInfoStorage` in interface `CDOCommonRepository`
      Since:
        4.6

    - #### getAuthorizationResults

          public java.lang.String[] getAuthorizationResults()

      Since:
        4.15

    - #### getTagModCount

          public int getTagModCount()

      Since:
        4.11

    - #### getOpeningTime

          public long getOpeningTime()

      Since:
        4.13

    - #### getLastUpdateTime

          public long getLastUpdateTime()

      Since:
        3.0

    - #### getPackageUnits

          public java.util.List<InternalCDOPackageUnit> getPackageUnits()

    - #### getRepositoryTimeResult

          public CDOSessionProtocol.RepositoryTimeResult getRepositoryTimeResult()

    - #### setRepositoryTimeResult

          public void setRepositoryTimeResult​(CDOSessionProtocol.RepositoryTimeResult repositoryTimeResult)

    - #### getTimeStamp

          public long getTimeStamp()

      Specified by:
        `getTimeStamp` in interface `CDOTimeProvider`
      Since:
        4.5

    - #### waitWhileInitial

          public boolean waitWhileInitial​(IProgressMonitor monitor)

      Specified by:
        `waitWhileInitial` in interface `CDOCommonRepository`
      Since:
        4.5

    - #### getRepositoryUUID

          @Deprecated
          public java.lang.String getRepositoryUUID()

      Deprecated.
      As of 4.5 use `getUUID()`.

    - #### getRepositoryType

          @Deprecated
          public CDOCommonRepository.Type getRepositoryType()

      Deprecated.
      As of 4.5 use `getType()`.
      Since:
        3.0

    - #### getRepositoryState

          @Deprecated
          public CDOCommonRepository.State getRepositoryState()

      Deprecated.
      As of 4.5 use `getState()`.
      Since:
        3.0

    - #### getRepositoryCreationTime

          @Deprecated
          public long getRepositoryCreationTime()

      Deprecated.
      As of 4.5 use `getCreationTime()`.

    - #### isRepositoryAuthenticating

          @Deprecated
          public boolean isRepositoryAuthenticating()

      Deprecated.
      As of 4.5 use `isAuthenticating()`.
      Since:
        4.4

    - #### isRepositorySupportingAudits

          @Deprecated
          public boolean isRepositorySupportingAudits()

      Deprecated.
      As of 4.5 use `isSupportingAudits()`.

    - #### isRepositorySupportingBranches

          @Deprecated
          public boolean isRepositorySupportingBranches()

      Deprecated.
      As of 4.5 use `isSupportingBranches()`.
      Since:
        3.0

    - #### isRepositorySupportingEcore

          @Deprecated
          public boolean isRepositorySupportingEcore()

      Deprecated.
      As of 4.2 instances of Ecore are always supported (on demand).

    - #### isRepositorySerializingCommits

          @Deprecated
          public boolean isRepositorySerializingCommits()

      Deprecated.
      As of 4.5 use `isSerializingCommits()`.
      Since:
        4.2

    - #### isRepositoryEnsuringReferentialIntegrity

          @Deprecated
          public boolean isRepositoryEnsuringReferentialIntegrity()

      Deprecated.
      As of 4.5 use `isEnsuringReferentialIntegrity()`.
      Since:
        4.0

    - #### getRepositoryIDGenerationLocation

          @Deprecated
          public CDOCommonRepository.IDGenerationLocation getRepositoryIDGenerationLocation()

      Deprecated.
      As of 4.5 use `getIDGenerationLocation()`.
      Since:
        4.1