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 booleanexists()longget()static java.lang.LonggetIdMultitenantThread()static MultiTenantgetInstance()booleanisSession()booleannotExists()voidremove()voidset(long multiTenantId)voidsetIfNotExists(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()
-
-