View Javadoc
1   package org.kuali.ole.service;
2   
3   import org.kuali.ole.deliver.bo.OleAddressBo;
4   import org.kuali.ole.deliver.bo.OleEntityAddressBo;
5   import org.kuali.ole.deliver.bo.OlePatronDocument;
6   import org.kuali.rice.kim.impl.identity.email.EntityEmailBo;
7   import org.kuali.rice.kim.impl.identity.entity.EntityBo;
8   import org.kuali.rice.kim.impl.identity.phone.EntityPhoneBo;
9   
10  import java.util.List;
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  
22      public boolean deletePatron(OlePatronDocument olePatronDocument);
23  
24      public boolean checkAddressSource(List<OleAddressBo> oleAddresses);
25  
26      public boolean checkPhoneMultipleDefault(List<EntityPhoneBo> phoneBoList);
27  
28      public boolean checkAddressMultipleDefault(List<OleEntityAddressBo> addrBoList);
29  
30      public boolean checkEmailMultipleDefault(List<EntityEmailBo> emailBoList);
31  
32      public boolean isBorrowerTypeActive(OlePatronDocument olePatronDocument);
33  
34      public List<OleAddressBo> retrieveOleAddressBo(EntityBo entityBo,OlePatronDocument olePatronDocument);
35  
36      public EntityBo copyAndSaveEntityBo(OlePatronDocument patronDocument);
37  
38      public EntityBo editAndSaveEntityBo(OlePatronDocument patronDocument);
39  
40      public boolean validatePatron(OlePatronDocument patronDocument);
41  }