Package com.liferay.calendar.test.util
Class CalendarTestUtil
java.lang.Object
com.liferay.calendar.test.util.CalendarTestUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic com.liferay.calendar.model.CalendaraddCalendar(com.liferay.calendar.model.CalendarResource calendarResource, com.liferay.portal.kernel.service.ServiceContext serviceContext) static com.liferay.calendar.model.CalendaraddCalendar(com.liferay.portal.kernel.model.Group group) static com.liferay.calendar.model.CalendaraddCalendar(com.liferay.portal.kernel.model.Group group, com.liferay.portal.kernel.service.ServiceContext serviceContext) static com.liferay.calendar.model.CalendaraddCalendar(com.liferay.portal.kernel.model.Group group, TimeZone timeZone, com.liferay.portal.kernel.service.ServiceContext serviceContext) static com.liferay.calendar.model.CalendaraddCalendar(com.liferay.portal.kernel.model.User user) static com.liferay.calendar.model.CalendaraddCalendar(com.liferay.portal.kernel.model.User user, com.liferay.portal.kernel.service.ServiceContext serviceContext) static com.liferay.calendar.model.CalendaraddCalendar(com.liferay.portal.kernel.model.User user, TimeZone timeZone, com.liferay.portal.kernel.service.ServiceContext serviceContext) static com.liferay.calendar.model.CalendaraddCalendarResourceCalendar(com.liferay.portal.kernel.model.Group group) static com.liferay.calendar.model.CalendaraddCalendarResourceCalendar(com.liferay.portal.kernel.model.User user) static com.liferay.portal.kernel.service.ServiceContextcreateServiceContext(com.liferay.portal.kernel.model.User user) static com.liferay.calendar.model.CalendargetDefaultCalendar(com.liferay.portal.kernel.model.Group group)
-
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
-