org.kuali.ole.deliver.request.service
Class OleDeliverRequestDocumentHelperServiceImpl

java.lang.Object
  extended by org.kuali.ole.deliver.request.service.OleDeliverRequestDocumentHelperServiceImpl

public class OleDeliverRequestDocumentHelperServiceImpl
extends Object

Created with IntelliJ IDEA. User: ? Date: 10/24/12 Time: 10:27 AM To change this template use File | Settings | File Templates.


Constructor Summary
OleDeliverRequestDocumentHelperServiceImpl()
           
 
Method Summary
 void cancelDocument(OleDeliverRequestBo oleDeliverRequestBo)
          This method is used to cancel the request document
 boolean canRaiseRequest(OleDeliverRequestBo oleDeliverRequestBo)
          This method is to check whether the selected request can be raised for the item
 void deleteRequest(String requestId, String itemId, String operatorId, String loanTransactionNumber)
          This method is to delete the request
 void deletingExpiredRequests()
           
 void generateExpireHoldNotice()
           
 void generateOnHoldNotice()
           
 void generateRecallNotice()
           
 void generateRequestExpirationNotice()
           
 org.kuali.rice.krad.service.BusinessObjectService getbusinessObjectService()
           
 OleDeliveryDocstoreService getDocStoreService()
           
 OleItemSearch getItemDetails(String itemBarCode)
          This for retrieving the item Details from docstore
 OleItemSearch getItemDetailsForPatron(String itemBarCode)
          This method is for retrieving the item details for displaying in the patron screen
 LoanProcessor getLoanProcessor()
           
 OleDeliverRequestBo getOleDeliverRequestBo(String itemBarcode)
           
 List<OleDeliverRequestBo> getRequestedItems(String olePatronId)
          This is for retrieving the request raised by the patron
 boolean isAlreadyLoaned(OleDeliverRequestBo oleDeliverRequestBo)
          This is to check whether the requested item is currently in loan to the requesting patron
 boolean isItemAvailable(OleDeliverRequestBo oleDeliverRequestBo)
          This is to check whether the item is available in the desk or not
 boolean isItemAvailbleInDocstore(OleDeliverRequestBo oleDeliverRequestBo)
          Thsi method is to check whether the item is available in doc store or not
 boolean isItemEligible(OleDeliverRequestBo oleDeliverRequestBo)
          This is to check whether the item is eligible to loan
 boolean isPatronRecordExpired(OleDeliverRequestBo oleDeliverRequestBo)
          This is to check whether the patron record is alive or expired
 boolean isRequestAlreadyRaisedByPatron(OleDeliverRequestBo oleDeliverRequestBo)
          This is to check whether the request is already raised by the patron for this item
 boolean isRequestRaised(OleDeliverRequestBo oleDeliverRequestBo)
          This is to check whether any request raised for the item
 boolean isValidProxyPatron(OleDeliverRequestBo oleDeliverRequestBo)
          This is to check whether the login patron is the proxy patron for the real patron
 OleDeliverRequestBo populateItemDetailsToRequest(OleDeliverRequestBo oleDeliverRequestBo, OleItemSearch oleItemSearch)
           
 OleDeliverRequestBo processItem(OleDeliverRequestBo oleDeliverRequestBo)
          This method is to set the item values from docstore
 OleDeliverRequestBo processItemType(OleDeliverRequestBo oleDeliverRequestBo)
          This method is to set the item type name based on the item type code
 OleDeliverRequestBo processPatron(OleDeliverRequestBo oleDeliverRequestBo)
          This is to create a new patron object if the user enters the operator Id manually
 OleDeliverRequestBo processRequester(OleDeliverRequestBo oleDeliverRequestBo)
          This for setting the null values for the unselected requester
 OleDeliverRequestBo processRequestType(OleDeliverRequestBo oleDeliverRequestBo)
          This method is used to change the request type based on selection of pick up location
 OleDeliverRequestBo reOrderQueuePosition(OleDeliverRequestBo oleDeliverRequestBo)
          This method is to re-order the queuePosition based on the priority while creating the request
 void setbusinessObjectService(org.kuali.rice.krad.service.BusinessObjectService businessObjectService)
           
 void setDocStoreService(OleDeliveryDocstoreService docStoreService)
           
 void setLoanProcessor(LoanProcessor loanProcessor)
           
 void updateLoanDocument(OleDeliverRequestBo oleDeliverRequestBo)
          This method is to update the request id in the loan document
 boolean validateDeliveryPrivilege(OleDeliverRequestBo oleDeliverRequestBo)
          This is to check whether the patron is having delivery privilege or not
 boolean validatePagingPrivilege(OleDeliverRequestBo oleDeliverRequestBo)
          This is to check whether the patron is having paging privilege or not
 String validateQueuePosition(List<OleDeliverRequestBo> itemList)
          This is to check the duplicate in the queue Position while re -ordering
 boolean validateRequestType(OleDeliverRequestBo oleDeliverRequestBo)
          This is to check whether the pick up location is selected for the hold type of Request
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OleDeliverRequestDocumentHelperServiceImpl

