openmrs-android-sdk/src/main/java/com/openmrs/android_sdk/library/dao/LocationDAO.java
/**
     * Find location by uuid location entity.
     *
     * @param uuid the uuid
     * @return the location entity
     */
Find location by uuid location entity.
@param uuid the uuid
@return the location entity
Find location by uuid location entity . @param uuid the uuid @return the location entity
public LocationEntity findLocationByUUID(String uuid) {
        if (!StringUtils.notNull(uuid)) {
            return null;
        }
        try {
            return locationRoomDAO.findLocationByUUID(uuid).blockingGet();
        } catch (Exception e) {
            return new LocationEntity("");
        }
    }
public LocationEntity findLocationByUUID ( String uuid ) { if ( ! StringUtils . notNull ( uuid ) ) { return null ; } try { return locationRoomDAO . findLocationByUUID ( uuid ) . blockingGet ( ) ; } catch ( Exception e ) { return new LocationEntity ( "" ) ; } }
Find location by uuid location entity.
Find location by uuid location entity .