package com.c2kernel.persistency; import com.c2kernel.common.ObjectCannotBeUpdated; import com.c2kernel.common.ObjectNotFoundException; import com.c2kernel.lookup.AgentPath; import com.c2kernel.lookup.ItemPath; public interface NextKeyManager { public ItemPath generateNextEntityKey() throws ObjectCannotBeUpdated, ObjectNotFoundException; public AgentPath generateNextAgentKey() throws ObjectCannotBeUpdated, ObjectNotFoundException; public void writeLastEntityKey(int sysKey) throws ObjectCannotBeUpdated, ObjectNotFoundException; public ItemPath getLastEntityPath() throws ObjectNotFoundException; }