public class OlePatronServiceImpl extends Object implements OlePatronService
| Constructor and Description |
|---|
OlePatronServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAddressToEntity(List<OleEntityAddressDefinition> oleEntityAddress,
org.kuali.rice.kim.api.identity.type.EntityTypeContactInfo entityTypeContactInfo)
Add the EntityAddress object to the EntityTypeContactInfo object
|
void |
addEmailToEntity(List<org.kuali.rice.kim.api.identity.email.EntityEmail> emails,
org.kuali.rice.kim.api.identity.type.EntityTypeContactInfo entityTypeContactInfo)
Add the EntityEmail object to the EntityTypeContactInfo object
|
void |
addNameToEntity(org.kuali.rice.kim.api.identity.name.EntityName name,
org.kuali.rice.kim.api.identity.entity.Entity entity)
Add the EntityName object to the Entity object
|
boolean |
addNoteToPatron(OlePatronNotesDefinition patronNote)
This method will Persist the OlePatronNotes object
|
void |
addPhone(List<org.kuali.rice.kim.impl.identity.phone.EntityPhoneBo> entityPhone,
org.kuali.rice.kim.impl.identity.type.EntityTypeContactInfoBo entityTypeContactInfoBo)
If the EntityPhoneBo is not null,it will add to the EntityTypeContactInfoBo object
|
void |
addPhoneToEntity(List<org.kuali.rice.kim.api.identity.phone.EntityPhone> entityPhone,
org.kuali.rice.kim.api.identity.type.EntityTypeContactInfo entityTypeContactInfo)
Add the EntityPhone object to the EntityTypeContactInfo object
|
OlePatronDefinition |
createPatron(OlePatronDefinition olePatron)
This method will create and persist the patron document
|
void |
deletePatronBatchProgram() |
OlePatronQueryResults |
findPatron(org.kuali.rice.core.api.criteria.QueryByCriteria queryCriteria)
This method will return patron objects based on search criteria
|
protected org.kuali.rice.krad.service.BusinessObjectService |
getBusinessObjectService()
Gets the instance of BusinessObjectService
|
protected org.kuali.rice.core.api.criteria.CriteriaLookupService |
getCriteriaLookupService()
Gets the instance of CriteriaLookupService
|
protected org.kuali.rice.kim.api.identity.IdentityService |
getIdentityService()
Gets the instance of IdentityService
|
protected LoanProcessor |
getLoanProcessor()
This method initiate LoanProcessor.
|
protected OlePatronHelperService |
getOlePatronHelperService() |
OlePatronDefinition |
getPatron(String patronId)
Based on patron Id it will return the patron object
|
OlePatronLoanDocuments |
getPatronLoanedItems(String patronBarcode)
This method will return Patron loan items list information
|
List<OleDeliverRequestDefinition> |
getPatronRequestItems(String patronId) |
OlePatronQueryResults |
getPatrons()
This method will return all the patron documents
|
boolean |
inactivateAddress(String addressId)
This method will set the active indicator of the EntityAddressBo object as false
|
boolean |
inactivateEmail(String emailId)
This method will set the active indicator of the EntityEmailBo object as false
|
boolean |
inactivateName(String nameId)
This method will set the active indicator of the EntityNameBo object as false
|
boolean |
inactivateNote(String patronNoteId)
Set the active indicator of the OlePatronNotes object as false
|
OlePatronDefinition |
inactivatePatron(String patronId)
This method will set the active indicator of the patron object as false
|
boolean |
inactivatePhone(String phoneId)
This method will set the active indicator of the EntityPhoneBo object as false
|
OlePatronLoanDocuments |
performRenewalItems(OlePatronLoanDocuments olePatronLoanDocuments) |
boolean |
updateAddress(org.kuali.rice.kim.api.identity.address.EntityAddress entityAddress)
This method will update the EntityAddress object
|
boolean |
updateEmail(org.kuali.rice.kim.api.identity.email.EntityEmail entityEmail)
This method will update the EntityEmail object
|
org.kuali.rice.kim.api.identity.name.EntityName |
updateName(org.kuali.rice.kim.api.identity.name.EntityName name)
This method will update the EntityName object
|
boolean |
updateNote(OlePatronNotesDefinition patronNote)
This method will Update the OlePatronNotes object
|
OlePatronDefinition |
updatePatron(OlePatronDefinition olePatronDefinition)
This method will update the patron object which is already persist
|
boolean |
updatePhone(org.kuali.rice.kim.api.identity.phone.EntityPhone entityPhone)
This method will update the EntityPhone object
|
public OlePatronServiceImpl()
protected OlePatronHelperService getOlePatronHelperService()
protected LoanProcessor getLoanProcessor()
protected org.kuali.rice.krad.service.BusinessObjectService getBusinessObjectService()
protected org.kuali.rice.kim.api.identity.IdentityService getIdentityService()
protected org.kuali.rice.core.api.criteria.CriteriaLookupService getCriteriaLookupService()
public OlePatronDefinition getPatron(String patronId)
getPatron in interface OlePatronServicepatronId - public OlePatronDefinition createPatron(OlePatronDefinition olePatron)
createPatron in interface OlePatronServiceolePatron - public OlePatronDefinition updatePatron(OlePatronDefinition olePatronDefinition)
updatePatron in interface OlePatronServiceolePatronDefinition - public void addNameToEntity(org.kuali.rice.kim.api.identity.name.EntityName name, org.kuali.rice.kim.api.identity.entity.Entity entity)
addNameToEntity in interface OlePatronServicename - entity - public void addEmailToEntity(List<org.kuali.rice.kim.api.identity.email.EntityEmail> emails, org.kuali.rice.kim.api.identity.type.EntityTypeContactInfo entityTypeContactInfo)
addEmailToEntity in interface OlePatronServiceemails - entityTypeContactInfo - public void addAddressToEntity(List<OleEntityAddressDefinition> oleEntityAddress, org.kuali.rice.kim.api.identity.type.EntityTypeContactInfo entityTypeContactInfo)
addAddressToEntity in interface OlePatronServiceoleEntityAddress - entityTypeContactInfo - public void addPhone(List<org.kuali.rice.kim.impl.identity.phone.EntityPhoneBo> entityPhone, org.kuali.rice.kim.impl.identity.type.EntityTypeContactInfoBo entityTypeContactInfoBo)
entityPhone - entityTypeContactInfoBo - public void addPhoneToEntity(List<org.kuali.rice.kim.api.identity.phone.EntityPhone> entityPhone, org.kuali.rice.kim.api.identity.type.EntityTypeContactInfo entityTypeContactInfo)
addPhoneToEntity in interface OlePatronServiceentityPhone - entityTypeContactInfo - public OlePatronDefinition inactivatePatron(String patronId)
inactivatePatron in interface OlePatronServicepatronId - public org.kuali.rice.kim.api.identity.name.EntityName updateName(org.kuali.rice.kim.api.identity.name.EntityName name)
updateName in interface OlePatronServicename - public boolean inactivateName(String nameId)
inactivateName in interface OlePatronServicenameId - public boolean updateEmail(org.kuali.rice.kim.api.identity.email.EntityEmail entityEmail)
updateEmail in interface OlePatronServiceentityEmail - public boolean inactivateEmail(String emailId)
inactivateEmail in interface OlePatronServiceemailId - public boolean updateAddress(org.kuali.rice.kim.api.identity.address.EntityAddress entityAddress)
updateAddress in interface OlePatronServiceentityAddress - public boolean inactivateAddress(String addressId)
inactivateAddress in interface OlePatronServiceaddressId - public boolean updatePhone(org.kuali.rice.kim.api.identity.phone.EntityPhone entityPhone)
updatePhone in interface OlePatronServiceentityPhone - public boolean inactivatePhone(String phoneId)
inactivatePhone in interface OlePatronServicephoneId - public boolean addNoteToPatron(OlePatronNotesDefinition patronNote)
addNoteToPatron in interface OlePatronServicepatronNote - public boolean updateNote(OlePatronNotesDefinition patronNote)
updateNote in interface OlePatronServicepatronNote - public boolean inactivateNote(String patronNoteId)
inactivateNote in interface OlePatronServicepatronNoteId - public OlePatronQueryResults getPatrons()
getPatrons in interface OlePatronServicepublic OlePatronQueryResults findPatron(org.kuali.rice.core.api.criteria.QueryByCriteria queryCriteria)
findPatron in interface OlePatronServicequeryCriteria - public OlePatronLoanDocuments getPatronLoanedItems(String patronBarcode)
getPatronLoanedItems in interface OlePatronServicepatronBarcode - public List<OleDeliverRequestDefinition> getPatronRequestItems(String patronId)
getPatronRequestItems in interface OlePatronServicepublic OlePatronLoanDocuments performRenewalItems(OlePatronLoanDocuments olePatronLoanDocuments)
performRenewalItems in interface OlePatronServicepublic void deletePatronBatchProgram()
deletePatronBatchProgram in interface OlePatronServiceCopyright © 2004–2015 The Kuali Foundation. All rights reserved.