cmu.survey.editor.data.sql
Class PageSQL

java.lang.Object
  extended by org.browsecode.helpers.reorderablelistpanel.ReorderableListModelWithOrderIndexStub<QuestionDataBitSet>
      extended by cmu.survey.editor.data.table.PageTable
          extended by cmu.survey.editor.data.sql.PageSQL
All Implemented Interfaces:
Page, HasID, Copyable, Moveable, ReorderableListModel<QuestionDataBitSet>

public class PageSQL
extends PageTable


Nested Class Summary
 class PageSQL.ReorderableSQLQuestion
           
 
Nested classes/interfaces inherited from class cmu.survey.editor.data.table.PageTable
PageTable.ReorderableTableQuestion
 
Nested classes/interfaces inherited from class org.browsecode.helpers.reorderablelistpanel.ReorderableListModelWithOrderIndexStub
ReorderableListModelWithOrderIndexStub.ReorderableObject<E2>
 
Field Summary
 
Fields inherited from class cmu.survey.editor.data.table.PageTable
answersTable, deletedQuestions, name, orderIndex, pageNum, pageTableModel, questions, repeatedMeasure, submitButtonLabel, tableStorage
 
Fields inherited from class org.browsecode.helpers.reorderablelistpanel.ReorderableListModelWithOrderIndexStub
ABSTRACTION_ERROR, undoableEditListeners
 
Fields inherited from interface org.browsecode.helpers.reorderablelistpanel.ReorderableListModel
INSERTED_FROM_DELETED_HERE, INSERTED_FROM_ELSEWHERE
 
Constructor Summary
PageSQL(java.lang.Integer pageNumber, DataBitStorageSQL storage)
           
PageSQL(java.lang.Integer pageNumber, DataBitStorageSQL storage, java.lang.Integer orderIndex, java.lang.String name, java.lang.String answersTable, java.lang.String submitButtonLabel, java.lang.String repeatedMeasure)
           
 
Method Summary
 PageTable copyTo(SurveyTable parentSurvey)
           
protected  ReorderableListModelWithOrderIndexStub.ReorderableObject<QuestionDataBitSet> getReorderableObjectFor(QuestionDataBitSet reorderableItem)
           
protected  ReorderableListModelWithOrderIndexStub.ReorderableObject<QuestionDataBitSet> getReorderableObjectFor(QuestionDataBitSet reorderableItem, java.lang.Integer orderIndex, java.lang.Integer uniqueRowId)
           
 boolean save()
           
 
Methods inherited from class cmu.survey.editor.data.table.PageTable
copyTo, deleteItem, fireUndoableEdit, getDataBits, getID, getItemsName, getItemsVector, getName, getNewItem, getNewItem, getOrderIndex, getPageID, getQuestions, getRepeatedMeasureTable, getSubmitButtonLabel, getTableName, hasBeenModified, hasBeenModifiedWithoutQuestions, isNew, loadQuestionsIfNecessary, moveItemElsewhere, moveTo, moveTo, saveDeletePage, shouldFireUndoableEdits, toString, undeleteItem
 
Methods inherited from class org.browsecode.helpers.reorderablelistpanel.ReorderableListModelWithOrderIndexStub
addReorderableChangeListener, addUndoableEditListener, canItemBeMovedElsewhere, deleteItem, deleteItemProtected, fireUndoableEdit, getHasBeenChanged, getItemCount, getVectorOfReorderableItems, insertNewItemAt, insertNewItemAtProtected, iterator, moveItemElsewhereProtected, moveItemToIndex, moveItemToIndexProtected, removeReorderableChangeListener, removeUndoableEditListener, resetHasBeenChanged, setCachedReorderableItems
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.browsecode.helpers.reorderablelistpanel.ReorderableListModel
addReorderableChangeListener, canItemBeMovedElsewhere, deleteItem, getItemCount, insertNewItemAt, iterator, moveItemToIndex, removeReorderableChangeListener
 

Constructor Detail

PageSQL

public PageSQL(java.lang.Integer pageNumber,
               DataBitStorageSQL storage)

PageSQL

public PageSQL(java.lang.Integer pageNumber,
               DataBitStorageSQL storage,
               java.lang.Integer orderIndex,
               java.lang.String name,
               java.lang.String answersTable,
               java.lang.String submitButtonLabel,
               java.lang.String repeatedMeasure)
Method Detail

save

public boolean save()
Specified by:
save in interface Page
Overrides:
save in class PageTable

copyTo

public PageTable copyTo(SurveyTable parentSurvey)
Overrides:
copyTo in class PageTable

getReorderableObjectFor

protected ReorderableListModelWithOrderIndexStub.ReorderableObject<QuestionDataBitSet> getReorderableObjectFor(QuestionDataBitSet reorderableItem)
Overrides:
getReorderableObjectFor in class PageTable

getReorderableObjectFor

protected ReorderableListModelWithOrderIndexStub.ReorderableObject<QuestionDataBitSet> getReorderableObjectFor(QuestionDataBitSet reorderableItem,
                                                                                                               java.lang.Integer orderIndex,
                                                                                                               java.lang.Integer uniqueRowId)
Overrides:
getReorderableObjectFor in class PageTable