MySQLGetIDByName

public class MySQLGetIDByName extends MySQLTransaction implements GetIDByNameImpl

Retrieve the entity id of an entity with the given name (or null).

Author:

Timm Fitschen

Fields

STMT_GET_ID_BY_NAME

public static final String STMT_GET_ID_BY_NAME

Resolves the (primary) name of an entity to an id. This query is not necessarily unique. Therefore STMT_AND_ROLE, STMT_NOT_ROLE, and STMT_LIMIT can as additional conditions.

Constructors

MySQLGetIDByName

public MySQLGetIDByName(Access access)

Methods

execute

public List<EntityID> execute(String name, String role, String limit)