public class Tenant extends Object
| Constructor and Description |
|---|
Tenant() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Set<AttributeDefinition> |
getAttributeDefinitions()
Returns the definitions of attributes that users of this tenant can have.
|
Set<String> |
getAvailableRoles()
Returns the available roles that can be assigned to users of this tenant.
|
org.bson.types.ObjectId |
getId()
Returns the tenant's DB ID.
|
String |
getName()
Returns the name of the tenant.
|
int |
hashCode() |
boolean |
isSsoEnabled()
Returns true is single-sign on (SSO) is enabled for this tenant .
|
boolean |
isVerifyNewProfiles()
Returns true if new profiles should be verified through email by the user, for the accounts or users of
this tenant.
|
void |
setAttributeDefinitions(Set<AttributeDefinition> attributeDefinitions)
Sets the definitions of attributes that users of this tenant can have.
|
void |
setAvailableRoles(Set<String> availableRoles)
Sets the available roles that can be assigned to users of this tenant.
|
void |
setId(org.bson.types.ObjectId id)
Sets the tenant's DB ID.
|
void |
setName(String name)
Sets the name of the tenant.
|
void |
setSsoEnabled(boolean ssoEnabled)
Sets if single sign-on (SSO) should be enabled for this tenant.
|
void |
setVerifyNewProfiles(boolean verifyNewProfiles)
Sets if new profiles should be verified through email by the user, for the accounts or users of
this tenant.
|
String |
toString() |
public org.bson.types.ObjectId getId()
public void setId(org.bson.types.ObjectId id)
id - the IDpublic String getName()
public void setName(String name)
public boolean isVerifyNewProfiles()
public void setVerifyNewProfiles(boolean verifyNewProfiles)
verifyNewProfiles - true to verify new profiles, false otherwisepublic Set<String> getAvailableRoles()
public void setAvailableRoles(Set<String> availableRoles)
availableRoles - the available roles for users of the tenant.public boolean isSsoEnabled()
public void setSsoEnabled(boolean ssoEnabled)
public Set<AttributeDefinition> getAttributeDefinitions()
public void setAttributeDefinitions(Set<AttributeDefinition> attributeDefinitions)
attributeDefinitions - the available attribute definitions for users of the tenantCopyright © 2015 CrafterCMS. All Rights Reserved.