Interface TasksList
- All Superinterfaces:
AmetysObject,DataAwareAmetysObject,DataHolder,IndexableDataHolder,ModelAwareDataAwareAmetysObject,ModelAwareDataAwareAmetysObject,ModelAwareDataHolder,ModifiableAmetysObject,ModifiableDataHolder,ModifiableIndexableDataHolder,ModifiableModelAwareDataAwareAmetysObject,ModifiableModelAwareDataAwareAmetysObject,ModifiableModelAwareDataHolder,RemovableAmetysObject
- All Known Implementing Classes:
JCRTasksList
Task list interface
-
Field Summary
Fields inherited from interface org.ametys.plugins.repository.data.holder.ModelAwareDataHolder
ALTERNATIVE_SUFFIX, STATUS_SUFFIX -
Method Summary
Modifier and TypeMethodDescriptionvoidAdd a taskGet the author of the taskgetColor()Get the tasks list colorGet the task's creation date.getIcon()Get the tasks list icongetLabel()The title of the taskGet the task's last modification date.The id of the task listThe position of the task listgetTasks()Get the list of tasksvoidsetAuthor(UserIdentity author) Set the author of this task.voidSet the tasks list colorvoidsetCreationDate(ZonedDateTime startDate) Set the post's creation date.voidSet the tasks list iconvoidSet the tasks list labelvoidsetLastModified(ZonedDateTime date) Set the post's modification date.voidSet the tasks list idvoidsetPosition(Long position) Set the tasks list positionMethods inherited from interface org.ametys.plugins.repository.AmetysObject
equals, getId, getName, getParent, getParentPath, getPath, hashCodeMethods inherited from interface org.ametys.plugins.repository.data.ametysobject.DataAwareAmetysObject
copyTo, copyTo, dataToJSON, dataToJSON, dataToSAX, dataToSAXMethods inherited from interface org.ametys.cms.data.ametysobject.ModelAwareDataAwareAmetysObject
getSystemPropertyExtensionPoint, indexData, indexDataMethods inherited from interface org.ametys.plugins.repository.data.ametysobject.ModelAwareDataAwareAmetysObject
dataToJSON, dataToJSONForEdition, dataToMap, dataToSAX, dataToSAXForEdition, getDataNames, getDefinition, getDifferences, getDifferences, getDifferences, getDifferences, getExternalValue, getLocalValue, getModel, getStatus, getValue, getValue, hasDefinition, hasDifferences, hasDifferences, hasDifferences, hasDifferences, hasExternalValue, hasExternalValueOrEmpty, hasLocalValue, hasLocalValueOrEmpty, hasValue, hasValueOrEmptyMethods inherited from interface org.ametys.plugins.repository.data.holder.ModelAwareDataHolder
dataToJSON, dataToJSON, dataToJSON, dataToMap, dataToMap, dataToMap, dataToSAX, dataToSAX, dataToSAX, getDataNames, getType, getValue, hasValue, hasValueOrEmpty, isMultipleMethods inherited from interface org.ametys.plugins.repository.ModifiableAmetysObject
needsSave, rename, revertChanges, saveChangesMethods inherited from interface org.ametys.plugins.repository.data.holder.ModifiableDataHolder
getRepositoryDataMethods inherited from interface org.ametys.cms.data.ametysobject.ModifiableModelAwareDataAwareAmetysObject
getComposite, getComposite, getDataHolder, getExternalComposite, getExternalComposite, getExternalRepeater, getExternalRepeater, getLocalComposite, getLocalComposite, getLocalRepeater, getLocalRepeater, getParentDataHolder, getRepeater, getRepeater, getRootDataHolderMethods inherited from interface org.ametys.plugins.repository.data.ametysobject.ModifiableModelAwareDataAwareAmetysObject
getRepositoryData, removeExternalizableMetadataIfExists, removeExternalValue, removeLocalValue, removeValue, setExternalValue, setLocalValue, setStatus, setValue, synchronizeValues, synchronizeValues, synchronizeValues, synchronizeValuesMethods inherited from interface org.ametys.plugins.repository.RemovableAmetysObject
remove
-
Method Details
-
getListId
The id of the task list- Returns:
- The id
-
setListId
Set the tasks list id- Parameters:
id- the id
-
getPosition
The position of the task list- Returns:
- The position
-
setPosition
Set the tasks list position- Parameters:
position- the position
-
getLabel
The title of the task- Returns:
- The title
-
setLabel
Set the tasks list label- Parameters:
label- the label
-
getColor
Get the tasks list color- Returns:
- the tasks list color
-
setColor
Set the tasks list color- Parameters:
colorId- the color id
-
getIcon
Get the tasks list icon- Returns:
- the tasks list icon
-
setIcon
Set the tasks list icon- Parameters:
iconId- the icon id
-
getTasks
Get the list of tasks- Returns:
- The list of tasks
-
addTask
Add a task- Parameters:
task- The task
-
getAuthor
Get the author of the task- Returns:
- the author
-
setAuthor
Set the author of this task.- Parameters:
author- the author
-
getCreationDate
Get the task's creation date.- Returns:
- the task's creation date.
-
setCreationDate
Set the post's creation date.- Parameters:
startDate- the post's creation date.
-
getLastModified
Get the task's last modification date.- Returns:
- the task's last modification date.
-
setLastModified
Set the post's modification date.- Parameters:
date- the last modification date to set.
-