org.eclipse.emf.cdo
Interface CDOView
- All Superinterfaces:
- CDOProtocolView, org.eclipse.net4j.util.event.INotifier
- All Known Subinterfaces:
- CDOAudit, CDOTransaction
public interface CDOView
- extends CDOProtocolView, org.eclipse.net4j.util.event.INotifier
Nested classes/interfaces inherited from interface org.eclipse.net4j.util.event.INotifier |
org.eclipse.net4j.util.event.INotifier.Introspection |
Methods inherited from interface org.eclipse.net4j.util.event.INotifier |
addListener, removeListener |
UNSPECIFIED_DATE
static final long UNSPECIFIED_DATE
- See Also:
- Constant Field Values
NO_PRELOAD
static final int NO_PRELOAD
- See Also:
- Constant Field Values
getSession
CDOSession getSession()
- Specified by:
getSession
in interface CDOProtocolView
getResourceSet
org.eclipse.emf.ecore.resource.ResourceSet getResourceSet()
isDirty
boolean isDirty()
hasConflict
boolean hasConflict()
hasUniqueResourceContents
boolean hasUniqueResourceContents()
setUniqueResourceContents
void setUniqueResourceContents(boolean uniqueResourceContents)
- Specifies whether the contents list of resources will be unique or not.
This property is transient in that it does not stick with resources outside of the scope of this view. Especially
it will not be persisted with resources in the repository. Each new view will start with true
as a
default value. Changing to false
will subsequently apply to all resources being loaded or created.
Notice that the resource contents is a containment list and as such must be unique. Setting this property to
false
is only recommended for performance optimization when uniqueness is granted by other means.
Violating the uniqueness constraint will result in unpredictable behaviour and possible corruption of the
repository!
isInvalidationNotificationsEnabled
boolean isInvalidationNotificationsEnabled()
setInvalidationNotificationsEnabled
void setInvalidationNotificationsEnabled(boolean invalidationNotificationsEnabled)
getLoadRevisionCollectionChunkSize
int getLoadRevisionCollectionChunkSize()
setLoadRevisionCollectionChunkSize
void setLoadRevisionCollectionChunkSize(int loadRevisionCollectionChunkSize)
hasResource
boolean hasResource(java.lang.String path)
getResource
CDOResource getResource(java.lang.String path)
- See Also:
ResourceSet.getResource(URI, boolean)
getObject
CDOObject getObject(CDOID id)
getObject
CDOObject getObject(CDOID id,
boolean loadOnDemand)
isObjectRegistered
boolean isObjectRegistered(CDOID id)
reload
int reload(CDOObject... objects)
close
void close()