Class UpdatePublishStatusContext
java.lang.Object
ch.tocco.nice2.dms.spi.entitylistener.status.UpdatePublishStatusContext
There is a listener which sets the publish status of a ContentTreeNode to 'changed' automatically.
To disable the listener temporarily,
setPublishStatusListenerEnabled(boolean)
can be set
to false within the current thread.
You should use the Invoker to accomplish this (disabled()
.-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptiondisabled()
enabled()
static boolean
static void
setPublishStatusListenerEnabled
(boolean enabled)
-
Method Details
-
setPublishStatusListenerEnabled
public static void setPublishStatusListenerEnabled(boolean enabled) -
isPublishStatusListenerEnabled
public static boolean isPublishStatusListenerEnabled() -
disabled
- Returns:
- an invoker to disable the listener.
-
enabled
- Returns:
- an invoker to enable the listener.
-