org.kuali.kfs.module.ld.util
Class CorrectionDocumentUtils
java.lang.Object
org.kuali.kfs.module.ld.util.CorrectionDocumentUtils
public class CorrectionDocumentUtils
- extends Object
This class provides utility methods for the Labor correction document
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CorrectionDocumentUtils
public CorrectionDocumentUtils()
laborEntryMatchesCriteria
public static boolean laborEntryMatchesCriteria(CorrectionCriteria cc,
OriginEntryFull oe)
- Returns whether an origin entry matches the passed in criteria. If both the criteria and actual value are both String types
and are empty, null, or whitespace only, then they will match.
- Parameters:
cc
- correction criteria to test against origin entryoe
- origin entry to test
- Returns:
- true if origin entry matches the passed in criteria
doesLaborEntryMatchAnyCriteriaGroups
public static boolean doesLaborEntryMatchAnyCriteriaGroups(OriginEntryFull entry,
Collection<CorrectionChangeGroup> groups)
- Returns whether the labor entry matches any of the criteria groups
- Parameters:
entry
- labor origin entrygroups
- collection of correction change group
- Returns:
- true if labor origin entry matches any of the criteria groups
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.