View Javadoc

1   package org.kuali.ole.service;
2   
3   import org.kuali.ole.patron.api.OlePatronDefinition;
4   import org.kuali.ole.patron.api.OlePatronNotesDefinition;
5   import org.kuali.ole.patron.api.OlePatronQueryResults;
6   import org.kuali.ole.patron.bo.OlePatronDocument;
7   import org.kuali.ole.patron.bo.OlePatronNotes;
8   import org.kuali.rice.core.api.criteria.QueryByCriteria;
9   import org.kuali.rice.kim.api.identity.address.EntityAddress;
10  import org.kuali.rice.kim.api.identity.email.EntityEmail;
11  import org.kuali.rice.kim.api.identity.entity.Entity;
12  import org.kuali.rice.kim.api.identity.name.EntityName;
13  import org.kuali.rice.kim.api.identity.phone.EntityPhone;
14  import org.kuali.rice.kim.api.identity.type.EntityTypeContactInfo;
15  import org.kuali.rice.kim.impl.identity.address.EntityAddressBo;
16  import org.kuali.rice.kim.impl.identity.email.EntityEmailBo;
17  import org.kuali.rice.kim.impl.identity.entity.EntityBo;
18  import org.kuali.rice.kim.impl.identity.name.EntityNameBo;
19  import org.kuali.rice.kim.impl.identity.phone.EntityPhoneBo;
20  import org.kuali.rice.kim.impl.identity.type.EntityTypeContactInfoBo;
21  
22  import javax.jws.WebService;
23  import javax.jws.soap.SOAPBinding;
24  import java.util.List;
25  import java.util.Map;
26  
27  /**
28   * Created by IntelliJ IDEA.
29   * User: pvsubrah
30   * Date: 5/9/12
31   * Time: 2:52 PM
32   * To change this template use File | Settings | File Templates.
33   */
34  @WebService(name = "olePatronService", targetNamespace = "http://service.ole.kuali.org/")
35  @SOAPBinding(style = SOAPBinding.Style.DOCUMENT, use = SOAPBinding.Use.LITERAL, parameterStyle = SOAPBinding.ParameterStyle.WRAPPED)
36  public interface OlePatronService {
37  
38      public OlePatronDefinition getPatron(String patronId);
39  
40      public OlePatronDefinition createPatron(OlePatronDefinition olePatron);
41  
42      public OlePatronDefinition updatePatron(OlePatronDefinition olePatron);
43  
44      public OlePatronDefinition inactivatePatron(String patronId);
45  
46      public void addNameToEntity(EntityName name, Entity entity);
47  
48      public EntityName updateName(EntityName name);
49  
50      public boolean inactivateName(String nameId);
51  
52      public void addEmailToEntity(List<EntityEmail> emails, EntityTypeContactInfo entityTypeContactInfo);
53  
54      public boolean updateEmail(EntityEmail entityEmail);
55  
56      public boolean inactivateEmail(String emailId);
57  
58      public void addAddressToEntity(List<EntityAddress> entityAddress, EntityTypeContactInfo entityTypeContactInfo);
59  
60      public boolean updateAddress(EntityAddress entityAddress);
61  
62      public boolean inactivateAddress(String addressId);
63  
64      public void addPhoneToEntity(List<EntityPhone> entityPhone, EntityTypeContactInfo entityTypeContactInfo);
65  
66      public boolean updatePhone(EntityPhone entityPhone);
67  
68      public boolean inactivatePhone(String phoneId);
69  
70      public boolean addNoteToPatron(OlePatronNotesDefinition patronNote);
71  
72      public boolean updateNote(OlePatronNotesDefinition patronNote);
73  
74      public boolean inactivateNote(String patronNoteId);
75  
76      public OlePatronQueryResults getPatrons();
77  
78      public OlePatronQueryResults findPatron(QueryByCriteria queryCriteria);
79  
80  }