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.
|
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 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 OlePatronService
patronId
- public OlePatronDefinition createPatron(OlePatronDefinition olePatron)
createPatron
in interface OlePatronService
olePatron
- public OlePatronDefinition updatePatron(OlePatronDefinition olePatronDefinition)
updatePatron
in interface OlePatronService
olePatronDefinition
- public void addNameToEntity(org.kuali.rice.kim.api.identity.name.EntityName name, org.kuali.rice.kim.api.identity.entity.Entity entity)
addNameToEntity
in interface OlePatronService
name
- 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 OlePatronService
emails
- entityTypeContactInfo
- public void addAddressToEntity(List<OleEntityAddressDefinition> oleEntityAddress, org.kuali.rice.kim.api.identity.type.EntityTypeContactInfo entityTypeContactInfo)
addAddressToEntity
in interface OlePatronService
oleEntityAddress
- 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 OlePatronService
entityPhone
- entityTypeContactInfo
- public OlePatronDefinition inactivatePatron(String patronId)
inactivatePatron
in interface OlePatronService
patronId
- public org.kuali.rice.kim.api.identity.name.EntityName updateName(org.kuali.rice.kim.api.identity.name.EntityName name)
updateName
in interface OlePatronService
name
- public boolean inactivateName(String nameId)
inactivateName
in interface OlePatronService
nameId
- public boolean updateEmail(org.kuali.rice.kim.api.identity.email.EntityEmail entityEmail)
updateEmail
in interface OlePatronService
entityEmail
- public boolean inactivateEmail(String emailId)
inactivateEmail
in interface OlePatronService
emailId
- public boolean updateAddress(org.kuali.rice.kim.api.identity.address.EntityAddress entityAddress)
updateAddress
in interface OlePatronService
entityAddress
- public boolean inactivateAddress(String addressId)
inactivateAddress
in interface OlePatronService
addressId
- public boolean updatePhone(org.kuali.rice.kim.api.identity.phone.EntityPhone entityPhone)
updatePhone
in interface OlePatronService
entityPhone
- public boolean inactivatePhone(String phoneId)
inactivatePhone
in interface OlePatronService
phoneId
- public boolean addNoteToPatron(OlePatronNotesDefinition patronNote)
addNoteToPatron
in interface OlePatronService
patronNote
- public boolean updateNote(OlePatronNotesDefinition patronNote)
updateNote
in interface OlePatronService
patronNote
- public boolean inactivateNote(String patronNoteId)
inactivateNote
in interface OlePatronService
patronNoteId
- public OlePatronQueryResults getPatrons()
getPatrons
in interface OlePatronService
public OlePatronQueryResults findPatron(org.kuali.rice.core.api.criteria.QueryByCriteria queryCriteria)
findPatron
in interface OlePatronService
queryCriteria
- public OlePatronLoanDocuments getPatronLoanedItems(String patronBarcode)
getPatronLoanedItems
in interface OlePatronService
patronBarcode
- public List<OleDeliverRequestDefinition> getPatronRequestItems(String patronId)
getPatronRequestItems
in interface OlePatronService
public OlePatronLoanDocuments performRenewalItems(OlePatronLoanDocuments olePatronLoanDocuments)
performRenewalItems
in interface OlePatronService
public void deletePatronBatchProgram()
deletePatronBatchProgram
in interface OlePatronService
Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.