Class AbstractInputType.AbstractDataStoreRecord
java.lang.Object
ch.tocco.nice2.optional.qualification.impl.util.entities.inputtypes.AbstractInputType.AbstractDataStoreRecord
- All Implemented Interfaces:
DataStoreRecord
- Direct Known Subclasses:
AbstractPointsInput.AbstractPointsDataRecord
,FreeTextInput.FreeTextDataStoreRecord
,GradesInput.GradesDataStoreRecord
,PresenceInput.PresenceDataStoreRecord
,TextChoiceInput.TextChoiceDataStoreRecord
- Enclosing class:
AbstractInputType
public abstract static class AbstractInputType.AbstractDataStoreRecord
extends Object
implements DataStoreRecord
-
Nested Class Summary
Nested classes/interfaces inherited from interface ch.tocco.nice2.optional.qualification.api.DataStoreRecord
DataStoreRecord.ExcelExportColumn
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addAttribute
(String key, Object value) add an attribute to this DataStoreRecord to be sent to clientgetAttribute
(String key) getKey()
long
boolean
void
setAttributes
(Map<String, Object> attributes) void
setDispense
(boolean dispense) void
setFirstName
(String firstName) void
void
setLastName
(String lastName) void
void
setUserNr
(long userNr) startSheet
(TextResources textResources, Locale locale) writeRow()
-
Constructor Details
-
AbstractDataStoreRecord
-
-
Method Details
-
getUserNr
public long getUserNr()- Specified by:
getUserNr
in interfaceDataStoreRecord
-
getLastName
- Specified by:
getLastName
in interfaceDataStoreRecord
-
getFirstName
- Specified by:
getFirstName
in interfaceDataStoreRecord
-
getStatus
- Specified by:
getStatus
in interfaceDataStoreRecord
-
getKey
- Specified by:
getKey
in interfaceDataStoreRecord
-
isDispense
public boolean isDispense()- Specified by:
isDispense
in interfaceDataStoreRecord
-
setKey
-
setUserNr
public void setUserNr(long userNr) -
setLastName
-
setFirstName
-
setStatus
-
setDispense
public void setDispense(boolean dispense) -
writeRow
- Specified by:
writeRow
in interfaceDataStoreRecord
-
startSheet
public List<DataStoreRecord.ExcelExportColumn> startSheet(TextResources textResources, Locale locale) - Specified by:
startSheet
in interfaceDataStoreRecord
-
addAttribute
Description copied from interface:DataStoreRecord
add an attribute to this DataStoreRecord to be sent to client- Specified by:
addAttribute
in interfaceDataStoreRecord
- Parameters:
key
- the keyvalue
- the value
-
getAttribute
- Specified by:
getAttribute
in interfaceDataStoreRecord
-
getAttributes
-
setAttributes
-