Package org.projectforge.user

Examples of org.projectforge.user.UserPrefEntryDO


          final NewGroupSelectPanel groupSelectPanel = new NewGroupSelectPanel(fs.newChildId(), new UserPrefPropertyModel<GroupDO>(
              userPrefDao, param, "valueAsObject"), parentPage, param.getParameter());
          fs.add(groupSelectPanel);
          groupSelectPanel.init();
        } else if (Kost2DO.class.isAssignableFrom(param.getType()) == true) {
          final UserPrefEntryDO taskParam = data.getUserPrefEntry(param.getDependsOn());
          Integer taskId = null;
          if (taskParam == null) {
            log.error("Annotation for Kost2DO types should have a valid dependsOn annotation. Task param not found for: " + param);
          } else {
            final TaskDO task = (TaskDO) taskParam.getValueAsObject();
            if (task != null) {
              taskId = task.getId();
            }
          }
          final Kost2DropDownChoice kost2DropDownChoice = new Kost2DropDownChoice(fs.getDropDownChoiceId(),
View Full Code Here


  /**
   * @see org.projectforge.web.fibu.ISelectCallerPage#select(java.lang.String, java.lang.Integer)
   */
  public void select(final String property, final Object selectedValue)
  {
    final UserPrefEntryDO param = getData().getUserPrefEntry(property);
    if (param == null) {
      log.error("Property '" + property + "' not supported for selection.");
    } else {
      setValue(param, selectedValue);
    }
View Full Code Here

  /**
   * @see org.projectforge.web.fibu.ISelectCallerPage#unselect(java.lang.String)
   */
  public void unselect(final String property)
  {
    final UserPrefEntryDO param = getData().getUserPrefEntry(property);
    if (param == null) {
      log.error("Property '" + property + "' not supported for un-selection.");
    } else {
      setValue(param, null);
    }
View Full Code Here

TOP

Related Classes of org.projectforge.user.UserPrefEntryDO

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.