Class EntityPrivacyPreferences.Builder

java.lang.Object
org.kuali.rice.kim.api.identity.privacy.EntityPrivacyPreferences.Builder
All Implemented Interfaces:
Serializable, org.kuali.rice.core.api.mo.common.GloballyUnique, org.kuali.rice.core.api.mo.common.Versioned, org.kuali.rice.core.api.mo.ModelBuilder, EntityPrivacyPreferencesContract
Enclosing class:
EntityPrivacyPreferences

public static final class EntityPrivacyPreferences.Builder extends Object implements Serializable, org.kuali.rice.core.api.mo.ModelBuilder, EntityPrivacyPreferencesContract
A builder which can be used to construct EntityPrivacyPreferences instances. Enforces the constraints of the EntityPrivacyPreferencesContract.
See Also:
  • Method Details

    • create

      public static EntityPrivacyPreferences.Builder create(String entityId)
    • create

    • build

      public EntityPrivacyPreferences build()
      Specified by:
      build in interface org.kuali.rice.core.api.mo.ModelBuilder
    • getEntityId

      public String getEntityId()
      Description copied from interface: EntityPrivacyPreferencesContract
      Gets this id of the parent identity object.
      Specified by:
      getEntityId in interface EntityPrivacyPreferencesContract
      Returns:
      the identity id for this EntityPrivacyPreferencesContract
    • isSuppressName

      public boolean isSuppressName()
      Description copied from interface: EntityPrivacyPreferencesContract
      This 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:
      isSuppressName in interface EntityPrivacyPreferencesContract
      Returns:
      suppressName
    • isSuppressAddress

      public boolean isSuppressAddress()
      Description copied from interface: EntityPrivacyPreferencesContract
      This 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:
      isSuppressAddress in interface EntityPrivacyPreferencesContract
      Returns:
      suppressAddress
    • isSuppressEmail

      public boolean isSuppressEmail()
      Description copied from interface: EntityPrivacyPreferencesContract
      This 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:
      isSuppressEmail in interface EntityPrivacyPreferencesContract
      Returns:
      suppressEmail
    • isSuppressPhone

      public boolean isSuppressPhone()
      Description copied from interface: EntityPrivacyPreferencesContract
      This 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:
      isSuppressPhone in interface EntityPrivacyPreferencesContract
      Returns:
      suppressPhone
    • isSuppressPersonal

      public boolean isSuppressPersonal()
      Description copied from interface: EntityPrivacyPreferencesContract
      This 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:
      isSuppressPersonal in interface EntityPrivacyPreferencesContract
      Returns:
      suppressPersonal
    • getVersionNumber

      public Long getVersionNumber()
      Specified by:
      getVersionNumber in interface org.kuali.rice.core.api.mo.common.Versioned
    • getObjectId

      public String getObjectId()
      Specified by:
      getObjectId in interface org.kuali.rice.core.api.mo.common.GloballyUnique
    • setEntityId

      public void setEntityId(String entityId)
    • 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

      public void setVersionNumber(Long versionNumber)
    • setObjectId

      public void setObjectId(String objectId)