EntityInfoReader

public interface EntityInfoReader

Responsible for reading entity schema info. Should be used instead of going to the database and creating needless transactions, which slows down startup.

Methods

getEntitiesClassNames

Collection<String> getEntitiesClassNames()

Returns entities class names list.

Returns:the list of class names

getEntityInfo

EntityInfo getEntityInfo(String entityClassName)

Reads entity info representing the MDS schema for a given entity.

Parameters:
  • entityClassName – the class name of the entity
Returns:

the entity schema info

getEntityInfo

EntityInfo getEntityInfo(Long entityId)

Reads entity info representing the MDS schema for a given entity.

Parameters:
  • entityId – the id of the entity
Returns:

the entity schema info