public class QuestionManager extends HandlerPartManager<SectionManager.Section,QuestionFormHandler,QuestionManager.Question>
| Modifier and Type | Class and Description |
|---|---|
class |
QuestionManager.Question |
HandlerPartManager.HandlerPart<O extends PartOwner,X extends FormHandler>PartManager.ChildCreateAction, PartManager.Part<O extends PartOwner>, PartManager.PartCreator, PartManager.PartUpdater, PartManager.UnusedNameInputDataObjectFactory.AbstractDataObjectInput, DataObjectFactory.AbstractFinder<X>, DataObjectFactory.DataObjectAcceptFilter, DataObjectFactory.DataObjectInput, DataObjectFactory.DataObjectIntegerInput, DataObjectFactory.DestAcceptFilter<T extends DataObject>, DataObjectFactory.FilterAdapter, DataObjectFactory.FilterCounter, DataObjectFactory.FilterExists, DataObjectFactory.FilterIterator, DataObjectFactory.FilterSelector, DataObjectFactory.FilterSet, DataObjectFactory.Finder, DataObjectFactory.MakeRemoteFilterVisitor<R extends DataObject>, DataObjectFactory.MatchFilter, DataObjectFactory.ReferencedAdapter<I extends Indexed>, DataObjectFactory.ReferenceIterator<I extends Indexed>, DataObjectFactory.SortingDataObjectInput, DataObjectFactory.TimeAcceptFilter<T extends DataObject>, DataObjectFactory.TimeFilter| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
OPTIONAL_FIELD |
static java.lang.String |
QUESTION_TEXT_FIELD |
static java.lang.String |
QUESTION_TYPE_NAME |
HANDLER_TYPE_FIELDform_manager, NAME_FIELD, ORDER_FIELD, OWNER_FIELDAUTO_CREATE_TABLES_FEATURE, COMPOSITES_SUFFIX, REJECT_MULTIPLE_RESULT_FEATURE, res| Constructor and Description |
|---|
QuestionManager(SectionManager owner_fac) |
| Modifier and Type | Method and Description |
|---|---|
QuestionManager.Question |
duplicate(SectionManager.Section new_owner,
QuestionManager.Question original)
create a (uncommitted) duplicate copy of a part with a new owner
|
java.lang.String |
getChildTypeName()
get the type-name for the child type.
|
protected TableSpecification |
getDefaultTableSpecification(AppContext c,
java.lang.String table)
Get the default table specification if the table is to be created.
|
protected java.lang.Class<QuestionFormHandler> |
getHandlerClass() |
java.lang.Class<QuestionManager.Question> |
getTarget()
Get a bound on the type of object produced by this factory for run-time checking.
|
protected QuestionManager.Question |
makeBDO(Repository.Record res)
Construct a new Blank DataObject of the correct Class
This method takes a Record as an argument.
|
PartManager |
makeChildManager() |
protected PartConfigFactory<SectionManager.Section,QuestionManager.Question> |
makeConfigFactory() |
getSelectors, requireHandlerdeleteAll, deleteContent, deletePart, findByParentAndName, getChildCreator, getChildManager, getChildTable, getConfigFactory, getFirst, getFormUpdate, getOrder, getOwnerFactory, getParts, getPartTable, getPartTag, getSibling, getSupressall, allowPreSelect, canCreate, canUpdate, checkComposite, convertToDestinationFilter, customiseForm, equals, exists, find, find, find, find, find, getAllIterator, getComposite, getComposites, getComposites, getConfigTag, getContext, getCount, getDefaultRelationshipFilter, getDefaults, getDestFilter, getExcludeFilter, getFieldConstraints, getFieldHelp, getFilter, getFilter, getFilter, getFinalSelectFilter, getFinalTableSpecification, getFindFilter, getFormCreator, getID, getIndex, getInput, getInput, getInput, getLogger, getMaxIdentifierLength, getNullable, getOptional, getProperty, getReferenced, getReferenceFieldType, getReferenceFieldType, getRemoteFilter, getRemoteSQLFilter, getResult, getResult, getSelectFilter, getSelector, getSelector, getTableSpecification, getTableStructureContributers, getTag, getTranslations, getUniqueIdName, hasComposite, hashCode, isMine, isMine, isMyReference, isValid, makeBDO, makeObject, makeRecord, makeReference, makeReference, matches, narrowSelector, narrowSelector, observeComposite, OrderBy, postCreateTableSetup, postSetContext, release, restrictDefaultInput, setComposites, setContext, setContext, setContextWithMake, setProperty, toString, updateTablepublic static final java.lang.String OPTIONAL_FIELD
public static final java.lang.String QUESTION_TEXT_FIELD
public static final java.lang.String QUESTION_TYPE_NAME
public QuestionManager(SectionManager owner_fac)
owner_fac - protected QuestionManager.Question makeBDO(Repository.Record res) throws DataFault
DataObjectFactorymakeBDO in class DataObjectFactory<QuestionManager.Question>res - Record to create object fromDataFaultprotected java.lang.Class<QuestionFormHandler> getHandlerClass()
getHandlerClass in class HandlerPartManager<SectionManager.Section,QuestionFormHandler,QuestionManager.Question>public java.lang.Class<QuestionManager.Question> getTarget()
DataObjectFactoryIndexedProducer.getTarget(). Normally this method should be overridden
each time we make a sub-class that narrows the produced type. However
checks should still pass if the super-type method is retained.getTarget in interface IndexedProducer<QuestionManager.Question>getTarget in interface Targetted<QuestionManager.Question>getTarget in class PartManager<SectionManager.Section,QuestionManager.Question>public PartManager makeChildManager()
makeChildManager in class PartManager<SectionManager.Section,QuestionManager.Question>protected TableSpecification getDefaultTableSpecification(AppContext c, java.lang.String table)
DataObjectFactorygetDefaultTableSpecification in class HandlerPartManager<SectionManager.Section,QuestionFormHandler,QuestionManager.Question>c - AppContexttable - String table name.protected PartConfigFactory<SectionManager.Section,QuestionManager.Question> makeConfigFactory()
makeConfigFactory in class HandlerPartManager<SectionManager.Section,QuestionFormHandler,QuestionManager.Question>public java.lang.String getChildTypeName()
PartOwnerFactorygetChildTypeName in class PartManager<SectionManager.Section,QuestionManager.Question>public QuestionManager.Question duplicate(SectionManager.Section new_owner, QuestionManager.Question original) throws DataFault
PartManagerduplicate in class HandlerPartManager<SectionManager.Section,QuestionFormHandler,QuestionManager.Question>DataFault