Package org.olat.user.propertyhandlers

Examples of org.olat.user.propertyhandlers.GenderPropertyHandler


    if (portraitIdent == null) throw new AssertException("identity can not be null!");
    this.portraitIdent = portraitIdent;
   
    ImageComponent ic = null;
   
    GenderPropertyHandler genderHander = (GenderPropertyHandler) UserManager.getInstance().getUserPropertiesConfig().getPropertyHandler(UserConstants.GENDER);
    String gender = "-"; // use as default
    if (genderHander != null) {
      gender = genderHander.getInternalValue(portraitIdent.getUser());
    }
   
    MediaResource portrait = null;
    if (useLarge){
      portrait = DisplayPortraitManager.getInstance().getPortrait(portraitIdent, DisplayPortraitManager.PORTRAIT_BIG_FILENAME);
View Full Code Here

TOP

Related Classes of org.olat.user.propertyhandlers.GenderPropertyHandler

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.