@Repository @Transactional public class OmCalendarDao extends Object
| コンストラクタと説明 |
|---|
OmCalendarDao() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
void |
delete(OmCalendar c)
Deletes the Calendar on the Database, along with all the Appointments associated with it.
|
List<OmCalendar> |
get() |
OmCalendar |
get(Long calId)
Returns the Calendar Specified by the Calendar ID.
|
List<OmCalendar> |
getByUser(Long userId)
Return all the Calendars that belong to the User.
|
List<OmCalendar> |
getGoogleCalendars(Long userId)
Returns all the Google Calendars associated with the user.
|
OmCalendar |
update(OmCalendar c)
Creates or Updates the given calendar.
|
public List<OmCalendar> get()
public OmCalendar get(Long calId)
calId - Calendar ID of the Calendar to return.public List<OmCalendar> getByUser(Long userId)
userId - User ID to whom the calendars belong.public List<OmCalendar> getGoogleCalendars(Long userId)
userId - User ID of the owner of the Calendarpublic OmCalendar update(OmCalendar c)
c - Calendar to Updatepublic void delete(OmCalendar c)
c - Calendar to DeleteCopyright © 2012–2017 Apache Software Foundation. All rights reserved.