package gw.api.util uses gw.api.system.PLConfigParameters uses gw.api.system.database.SequenceUtil @ReadOnly class ExternalIDUtil { public static function mintNewExternalID(sequenceKey : String) : String { return PLConfigParameters.PublicIDPrefix.getValue() + ":" + SequenceUtil.next(1, sequenceKey) } }