|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.ole.service.OlePatronConverterService
public class OlePatronConverterService
OlePatronConverterService generates list of patron to perform ole patron operation.
Constructor Summary | |
---|---|
OlePatronConverterService()
|
Method Summary | |
---|---|
OlePatronGroup |
buildPatron(String fileName)
This method will get the resource file(xml file) and convert object from the xml file (used for testCase) |
OlePatronGroup |
buildPatronFromFileContent(String fileContent)
This method is for getting the object of OlePatronGroup from the ingested xml (used for testCase). |
protected boolean |
checkAddressMultipleDefault(List<OleEntityAddressBo> addrBoList)
This method is for checking the entity address has multiple defaults |
protected boolean |
checkEmailMultipleDefault(List<org.kuali.rice.kim.impl.identity.email.EntityEmailBo> emailBoList)
This method is for checking the entity email address has multiple defaults |
protected boolean |
checkPhoneMultipleDefault(List<org.kuali.rice.kim.impl.identity.phone.EntityPhoneBo> phoneBoList)
This method is for checking the entity phone has multiple defaults |
List<OlePatronDocument> |
createOlePatronDocument(List<OlePatron> createPatronList,
List<OlePatron> failedPatronList)
This method is for creating a OlePatronDocument |
OlePatronRecordHandler |
getOlePatronRecordHandler()
Gets the instance of OlePatronRecordHandler |
OlePatronService |
getOlePatronService()
Gets the value of olePatronService which is of type OlePatronService |
String |
getPatronAddressSource()
|
String |
getUploadProcessMessage(OlePatronIngestSummaryRecord olePatronIngestSummaryRecord)
This method is for getting the uploaded process message |
boolean |
isPatronExist(String patronId)
This method will check the entity id from the database , whether it is existing or not. |
List<OlePatronDocument> |
persistPatronFromFileContent(String fileContent,
boolean addUnMatchedPatronFlag,
String fileName,
OlePatronIngestSummaryRecord olePatronIngestSummaryRecord,
String addressSource)
This method will get the values from the ingested xml file, check the entity id and addUnmatchedPatron (from screen) . |
void |
setOlePatronRecordHandler(OlePatronRecordHandler olePatronRecordHandler)
Sets the olePatronRecordHandler which is of type OlePatronRecordHandler |
void |
setOlePatronService(OlePatronService olePatronService)
Sets the value for olePatronService which is of type OlePatronService |
void |
setPatronAddressSource(String patronAddressSource)
|
List<OlePatronDocument> |
updateOlePatronDocument(List<OlePatron> updatePatronList,
List<OlePatron> failedPatronList)
This method is for updating the OlePatronDocument |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OlePatronConverterService()
Method Detail |
---|
public String getPatronAddressSource()
public void setPatronAddressSource(String patronAddressSource)
public OlePatronService getOlePatronService()
public void setOlePatronService(OlePatronService olePatronService)
olePatronService(OlePatronService)
- public List<OlePatronDocument> persistPatronFromFileContent(String fileContent, boolean addUnMatchedPatronFlag, String fileName, OlePatronIngestSummaryRecord olePatronIngestSummaryRecord, String addressSource) throws IOException, URISyntaxException
fileContent
- addUnMatchedPatronFlag
- fileName
- olePatronIngestSummaryRecord
-
IOException
URISyntaxException
public String getUploadProcessMessage(OlePatronIngestSummaryRecord olePatronIngestSummaryRecord)
olePatronIngestSummaryRecord
-
public boolean isPatronExist(String patronId)
patronId
-
public List<OlePatronDocument> createOlePatronDocument(List<OlePatron> createPatronList, List<OlePatron> failedPatronList)
createPatronList
- failedPatronList
-
public List<OlePatronDocument> updateOlePatronDocument(List<OlePatron> updatePatronList, List<OlePatron> failedPatronList)
updatePatronList
- failedPatronList
-
public OlePatronGroup buildPatronFromFileContent(String fileContent) throws URISyntaxException, IOException
fileContent
-
URISyntaxException
IOException
public OlePatronGroup buildPatron(String fileName) throws URISyntaxException, IOException, SAXException
fileName
-
URISyntaxException
IOException
SAXException
protected boolean checkPhoneMultipleDefault(List<org.kuali.rice.kim.impl.identity.phone.EntityPhoneBo> phoneBoList)
phoneBoList
-
protected boolean checkAddressMultipleDefault(List<OleEntityAddressBo> addrBoList)
addrBoList
-
protected boolean checkEmailMultipleDefault(List<org.kuali.rice.kim.impl.identity.email.EntityEmailBo> emailBoList)
emailBoList
-
public OlePatronRecordHandler getOlePatronRecordHandler()
public void setOlePatronRecordHandler(OlePatronRecordHandler olePatronRecordHandler)
olePatronRecordHandler(OlePatronRecordHandler)
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |