Changeset 439

Show
Ignore:
Timestamp:
05/02/06 15:21:35
Author:
douglm
Message:

Remove unused property and method

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/calendar3/calsvc/src/org/bedework/calsvc/CalSvc.java

    r436 r439  
    997997  } 
    998998 
    999   public boolean getSubscribed(BwCalendar val) throws CalFacadeException { 
    1000     BwSubscription sub = BwSubscription.makeSubscription(val, null, false, false, false); 
    1001     setupOwnedEntity(sub); 
    1002  
    1003     return getPreferences().getSubscriptions().contains(sub); 
    1004   } 
    1005  
    1006999  public Collection getSubscriptions() throws CalFacadeException { 
    10071000    Collection c = getPreferences().getSubscriptions(); 
  • trunk/calendar3/calsvci/src/org/bedework/calsvci/CalSvcI.java

    r436 r439  
    545545   * of a calendar. 
    546546   * 
     547   * @deprecated 
    547548   * @param  val     int id of calendar 
    548549   * @return CalendarVO null for unknown calendar 
     
    769770   */ 
    770771  public abstract void updateSubscription(BwSubscription val) throws CalFacadeException; 
    771  
    772   /** Return true if the user is subscribed to the given calendar 
    773    * 
    774    * @param val        BwCalendar object 
    775    * @return boolean   true is user is subscribed to indicated calendar 
    776    * @throws CalFacadeException 
    777    */ 
    778   public abstract boolean getSubscribed(BwCalendar val) throws CalFacadeException; 
    779772 
    780773  /** Get this users subscription. 
  • trunk/calendar3/webclient/src/org/bedework/webclient/BwActionForm.java

    r375 r439  
    6363import org.bedework.appcommon.EventFormatter; 
    6464import org.bedework.appcommon.MyCalendarVO; 
    65 import org.bedework.calfacade.BwCalendar; 
    6665import org.bedework.webcommon.DurationBean; 
    6766import org.bedework.webcommon.BwActionFormBase; 
     
    187186 
    188187  /* ==================================================================== 
    189    *                   Subscriptions 
    190    * ==================================================================== */ 
    191  
    192   /** Allows us to generate checkboxes showing subscribed status 
    193    * 
    194    * @param  i         int key of calendar 
    195    * @return boolean   true is user is subscribed to indicated calendar 
    196    */ 
    197   public boolean getSubscribed(int i) { 
    198     try { 
    199       BwCalendar cal = fetchSvci().getCalendar(i); 
    200  
    201       if (cal == null) { 
    202         return false; 
    203       } 
    204       return fetchSvci().getSubscribed(cal); 
    205     } catch (Throwable t) { 
    206       err.emit(t); 
    207       return false; 
    208     } 
    209   } 
    210  
    211   /* ==================================================================== 
    212188   *                   Events 
    213189   * ==================================================================== */