Interface CDORepository
- All Superinterfaces:
Adapter,CDOExplorerElement,CDOSessionProvider,CDOTransactionOpener,CDOViewOpener,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 ClassesModifier and TypeInterfaceDescriptionstatic enumEnumerates the possibleID generation locationsof arepository.static enumEnumerates the possiblestatesof arepository.static enumEnumerates the possibleversioning modesof arepository.Nested classes/interfaces inherited from interface org.eclipse.emf.common.notify.Adapter
Adapter.InternalNested classes/interfaces inherited from interface org.eclipse.emf.cdo.explorer.CDOExplorerElement
CDOExplorerElement.StateChangedEventNested classes/interfaces inherited from interface org.eclipse.net4j.util.container.IContainer
org.eclipse.net4j.util.container.IContainer.Modifiable<E extends Object>, org.eclipse.net4j.util.container.IContainer.Persistable<E extends Object>, org.eclipse.net4j.util.container.IContainer.Persistence<E extends Object>Nested classes/interfaces inherited from interface org.eclipse.net4j.util.event.INotifier
org.eclipse.net4j.util.event.INotifier.INotifier2Nested classes/interfaces inherited from interface org.eclipse.net4j.util.security.IPasswordCredentialsProvider
org.eclipse.net4j.util.security.IPasswordCredentialsProvider.Provider -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from interface org.eclipse.emf.cdo.explorer.CDOExplorerElement
PROP_DESCRIPTION, PROP_KEYWORDS, PROP_LABEL, PROP_TYPE -
Method Summary
Modifier and TypeMethodDescriptionvoidconnect()voidorg.eclipse.net4j.util.container.IManagedContainerorg.eclipse.net4j.util.security.IPasswordCredentialsgetName()getState()getURI()booleanbooleanisClone()booleanbooleanisLocal()booleanisRemote()voidvoidsetCredentials(org.eclipse.net4j.util.security.IPasswordCredentials credentials) Methods inherited from interface org.eclipse.emf.common.notify.Adapter
getTarget, isAdapterForType, notifyChanged, setTargetMethods inherited from interface org.eclipse.emf.cdo.explorer.CDOExplorerElement
addKeyword, delete, getDescription, getError, getFolder, getID, getKeywords, getLabel, getProperties, getStateFolder, getStateFolder, getTransientProperties, getType, hasKeyword, removeKeyword, setDescription, setKeywords, setLabelMethods inherited from interface org.eclipse.emf.cdo.transaction.CDOTransactionOpener
openTransaction, openTransactionMethods inherited from interface org.eclipse.emf.cdo.view.CDOViewOpener
openView, openViewMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapterMethods inherited from interface org.eclipse.net4j.util.container.IContainer
getElements, isEmptyMethods inherited from interface org.eclipse.net4j.util.security.ICredentialsProvider
isInteractiveMethods inherited from interface org.eclipse.net4j.util.event.INotifier
addListener, getListeners, hasListeners, removeListenerMethods inherited from interface org.eclipse.net4j.util.security.IPasswordCredentialsProvider2
getCredentialsMethods inherited from interface org.eclipse.net4j.util.security.IPasswordCredentialsUpdateProvider
getCredentialsUpdate, getCredentialsUpdate
-
Field Details
-
PROP_NAME
- Since:
- 4.15
- See Also:
-
PROP_VERSIONING_MODE
- Since:
- 4.15
- See Also:
-
PROP_ID_GENERATION
- Since:
- 4.15
- See Also:
-
PROP_REALM
- Since:
- 4.15
- See Also:
-
TYPE_REMOTE
- See Also:
-
TYPE_CLONE
- See Also:
-
TYPE_LOCAL
- See Also:
-
-
Method Details
-
isRemote
boolean isRemote() -
isClone
boolean isClone() -
isLocal
boolean isLocal() -
getContainer
org.eclipse.net4j.util.container.IManagedContainer getContainer()- Specified by:
getContainerin interfaceorg.eclipse.net4j.util.container.IManagedContainerProvider- Since:
- 4.7
-
getConnectorType
String getConnectorType() -
getConnectorDescription
String getConnectorDescription() -
getName
String getName() -
getURI
String getURI() -
getVersioningMode
CDORepository.VersioningMode getVersioningMode() -
getIDGeneration
CDORepository.IDGeneration getIDGeneration() -
isAuthenticating
boolean isAuthenticating()- Since:
- 4.11
-
getCredentials
org.eclipse.net4j.util.security.IPasswordCredentials getCredentials()- Specified by:
getCredentialsin interfaceorg.eclipse.net4j.util.security.ICredentialsProvider- Specified by:
getCredentialsin 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:
getSessionin interfaceCDOSessionProvider
-
acquireSession
CDOSession acquireSession() -
releaseSession
void releaseSession()
-