Interface CDORepository
-
- All Superinterfaces:
Adapter
,CDOExplorerElement
,CDOSessionProvider
,CDOTransactionOpener
,CDOViewOpener
,java.lang.Comparable<CDOExplorerElement>
,IAdaptable
,org.eclipse.net4j.util.container.IContainer<CDOBranch>
,org.eclipse.net4j.util.security.ICredentialsProvider
,org.eclipse.net4j.util.security.ICredentialsProvider2
,org.eclipse.net4j.util.container.IManagedContainerProvider
,org.eclipse.net4j.util.event.INotifier
,org.eclipse.net4j.util.security.IPasswordCredentialsProvider
,org.eclipse.net4j.util.security.IPasswordCredentialsProvider2
,org.eclipse.net4j.util.security.IPasswordCredentialsUpdateProvider
public interface CDORepository extends CDOExplorerElement, org.eclipse.net4j.util.container.IContainer<CDOBranch>, org.eclipse.net4j.util.security.IPasswordCredentialsProvider2, org.eclipse.net4j.util.security.IPasswordCredentialsUpdateProvider, org.eclipse.net4j.util.container.IManagedContainerProvider, CDOSessionProvider, CDOViewOpener, CDOTransactionOpener
A CDO server independent representation of a repository.- Since:
- 4.4
- Author:
- Eike Stepper
- No Implement
- This interface is not intended to be implemented by clients.
- No Extend
- This interface is not intended to be extended by clients.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
CDORepository.IDGeneration
static class
CDORepository.State
static class
CDORepository.VersioningMode
-
Nested classes/interfaces inherited from interface org.eclipse.emf.common.notify.Adapter
Adapter.Internal
-
Nested classes/interfaces inherited from interface org.eclipse.net4j.util.container.IContainer
org.eclipse.net4j.util.container.IContainer.Modifiable<E extends java.lang.Object>, org.eclipse.net4j.util.container.IContainer.Persistable<E extends java.lang.Object>, org.eclipse.net4j.util.container.IContainer.Persistence<E extends java.lang.Object>
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
TYPE_CLONE
static java.lang.String
TYPE_LOCAL
static java.lang.String
TYPE_REMOTE
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CDOSession
acquireSession()
void
connect()
void
disconnect()
CDOCheckout[]
getCheckouts()
java.lang.String
getConnectorDescription()
java.lang.String
getConnectorType()
org.eclipse.net4j.util.container.IManagedContainer
getContainer()
org.eclipse.net4j.util.security.IPasswordCredentials
getCredentials()
CDORepository.IDGeneration
getIDGeneration()
java.lang.String
getName()
CDOSession
getSession()
CDORepository.State
getState()
java.lang.String
getURI()
CDORepository.VersioningMode
getVersioningMode()
boolean
isClone()
boolean
isConnected()
boolean
isLocal()
boolean
isRemote()
void
releaseSession()
void
setCredentials(org.eclipse.net4j.util.security.IPasswordCredentials credentials)
-
Methods inherited from interface org.eclipse.emf.common.notify.Adapter
getTarget, isAdapterForType, notifyChanged, setTarget
-
Methods inherited from interface org.eclipse.emf.cdo.explorer.CDOExplorerElement
delete, getDescription, getFolder, getID, getLabel, getProperties, getStateFolder, getStateFolder, getType, setDescription, setLabel
-
Methods inherited from interface org.eclipse.emf.cdo.transaction.CDOTransactionOpener
openTransaction, openTransaction
-
Methods inherited from interface org.eclipse.emf.cdo.view.CDOViewOpener
openView, openView
-
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
-
Methods inherited from interface org.eclipse.net4j.util.event.INotifier
addListener, getListeners, hasListeners, removeListener
-
-
-
-
Field Detail
-
TYPE_REMOTE
static final java.lang.String TYPE_REMOTE
- See Also:
- Constant Field Values
-
TYPE_CLONE
static final java.lang.String TYPE_CLONE
- See Also:
- Constant Field Values
-
TYPE_LOCAL
static final java.lang.String TYPE_LOCAL
- See Also:
- Constant Field Values
-
-
Method Detail
-
isRemote
boolean isRemote()
-
isClone
boolean isClone()
-
isLocal
boolean isLocal()
-
getContainer
org.eclipse.net4j.util.container.IManagedContainer getContainer()
- Specified by:
getContainer
in interfaceorg.eclipse.net4j.util.container.IManagedContainerProvider
- Since:
- 4.7
-
getConnectorType
java.lang.String getConnectorType()
-
getConnectorDescription
java.lang.String getConnectorDescription()
-
getName
java.lang.String getName()
-
getURI
java.lang.String getURI()
-
getVersioningMode
CDORepository.VersioningMode getVersioningMode()
-
getIDGeneration
CDORepository.IDGeneration getIDGeneration()
-
getCredentials
org.eclipse.net4j.util.security.IPasswordCredentials getCredentials()
- Specified by:
getCredentials
in interfaceorg.eclipse.net4j.util.security.ICredentialsProvider
- Specified by:
getCredentials
in interfaceorg.eclipse.net4j.util.security.IPasswordCredentialsProvider
-
setCredentials
void setCredentials(org.eclipse.net4j.util.security.IPasswordCredentials credentials)
-
getState
CDORepository.State getState()
-
isConnected
boolean isConnected()
-
connect
void connect()
-
disconnect
void disconnect()
-
getCheckouts
CDOCheckout[] getCheckouts()
-
getSession
CDOSession getSession()
- Specified by:
getSession
in interfaceCDOSessionProvider
-
acquireSession
CDOSession acquireSession()
-
releaseSession
void releaseSession()
-
-