Class CalendarTestUtil

java.lang.Object
com.liferay.calendar.test.util.CalendarTestUtil

public class CalendarTestUtil extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static com.liferay.calendar.model.Calendar
    addCalendar(com.liferay.calendar.model.CalendarResource calendarResource, com.liferay.portal.kernel.service.ServiceContext serviceContext)
     
    static com.liferay.calendar.model.Calendar
    addCalendar(com.liferay.portal.kernel.model.Group group)
     
    static com.liferay.calendar.model.Calendar
    addCalendar(com.liferay.portal.kernel.model.Group group, com.liferay.portal.kernel.service.ServiceContext serviceContext)
     
    static com.liferay.calendar.model.Calendar
    addCalendar(com.liferay.portal.kernel.model.Group group, TimeZone timeZone, com.liferay.portal.kernel.service.ServiceContext serviceContext)
     
    static com.liferay.calendar.model.Calendar
    addCalendar(com.liferay.portal.kernel.model.User user)
     
    static com.liferay.calendar.model.Calendar
    addCalendar(com.liferay.portal.kernel.model.User user, com.liferay.portal.kernel.service.ServiceContext serviceContext)
     
    static com.liferay.calendar.model.Calendar
    addCalendar(com.liferay.portal.kernel.model.User user, TimeZone timeZone, com.liferay.portal.kernel.service.ServiceContext serviceContext)
     
    static com.liferay.calendar.model.Calendar
    addCalendarResourceCalendar(com.liferay.portal.kernel.model.Group group)
     
    static com.liferay.calendar.model.Calendar
    addCalendarResourceCalendar(com.liferay.portal.kernel.model.User user)
     
    static com.liferay.portal.kernel.service.ServiceContext
    createServiceContext(com.liferay.portal.kernel.model.User user)
     
    static com.liferay.calendar.model.Calendar
    getDefaultCalendar(com.liferay.portal.kernel.model.Group group)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CalendarTestUtil

      public CalendarTestUtil()
  • Method Details

    • addCalendar

      public static com.liferay.calendar.model.Calendar addCalendar(com.liferay.calendar.model.CalendarResource calendarResource, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addCalendar

      public static com.liferay.calendar.model.Calendar addCalendar(com.liferay.portal.kernel.model.Group group) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addCalendar

      public static com.liferay.calendar.model.Calendar addCalendar(com.liferay.portal.kernel.model.Group group, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addCalendar

      public static com.liferay.calendar.model.Calendar addCalendar(com.liferay.portal.kernel.model.Group group, TimeZone timeZone, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addCalendar

      public static com.liferay.calendar.model.Calendar addCalendar(com.liferay.portal.kernel.model.User user) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addCalendar

      public static com.liferay.calendar.model.Calendar addCalendar(com.liferay.portal.kernel.model.User user, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addCalendar

      public static com.liferay.calendar.model.Calendar addCalendar(com.liferay.portal.kernel.model.User user, TimeZone timeZone, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addCalendarResourceCalendar

      public static com.liferay.calendar.model.Calendar addCalendarResourceCalendar(com.liferay.portal.kernel.model.Group group) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addCalendarResourceCalendar

      public static com.liferay.calendar.model.Calendar addCalendarResourceCalendar(com.liferay.portal.kernel.model.User user) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • createServiceContext

      public static com.liferay.portal.kernel.service.ServiceContext createServiceContext(com.liferay.portal.kernel.model.User user)
    • getDefaultCalendar

      public static com.liferay.calendar.model.Calendar getDefaultCalendar(com.liferay.portal.kernel.model.Group group) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException