Class ContentAdminActivityGenerationTransactionObserver

  • All Implemented Interfaces:
    ITransactionObserver

    public class ContentAdminActivityGenerationTransactionObserver
    extends AbstractTransactionObserver
    Transaction observer that generates activities for a ContentLocale with target audience of its content administrators.
    Since:
    8.2.0
    Version:
    $Revision: 19313 $ $Date: 2016-08-16 13:17:55 -0300 (Tue, 16 Aug 2016) $
    • Method Detail

      • attachToTransactionIfNecessary

        public 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.
        Parameters:
        contentLocale - the content locale.
        actionId - the identifier of the action of the activity to be generated.
        Since:
        8.2.0