Class CTPersistenceHelperUtil
Object
com.liferay.portal.kernel.service.persistence.change.tracking.helper.CTPersistenceHelperUtil
- Author:
- Preston Crary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends CTModel<T>>
booleanisInsert
(T ctModel) static <T extends CTModel<T>>
booleanisProductionMode
(Class<T> ctModelClass) static <T extends CTModel<T>>
booleanisProductionMode
(Class<T> ctModelClass, Serializable primaryKey) static <T extends CTModel<T>>
booleanisRemove
(T ctModel) static <T extends CTModel<T>>
com.liferay.petra.lang.SafeCloseablesetCTCollectionIdWithSafeCloseable
(Class<T> ctModelClass) static <T extends CTModel<T>>
com.liferay.petra.lang.SafeCloseablesetCTCollectionIdWithSafeCloseable
(Class<T> ctModelClass, Serializable primaryKey)
-
Method Details
-
isInsert
-
isProductionMode
-
isProductionMode
public static <T extends CTModel<T>> boolean isProductionMode(Class<T> ctModelClass, Serializable primaryKey) -
isRemove
-
setCTCollectionIdWithSafeCloseable
-
setCTCollectionIdWithSafeCloseable
public static <T extends CTModel<T>> com.liferay.petra.lang.SafeCloseable setCTCollectionIdWithSafeCloseable(Class<T> ctModelClass, Serializable primaryKey)
-