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
siteIdFields 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
getSiteIdMethods inherited from class org.craftercms.studio.api.v2.event.StudioEvent
getTimestamp, getUserMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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:
getEventTypein interfaceBroadcastEvent
-
toString
-