public OleDeliverRequestDocumentHelperServiceImpl()
Method Detail

getbusinessObjectService

public org.kuali.rice.krad.service.BusinessObjectService getbusinessObjectService()

setbusinessObjectService

public void setbusinessObjectService(org.kuali.rice.krad.service.BusinessObjectService businessObjectService)

getLoanProcessor

public LoanProcessor getLoanProcessor()

setLoanProcessor

public void setLoanProcessor(LoanProcessor loanProcessor)

getDocStoreService

public OleDeliveryDocstoreService getDocStoreService()

setDocStoreService

public void setDocStoreService(OleDeliveryDocstoreService docStoreService)

processRequestType

public OleDeliverRequestBo processRequestType(OleDeliverRequestBo oleDeliverRequestBo)
This method is used to change the request type based on selection of pick up location

Parameters:
oleDeliverRequestBo -
Returns:
oleDeliverRequestBo

processPatron

public OleDeliverRequestBo processPatron(OleDeliverRequestBo oleDeliverRequestBo)
This is to create a new patron object if the user enters the operator Id manually

Parameters:
oleDeliverRequestBo -
Returns:
deliver

validateRequestType

public boolean validateRequestType(OleDeliverRequestBo oleDeliverRequestBo)
This is to check whether the pick up location is selected for the hold type of Request

Parameters:
oleDeliverRequestBo -
Returns:
validRequest

validateDeliveryPrivilege

public boolean validateDeliveryPrivilege(OleDeliverRequestBo oleDeliverRequestBo)
This is to check whether the patron is having delivery privilege or not

Parameters:
oleDeliverRequestBo -
Returns:
hasDeliveryPrivilege

validatePagingPrivilege

public boolean validatePagingPrivilege(OleDeliverRequestBo oleDeliverRequestBo)
This is to check whether the patron is having paging privilege or not

Parameters:
oleDeliverRequestBo -
Returns:
hasPagePrivilege

processRequester

public OleDeliverRequestBo processRequester(OleDeliverRequestBo oleDeliverRequestBo)
This for setting the null values for the unselected requester

Parameters:
oleDeliverRequestBo -
Returns:
oleDeliverRequestBo

isValidProxyPatron

public boolean isValidProxyPatron(OleDeliverRequestBo oleDeliverRequestBo)
This is to check whether the login patron is the proxy patron for the real patron

Parameters:
oleDeliverRequestBo -
Returns:
validProxy

isRequestAlreadyRaisedByPatron

public boolean isRequestAlreadyRaisedByPatron(OleDeliverRequestBo oleDeliverRequestBo)
This is to check whether the request is already raised by the patron for this item

Parameters:
oleDeliverRequestBo -
Returns:
alreadyExist

isAlreadyLoaned

public boolean isAlreadyLoaned(OleDeliverRequestBo oleDeliverRequestBo)
This is to check whether the requested item is currently in loan to the requesting patron

Parameters:
oleDeliverRequestBo -
Returns:
alreadyLoaned

isItemAvailable

public boolean isItemAvailable(OleDeliverRequestBo oleDeliverRequestBo)
This is to check whether the item is available in the desk or not

