Package org.ametys.web.repository.page
Interface LockablePage
- All Superinterfaces:
AmetysObject
,DataAwareAmetysObject
,DataHolder
,MetadataAwareSitemapElement
,ModelLessDataAwareAmetysObject
,ModelLessDataHolder
,ModifiableAmetysObject
,ModifiableDataHolder
,ModifiableModelLessDataAwareAmetysObject
,ModifiableModelLessDataHolder
,ModifiablePage
,ModifiableSitemapElement
,ModifiableTraversableAmetysObject
,Page
,RemovableAmetysObject
,SiteAwareAmetysObject
,SitemapElement
,TagAwareAmetysObject
,TaggableAmetysObject
,TraversableAmetysObject
- All Known Implementing Classes:
DefaultPage
Page
that can be locked.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.ametys.web.repository.page.Page
Page.LinkType, Page.PageType
-
Field Summary
Fields inherited from interface org.ametys.web.repository.SiteAwareAmetysObject
METADATA_SITE
-
Method Summary
Methods 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, getDataNames, getRepositoryData
Methods inherited from interface org.ametys.plugins.repository.data.ametysobject.ModelLessDataAwareAmetysObject
dataToJSON, dataToSAX, getComposite, getModelItemTypeExtensionPoint, getParentDataHolder, getRootDataHolder, getType, getValue, getValue, getValueOfType, getValueOfType, hasDifferences, hasValue, hasValue, hasValueOrEmpty, isMultiple, isMultiple
Methods inherited from interface org.ametys.plugins.repository.data.holder.ModelLessDataHolder
dataToJSON, dataToSAX, hasValue, hasValueOrEmpty
Methods inherited from interface org.ametys.plugins.repository.ModifiableAmetysObject
needsSave, rename, revertChanges, saveChanges
Methods inherited from interface org.ametys.plugins.repository.data.ametysobject.ModifiableModelLessDataAwareAmetysObject
getComposite, getComposite, getDataHolder, getParentDataHolder, getRepositoryData, getRootDataHolder, removeValue, setValue, setValue, synchronizeValues
Methods inherited from interface org.ametys.web.repository.page.ModifiablePage
addReferer, removeReferer, setLongTitle, setSitemapName, setSiteName, setTemplate, setTitle, setType, setURL, setVisible
Methods inherited from interface org.ametys.web.repository.page.ModifiableSitemapElement
createZone, getTemplateParametersHolder, getZone, getZones
Methods inherited from interface org.ametys.plugins.repository.ModifiableTraversableAmetysObject
createChild
Methods inherited from interface org.ametys.web.repository.page.Page
getDepth, getLongTitle, getReferers, getRootAttachments, getType, getURL, getURLType, isIndexable, isVisible
Methods inherited from interface org.ametys.plugins.repository.RemovableAmetysObject
remove
Methods inherited from interface org.ametys.web.repository.SiteAwareAmetysObject
getSite, getSiteName
Methods inherited from interface org.ametys.web.repository.page.SitemapElement
getChildPageAt, getChildrenPages, getChildrenPages, getPathInSitemap, getSitemap, getSitemapName, getTemplate, getTitle, hasZone
Methods inherited from interface org.ametys.plugins.repository.tag.TagAwareAmetysObject
getTags
Methods inherited from interface org.ametys.plugins.repository.tag.TaggableAmetysObject
tag, untag
Methods inherited from interface org.ametys.plugins.repository.TraversableAmetysObject
getChild, getChildAt, getChildPosition, getChildren, hasChild
-
Method Details
-
isLocked
Returns true if thisPage
is locked- Returns:
- true if this
Page
is locked - Throws:
AmetysRepositoryException
- if a problem occurs
-
lock
Locks thisPage
- Throws:
AmetysRepositoryException
- if a problem occurs
-
unlock
Unlocks thisPage
- Throws:
AmetysRepositoryException
- if a problem occurs
-