Class LockContentEvent
java.lang.Object
org.craftercms.studio.api.v2.event.StudioEvent
org.craftercms.studio.api.v2.event.SiteAwareEvent
org.craftercms.studio.api.v2.event.lock.LockContentEvent
- All Implemented Interfaces:
BroadcastEvent
,SiteBroadcastEvent
Event triggered when content is locked or unlocked
Note:This event is not part of the content hierarchy to prevent triggering a reindex
- Since:
- 4.0.0
- Author:
- joseross
-
Field Summary
FieldsFields inherited from class org.craftercms.studio.api.v2.event.SiteAwareEvent
siteId
Fields inherited from class org.craftercms.studio.api.v2.event.StudioEvent
timestamp, user
-
Constructor Summary
ConstructorsConstructorDescriptionLockContentEvent
(org.springframework.security.core.Authentication authentication, String siteId, String targetPath, boolean locked) -
Method Summary
Methods inherited from class org.craftercms.studio.api.v2.event.SiteAwareEvent
getSiteId
Methods inherited from class org.craftercms.studio.api.v2.event.StudioEvent
getTimestamp, getUser
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.craftercms.studio.api.v2.event.SiteBroadcastEvent
getSiteId
-
Field Details
-
targetPath
-
locked
protected final boolean locked
-
-
Constructor Details
-
LockContentEvent
-
-
Method Details
-
getTargetPath
-
isLocked
public boolean isLocked() -
getEventType
- Specified by:
getEventType
in interfaceBroadcastEvent
-
toString
-