.. java:import:: org.caosdb.server.database.backend.transaction RetrieveCurrentMaxId .. java:import:: org.caosdb.server.transaction Transaction LegacyIds ========= .. java:package:: org.caosdb.server.entity :noindex: .. java:type:: public class LegacyIds extends EntityIdRegistryStrategy Implementation of \ :java:ref:`EntityIdRegistryStrategy`\ which re-implements the legacy integer-based entity ids. This implementation will generate sequences of entity ids and matches all strings which can be cast to integer as well-formed entity ids. :author: Timm Fitschen Constructors ------------ LegacyIds ^^^^^^^^^ .. java:constructor:: public LegacyIds(Transaction t) :outertype: LegacyIds Methods ------- generate ^^^^^^^^ .. java:method:: @Override public String generate() :outertype: LegacyIds matchIdPattern ^^^^^^^^^^^^^^ .. java:method:: @Override public boolean matchIdPattern(String id) :outertype: LegacyIds