getRevisionDeltas();
/**
* @since 3.0
*/
public CDOSavepoint[] exportChanges(OutputStream out) throws IOException;
/**
* @since 3.0
*/
public CDOSavepoint[] importChanges(InputStream in, boolean reconstructSavepoints) throws IOException;
public long getLastCommitTime();
/**
* Returns the comment to be used in the next commit operation.
*
* @see CDOCommitInfo#getComment()
* @since 3.0
*/
public String getCommitComment();
/**
* Sets the comment to be used in the next commit operation.
*
* @see CDOCommitInfo#getComment()
* @since 3.0
*/
public void setCommitComment(String comment);
/**
* @since 4.0
*/
public void setCommittables(Set extends EObject> committables);
/**
* @since 4.0
*/
public Set extends EObject> getCommittables();
/**
* @since 4.0
*/
public CDOQuery createQuery(String language, String queryString, boolean considerDirtyState);
/**
* @since 4.0
*/
public CDOQuery createQuery(String language, String queryString, Object context, boolean considerDirtyState);
public Options options();
/**
* Encapsulates a set of notifying {@link CDOTransaction transaction} configuration options.
*
* @author Simon McDuff
* @noextend This interface is not intended to be extended by clients.
* @noimplement This interface is not intended to be implemented by clients.
*/
public interface Options extends CDOView.Options
{
/**
* Returns the {@link CDOTransaction transaction} of this options object.
*
* @since 4.0
*/
public CDOTransaction getContainer();
/**
* Returns a copy of the conflict resolver list of this transaction.
*/
public CDOConflictResolver[] getConflictResolvers();
/**
* Sets the conflict resolver list of this transaction.
*/
public void setConflictResolvers(CDOConflictResolver[] resolvers);
/**
* Adds a conflict resolver to the list of conflict resolvers of this transaction.
*/
public void addConflictResolver(CDOConflictResolver resolver);
/**
* Removes a conflict resolver from the list of conflict resolvers of this transaction.
*/
public void removeConflictResolver(CDOConflictResolver resolver);
/**
* Returns true if locks in this view will be removes when {@link CDOTransaction#commit()} or
* {@link CDOTransaction#rollback()} is called.
*
* Default value is true.
*/
public boolean isAutoReleaseLocksEnabled();
/**
* Specifies whether locks in this view will be removed when {@link CDOTransaction#commit()} or
* {@link CDOTransaction#rollback()} is called.
*
* If false all locks are kept.
*
* Default value is true.
*/
public void setAutoReleaseLocksEnabled(boolean on);
/**
* An {@link IOptionsEvent options event} fired from transaction {@link CDOTransaction#options() options} when the
* {@link Options#addConflictResolver(CDOConflictResolver) conflict resolvers} option has changed.
*
* @author Eike Stepper
* @noextend This interface is not intended to be extended by clients.
* @noimplement This interface is not intended to be implemented by clients.
*/
public interface ConflictResolversEvent extends IOptionsEvent
{
}
/**
* An {@link IOptionsEvent options event} fired from transaction {@link CDOTransaction#options() options} when the
* {@link Options#setAutoReleaseLocksEnabled(boolean) auto release locks} option has changed.
*
* @author Eike Stepper
* @since 3.0
* @noextend This interface is not intended to be extended by clients.
* @noimplement This interface is not intended to be implemented by clients.
*/
public interface AutoReleaseLocksEvent extends IOptionsEvent
{
}
}
}