public class OleLocationConverterService extends Object
Constructor and Description |
---|
OleLocationConverterService() |
Modifier and Type | Method and Description |
---|---|
OleLocationGroup |
buildLocation(String fileName) |
OleLocationGroup |
buildLocationFromFileContent(String fileContent) |
void |
createOleLocation(OleLocationIngest oleLocation)
This method creates location using oleLocation.
|
List<OleLocationIngest> |
getCreateLocationList()
Gets the createLocationList attribute value.
|
int |
getFailureCount() |
String |
getIngestFailureRecord() |
OleLocationObjectGeneratorFromXML |
getOleLocationObjectGeneratorFromXML()
Gets the oleLocationObjectGeneratorFromXML attribute value.
|
OleLocationService |
getOleLocationService()
Gets the oleLocationService attribute value.
|
List<OleLocationIngest> |
getRejectLocationList() |
int |
getSuccessCount() |
List<OleLocationIngest> |
getUpdateLocationList()
Gets the updateLocationList attribute value.
|
boolean |
isLocationExist(OleLocationIngest oleLocationIngest)
This method checks Location using oleLocationIngest.
|
boolean |
isLocationLevelCodeExist(OleLocationIngest oleLocationIngest)
This method checks LocationLevelCode using oleLocationIngest.
|
boolean |
isParentLocationExist(OleLocationIngest oleLocationIngest)
This method checks existence of ParentLocation using oleLocationIngest.
|
String |
persistLocationFromFileContent(String fileContent,
String fileName)
This method persist business object using xml file.
|
void |
setBusinessObjectService(org.kuali.rice.krad.service.BusinessObjectService businessObjectService)
Sets the businessObjectService attribute value.
|
void |
setCreateLocationList(List<OleLocationIngest> createLocationList)
Sets the createLocationList attribute value.
|
void |
setFailureCount(int failureCount) |
void |
setIngestFailureRecord(String ingestFailureRecord) |
void |
setOleLocationObjectGeneratorFromXML(OleLocationObjectGeneratorFromXML oleLocationObjectGeneratorFromXML)
Sets the oleLocationObjectGeneratorFromXML attribute value.
|
void |
setOleLocationService(OleLocationService oleLocationService)
Sets the oleLocationService attribute value.
|
void |
setRejectLocationList(List<OleLocationIngest> rejectLocationList) |
void |
setSuccessCount(int successCount) |
void |
setUpdateLocationList(List<OleLocationIngest> updateLocationList)
Sets the updateLocationList attribute value.
|
void |
updateOleLocation(OleLocationIngest oleLocation)
This method updates location using oleLocation.
|
public OleLocationConverterService()
public void setBusinessObjectService(org.kuali.rice.krad.service.BusinessObjectService businessObjectService)
businessObjectService
- public OleLocationService getOleLocationService()
public void setOleLocationService(OleLocationService oleLocationService)
oleLocationService
- public List<OleLocationIngest> getCreateLocationList()
public void setCreateLocationList(List<OleLocationIngest> createLocationList)
createLocationList
- public List<OleLocationIngest> getUpdateLocationList()
public void setUpdateLocationList(List<OleLocationIngest> updateLocationList)
updateLocationList
- public List<OleLocationIngest> getRejectLocationList()
public void setRejectLocationList(List<OleLocationIngest> rejectLocationList)
public String getIngestFailureRecord()
public void setIngestFailureRecord(String ingestFailureRecord)
public int getSuccessCount()
public void setSuccessCount(int successCount)
public int getFailureCount()
public void setFailureCount(int failureCount)
public String persistLocationFromFileContent(String fileContent, String fileName) throws IOException, URISyntaxException
fileContent
- fileName
- IOException
URISyntaxException
public boolean isLocationLevelCodeExist(OleLocationIngest oleLocationIngest)
oleLocationIngest
- public boolean isParentLocationExist(OleLocationIngest oleLocationIngest)
oleLocationIngest
- public boolean isLocationExist(OleLocationIngest oleLocationIngest)
oleLocationIngest
- public void createOleLocation(OleLocationIngest oleLocation)
oleLocation
- public void updateOleLocation(OleLocationIngest oleLocation)
oleLocation
- public OleLocationGroup buildLocationFromFileContent(String fileContent) throws URISyntaxException, IOException
fileContent
- URISyntaxException
IOException
public OleLocationGroup buildLocation(String fileName) throws URISyntaxException, IOException, SAXException
fileName
- URISyntaxException
IOException
SAXException
public OleLocationObjectGeneratorFromXML getOleLocationObjectGeneratorFromXML()
public void setOleLocationObjectGeneratorFromXML(OleLocationObjectGeneratorFromXML oleLocationObjectGeneratorFromXML)
oleLocationObjectGeneratorFromXML
- Copyright © 2004–2014 The Kuali Foundation. All rights reserved.