20992100210121022103210421052106
PublisherTable.delete(publisherID,connection); } } catch(java.sql.SQLException sqlex) { throw new RegistryException(sqlex); } }
21222123212421252126212721282129213021312132
info.setPublisherID(publisherID); info.setNameValue(publisher.getName()); } catch(java.sql.SQLException sqlex) { throw new RegistryException(sqlex); } } return info; }
2144214521462147214821492150215121522153
// always perform this query - even when not searching by Name!!! keyVector = FindPublisherByNameQuery.select(name,keyVector,findQualifiers,connection); } catch(java.sql.SQLException sqlex) { throw new RegistryException(sqlex); } return keyVector; }
125126127128129130131132
try { this.transaction = new Transaction(); this.transaction.begin(connection); } catch(SQLException sqlex) { throw new RegistryException(sqlex); } }
139140141142143144145146
{ try { this.transaction.commit(); } catch(SQLException sqlex) { throw new RegistryException(sqlex); } }
153154155156157158159160
{ try { this.transaction.rollback(); } catch(SQLException sqlex) { throw new RegistryException(sqlex); } }
178179180181182183184185186187
try { publisher = PublisherTable.select(publisherID,connection); } catch(java.sql.SQLException sqlex) { throw new RegistryException(sqlex); } return publisher; }
212213214215216217218219
return publisher.isAdmin(); } catch(java.sql.SQLException sqlex) { log.error(sqlex.getMessage()); throw new RegistryException(sqlex); } }
244245246247248249250251
return publisher.isEnabled(); } catch(java.sql.SQLException sqlex) { log.error(sqlex.getMessage()); throw new RegistryException(sqlex); } }
279280281282283284285286287
{ try { AuthTokenTable.insert(token,publisher,connection); } catch(java.sql.SQLException sqlex) { throw new RegistryException(sqlex); } } }