# com.bea.content.manager
RepositorySession Interface

public interface RepositorySession
extends `Serializable`

Defines the state of the attempted connection to a Repository.

All Superinterfaces
  `Serializable`

## Field Summary

`public static final int` | `AUTHENTICATED` The Credentials were successfully authenticated against the Repository.
`public static final int` | `AUTHENTICATION_ERROR` An error occurred that did not permit authentication of the Credentials against the Repository.
`public static final int` | `AUTHENTICATION_FAILED` The Credentials failed authentication against the Repository.
`public static final int` | `NOT_AUTHENTICATED` The Credentials have not been successfully authenticated against the Repository.

## Method Summary

`public `String`` | `getRepositoryName`() Returns the display name of the Repository.
`public int` | `getState`() Returns the state of this RepositorySession.

## Field Detail

### AUTHENTICATED

    public static final int AUTHENTICATED

  The Credentials were successfully authenticated against the Repository.

### AUTHENTICATION_ERROR

    public static final int AUTHENTICATION_ERROR

  An error occurred that did not permit authentication of the Credentials against the Repository.

### AUTHENTICATION_FAILED

    public static final int AUTHENTICATION_FAILED

  The Credentials failed authentication against the Repository.

### NOT_AUTHENTICATED

    public static final int NOT_AUTHENTICATED

  The Credentials have not been successfully authenticated against the Repository.

## Method Detail

### getRepositoryName() Method

    public String getRepositoryName()

Returns the display name of the Repository.

### getState() Method

    public int getState()

Returns the state of this RepositorySession.