Package no.ugland.utransprod.model

Examples of no.ugland.utransprod.model.ApplicationUser


     * @param rowIndex
     * @param columnIndex
     * @return verdi
     */
    public Object getValueAt(int rowIndex, int columnIndex) {
      ApplicationUser applicationUser = (ApplicationUser) getRow(rowIndex);
      switch (columnIndex) {
      case 0:
        return applicationUser.getUserName();
      case 1:
        return applicationUser.getFirstName();
      case 2:
        return applicationUser.getLastName();
      case 3:
        return applicationUser.getGroupUser();
      case 4:
        return applicationUser.getProductArea();
      default:
        throw new IllegalStateException("Unknown column");
      }

    }
View Full Code Here


     */
    public void propertyChange(PropertyChangeEvent arg0) {
      JobFunction function = (JobFunction) presentationModel
          .getBufferedValue(DeviationModel.PROPERTY_DEVIATION_FUNCTION);
      if (function != null) {
        ApplicationUser manager = function.getManager();
        if (manager != null
            && manager.equals(login.getApplicationUser())) {
          dateChooserProcedureCheck.setEnabled(true);
        }
      }

    }
View Full Code Here

                    presentationModel));
        JobFunction function = (JobFunction) presentationModel
            .getBufferedValue(DeviationModel.PROPERTY_DEVIATION_FUNCTION);
        if (function != null) {

          ApplicationUser manager = function.getManager();
          if (manager != null
              && manager.equals(login.getApplicationUser())) {
            dateChooserProcedureCheck.setEnabled(true);
          }
        }
      }
View Full Code Here

TOP

Related Classes of no.ugland.utransprod.model.ApplicationUser

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.