public void findByPrimaryKey(GlbRoleDao attrs) throws RemoteException, FinderException { try { dao.findByPrimaryKey((Object) attrs); this.attrs = (GlbRoleDao) dao.load((Object) attrs); } catch (Exception ex) { throw new FinderException(ex.toString()); } }
public void insert(GlbRoleDao attrs) throws RemoteException, DupKeyException { try { this.attrs = attrs; dao.create(this.attrs); dao.update(this.attrs); } catch (DupKeyException dkex) { throw dkex; } catch (Exception ex) { ex.toString(); } }
public Collection listAll() throws RemoteException { try { return dao.listAll(); } catch (Exception ex) { throw new RemoteException(ex.toString()); } }
public void delete(GlbRoleDao attrs) throws RemoteException { try { this.attrs = attrs; dao.remove(attrs); } catch (Exception ex) { ex.toString(); } }
public void update(GlbRoleDao attrs) throws RemoteException { try { this.attrs = attrs; dao.update(this.attrs); } catch (Exception ex) { ex.toString(); } }
public Collection find(GlbRoleDao attrs) throws RemoteException, FinderException, RowNotFoundException { try { return dao.find((Object) attrs); } catch (RowNotFoundException rnfex) { throw rnfex; } catch (Exception ex) { throw new FinderException(ex.toString()); } }
public void findNext(GlbRoleDao attrs) throws RemoteException, FinderException, RowNotFoundException { try { dao.findNextKey((Object) attrs); this.attrs = attrs; } catch (RowNotFoundException rnfex) { throw rnfex; } catch (Exception ex) { throw new FinderException(ex.toString()); } }
public void ejbRemove() throws RemoteException { dao.close(); dao = null; }