public interface IMXGanttModel
Modifier and Type | Interface and Description |
---|---|
static class |
IMXGanttModel.PercentCompleteType
Defines the 3 types of % complete
TASK - % comp is 0 or 100 depending on whether or not the task is not complete or complete
PHYSICAL - user entered % complete on WO
ACTUAL - calculated % complete based on reported hours
NONE - Don't show % complete on Main Bar
|
Modifier and Type | Method and Description |
---|---|
boolean |
containsActivity(IMXActivity data) |
IMXActivity |
getActivityForId(java.lang.String id) |
Range<java.util.Date> |
getActualStartEnd()
Get the "actual" start/end of the project based simply looking at the
project work.
|
DateRange |
getCalculatedProjectMinMax()
This is a calculated project min max.
|
java.util.HashMap |
getCalendarBreakPatternCount() |
java.util.HashMap |
getCalendarBreakPatternMap() |
DateRange |
getCalendarStartEnd()
Returns the configured Calendar Start End dates.
|
IMXActivity |
getChildNode(IMXActivity activity,
int index) |
int |
getChildNodeCount(IMXActivity activity) |
int |
getDisplayRowCount()
Returns the rows in the Schedule are being displayed.
|
IGanttConfigInfo |
getGanttConfigInfo() |
java.lang.String |
getLocalizedScenarioFieldTitle() |
java.util.ArrayList<java.util.Date> |
getMergedNonWorkPeriod() |
java.util.ArrayList<java.util.Date> |
getMergedWorkPeriods() |
int |
getPages()
if a Paging Model, then return the number of pages, otherwise, return 1.
|
int |
getPageSize()
if a Paging Model, then return the number of rows in a page, other wise return total rows in the schedule
|
IMXActivity |
getParentForActivity(IMXActivity data) |
IMXGanttModel.PercentCompleteType |
getPercentCompleteType()
Returns the current % complete type for the project.
|
java.lang.String |
getProjectDescription() |
int |
getProjectEndOffsetDays() |
java.lang.String |
getProjectId() |
java.lang.String |
getProjectName() |
int |
getProjectPercentComplete(IMXGanttModel.PercentCompleteType pcType) |
Range<java.util.Date> |
getProjectStartEnd()
Return the Project's Start/End from SKDPROJECT.
|
int |
getProjectStartOffsetDays() |
java.lang.String |
getResourceDisplay() |
IMXResource |
getResourceForId(java.lang.String id) |
IMXActivity |
getRootNode() |
java.lang.String |
getScenarioName() |
java.util.HashMap<java.lang.String,SKDCalendarInfo> |
getShiftCalendarInfo() |
java.util.List<java.lang.String> |
getShifts() |
SKDShiftWorkTime |
getShiftWorkTime(java.lang.String shift) |
java.util.HashMap<java.lang.String,java.util.HashMap<java.lang.String,SKDActionInfo>> |
getSkdActionInfo() |
<T> T |
getUserData(java.lang.String key)
Returns a piece of transient, in-memory stored user data for this model.
|
java.util.Locale |
getUserLocale() |
java.util.TimeZone |
getUserTimezone() |
com.ibm.icu.util.ULocale |
getUserULocale() |
java.lang.String |
getWeekDay() |
java.util.HashMap<java.lang.String,SKDCalendarInfo> |
getWorkHourList()
Deprecated.
use getShiftCalendarInfo()
|
java.util.TreeMap<java.util.Date,java.lang.String> |
getWorkPeriodPatternDaySeq() |
boolean |
isAllowPastLoadEnabled() |
boolean |
isAlternateAvailEnabled() |
boolean |
isComplianceEnabled() |
boolean |
isPagingModel()
Return true if the model is a paging model
|
java.util.Iterator<IMXConstraint> |
iterateConstraintsFromActivity(IMXActivity activity) |
void |
newConstraintFromActivity(java.lang.Object projectMbo,
IMXActivity activity,
java.sql.ResultSet resultSet) |
java.util.Iterator<IMXReservation> |
reservationIteratorForResource(IMXResource resource)
Returns an Iterator of Reservations for the given Resource
|
void |
setAssetLocNonWorkHourList(java.util.HashMap<java.lang.String,SKDCalendarInfo> assetOpCalMap) |
void |
setAssetLocOverlapMap(java.util.HashMap<java.lang.String,java.util.ArrayList<SKDDateInterval>> assetOverlapCalMap) |
void |
setAssetLocWorkHourList(java.util.HashMap<java.lang.String,SKDCalendarInfo> assetMntCalMap) |
void |
setCalendarBreakPatternCount(java.util.HashMap<java.lang.String,java.lang.Integer> daysInShiftPattern) |
void |
setCalendarBreakPatternMap(java.util.HashMap<java.lang.String,java.util.ArrayList> calendarBreaks) |
void |
setComplianceEnabled(boolean val) |
void |
setMergedNonWorkPeriod(java.util.ArrayList<java.util.Date> mergedWorkPeriods) |
void |
setMergedWorkPeriod(java.util.ArrayList<java.util.Date> workPeriod) |
void |
setProjectEndOffsetDays(int projectEndOffsetDays) |
void |
setProjectPercentComplete(IMXGanttModel.PercentCompleteType pcType,
int val) |
void |
setProjectStartOffsetDays(int projectStartOffsetDays) |
void |
setProjectType(java.lang.String projType) |
void |
setShowMaintOperFlag(boolean showmaintoper) |
void |
setUserData(java.lang.String key,
java.lang.Object data)
Sets a transient piece of user data in the model.
|
void |
setUseWith(java.lang.String useWith) |
void |
setWorkHourList(java.util.HashMap<java.lang.String,SKDCalendarInfo> shiftCalMap) |
void |
setWorkPeriodPatternDaySeq(java.util.TreeMap<java.util.Date,java.lang.String> workPeriodPatternDaySeq) |
java.util.List<java.lang.String> getShifts()
SKDShiftWorkTime getShiftWorkTime(java.lang.String shift)
java.util.ArrayList<java.util.Date> getMergedWorkPeriods()
java.util.HashMap<java.lang.String,SKDCalendarInfo> getShiftCalendarInfo()
java.util.HashMap<java.lang.String,SKDCalendarInfo> getWorkHourList()
<T> T getUserData(java.lang.String key)
key
- java.lang.NullPointerException
- if data is null, and return type is a java primativevoid setUserData(java.lang.String key, java.lang.Object data)
key
- data
- Range<java.util.Date> getActualStartEnd()
model
- Range<java.util.Date> getProjectStartEnd()
DateRange getCalendarStartEnd()
DateRange getCalculatedProjectMinMax()
java.util.Iterator<IMXReservation> reservationIteratorForResource(IMXResource resource)
resource
- java.util.ArrayList<java.util.Date> getMergedNonWorkPeriod()
IGanttConfigInfo getGanttConfigInfo()
boolean containsActivity(IMXActivity data)
IMXActivity getParentForActivity(IMXActivity data)
java.util.HashMap getCalendarBreakPatternMap()
java.util.TreeMap<java.util.Date,java.lang.String> getWorkPeriodPatternDaySeq()
java.util.HashMap getCalendarBreakPatternCount()
java.lang.String getLocalizedScenarioFieldTitle()
java.lang.String getScenarioName()
java.lang.String getProjectId()
java.lang.String getProjectName()
java.lang.String getProjectDescription()
boolean isAlternateAvailEnabled()
boolean isAllowPastLoadEnabled()
java.lang.String getResourceDisplay()
java.lang.String getWeekDay()
void setUseWith(java.lang.String useWith)
void setProjectType(java.lang.String projType)
void setShowMaintOperFlag(boolean showmaintoper)
void setAssetLocWorkHourList(java.util.HashMap<java.lang.String,SKDCalendarInfo> assetMntCalMap)
void setAssetLocNonWorkHourList(java.util.HashMap<java.lang.String,SKDCalendarInfo> assetOpCalMap)
void setAssetLocOverlapMap(java.util.HashMap<java.lang.String,java.util.ArrayList<SKDDateInterval>> assetOverlapCalMap)
void setMergedNonWorkPeriod(java.util.ArrayList<java.util.Date> mergedWorkPeriods)
void setMergedWorkPeriod(java.util.ArrayList<java.util.Date> workPeriod)
void setWorkHourList(java.util.HashMap<java.lang.String,SKDCalendarInfo> shiftCalMap)
void setCalendarBreakPatternMap(java.util.HashMap<java.lang.String,java.util.ArrayList> calendarBreaks)
void setCalendarBreakPatternCount(java.util.HashMap<java.lang.String,java.lang.Integer> daysInShiftPattern)
void setWorkPeriodPatternDaySeq(java.util.TreeMap<java.util.Date,java.lang.String> workPeriodPatternDaySeq)
IMXGanttModel.PercentCompleteType getPercentCompleteType()
int getProjectPercentComplete(IMXGanttModel.PercentCompleteType pcType)
void setProjectPercentComplete(IMXGanttModel.PercentCompleteType pcType, int val)
int getDisplayRowCount()
boolean isPagingModel()
int getPages()
int getPageSize()
java.util.Locale getUserLocale()
com.ibm.icu.util.ULocale getUserULocale()
java.util.TimeZone getUserTimezone()
void setComplianceEnabled(boolean val)
boolean isComplianceEnabled()
java.util.HashMap<java.lang.String,java.util.HashMap<java.lang.String,SKDActionInfo>> getSkdActionInfo()
IMXActivity getActivityForId(java.lang.String id)
IMXResource getResourceForId(java.lang.String id)
int getProjectStartOffsetDays()
int getProjectEndOffsetDays()
void setProjectStartOffsetDays(int projectStartOffsetDays)
void setProjectEndOffsetDays(int projectEndOffsetDays)
java.util.Iterator<IMXConstraint> iterateConstraintsFromActivity(IMXActivity activity)
void newConstraintFromActivity(java.lang.Object projectMbo, IMXActivity activity, java.sql.ResultSet resultSet)
int getChildNodeCount(IMXActivity activity)
IMXActivity getChildNode(IMXActivity activity, int index)
IMXActivity getRootNode()