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 | 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() throws SQLException
SQLExceptionpublic void closeConnections() throws SQLException
SQLExceptionpublic void fetchHoldingItems() throws SQLException
SQLExceptionpublic Map<String,List> fetchHoldingItem(boolean cursor) throws SQLException
SQLExceptionpublic void fetchBibHoldings() throws SQLException
SQLExceptionpublic Map<String,List> fetchBibHolding(boolean cursor) throws SQLException
SQLExceptionpublic BibTrees fetchNextBatch(int batchSize, BatchStatistics batchStatistics, Boolean isBibOnly) throws Exception
Exceptionpublic BibTrees fetchNextBatch(int batchSize, BatchStatistics batchStatistics) throws Exception
Exceptionpublic List<HoldingsTree> fetchHoldingsTreeForBib(int bibId) throws Exception
Exceptionpublic Location getLocationDetails(String locationName, String locationLevelName)
public LocationLevel createLocationLevel(String locationName, String locationLevelName)
public List<Item> fetchItemForHoldings(int holdingsId) throws Exception
Exceptionpublic String convertDateFormat(String date)
public String getTotalNoOfRecords() throws SQLException
SQLExceptionpublic 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
SQLExceptionpublic static String truncateData(String data, int idLength)
Copyright © 2004–2014 The Kuali Foundation. All rights reserved.