public class ContentAdminActivityGenerationTransactionObserver extends AbstractTransactionObserver
activities
for a ContentLocale
with target audience of
its content administrators.Modifier and Type | Method and Description |
---|---|
static void |
attachToTransactionIfNecessary(ContentLocale contentLocale,
String actionId)
If necessary, attach to the transaction an observer that will generate the activity of the content's
administrators.
|
boolean |
beforeCommit()
Called by the observed transaction just before the commit operation.
|
afterCommit, afterRollback, beforeRollback
public static void attachToTransactionIfNecessary(ContentLocale contentLocale, String actionId)
contentLocale
- the content locale.actionId
- the identifier of the action
of the activity to be generated.public boolean beforeCommit() throws PortalException
ITransactionObserver
beforeCommit
in interface ITransactionObserver
beforeCommit
in class AbstractTransactionObserver
PortalException
LumisXP 12.2.0.200122 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.