Package br.com.jarch.core.model
Class MultiTenant
- java.lang.Object
-
- br.com.jarch.core.model.MultiTenant
-
- All Implemented Interfaces:
java.io.Serializable
@Vetoed @Named public class MultiTenant extends java.lang.Object implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MultiTenant()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
exists()
long
get()
static java.lang.Long
getIdMultitenantThread()
static MultiTenant
getInstance()
boolean
isSession()
boolean
notExists()
void
remove()
void
set(long multiTenantId)
void
setIfNotExists(long multiTenantId)
-
-
-
Method Detail
-
getInstance
public static MultiTenant getInstance()
-
get
public long get()
-
set
public void set(long multiTenantId)
-
setIfNotExists
public void setIfNotExists(long multiTenantId)
-
remove
public void remove()
-
exists
public boolean exists()
-
notExists
public boolean notExists()
-
isSession
public boolean isSession()
-
getIdMultitenantThread
public static java.lang.Long getIdMultitenantThread()
-
-