/** * Returns all the nganh nghe kinh doanh * * @return the nganh nghe kinh doanh * @throws SystemException if a system exception occurred */ public GioiTinhSoap[] getDSGioiTinh() { try { return GioiTinhSoap.toSoapModels(GioiTinhLocalServiceUtil.getDSGioiTinh()); } catch (Exception e) { // TODO: handle exception e.printStackTrace(); } return null; }
@Override public GioiTinhSoap getGioiTinhTheoId(Long id) { // TODO Auto-generated method stub try { return GioiTinhSoap.toSoapModel(GioiTinhLocalServiceUtil.getGioiTinh(id)); } catch (Exception e) { // TODO Auto-generated catch block } return null; }