|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.objectplanet.survey.plugin.api.SequenceManager
public class SequenceManager
Encapsulates functionality to manage sequences in the database
Constructor Summary | |
---|---|
SequenceManager()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SequenceManager()
Method Detail |
---|
public static long getNextSurveyAttributeId(User user, long surveyId) throws SurveySystemException, SurveySecurityException, java.sql.SQLException
user
- Userconn
- The database connection
SurveySystemException
- 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
|
Copyright ? ObjectPlanet Inc. All Rights Reserved. | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |