com.ibm.tivoli.maximo.skd.model

Interface IMXGanttModel

    • Method Detail

      • getShifts

        java.util.List getShifts()
      • getMergedWorkPeriods

        java.util.ArrayList getMergedWorkPeriods()
      • getShiftCalendarInfo

        java.util.HashMap getShiftCalendarInfo()
      • getWorkHourList

        java.util.HashMap getWorkHourList()
        Deprecated. use getShiftCalendarInfo()
        Returns:
        getShiftCalendarInfo()
      • getUserData

        java.lang.Object getUserData(java.lang.String key)
        Returns a piece of transient, in-memory stored user data for this model. Never use primatives, since this method will cast to the type, and the value is null, then null pointer will the thrown. User Data is will not be serialized when the model is serialized, so you an store non-serializable objects if needed.
        Parameters:
        key -
        Returns:
        Throws:
        java.lang.NullPointerException - if data is null, and return type is a java primative
      • setUserData

        void setUserData(java.lang.String key,
                         java.lang.Object data)
        Sets a transient piece of user data in the model. User data is not serialized with the model.
        Parameters:
        key -
        data -
      • getActualStartEnd

        Range getActualStartEnd()
        Get the "actual" start/end of the project based simply looking at the project work. This should include when the real work starts and ends for the project.
        Parameters:
        model -
        Returns:
      • getProjectStartEnd

        Range getProjectStartEnd()
        Return the Project's Start/End from SKDPROJECT. These are the absolute values as defined by the project. It will not include padding, etc.
        Returns:
      • getCalendarStartEnd

        DateRange getCalendarStartEnd()
        Returns the configured Calendar Start End dates. We not use the full calendar, but this is amount of known calendar that we have.
        Returns:
      • getCalculatedProjectMinMax

        DateRange getCalculatedProjectMinMax()
        This is a calculated project min max. It will include at least the union of Actual start/end and project start/end, and will usually include a 2 week calendar padding on each end, IF we have calendar data.
        Returns:
      • reservationIteratorForResource

        java.util.Iterator reservationIteratorForResource(IMXResource resource)
        Returns an Iterator of Reservations for the given Resource
        Parameters:
        resource -
        Returns:
      • getMergedNonWorkPeriod

        java.util.ArrayList getMergedNonWorkPeriod()
      • containsActivity

        boolean containsActivity(IMXActivity data)
      • getCalendarBreakPatternMap

        java.util.HashMap getCalendarBreakPatternMap()
      • getWorkPeriodPatternDaySeq

        java.util.TreeMap getWorkPeriodPatternDaySeq()
      • getCalendarBreakPatternCount

        java.util.HashMap getCalendarBreakPatternCount()
      • getLocalizedScenarioFieldTitle

        java.lang.String getLocalizedScenarioFieldTitle()
      • getScenarioName

        java.lang.String getScenarioName()
      • getProjectId

        java.lang.String getProjectId()
      • getProjectName

        java.lang.String getProjectName()
      • getProjectDescription

        java.lang.String getProjectDescription()
      • isAlternateAvailEnabled

        boolean isAlternateAvailEnabled()
      • isAllowPastLoadEnabled

        boolean isAllowPastLoadEnabled()
      • getResourceDisplay

        java.lang.String getResourceDisplay()
      • getWeekDay

        java.lang.String getWeekDay()
      • setUseWith

        void setUseWith(java.lang.String useWith)
      • setProjectType

        void setProjectType(java.lang.String projType)
      • setShowMaintOperFlag

        void setShowMaintOperFlag(boolean showmaintoper)
      • setAssetLocWorkHourList

        void setAssetLocWorkHourList(java.util.HashMap assetMntCalMap)
      • setAssetLocNonWorkHourList

        void setAssetLocNonWorkHourList(java.util.HashMap assetOpCalMap)
      • setAssetLocOverlapMap

        void setAssetLocOverlapMap(java.util.HashMap assetOverlapCalMap)
      • setMergedNonWorkPeriod

        void setMergedNonWorkPeriod(java.util.ArrayList mergedWorkPeriods)
      • setMergedWorkPeriod

        void setMergedWorkPeriod(java.util.ArrayList workPeriod)
      • setWorkHourList

        void setWorkHourList(java.util.HashMap shiftCalMap)
      • setCalendarBreakPatternMap

        void setCalendarBreakPatternMap(java.util.HashMap calendarBreaks)
      • setCalendarBreakPatternCount

        void setCalendarBreakPatternCount(java.util.HashMap daysInShiftPattern)
      • setWorkPeriodPatternDaySeq

        void setWorkPeriodPatternDaySeq(java.util.TreeMap workPeriodPatternDaySeq)
      • getPercentCompleteType

        IMXGanttModel.PercentCompleteType getPercentCompleteType()
        Returns the current % complete type for the project. This information is used to show % complete on the main bar. We have 3 types by only 1 type can be used when rendering % complete.
        Returns:
      • getDisplayRowCount

        int getDisplayRowCount()
        Returns the rows in the Schedule are being displayed. In the case of server side filtered models, this value would changed to reflect the rows in the schedule.
        Returns:
      • isPagingModel

        boolean isPagingModel()
        Return true if the model is a paging model
        Returns:
      • getPages

        int getPages()
        if a Paging Model, then return the number of pages, otherwise, return 1.
        Returns:
      • getPageSize

        int getPageSize()
        if a Paging Model, then return the number of rows in a page, other wise return total rows in the schedule
        Returns:
      • getUserLocale

        java.util.Locale getUserLocale()
      • getUserULocale

        com.ibm.icu.util.ULocale getUserULocale()
      • getUserTimezone

        java.util.TimeZone getUserTimezone()
      • setComplianceEnabled

        void setComplianceEnabled(boolean val)
      • isComplianceEnabled

        boolean isComplianceEnabled()
      • getSkdActionInfo

        java.util.HashMap getSkdActionInfo()
      • getActivityForId

        IMXActivity getActivityForId(java.lang.String id)
      • getResourceForId

        IMXResource getResourceForId(java.lang.String id)
      • getProjectStartOffsetDays

        int getProjectStartOffsetDays()
      • getProjectEndOffsetDays

        int getProjectEndOffsetDays()
      • setProjectStartOffsetDays

        void setProjectStartOffsetDays(int projectStartOffsetDays)
      • setProjectEndOffsetDays

        void setProjectEndOffsetDays(int projectEndOffsetDays)
      • iterateConstraintsFromActivity

        java.util.Iterator iterateConstraintsFromActivity(IMXActivity activity)
      • newConstraintFromActivity

        void newConstraintFromActivity(java.lang.Object projectMbo,
                                       IMXActivity activity,
                                       java.sql.ResultSet resultSet)
      • getChildNodeCount

        int getChildNodeCount(IMXActivity activity)