Interface CalendarResource
- All Superinterfaces:
AmetysObject
,DataAwareAmetysObject
,DataHolder
,IndexableDataHolder
,ModelAwareDataAwareAmetysObject
,ModelAwareDataAwareAmetysObject
,ModelAwareDataHolder
,ModifiableAmetysObject
,ModifiableDataHolder
,ModifiableIndexableDataHolder
,ModifiableModelAwareDataAwareAmetysObject
,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, copyTo, dataToJSON, dataToJSON, dataToSAX, dataToSAX
Methods inherited from interface org.ametys.cms.data.ametysobject.ModelAwareDataAwareAmetysObject
getSystemPropertyExtensionPoint, indexData, indexData
Methods inherited from interface org.ametys.plugins.repository.data.ametysobject.ModelAwareDataAwareAmetysObject
dataToJSON, dataToJSONForEdition, dataToMap, dataToSAX, dataToSAXForEdition, getComments, getDataNames, getDefinition, getDifferences, getDifferences, getDifferences, getDifferences, getExternalValue, getLocalValue, getModel, getStatus, getValue, getValue, hasComments, hasDefinition, hasDifferences, hasDifferences, hasDifferences, hasDifferences, hasExternalValue, hasExternalValueOrEmpty, hasLocalValue, hasLocalValueOrEmpty, hasValue, hasValueOrEmpty
Methods inherited from interface org.ametys.plugins.repository.data.holder.ModelAwareDataHolder
commentsToSAX, dataToJSON, dataToJSON, dataToJSON, dataToMap, dataToMap, dataToMap, dataToSAX, dataToSAX, dataToSAX, 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.holder.ModifiableDataHolder
getRepositoryData
Methods inherited from interface org.ametys.cms.data.ametysobject.ModifiableModelAwareDataAwareAmetysObject
getComposite, getComposite, getDataHolder, getExternalComposite, getExternalComposite, getExternalRepeater, getExternalRepeater, getLocalComposite, getLocalComposite, getLocalRepeater, getLocalRepeater, getParentDataHolder, getRepeater, getRepeater, getRootDataHolder
Methods inherited from interface org.ametys.plugins.repository.data.ametysobject.ModifiableModelAwareDataAwareAmetysObject
getRepositoryData, 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
-