public class ActivityMaxModelHelper extends java.lang.Object implements CompareMaxModelHelper.ModelHelper
Modifier and Type | Field and Description |
---|---|
static ActivityMaxModelHelper |
INSTANCE |
Constructor and Description |
---|
ActivityMaxModelHelper() |
Modifier and Type | Method and Description |
---|---|
java.util.Comparator<IMXActivity> |
getIDComparator() |
java.util.List<IMXActivity> |
getMissingNodes(IMXGanttModel model,
java.lang.String otherProjectID) |
java.util.List<IMXActivity> |
getPageNodes(int pageNumber,
IMXGanttModel model,
java.lang.String otherProjectID) |
static boolean |
isActivityDateModified(IMXActivity o1,
IMXActivity o2)
Tests if 2 nodes are different, in that they have different times.
|
static boolean |
isActivityStatusModified(IMXActivity leftNode,
IMXActivity rightNode)
Tests if 2 nodes are different if they have different resources assigned to them
|
boolean |
isModified(IMXGanttModel leftModel,
IMXActivity leftNode,
IMXGanttModel rightModel,
IMXActivity rightNode) |
public static final ActivityMaxModelHelper INSTANCE
public java.util.Comparator<IMXActivity> getIDComparator()
getIDComparator
in interface CompareMaxModelHelper.ModelHelper
public boolean isModified(IMXGanttModel leftModel, IMXActivity leftNode, IMXGanttModel rightModel, IMXActivity rightNode)
isModified
in interface CompareMaxModelHelper.ModelHelper
public static boolean isActivityDateModified(IMXActivity o1, IMXActivity o2)
o1
- o2
- public static boolean isActivityStatusModified(IMXActivity leftNode, IMXActivity rightNode)
leftNode
- rightNode
- public java.util.List<IMXActivity> getMissingNodes(IMXGanttModel model, java.lang.String otherProjectID) throws java.rmi.RemoteException, MXException
getMissingNodes
in interface CompareMaxModelHelper.ModelHelper
java.rmi.RemoteException
MXException
public java.util.List<IMXActivity> getPageNodes(int pageNumber, IMXGanttModel model, java.lang.String otherProjectID)
getPageNodes
in interface CompareMaxModelHelper.ModelHelper