コード例 #1
0
 /**
  * The contructor by intialising
  *
  * @param factory the BuckFactory
  * @param book the book
  * @param people the people
  * @throws RemoteException
  */
 public TeacherListModel(List lstTeacher) throws RemoteException {
   LocalDataManager.getManager().addDataListener(ITeacher.class, new TeacherListener());
   this.lstTeacher = lstTeacher;
 }
コード例 #2
0
 /**
  * To delete a party
  *
  * @param index the party to be deleted
  * @throws FlexiException
  * @throws RemoteException
  */
 public void remove(int index) throws RemoteException, FlexiException {
   LocalDataManager.getManager().deleteTeacher((ITeacher) lstTeacher.get(index));
   // this.fireIntervalRemoved(this,lstTeacher.size()-1,lstTeacher.size());
 }