/** * This method wraps the call to the database to get a sequence notice ID * from the database. * * @return int, the sequence id from the database, 0 by default if there is * database trouble * @throws java.sql.SQLException if any. * @throws java.io.IOException if any. */ public int getNoticeId() throws SQLException, IOException { return getNxtId(m_configManager.getNextNotifIdSql()); }
/** * <p>getUserNotifId</p> * * @return a int. * @throws java.sql.SQLException if any. * @throws java.io.IOException if any. */ public int getUserNotifId() throws SQLException, IOException { return getNxtId(m_configManager.getNextUserNotifIdSql()); }