refreshEntity
Refresh the given entity. This refreshes the already loaded properties in the entity. If no properties are loaded then the default properties will be loaded.
Return
null if the entity is null or if it does not exist in the store, otherwise reference to the updated entity
Parameters
entity
reference to the entity to be refreshed.
<E>
the expected type of the entity;