Parameters:
oleDeliverRequestBo -
Returns:
itemAvailable

isItemEligible

public boolean isItemEligible(OleDeliverRequestBo oleDeliverRequestBo)
This is to check whether the item is eligible to loan

Parameters:
oleDeliverRequestBo -
Returns:
itemEligible

isPatronRecordExpired

public boolean isPatronRecordExpired(OleDeliverRequestBo oleDeliverRequestBo)
This is to check whether the patron record is alive or expired

Parameters:
oleDeliverRequestBo -
Returns:
expired

getRequestedItems

public List<OleDeliverRequestBo> getRequestedItems(String olePatronId)
This is for retrieving the request raised by the patron

Parameters:
olePatronId -
Returns:
deliverRequestBos

validateQueuePosition

public String validateQueuePosition(List<OleDeliverRequestBo> itemList)
This is to check the duplicate in the queue Position while re -ordering

Parameters:
itemList -
Returns:
exist

isRequestRaised

public boolean isRequestRaised(OleDeliverRequestBo oleDeliverRequestBo)
This is to check whether any request raised for the item

Parameters:
oleDeliverRequestBo -
Returns:
exist

cancelDocument

public void cancelDocument(OleDeliverRequestBo oleDeliverRequestBo)
This method is used to cancel the request document

Parameters:
oleDeliverRequestBo -

processItem

public OleDeliverRequestBo processItem(OleDeliverRequestBo oleDeliverRequestBo)
This method is to set the item values from docstore

Parameters:
oleDeliverRequestBo -
Returns:
oleDeliverRequestBo

processItemType

public OleDeliverRequestBo processItemType(OleDeliverRequestBo oleDeliverRequestBo)
This method is to set the item type name based on the item type code

Parameters:
oleDeliverRequestBo -
Returns:

canRaiseRequest

public boolean canRaiseRequest(OleDeliverRequestBo oleDeliverRequestBo)
This method is to check whether the selected request can be raised for the item

Parameters:
oleDeliverRequestBo -
Returns:
canRaiseRequest

updateLoanDocument

public void updateLoanDocument(OleDeliverRequestBo oleDeliverRequestBo)
This method is to update the request id in the loan document

Parameters:
oleDeliverRequestBo -

deleteRequest

public void deleteRequest(String requestId,
                          String itemId,
                          String operatorId,
                          String loanTransactionNumber)
This method is to delete the request

Parameters:
requestId -
itemId -

getItemDetails

public OleItemSearch getItemDetails(String itemBarCode)
This for retrieving the item Details from docstore

Parameters:
itemBarCode -
Returns:
oleItemSearch

getItemDetailsForPatron

public OleItemSearch getItemDetailsForPatron(String itemBarCode)
This method is for retrieving the item details for displaying in the patron screen

Parameters:
itemBarCode -
Returns:
OleItemSearch

reOrderQueuePosition

public OleDeliverRequestBo reOrderQueuePosition(OleDeliverRequestBo oleDeliverRequestBo)
This method is to re-order the queuePosition based on the priority while creating the request

Parameters:
oleDeliverRequestBo -
Returns:
OleDeliverRequestBo

isItemAvailbleInDocstore

public boolean isItemAvailbleInDocstore(OleDeliverRequestBo oleDeliverRequestBo)
Thsi method is to check whether the item is available in doc store or not

Parameters:
oleDeliverRequestBo -
Returns:
boolean

populateItemDetailsToRequest

public OleDeliverRequestBo populateItemDetailsToRequest(OleDeliverRequestBo oleDeliverRequestBo,
                                                        OleItemSearch oleItemSearch)

generateRecallNotice

public void generateRecallNotice()

generateOnHoldNotice

public void generateOnHoldNotice()

generateRequestExpirationNotice

public void generateRequestExpirationNotice()

generateExpireHoldNotice

public void generateExpireHoldNotice()

deletingExpiredRequests

public void deletingExpiredRequests()

getOleDeliverRequestBo

public OleDeliverRequestBo getOleDeliverRequestBo(String itemBarcode)


Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.