RetrieveCurrentMaxId

public class RetrieveCurrentMaxId extends BackendTransaction

Retrieve the maximum currently known entity id.

This is used by the EntityIdRegistry for the legacy ids (i.e. integer ids) to generate sequential ids which have not been used yet.

Author:

Timm Fitschen

See also: {@linkEntityIdRegistry}, {@linkLegacyIds}

Methods

execute

protected void execute()

getCurrentMaxId

public Integer getCurrentMaxId()