public class ILogModelToTreeGridBuilder
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ILogModelToTreeGridBuilder.ActivityInpectionResult
When inspecting an activity there are 3 possible results
Continue - Contrinue processing this Activity and children.
|
Constructor and Description |
---|
ILogModelToTreeGridBuilder(BaseTreeGridMiniAppBean bean,
TreeGridUtil.ITGSerializationHelper helper) |
Modifier and Type | Method and Description |
---|---|
static void |
addJsonActivityContraintsForAssignmentAsChanges(MXGanttModel model,
MXResource resource,
MXActivity mxa,
ReplyBuilder reply,
TreeGridUtil.ITGSerializationHelper helper)
Will populate the Changes section of the Reply with To/From constaints for the given activity
|
static void |
encodeActivityColumnValues(TGJsonWriter jsonWriter,
MXGanttModel model,
MXActivity mxa,
boolean isRunBar,
TreeGridUtil.ITGSerializationHelper helper)
Writes the Activity Column Data to Json
|
static void |
encodeActivityColumnValues(TGJsonWriter jsonWriter,
MXGanttModel model,
MXActivity mxa,
boolean isRunBar,
TreeGridUtil.ITGSerializationHelper helper,
GanttUtil.IDGenerator idGen)
Writes the Activity Column Data to Json
|
java.lang.String |
encodeBackgroundEntry(java.util.Date start,
java.util.Date end,
java.lang.String color) |
static void |
getJsonActivityContraintsForAssignment(MXGanttModel model,
MXResource resource,
MXActivity mxa,
java.lang.StringBuilder sb,
TreeGridUtil.ITGSerializationHelper helper) |
void |
modelToJson(MXGanttModel model,
TGJsonWriter jsonWriter) |
void |
renderCalendarShifts(TGJsonWriter jsonWriter,
MXGanttModel model,
MXActivity mxa) |
void |
setFlatRows(boolean flat)
If true, then Row Hierarchy will not be created, instead, all rows, will
be flattened to the same level.
|
void |
writeJsonActivity(TGJsonWriter jsonWriter,
MXGanttModel model,
MXActivity mxa) |
static void |
writeJsonActivityContraints(TGJsonWriter jsonWriter,
MXGanttModel model,
MXActivity mxa,
TreeGridUtil.ITGSerializationHelper helper) |
static void |
writeJsonActivityResources(TGJsonWriter jsonWriter,
MXGanttModel model,
MXActivity mxa) |
void |
writeResources(TGJsonWriter jsonWriter,
MXGanttModel model) |
public ILogModelToTreeGridBuilder(BaseTreeGridMiniAppBean bean, TreeGridUtil.ITGSerializationHelper helper)
public void setFlatRows(boolean flat)
flat
- public void modelToJson(MXGanttModel model, TGJsonWriter jsonWriter) throws java.io.IOException
java.io.IOException
public void writeJsonActivity(TGJsonWriter jsonWriter, MXGanttModel model, MXActivity mxa) throws java.io.IOException
java.io.IOException
public static void encodeActivityColumnValues(TGJsonWriter jsonWriter, MXGanttModel model, MXActivity mxa, boolean isRunBar, TreeGridUtil.ITGSerializationHelper helper) throws java.io.IOException
jsonWriter
- model
- mxa
- java.io.IOException
public static void encodeActivityColumnValues(TGJsonWriter jsonWriter, MXGanttModel model, MXActivity mxa, boolean isRunBar, TreeGridUtil.ITGSerializationHelper helper, GanttUtil.IDGenerator idGen) throws java.io.IOException
jsonWriter
- model
- mxa
- java.io.IOException
public static void writeJsonActivityContraints(TGJsonWriter jsonWriter, MXGanttModel model, MXActivity mxa, TreeGridUtil.ITGSerializationHelper helper) throws java.io.IOException
java.io.IOException
public static void getJsonActivityContraintsForAssignment(MXGanttModel model, MXResource resource, MXActivity mxa, java.lang.StringBuilder sb, TreeGridUtil.ITGSerializationHelper helper) throws java.io.IOException
java.io.IOException
public static void addJsonActivityContraintsForAssignmentAsChanges(MXGanttModel model, MXResource resource, MXActivity mxa, ReplyBuilder reply, TreeGridUtil.ITGSerializationHelper helper) throws java.io.IOException
model
- resource
- mxa
- reply
- java.io.IOException
public void writeResources(TGJsonWriter jsonWriter, MXGanttModel model) throws java.io.IOException
java.io.IOException
public static void writeJsonActivityResources(TGJsonWriter jsonWriter, MXGanttModel model, MXActivity mxa) throws java.io.IOException
java.io.IOException
public java.lang.String encodeBackgroundEntry(java.util.Date start, java.util.Date end, java.lang.String color) throws java.io.IOException
java.io.IOException
public void renderCalendarShifts(TGJsonWriter jsonWriter, MXGanttModel model, MXActivity mxa) throws java.io.IOException
java.io.IOException