Exemple #1
0
 /* (non-Javadoc)
  * @see org.osaf.cosmo.model.copy.InterfaceTicket#isFreeBusy()
  */
 public boolean isFreeBusy() {
   TicketType type = getType();
   return type != null && type.equals(TicketType.FREE_BUSY);
 }
Exemple #2
0
 /* (non-Javadoc)
  * @see org.osaf.cosmo.model.copy.InterfaceTicket#isReadOnly()
  */
 public boolean isReadOnly() {
   TicketType type = getType();
   return type != null && type.equals(TicketType.READ_ONLY);
 }
Exemple #3
0
 /* (non-Javadoc)
  * @see org.osaf.cosmo.model.copy.InterfaceTicket#isReadWrite()
  */
 public boolean isReadWrite() {
   TicketType type = getType();
   return type != null && type.equals(TicketType.READ_WRITE);
 }
Exemple #4
0
 private void setTypePrivileges(TicketType type) {
   for (String p : type.getPrivileges()) privileges.add(p);
 }