本文整理汇总了Java中org.kuali.rice.kim.bo.ui.PersonDocumentPrivacy类的典型用法代码示例。如果您正苦于以下问题:Java PersonDocumentPrivacy类的具体用法?Java PersonDocumentPrivacy怎么用?Java PersonDocumentPrivacy使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
PersonDocumentPrivacy类属于org.kuali.rice.kim.bo.ui包,在下文中一共展示了PersonDocumentPrivacy类的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: loadPrivacyReferences
import org.kuali.rice.kim.bo.ui.PersonDocumentPrivacy; //导入依赖的package包/类
protected PersonDocumentPrivacy loadPrivacyReferences(EntityPrivacyPreferences privacyPreferences) {
PersonDocumentPrivacy docPrivacy = new PersonDocumentPrivacy();
docPrivacy.setSuppressAddress(privacyPreferences.isSuppressAddress());
docPrivacy.setSuppressEmail(privacyPreferences.isSuppressEmail());
docPrivacy.setSuppressName(privacyPreferences.isSuppressName());
docPrivacy.setSuppressPhone(privacyPreferences.isSuppressPhone());
docPrivacy.setSuppressPersonal(privacyPreferences.isSuppressPersonal());
docPrivacy.setEdit(true);
return docPrivacy;
}
示例2: IdentityManagementPersonDocument
import org.kuali.rice.kim.bo.ui.PersonDocumentPrivacy; //导入依赖的package包/类
public IdentityManagementPersonDocument() {
affiliations = new ArrayList<PersonDocumentAffiliation>();
citizenships = new ArrayList<PersonDocumentCitizenship>();
// employmentInformations = new ArrayList<DocEmploymentInfo>();
names = new ArrayList<PersonDocumentName>();
addrs = new ArrayList<PersonDocumentAddress>();
phones = new ArrayList<PersonDocumentPhone>();
emails = new ArrayList<PersonDocumentEmail>();
groups = new ArrayList<PersonDocumentGroup>();
roles = new ArrayList<PersonDocumentRole>();
privacy = new PersonDocumentPrivacy();
this.active = true;
}
示例3: initPrivacyReferences
import org.kuali.rice.kim.bo.ui.PersonDocumentPrivacy; //导入依赖的package包/类
private PersonDocumentPrivacy initPrivacyReferences(EntityPrivacyPreferencesBo privacyPreferences) {
PersonDocumentPrivacy docPrivacy = new PersonDocumentPrivacy();
docPrivacy.setSuppressAddress(true);
docPrivacy.setSuppressEmail(false);
docPrivacy.setSuppressName(false);
docPrivacy.setSuppressPhone(false);
docPrivacy.setSuppressPersonal(true);
return docPrivacy;
}
示例4: IdentityManagementPersonDocument
import org.kuali.rice.kim.bo.ui.PersonDocumentPrivacy; //导入依赖的package包/类
public IdentityManagementPersonDocument() {
affiliations = new ArrayList<PersonDocumentAffiliation>();
citizenships = new ArrayList<PersonDocumentCitizenship>();
// employmentInformations = new ArrayList<DocEmploymentInfo>();
names = new ArrayList<PersonDocumentName>();
addrs = new ArrayList<PersonDocumentAddress>();
phones = new ArrayList<PersonDocumentPhone>();
emails = new ArrayList<PersonDocumentEmail>();
groups = new ArrayList<PersonDocumentGroup>();
roles = new ArrayList<PersonDocumentRole>();
privacy = new PersonDocumentPrivacy();
this.active = true;
// privacy.setDocumentNumber(documentNumber);
}
示例5: getPrivacy
import org.kuali.rice.kim.bo.ui.PersonDocumentPrivacy; //导入依赖的package包/类
public PersonDocumentPrivacy getPrivacy() {
return this.privacy;
}
示例6: setPrivacy
import org.kuali.rice.kim.bo.ui.PersonDocumentPrivacy; //导入依赖的package包/类
public void setPrivacy(PersonDocumentPrivacy privacy) {
this.privacy = privacy;
}