Class EntityPrivacyPreferences.Builder
java.lang.Object
org.kuali.rice.kim.api.identity.privacy.EntityPrivacyPreferences.Builder
- All Implemented Interfaces:
Serializable,GloballyUnique,Versioned,ModelBuilder,EntityPrivacyPreferencesContract
- Enclosing class:
EntityPrivacyPreferences
public static final class EntityPrivacyPreferences.Builder
extends Object
implements Serializable, ModelBuilder, EntityPrivacyPreferencesContract
A builder which can be used to construct
EntityPrivacyPreferences instances. Enforces the constraints of the EntityPrivacyPreferencesContract.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionbuild()create(EntityPrivacyPreferencesContract contract) Gets this id of the parent identity object.booleanThis is value designating if Entity Address should be suppressed.booleanThis is value designating if Entity Email should be suppressed.booleanThis is value designating if Entity Name should be suppressed.booleanThis is value designating if Entity Personal information should be suppressed.booleanThis is value designating if Entity Phone should be suppressed.voidsetEntityId(String entityId) voidsetObjectId(String objectId) voidsetSuppressAddress(boolean suppressAddress) voidsetSuppressEmail(boolean suppressEmail) voidsetSuppressName(boolean suppressName) voidsetSuppressPersonal(boolean suppressPersonal) voidsetSuppressPhone(boolean suppressPhone) voidsetVersionNumber(Long versionNumber)
-
Method Details
-
create
-
create
-
build
- Specified by:
buildin interfaceModelBuilder
-
getEntityId
Description copied from interface:EntityPrivacyPreferencesContractGets this id of the parent identity object.- Specified by:
getEntityIdin interfaceEntityPrivacyPreferencesContract- Returns:
- the identity id for this
EntityPrivacyPreferencesContract
-
isSuppressName
public boolean isSuppressName()Description copied from interface:EntityPrivacyPreferencesContractThis is value designating if Entity Name should be suppressed.This is a boolean value that shows if identity names should be suppressed or not.
- Specified by:
isSuppressNamein interfaceEntityPrivacyPreferencesContract- Returns:
- suppressName
-
isSuppressAddress
public boolean isSuppressAddress()Description copied from interface:EntityPrivacyPreferencesContractThis is value designating if Entity Address should be suppressed.This is a boolean value that shows if identity addresses should be suppressed or not.
- Specified by:
isSuppressAddressin interfaceEntityPrivacyPreferencesContract- Returns:
- suppressAddress
-
isSuppressEmail
public boolean isSuppressEmail()Description copied from interface:EntityPrivacyPreferencesContractThis is value designating if Entity Email should be suppressed.This is a boolean value that shows if identity emails should be suppressed or not.
- Specified by:
isSuppressEmailin interfaceEntityPrivacyPreferencesContract- Returns:
- suppressEmail
-
isSuppressPhone
public boolean isSuppressPhone()Description copied from interface:EntityPrivacyPreferencesContractThis is value designating if Entity Phone should be suppressed.This is a boolean value that shows if identity phones should be suppressed or not.
- Specified by:
isSuppressPhonein interfaceEntityPrivacyPreferencesContract- Returns:
- suppressPhone
-
isSuppressPersonal
public boolean isSuppressPersonal()Description copied from interface:EntityPrivacyPreferencesContractThis is value designating if Entity Personal information should be suppressed.This is a boolean value that shows if identity personal information should be suppressed or not.
- Specified by:
isSuppressPersonalin interfaceEntityPrivacyPreferencesContract- Returns:
- suppressPersonal
-
getVersionNumber
- Specified by:
getVersionNumberin interfaceVersioned
-
getObjectId
- Specified by:
getObjectIdin interfaceGloballyUnique
-
setEntityId
-
setSuppressName
public void setSuppressName(boolean suppressName) -
setSuppressAddress
public void setSuppressAddress(boolean suppressAddress) -
setSuppressEmail
public void setSuppressEmail(boolean suppressEmail) -
setSuppressPhone
public void setSuppressPhone(boolean suppressPhone) -
setSuppressPersonal
public void setSuppressPersonal(boolean suppressPersonal) -
setVersionNumber
-
setObjectId
-