public class BatchBibTreeDBUtil extends Object
Modifier and Type | Field and Description |
---|---|
static Map<String,String> |
authenticationType |
static Map<String,String> |
callNumberType |
static Map<String,String> |
extentOfOwnershipTypeMap |
static Map<String,String> |
itemStatusMap |
static Map<String,String> |
itemTypeMap |
static Map<String,String> |
receiptStatus |
static Map<String,String> |
statisticalSearchCodeMap |
Constructor and Description |
---|
BatchBibTreeDBUtil() |
BatchBibTreeDBUtil(boolean isStaffOnly) |
Modifier and Type | Method and Description |
---|---|
void |
closeConnections() |
String |
convertDateFormat(String date) |
LocationLevel |
createLocationLevel(String locationName,
String locationLevelName) |
Map<String,List> |
fetchBibHolding(boolean cursor) |
void |
fetchBibHoldings() |
Map<String,List> |
fetchHoldingItem(boolean cursor) |
void |
fetchHoldingItems() |
List<HoldingsTree> |
fetchHoldingsTreeForBib(int bibId) |
List<Item> |
fetchItemForHoldings(int holdingsId) |
BibTrees |
fetchNextBatch(int batchSize,
BatchStatistics batchStatistics) |
BibTrees |
fetchNextBatch(int batchSize,
BatchStatistics batchStatistics,
Boolean isBibOnly) |
Location |
getLocationDetails(String locationName,
String locationLevelName) |
String |
getTotalNoOfRecords() |
void |
init(int startIndex,
int endIndex,
String updateDate) |
int |
storeBibInfo(int batchSize,
String filePath,
String fileName,
BibInfoStatistics bibInfoStatistics,
int batchNo) |
static String |
truncateData(String data,
int idLength) |
static void |
writeStatusToFile(String directoryPath,
String fileName,
String content) |
static void |
writeStatusToFile(String directoryPath,
String fileName,
String content,
String first,
String last) |
public static Map<String,String> callNumberType
public static Map<String,String> receiptStatus
public static Map<String,String> authenticationType
public static Map<String,String> itemTypeMap
public static Map<String,String> itemStatusMap
public static Map<String,String> statisticalSearchCodeMap
public static Map<String,String> extentOfOwnershipTypeMap
public BatchBibTreeDBUtil()
public BatchBibTreeDBUtil(boolean isStaffOnly)
public void init(int startIndex, int endIndex, String updateDate) throws SQLException
SQLException
public void closeConnections() throws SQLException
SQLException
public void fetchHoldingItems() throws SQLException
SQLException
public Map<String,List> fetchHoldingItem(boolean cursor) throws SQLException
SQLException
public void fetchBibHoldings() throws SQLException
SQLException
public Map<String,List> fetchBibHolding(boolean cursor) throws SQLException
SQLException
public BibTrees fetchNextBatch(int batchSize, BatchStatistics batchStatistics, Boolean isBibOnly) throws Exception
Exception
public BibTrees fetchNextBatch(int batchSize, BatchStatistics batchStatistics) throws Exception
Exception
public List<HoldingsTree> fetchHoldingsTreeForBib(int bibId) throws Exception
Exception
public Location getLocationDetails(String locationName, String locationLevelName)
public LocationLevel createLocationLevel(String locationName, String locationLevelName)
public List<Item> fetchItemForHoldings(int holdingsId) throws Exception
Exception
public String convertDateFormat(String date)
public String getTotalNoOfRecords() throws SQLException
SQLException
public static void writeStatusToFile(String directoryPath, String fileName, String content)
public static void writeStatusToFile(String directoryPath, String fileName, String content, String first, String last)
public int storeBibInfo(int batchSize, String filePath, String fileName, BibInfoStatistics bibInfoStatistics, int batchNo) throws SQLException
SQLException
public static String truncateData(String data, int idLength)
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.