View Javadoc

1   package org.kuali.ole.patron.api;
2   
3   import org.kuali.rice.core.api.mo.common.GloballyUnique;
4   import org.kuali.rice.core.api.mo.common.Identifiable;
5   import org.kuali.rice.core.api.mo.common.Versioned;
6   import org.kuali.rice.core.api.mo.common.active.Inactivatable;
7   import org.kuali.rice.kim.api.identity.address.EntityAddress;
8   import org.kuali.rice.kim.api.identity.address.EntityAddressContract;
9   import org.kuali.rice.kim.api.identity.email.EntityEmail;
10  import org.kuali.rice.kim.api.identity.email.EntityEmailContract;
11  import org.kuali.rice.kim.api.identity.entity.Entity;
12  import org.kuali.rice.kim.api.identity.entity.EntityContract;
13  import org.kuali.rice.kim.api.identity.name.EntityName;
14  import org.kuali.rice.kim.api.identity.name.EntityNameContract;
15  import org.kuali.rice.kim.api.identity.phone.EntityPhone;
16  import org.kuali.rice.kim.api.identity.phone.EntityPhoneContract;
17  
18  import java.util.Date;
19  import java.util.List;
20  
21  /**
22   * Created with IntelliJ IDEA.
23   * User: ?
24   * Date: 5/25/12
25   * Time: 12:31 PM
26   * To change this template use File | Settings | File Templates.
27   */
28  public interface OlePatronContract extends Versioned, Identifiable {
29  
30      public String getOlePatronId();
31  
32      public String getBarcode();
33  
34      public String getBorrowerType();
35  
36      public boolean isActiveIndicator();
37  
38      public boolean isGeneralBlock();
39  
40      public boolean isPagingPrivilege();
41  
42      public boolean isCourtesyNotice();
43  
44      public boolean isDeliveryPrivilege();
45  
46      public Date getExpirationDate();
47  
48      public List<? extends EntityAddressContract> getAddresses();
49  
50      public List<? extends EntityEmailContract> getEmails();
51  
52      public EntityNameContract getName();
53  
54      public List<? extends EntityPhoneContract> getPhones();
55  
56      public EntityContract getEntity();
57  
58      public List<? extends OlePatronNotesContract> getNotes();
59  }