org.rapla.gui
Interface CalendarModel

All Superinterfaces:
Cloneable

public interface CalendarModel
extends Cloneable


Field Summary
static String ROLE
           
 
Method Summary
 Object clone()
           
 Date getEndDate()
           
 String getNonEmptyTitle()
           
 Reservation[] getReservations()
           
 Reservation[] getReservations(Date startDate, Date endDate)
           
 Allocatable[] getSelectedAllocatables()
          Convenience method to extract the allocatables from the selectedObjects and their children
 Date getSelectedDate()
           
 Collection getSelectedObjects()
           
 Collection getSelectedObjectsAndChildren()
           
 User[] getSelectedUsers()
           
 int getSize()
           
 Date getStartDate()
           
 User getUser()
           
 void setEndDate(Date date)
           
 void setSelectedDate(Date date)
           
 void setStartDate(Date date)
           
 

Field Detail

ROLE

static final String ROLE
Method Detail

getNonEmptyTitle

String getNonEmptyTitle()

getUser

User getUser()

getSelectedDate

Date getSelectedDate()

setSelectedDate

void setSelectedDate(Date date)

getStartDate

Date getStartDate()

setStartDate

void setStartDate(Date date)

getSize

int getSize()

getEndDate

Date getEndDate()

setEndDate

void setEndDate(Date date)

getSelectedObjects

Collection getSelectedObjects()

getSelectedObjectsAndChildren

Collection getSelectedObjectsAndChildren()
                                         throws RaplaException
Throws:
RaplaException

getSelectedAllocatables

Allocatable[] getSelectedAllocatables()
                                      throws RaplaException
Convenience method to extract the allocatables from the selectedObjects and their children

Throws:
RaplaException
See Also:
getSelectedObjectsAndChildren()

getSelectedUsers

User[] getSelectedUsers()
                        throws RaplaException
Throws:
RaplaException

getReservations

Reservation[] getReservations(Date startDate,
                              Date endDate)
                              throws RaplaException
Throws:
RaplaException

getReservations

Reservation[] getReservations()
                              throws RaplaException
Throws:
RaplaException

clone

Object clone()


Copyright © 2000-2006 Rapla Team. All Rights Reseserved.