public class CompanyThreadLocal
extends java.lang.Object
Constructor and Description |
---|
CompanyThreadLocal() |
Modifier and Type | Method and Description |
---|---|
static java.lang.Long |
getCompanyId() |
static boolean |
isDeleteInProcess() |
static void |
setCompanyId(java.lang.Long companyId) |
static void |
setDeleteInProcess(boolean deleteInProcess) |
static com.liferay.petra.lang.SafeClosable |
setInitializingCompanyId(long companyId)
Deprecated.
As of Cavanaugh (7.4.x), replaced by
setInitializingCompanyIdWithSafeCloseable(long) |
static com.liferay.petra.lang.SafeCloseable |
setInitializingCompanyIdWithSafeCloseable(long companyId) |
static com.liferay.petra.lang.SafeClosable |
setWithSafeClosable(java.lang.Long companyId)
Deprecated.
As of Cavanaugh (7.4.x), replaced by
setWithSafeCloseable(Long) |
static com.liferay.petra.lang.SafeCloseable |
setWithSafeCloseable(java.lang.Long companyId) |
public static java.lang.Long getCompanyId()
public static boolean isDeleteInProcess()
public static void setCompanyId(java.lang.Long companyId)
public static void setDeleteInProcess(boolean deleteInProcess)
@Deprecated public static com.liferay.petra.lang.SafeClosable setInitializingCompanyId(long companyId)
setInitializingCompanyIdWithSafeCloseable(long)
public static com.liferay.petra.lang.SafeCloseable setInitializingCompanyIdWithSafeCloseable(long companyId)
@Deprecated public static com.liferay.petra.lang.SafeClosable setWithSafeClosable(java.lang.Long companyId)
setWithSafeCloseable(Long)
public static com.liferay.petra.lang.SafeCloseable setWithSafeCloseable(java.lang.Long companyId)