|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.ole.service.OlePatronServiceImpl
public class OlePatronServiceImpl
OlePatronServiceImpl performs patron operation(create,update).
| Constructor Summary | |
|---|---|
OlePatronServiceImpl()
|
|
| Method Summary | |
|---|---|
void |
addAddressToEntity(List<org.kuali.rice.kim.api.identity.address.EntityAddress> entityAddress,
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 |
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 |
OlePatronDefinition |
getPatron(String patronId)
Based on patron Id it will return the patron object |
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 |
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 olePatron)
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OlePatronServiceImpl()
| Method Detail |
|---|
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 olePatron)
updatePatron in interface OlePatronServiceolePatron -
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<org.kuali.rice.kim.api.identity.address.EntityAddress> entityAddress,
org.kuali.rice.kim.api.identity.type.EntityTypeContactInfo entityTypeContactInfo)
addAddressToEntity in interface OlePatronServiceentityAddress - 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 -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||