Interface CalendarResource
- All Superinterfaces:
AmetysObject
,DataAwareAmetysObject
,DataHolder
,ModelAwareDataAwareAmetysObject
,ModelAwareDataHolder
,ModifiableAmetysObject
,ModifiableDataHolder
,ModifiableModelAwareDataAwareAmetysObject
,ModifiableModelAwareDataHolder
,RemovableAmetysObject
- All Known Implementing Classes:
JCRCalendarResource
public interface CalendarResource
extends RemovableAmetysObject, ModifiableModelAwareDataAwareAmetysObject
Modifiable Calendar Interface
-
Field Summary
Fields inherited from interface org.ametys.plugins.repository.data.holder.ModelAwareDataHolder
ALTERNATIVE_SUFFIX, COMMENTS_SUFFIX, STATUS_SUFFIX
-
Method Summary
Modifier and TypeMethodDescriptionGet the id of the resourcegetIcon()
Get the icon of the resourceGet the special instructions of the resourcegetTitle()
Get the title of the resourcevoid
set the id of the resourcevoid
set the icon of the resourcevoid
setInstructions
(String instructions) set the special instructions of the resourcevoid
set the title of the resourceMethods inherited from interface org.ametys.plugins.repository.AmetysObject
equals, getId, getName, getParent, getParentPath, getPath, hashCode
Methods inherited from interface org.ametys.plugins.repository.data.ametysobject.DataAwareAmetysObject
copyTo, dataToSAX, dataToSAX
Methods inherited from interface org.ametys.plugins.repository.data.ametysobject.ModelAwareDataAwareAmetysObject
getComments, getDataNames, getDefinition, getExternalValue, getLocalValue, getModel, getStatus, getValue, getValue, hasComments, hasDefinition, hasExternalValue, hasExternalValueOrEmpty, hasLocalValue, hasLocalValueOrEmpty, hasValue, hasValueOrEmpty
Methods inherited from interface org.ametys.plugins.repository.data.holder.ModelAwareDataHolder
commentsToSAX, dataToMap, dataToMap, dataToMap, dataToMap, dataToSAX, dataToSAX, dataToSAX, dataToSAX, dataToSAXForEdition, getDataNames, getType, getValue, hasValue, hasValueOrEmpty, isMultiple
Methods inherited from interface org.ametys.plugins.repository.ModifiableAmetysObject
needsSave, rename, revertChanges, saveChanges
Methods inherited from interface org.ametys.plugins.repository.data.ametysobject.ModifiableModelAwareDataAwareAmetysObject
getComposite, getComposite, getDataHolder, getExternalComposite, getExternalComposite, getExternalRepeater, getExternalRepeater, getLocalComposite, getLocalComposite, getLocalRepeater, getLocalRepeater, getParentDataHolder, getRepeater, getRepeater, getRepositoryData, getRootDataHolder, removeExternalizableMetadataIfExists, removeExternalValue, removeLocalValue, removeValue, setComments, setExternalValue, setLocalValue, setStatus, setValue, synchronizeValues, synchronizeValues, synchronizeValues, synchronizeValues
Methods inherited from interface org.ametys.plugins.repository.RemovableAmetysObject
remove
-
Method Details
-
getCalendarResourceId
Get the id of the resource- Returns:
- the id of the resource
-
setCalendarResourceId
set the id of the resource- Parameters:
id
- The id of the resource
-
getTitle
Get the title of the resource- Returns:
- the title of the resource
-
setTitle
set the title of the resource- Parameters:
title
- The title
-
getInstructions
Get the special instructions of the resource- Returns:
- the special instructions of the resource
-
setInstructions
set the special instructions of the resource- Parameters:
instructions
- The special instructions
-
getIcon
Get the icon of the resource- Returns:
- the icon of the resource
-
setIcon
set the icon of the resource- Parameters:
icon
- The icon to set
-