Package com.projity.server.data

Examples of com.projity.server.data.TypeSystemConverter


  }
  protected List<PreparedAttributes> preparedAttributes;

  public void addPreparedAttributes(SerializedDataObject data, Object obj, NodeModel model,SerializeOptions options) {
    if (preparedAttributes==null) preparedAttributes=new ArrayList<PreparedAttributes>();
    TypeSystemConverter converter=TypeSystemConverterFactory.getInstance().getConverter();
    Predicate fieldFilter=options==null?null:options.getFieldFilter();
       if (data instanceof TaskData) preparedAttributes.add(new PreparedAttributes(data,obj,converter.getDirtyExtraFields(obj,fieldFilter),converter.getExposedTaskFields(fieldFilter),model));
    else if (data instanceof AssignmentData) preparedAttributes.add(new PreparedAttributes(data,obj,converter.getDirtyExtraFields(obj,fieldFilter),converter.getExposedAssignmentFields(fieldFilter),model));

  }
View Full Code Here

TOP

Related Classes of com.projity.server.data.TypeSystemConverter

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.