org.kuali.ole.patron.rule
Class OlePatronDocumentRule

java.lang.Object
  extended by org.kuali.rice.krad.rules.DocumentRuleBase
      extended by org.kuali.rice.krad.rules.MaintenanceDocumentRuleBase
          extended by org.kuali.ole.patron.rule.OlePatronDocumentRule
All Implemented Interfaces:
org.kuali.rice.krad.rules.MaintenanceDocumentRule, org.kuali.rice.krad.rules.rule.AddAdHocRoutePersonRule, org.kuali.rice.krad.rules.rule.AddAdHocRouteWorkgroupRule, org.kuali.rice.krad.rules.rule.AddNoteRule, org.kuali.rice.krad.rules.rule.ApproveDocumentRule, org.kuali.rice.krad.rules.rule.BusinessRule, org.kuali.rice.krad.rules.rule.RouteDocumentRule, org.kuali.rice.krad.rules.rule.SaveDocumentRule, org.kuali.rice.krad.rules.rule.SendAdHocRequestsRule

public class OlePatronDocumentRule
extends org.kuali.rice.krad.rules.MaintenanceDocumentRuleBase

Created with IntelliJ IDEA. User: ? Date: 6/13/12 Time: 11:19 AM To change this template use File | Settings | File Templates.


Field Summary
protected  org.kuali.rice.kim.api.identity.IdentityService identityService
           
protected  org.kuali.rice.kim.service.UiDocumentService uiDocumentService
           
 
Fields inherited from class org.kuali.rice.krad.rules.MaintenanceDocumentRuleBase
DOCUMENT_ERROR_PREFIX, LOG, MAINTAINABLE_ERROR_PATH, MAINTAINABLE_ERROR_PREFIX, priorErrorPath
 
Constructor Summary
OlePatronDocumentRule()
           
 
Method Summary
protected  boolean checkAddressMultipleDefault(List<org.kuali.rice.kim.impl.identity.address.EntityAddressBo> addrBoList, String listName)
           
protected  boolean checkEmailMultipleDefault(List<org.kuali.rice.kim.impl.identity.email.EntityEmailBo> emailBoList, String listName)
           
protected  boolean checkName(OlePatronDocument patronDoc)
           
protected  boolean checkPhoneMultipleDefault(List<org.kuali.rice.kim.impl.identity.phone.EntityPhoneBo> phoneBoList, String listName)
           
 org.kuali.rice.kim.api.identity.IdentityService getIdentityService()
           
 org.kuali.rice.kim.service.UiDocumentService getUIDocumentService()
           
protected  boolean processCustomSaveDocumentBusinessRules(org.kuali.rice.krad.maintenance.MaintenanceDocument document)
           
protected  boolean validateBorrowerType(OlePatronDocument patronDoc)
           
protected  boolean validateEntityInformation(boolean isCreatingNew, OlePatronDocument patronDoc)
           
 
Methods inherited from class org.kuali.rice.krad.rules.MaintenanceDocumentRuleBase
checkEmptyBOField, checkEmptyDocumentField, checkEmptyValue, checkForPartiallyFilledOutReferenceForeignKeys, clearErrorPath, consolidateFieldNames, dataDictionaryValidate, errorAlreadyExists, getBoService, getConfigService, getDataObjectAuthorizationService, getDataObjectMetaDataService, getDateTimeService, getDdService, getDictionaryValidationService, getFieldLabel, getFieldLabel, getHumanReadablePrimaryKeyFieldNames, getNewDataObject, getOldDataObject, getPersistenceStructureService, getPersonService, getRoleService, getWorkflowDocumentService, isCorrectMaintenanceClass, isDocumentInactivatingBusinessObject, isDocumentValidForSave, primaryKeyCheck, processApproveDocument, processCustomAddCollectionLineBusinessRules, processCustomApproveDocumentBusinessRules, processCustomRouteDocumentBusinessRules, processGlobalApproveDocumentBusinessRules, processGlobalRouteDocumentBusinessRules, processGlobalSaveDocumentBusinessRules, processInactivationBlockChecking, processInactivationBlockChecking, processRouteDocument, processSaveDocument, putDocumentError, putDocumentError, putFieldError, putFieldError, putFieldError, putFieldErrorWithShortLabel, putGlobalError, putGlobalError, putGlobalError, putGlobalsError, putGlobalsError, putInactivationBlockingErrorOnPage, resumeErrorPath, setBoService, setConfigService, setDataObjectAuthorizationService, setDataObjectMetaDataService, setDdService, setDictionaryValidationService, setNewDataObject, setPersistenceStructureService, setPersonService, setupBaseConvenienceObjects, setupConvenienceObjects, setWorkflowDocumentService, showErrorMap, validateDocumentStructure, validateGlobalBusinessObjectPersistable, validateMaintenanceDocument
 
Methods inherited from class org.kuali.rice.krad.rules.DocumentRuleBase
getDataDictionaryService, getDocumentDictionaryService, getGroupService, getKualiConfigurationService, getMaxDictionaryValidationDepth, getPermissionService, isAddHocRoutePersonValid, isAddHocRouteWorkgroupValid, isAdHocRouteRecipientsValid, isDocumentAttributesValid, isDocumentOverviewValid, isNoteValid, processAddAdHocRoutePerson, processAddAdHocRouteWorkgroup, processAddNote, processCustomAddAdHocRoutePersonBusinessRules, processCustomAddAdHocRouteWorkgroupBusinessRules, processCustomAddNoteBusinessRules, processCustomApproveDocumentBusinessRules, processCustomRouteDocumentBusinessRules, processCustomSaveDocumentBusinessRules, processCustomSendAdHocRequests, processSendAdHocRequests, setDocumentDictionaryService, setMaxDictionaryValidationDepth, validateSensitiveDataValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

uiDocumentService

protected org.kuali.rice.kim.service.UiDocumentService uiDocumentService

identityService

protected org.kuali.rice.kim.api.identity.IdentityService identityService
Constructor Detail

OlePatronDocumentRule

public OlePatronDocumentRule()
Method Detail

processCustomSaveDocumentBusinessRules

protected boolean processCustomSaveDocumentBusinessRules(org.kuali.rice.krad.maintenance.MaintenanceDocument document)
Overrides:
processCustomSaveDocumentBusinessRules in class org.kuali.rice.krad.rules.MaintenanceDocumentRuleBase

validateBorrowerType

protected boolean validateBorrowerType(OlePatronDocument patronDoc)

checkName

protected boolean checkName(OlePatronDocument patronDoc)

validateEntityInformation

protected boolean validateEntityInformation(boolean isCreatingNew,
                                            OlePatronDocument patronDoc)

getUIDocumentService

public org.kuali.rice.kim.service.UiDocumentService getUIDocumentService()

checkPhoneMultipleDefault

protected boolean checkPhoneMultipleDefault(List<org.kuali.rice.kim.impl.identity.phone.EntityPhoneBo> phoneBoList,
                                            String listName)

checkAddressMultipleDefault

protected boolean checkAddressMultipleDefault(List<org.kuali.rice.kim.impl.identity.address.EntityAddressBo> addrBoList,
                                              String listName)

checkEmailMultipleDefault

protected boolean checkEmailMultipleDefault(List<org.kuali.rice.kim.impl.identity.email.EntityEmailBo> emailBoList,
                                            String listName)

getIdentityService

public org.kuali.rice.kim.api.identity.IdentityService getIdentityService()


Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.