Class CTCollectionThreadLocal

Object
com.liferay.portal.kernel.change.tracking.CTCollectionThreadLocal

public class CTCollectionThreadLocal extends Object
Author:
Preston Crary
  • Field Details

    • CT_COLLECTION_ID_PRODUCTION

      public static final long CT_COLLECTION_ID_PRODUCTION
      See Also:
  • Method Details

    • getCTCollectionId

      public static long getCTCollectionId()
    • isProductionMode

      public static boolean isProductionMode()
    • removeCTCollectionId

      public static void removeCTCollectionId()
    • setCTCollectionIdWithSafeCloseable

      public static com.liferay.petra.lang.SafeCloseable setCTCollectionIdWithSafeCloseable(long ctCollectionId)
    • setProductionModeWithSafeCloseable

      public static com.liferay.petra.lang.SafeCloseable setProductionModeWithSafeCloseable()