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