|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 OlePatronService
patronId
-
public OlePatronDefinition createPatron(OlePatronDefinition olePatron)
createPatron
in interface OlePatronService
olePatron
-
public OlePatronDefinition updatePatron(OlePatronDefinition olePatron)
updatePatron
in interface OlePatronService
olePatron
-
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<org.kuali.rice.kim.api.identity.address.EntityAddress> entityAddress, org.kuali.rice.kim.api.identity.type.EntityTypeContactInfo entityTypeContactInfo)
addAddressToEntity
in interface OlePatronService
entityAddress
- 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
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |