public class SequenceManager
extends java.lang.Object
Constructor and Description |
---|
SequenceManager() |
Modifier and Type | Method and Description |
---|---|
static long |
getNextInviteeAttributeId(java.sql.Connection conn)
Gets the next InviteeAttributeId.
|
static long |
getNextPanelistAttributeId(java.sql.Connection conn)
Gets the next PanelistAttributeId.
|
static long |
getNextRespondentAttributeId()
Gets the next RespondentAttributeId.
|
static long |
getNextSurveyAttributeId(User user,
long surveyId)
Gets the next SurveyAttributeId.
|
public static long getNextSurveyAttributeId(User user, long surveyId) throws SurveySystemException, SurveySecurityException, java.sql.SQLException
user
- Userconn
- The database connectionSurveySystemException
- If an error occurs in the system.SurveySecurityException
- Thrown if the user doesn't have read
access to the survey.java.sql.SQLException
public static long getNextRespondentAttributeId() throws java.sql.SQLException
java.sql.SQLException
public static long getNextPanelistAttributeId(java.sql.Connection conn) throws java.sql.SQLException
java.sql.SQLException
public static long getNextInviteeAttributeId(java.sql.Connection conn) throws java.sql.SQLException
java.sql.SQLException
Built on January 16 2019