View Javadoc

1   package org.kuali.ole.service;
2   
3   import org.kuali.ole.patron.bo.OleAddressBo;
4   import org.kuali.ole.patron.bo.OleEntityAddressBo;
5   import org.kuali.ole.patron.bo.OlePatronDocument;
6   import org.kuali.rice.kim.impl.identity.email.EntityEmailBo;
7   import org.kuali.rice.kim.impl.identity.phone.EntityPhoneBo;
8   
9   import java.util.List;
10  import java.util.Map;
11  
12  /**
13   * Created with IntelliJ IDEA.
14   * User: ?
15   * Date: 6/1/12
16   * Time: 8:28 PM
17   * To change this template use File | Settings | File Templates.
18   */
19  public interface OlePatronHelperService {
20  
21      public Map<String, String> convertPatronPropertiesToEntityProperties(Map<String, String> criteria);
22  
23      public boolean deletePatron(OlePatronDocument olePatronDocument);
24  
25      public boolean checkAddressSource (List<OleAddressBo> oleAddresses);
26  
27      public boolean checkPhoneMultipleDefault (List<EntityPhoneBo> phoneBoList);
28  
29      public boolean checkAddressMultipleDefault (List<OleEntityAddressBo> addrBoList);
30  
31      public boolean checkEmailMultipleDefault (List<EntityEmailBo> emailBoList);
32  
33      public boolean CheckBarcodeAndLostBarcode(OlePatronDocument olePatronDocument);
34  
35      public boolean isBorrowerTypeActive(OlePatronDocument olePatronDocument);
36  }