*/
public UnitLocationTypeBean createGeoPointType(
final UnitLocationTypeBean locatTypeBean) throws EnMeExpcetion {
if (locatTypeBean != null) {
try {
final GeoPointType locationTypeDomain = new GeoPointType();
locationTypeDomain.setLocationTypeDescription(locatTypeBean
.getLocTypeDesc());
locationTypeDomain.setLocationTypeLevel(locatTypeBean
.getLevel());
locationTypeDomain.setUsers(getUserAccount(getUserPrincipalUsername()).getAccount());
getGeoPointTypeDao().saveOrUpdate(locationTypeDomain);
locatTypeBean.setIdLocType(locationTypeDomain
.getLocationTypeId());
} catch (Exception e) {
throw new EnMeExpcetion(e);
}
return locatTypeBean;