public class MissedPunchDocumentRule extends org.kuali.rice.krad.rules.TransactionalDocumentRuleBase
Constructor and Description |
---|
MissedPunchDocumentRule() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
processCustomSaveDocumentBusinessRules(org.kuali.rice.krad.document.Document document) |
boolean |
runValidation(MissedPunchBo aMissedPunch)
Runs all the customized validatoin on the given missed punch
|
protected boolean |
validateClockTime(MissedPunchBo missedPunch)
Validates whether the MissedPunch has a valid time relative to the last Clock Log.
|
protected boolean |
validateTimesheet(MissedPunchBo missedPunch)
Validates whether the Timesheet associated with the Missed Punch is not ENROUTE or FINAL.
|
buildDocumentTypeActionRequestPermissionDetails, buildDocumentTypePermissionDetails, getDataDictionaryService, getDictionaryValidationService, getDocumentDictionaryService, getGroupService, getKualiConfigurationService, getMaxDictionaryValidationDepth, getPermissionService, getPersonService, hasAdHocRouteCompletion, isAddHocRoutePersonValid, isAddHocRouteWorkgroupValid, isAdHocRouteCompletionToInitiator, isAdHocRouteRecipientsValid, isDocumentAttributesValid, isDocumentOverviewValid, isNoteValid, processAddAdHocRoutePerson, processAddAdHocRouteWorkgroup, processAddNote, processApproveDocument, processCompleteDocument, processCustomAddAdHocRoutePersonBusinessRules, processCustomAddAdHocRouteWorkgroupBusinessRules, processCustomAddNoteBusinessRules, processCustomApproveDocumentBusinessRules, processCustomCompleteDocumentBusinessRules, processCustomRouteDocumentBusinessRules, processCustomSendAdHocRequests, processRouteDocument, processSaveDocument, processSendAdHocRequests, setDocumentDictionaryService, setMaxDictionaryValidationDepth, useKimPermission, validateSensitiveDataValue
public MissedPunchDocumentRule()
protected boolean processCustomSaveDocumentBusinessRules(org.kuali.rice.krad.document.Document document)
processCustomSaveDocumentBusinessRules
in class org.kuali.rice.krad.rules.DocumentRuleBase
public boolean runValidation(MissedPunchBo aMissedPunch)
aMissedPunch
- The Missed Punch to checkprotected boolean validateTimesheet(MissedPunchBo missedPunch)
missedPunch
- The Missed Punch to checkprotected boolean validateClockTime(MissedPunchBo missedPunch)
missedPunch
- The Missed Punch to checkCopyright © 2004–2014 The Kuali Foundation. All rights reserved.