|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.kim.api.entity.privacy.EntityPrivacyPreferences.Builder
public static final class EntityPrivacyPreferences.Builder
A builder which can be used to construct EntityPrivacyPreferences
instances. Enforces the constraints of the EntityPrivacyPreferencesContract
.
Field Summary | |
---|---|
private String |
entityId
|
private String |
objectId
|
private boolean |
suppressAddress
|
private boolean |
suppressEmail
|
private boolean |
suppressName
|
private boolean |
suppressPersonal
|
private boolean |
suppressPhone
|
private Long |
versionNumber
|
Constructor Summary | |
---|---|
private |
EntityPrivacyPreferences.Builder(String entityId)
|
Method Summary | |
---|---|
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 entity 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)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private String entityId
private boolean suppressName
private boolean suppressAddress
private boolean suppressEmail
private boolean suppressPhone
private boolean suppressPersonal
private Long versionNumber
private String objectId
Constructor Detail |
---|
private EntityPrivacyPreferences.Builder(String entityId)
Method Detail |
---|
public static EntityPrivacyPreferences.Builder create(String entityId)
public static EntityPrivacyPreferences.Builder create(EntityPrivacyPreferencesContract contract)
public EntityPrivacyPreferences build()
ModelBuilder
build
in interface ModelBuilder
public String getEntityId()
EntityPrivacyPreferencesContract
getEntityId
in interface EntityPrivacyPreferencesContract
EntityPrivacyPreferencesContract
public boolean isSuppressName()
EntityPrivacyPreferencesContract
This is a boolean value that shows if entity names should be suppressed or not.
isSuppressName
in interface EntityPrivacyPreferencesContract
public boolean isSuppressAddress()
EntityPrivacyPreferencesContract
This is a boolean value that shows if entity addresses should be suppressed or not.
isSuppressAddress
in interface EntityPrivacyPreferencesContract
public boolean isSuppressEmail()
EntityPrivacyPreferencesContract
This is a boolean value that shows if entity emails should be suppressed or not.
isSuppressEmail
in interface EntityPrivacyPreferencesContract
public boolean isSuppressPhone()
EntityPrivacyPreferencesContract
This is a boolean value that shows if entity phones should be suppressed or not.
isSuppressPhone
in interface EntityPrivacyPreferencesContract
public boolean isSuppressPersonal()
EntityPrivacyPreferencesContract
This is a boolean value that shows if entity personal information should be suppressed or not.
isSuppressPersonal
in interface EntityPrivacyPreferencesContract
public Long getVersionNumber()
Versioned
getVersionNumber
in interface Versioned
public String getObjectId()
GloballyUnique
getObjectId
in interface GloballyUnique
public 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)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |