public static final class EntityPrivacyPreferences.Builder extends Object implements Serializable, ModelBuilder, EntityPrivacyPreferencesContract
EntityPrivacyPreferences instances. Enforces the constraints of the EntityPrivacyPreferencesContract.| Modifier and Type | Method and Description |
|---|---|
EntityPrivacyPreferences |
build()
Returns an instance of the object being built by this builder based
on the current state of the builder.
|
static EntityPrivacyPreferences.Builder |
create(EntityPrivacyPreferencesContract contract) |
static EntityPrivacyPreferences.Builder |
create(String entityId) |
String |
getEntityId()
Gets this id of the parent identity object.
|
String |
getObjectId()
Return the globally unique object id of this object.
|
Long |
getVersionNumber()
Returns the version number for this object.
|
boolean |
isSuppressAddress()
This is value designating if Entity Address should be suppressed.
|
boolean |
isSuppressEmail()
This is value designating if Entity Email should be suppressed.
|
boolean |
isSuppressName()
This is value designating if Entity Name should be suppressed.
|
boolean |
isSuppressPersonal()
This is value designating if Entity Personal information should be suppressed.
|
boolean |
isSuppressPhone()
This is value designating if Entity Phone should be suppressed.
|
void |
setEntityId(String entityId) |
void |
setObjectId(String objectId) |
void |
setSuppressAddress(boolean suppressAddress) |
void |
setSuppressEmail(boolean suppressEmail) |
void |
setSuppressName(boolean suppressName) |
void |
setSuppressPersonal(boolean suppressPersonal) |
void |
setSuppressPhone(boolean suppressPhone) |
void |
setVersionNumber(Long versionNumber) |
public static EntityPrivacyPreferences.Builder create(String entityId)
public static EntityPrivacyPreferences.Builder create(EntityPrivacyPreferencesContract contract)
public EntityPrivacyPreferences build()
ModelBuilderbuild in interface ModelBuilderpublic String getEntityId()
EntityPrivacyPreferencesContractgetEntityId in interface EntityPrivacyPreferencesContractEntityPrivacyPreferencesContractpublic boolean isSuppressName()
EntityPrivacyPreferencesContractThis is a boolean value that shows if identity names should be suppressed or not.
isSuppressName in interface EntityPrivacyPreferencesContractpublic boolean isSuppressAddress()
EntityPrivacyPreferencesContractThis is a boolean value that shows if identity addresses should be suppressed or not.
isSuppressAddress in interface EntityPrivacyPreferencesContractpublic boolean isSuppressEmail()
EntityPrivacyPreferencesContractThis is a boolean value that shows if identity emails should be suppressed or not.
isSuppressEmail in interface EntityPrivacyPreferencesContractpublic boolean isSuppressPhone()
EntityPrivacyPreferencesContractThis is a boolean value that shows if identity phones should be suppressed or not.
isSuppressPhone in interface EntityPrivacyPreferencesContractpublic boolean isSuppressPersonal()
EntityPrivacyPreferencesContractThis is a boolean value that shows if identity personal information should be suppressed or not.
isSuppressPersonal in interface EntityPrivacyPreferencesContractpublic Long getVersionNumber()
VersionedgetVersionNumber in interface Versionedpublic String getObjectId()
GloballyUniquegetObjectId in interface GloballyUniquepublic void setEntityId(String entityId)
public void setSuppressName(boolean suppressName)
public void setSuppressAddress(boolean suppressAddress)
public void setSuppressEmail(boolean suppressEmail)
public void setSuppressPhone(boolean suppressPhone)
public void setSuppressPersonal(boolean suppressPersonal)
public void setVersionNumber(Long versionNumber)
public void setObjectId(String objectId)
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.