public class OlePatronDocumentRule extends org.kuali.rice.krad.rules.MaintenanceDocumentRuleBase
Modifier and Type | Field and Description |
---|---|
protected org.kuali.rice.kim.api.identity.IdentityService |
identityService |
protected org.kuali.rice.kim.service.UiDocumentService |
uiDocumentService |
Constructor and Description |
---|
OlePatronDocumentRule() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
checkAddressMultipleDefault(List<OleEntityAddressBo> addrBoList,
String listName)
this method validates the address object for default value
|
protected boolean |
checkAddressMultipleDeliverAddress(List<OleEntityAddressBo> addrBoList,
String listName) |
protected boolean |
checkDuplicateBarcode(OlePatronDocument patronDoc)
This method validates the duplicate barcode number in the patron document
|
protected boolean |
checkEmailMultipleDefault(List<org.kuali.rice.kim.impl.identity.email.EntityEmailBo> emailBoList,
String listName)
this method validates the email object for default value
|
protected boolean |
checkName(OlePatronDocument patronDoc)
this method validates the name object and returns boolean value
|
protected boolean |
checkPhoneMultipleDefault(List<org.kuali.rice.kim.impl.identity.phone.EntityPhoneBo> phoneBoList,
String listName)
this method validates the phone object for default value
|
org.kuali.rice.kim.api.identity.IdentityService |
getIdentityService()
Gets the value of identityService property
|
String |
getParameter(String name) |
org.kuali.rice.kim.service.UiDocumentService |
getUIDocumentService()
Gets the value of uiDocumentService property
|
protected boolean |
processCustomSaveDocumentBusinessRules(org.kuali.rice.krad.maintenance.MaintenanceDocument document)
This method validates the patron object and returns boolean value
|
boolean |
validateAddress(OlePatronDocument olePatronDocument,
String addressBos) |
protected boolean |
validateBarcode(OlePatronDocument patronDoc)
This method validates the barcode number in the patron document
|
protected boolean |
validateBorrowerType(OlePatronDocument patronDoc)
this method check the borrowerType property and returns boolean value
|
protected boolean |
validateEntityInformation(boolean isCreatingNew,
OlePatronDocument patronDoc)
This method validates the phone,address,and the email object in the patron document
|
boolean |
validatePatronName(OlePatronDocument olePatronDocument) |
boolean |
validateRequiredField(OlePatronDocument olePatronDocument) |
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
buildDocumentTypeActionRequestPermissionDetails, buildDocumentTypePermissionDetails, getDataDictionaryService, getDocumentDictionaryService, getGroupService, getKualiConfigurationService, getMaxDictionaryValidationDepth, getPermissionService, hasAdHocRouteCompletion, isAddHocRoutePersonValid, isAddHocRouteWorkgroupValid, isAdHocRouteCompletionToInitiator, isAdHocRouteRecipientsValid, isDocumentAttributesValid, isDocumentOverviewValid, isNoteValid, processAddAdHocRoutePerson, processAddAdHocRouteWorkgroup, processAddNote, processCompleteDocument, processCustomAddAdHocRoutePersonBusinessRules, processCustomAddAdHocRouteWorkgroupBusinessRules, processCustomAddNoteBusinessRules, processCustomApproveDocumentBusinessRules, processCustomCompleteDocumentBusinessRules, processCustomRouteDocumentBusinessRules, processCustomSaveDocumentBusinessRules, processCustomSendAdHocRequests, processSendAdHocRequests, setDocumentDictionaryService, setMaxDictionaryValidationDepth, useKimPermission, validateSensitiveDataValue
protected org.kuali.rice.kim.service.UiDocumentService uiDocumentService
protected org.kuali.rice.kim.api.identity.IdentityService identityService
public OlePatronDocumentRule()
protected boolean processCustomSaveDocumentBusinessRules(org.kuali.rice.krad.maintenance.MaintenanceDocument document)
processCustomSaveDocumentBusinessRules
in class org.kuali.rice.krad.rules.MaintenanceDocumentRuleBase
document
- protected boolean validateBorrowerType(OlePatronDocument patronDoc)
patronDoc
- protected boolean checkName(OlePatronDocument patronDoc)
patronDoc
- protected boolean validateEntityInformation(boolean isCreatingNew, OlePatronDocument patronDoc)
isCreatingNew
- patronDoc
- protected boolean validateBarcode(OlePatronDocument patronDoc)
patronDoc
- protected boolean checkDuplicateBarcode(OlePatronDocument patronDoc)
patronDoc
- public org.kuali.rice.kim.service.UiDocumentService getUIDocumentService()
protected boolean checkPhoneMultipleDefault(List<org.kuali.rice.kim.impl.identity.phone.EntityPhoneBo> phoneBoList, String listName)
phoneBoList
- listName
- protected boolean checkAddressMultipleDefault(List<OleEntityAddressBo> addrBoList, String listName)
addrBoList
- listName
- protected boolean checkAddressMultipleDeliverAddress(List<OleEntityAddressBo> addrBoList, String listName)
protected boolean checkEmailMultipleDefault(List<org.kuali.rice.kim.impl.identity.email.EntityEmailBo> emailBoList, String listName)
emailBoList
- listName
- public org.kuali.rice.kim.api.identity.IdentityService getIdentityService()
public boolean validateAddress(OlePatronDocument olePatronDocument, String addressBos)
public boolean validateRequiredField(OlePatronDocument olePatronDocument)
public boolean validatePatronName(OlePatronDocument olePatronDocument)
public String getParameter(String name)
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.