com.ibm.tivoli.maximo.miniapps.scheduler.max

Class LargeGanttUtil

  • java.lang.Object
    • com.ibm.tivoli.maximo.miniapps.scheduler.max.LargeGanttUtil


  • public class LargeGanttUtil
    extends java.lang.Object
    • Constructor Detail

      • LargeGanttUtil

        public LargeGanttUtil()
    • Method Detail

      • isValid

        public static boolean isValid(Activity from,
                                      Activity to,
                                      UserInfo userInfo)
                               throws java.rmi.RemoteException,
                                      MXException
        Determine if a Constraint is valid from the given 'from' activity to the provided 'to' activity.
        Parameters:
        from -
        to -
        Returns:
        Throws:
        MXException
        java.rmi.RemoteException
      • isWorkorder

        public static boolean isWorkorder(Activity mxa)
        Returns true if the given IlvActivity is a work order
        Parameters:
        act - IlvActivity instance
        Returns:
        true if it's a work order activity
      • isTask

        public static boolean isTask(Activity act)
      • toStringProps

        public static java.lang.String toStringProps(Activity from,
                                                     java.lang.String[] props)
        Given a UserPropertyHolder create a toString from the given properties
        Parameters:
        from -
        props -
        Returns:
      • isInterruptable

        public static boolean isInterruptable(Schedule model,
                                              Activity mxa)
      • equals

        public static boolean equals(Activity mx1,
                                     Activity mx2,
                                     java.lang.String propName)
        Returns true if both activities have the same object property, and the object property is equal() using the Java equals() method. NOTE if both properties are NULL, this method will return false for equals. ie, this will only do an equals provided that both properties exist.
        Parameters:
        mx1 -
        mx2 -
        propName -
        Returns:
      • addGanttZooms

        public static void addGanttZooms(com.ibm.json.java.JSONObject root,
                                         ISKDUIInfo skdUIInfo,
                                         UIOptions options,
                                         Schedule schedule,
                                         com.ibm.json.java.JSONObject Gantt)
        Adds the default Gantt Zoom levels to a TreeGrid, and initializes the default Zoom to be the "middle" Zoom level.
        Parameters:
        root -
        skdUIInfo -
        options -
        bean -
        Gantt -
      • createZooms

        protected static com.ibm.json.java.JSONArray createZooms(Range range,
                                                                 UIOptions options)
      • resolveSelectedActivitiesById

        public static java.util.List resolveSelectedActivitiesById(Schedule model,
                                                                   java.util.List arr)
      • isHidden

        public static boolean isHidden(IMXActivity mxa)
      • isDummy

        public static boolean isDummy(IMXActivity next)
      • isAssignmentDummy

        public static boolean isAssignmentDummy(IMXActivity node)
      • isLocked

        public static boolean isLocked(IMXActivity activity)
      • isResourceLocked

        public static boolean isResourceLocked(IMXActivity activity)
      • showRequirementIcon

        public static boolean showRequirementIcon(IMXActivity mxa)
      • showWorklogIcon

        public static boolean showWorklogIcon(IMXActivity mxa)
      • isCompleted

        public static boolean isCompleted(IMXActivity mxa)
      • getInfoRowText

        public static java.lang.String getInfoRowText(Schedule leftSchedule,
                                                      long rightModelId,
                                                      UIOptions options)