List columnsSetByUserList = (acceptUserSettings) ? multiPropertyHandler.getVisibleOrderedEntityPathes() : null;
List columnsSetByUserList = (acceptUserSettings) ? multiPropertyHandler.getVisibleOrderedEntityPathes(getName()) : null;
  private List getVisibleOrderedEntityPathes(MultiEntityPropertyHandler multiPropertyHandler)  {    // if the user settings should not be accepted set the columns     // that are set by the user to an empty collection    List columnsSetByUserList = (acceptUserSettings) ? multiPropertyHandler.getVisibleOrderedEntityPathes() : null;    // use arrayList because the returned collection of a tree map does not support add operations     List tempMandatoryColumns = (mandatoryColumns == null) ? null : new ArrayList(mandatoryColumns.values());    // columnsSetByUserList is empty...      // there are no visible columns set by the user, therefore show the default columns      // default columns is a tree map values returns an ordered collection    if ( (columnsSetByUserList == null || columnsSetByUserList.isEmpty())					&& defaultColumns != null) {      Collection tempDefaultColumns = defaultColumns.values();      if (tempMandatoryColumns == null) {      	tempMandatoryColumns = new ArrayList(tempDefaultColumns);      }      else {      	tempMandatoryColumns.addAll(tempDefaultColumns);      }    }    List list = new ArrayList();    if (tempMandatoryColumns != null) {    	Iterator mandatoryColumnsIterator = tempMandatoryColumns.iterator();    	while (mandatoryColumnsIterator.hasNext()) {    		String shortKey = (String) mandatoryColumnsIterator.next();    		EntityPath path = multiPropertyHandler.getEntityPath(shortKey);    		if (path != null)    			list.add(path);    	}    }    if (columnsSetByUserList != null) {    	list.addAll(columnsSetByUserList);    }    return list;  }           