org.eclipse.emf.emfstore.server.model.versionspec
Interface ESPagedUpdateVersionSpec

All Superinterfaces:
ESVersionSpec
All Known Implementing Classes:
ESPagedUpdateVersionSpecImpl

public interface ESPagedUpdateVersionSpec
extends ESVersionSpec

Represents a version specifier that enables the pagination of an update.

Pagination is recommended in case of large incoming ESChangePackages that possibly may not fit into memory on the client side.

Author:
emueller

Field Summary
 
Fields inherited from interface org.eclipse.emf.emfstore.server.model.versionspec.ESVersionSpec
BASE, BRANCH_DEFAULT_NAME, FACTORY, GLOBAL, HEAD
 
Method Summary
 ESPrimaryVersionSpec getBaseVersion()
          The base version from which on counting of changes should occur.
 int getMaxChanges()
          Returns the maximum of allowed changes that make up a page.
 
Methods inherited from interface org.eclipse.emf.emfstore.server.model.versionspec.ESVersionSpec
getBranch
 

Method Detail

getBaseVersion

ESPrimaryVersionSpec getBaseVersion()
The base version from which on counting of changes should occur.

Returns:
the ESPrimaryVersionSpec that contains exactly the number of maximally allowed changes or less

getMaxChanges

int getMaxChanges()
Returns the maximum of allowed changes that make up a page.

Returns:
the maximum of allowed changes


Copyright © 2015. All Rights Reserved.