Example #1
0
 @Override
 public void deleteNominalLabel(Long labelID) {
   try {
     remoteNominalLabelEJB.deleteNominalLabelByID(labelID);
   } catch (PropertyNotSetException e) {
     // TODO Auto-generated catch block
     e.printStackTrace();
   }
 }
Example #2
0
 @Override
 public NominalLabelDTO editNominalLabel(NominalLabelDTO label) {
   try {
     return remoteNominalLabelEJB.editNominalLabel(label);
   } catch (PropertyNotSetException e) {
     // TODO Auto-generated catch block
     e.printStackTrace();
     return null;
   }
 }
Example #3
0
 @Override
 public List<NominalLabelDTO> getAllNominalLabel() {
   try {
     return remoteNominalLabelEJB.getAllNominalLabels();
   } catch (PropertyNotSetException e) {
     // TODO Auto-generated catch block
     e.printStackTrace();
     return null;
   }
 }
Example #4
0
 @Override
 public NominalLabelDTO getNominalLabelByID(Long id) {
   try {
     return remoteNominalLabelEJB.getNominalLabelByID(id);
   } catch (PropertyNotSetException e) {
     // TODO Auto-generated catch block
     e.printStackTrace();
     return null;
   }
 }