001
014
015 package com.liferay.portal.service;
016
017 import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil;
018
019
032 public class UserTrackerPathLocalServiceUtil {
033 public static com.liferay.portal.model.UserTrackerPath addUserTrackerPath(
034 com.liferay.portal.model.UserTrackerPath userTrackerPath)
035 throws com.liferay.portal.kernel.exception.SystemException {
036 return getService().addUserTrackerPath(userTrackerPath);
037 }
038
039 public static com.liferay.portal.model.UserTrackerPath createUserTrackerPath(
040 long userTrackerPathId) {
041 return getService().createUserTrackerPath(userTrackerPathId);
042 }
043
044 public static void deleteUserTrackerPath(long userTrackerPathId)
045 throws com.liferay.portal.kernel.exception.PortalException,
046 com.liferay.portal.kernel.exception.SystemException {
047 getService().deleteUserTrackerPath(userTrackerPathId);
048 }
049
050 public static void deleteUserTrackerPath(
051 com.liferay.portal.model.UserTrackerPath userTrackerPath)
052 throws com.liferay.portal.kernel.exception.SystemException {
053 getService().deleteUserTrackerPath(userTrackerPath);
054 }
055
056 @SuppressWarnings("unchecked")
057 public static java.util.List dynamicQuery(
058 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
059 throws com.liferay.portal.kernel.exception.SystemException {
060 return getService().dynamicQuery(dynamicQuery);
061 }
062
063 @SuppressWarnings("unchecked")
064 public static java.util.List dynamicQuery(
065 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
066 int end) throws com.liferay.portal.kernel.exception.SystemException {
067 return getService().dynamicQuery(dynamicQuery, start, end);
068 }
069
070 @SuppressWarnings("unchecked")
071 public static java.util.List dynamicQuery(
072 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
073 int end,
074 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
075 throws com.liferay.portal.kernel.exception.SystemException {
076 return getService()
077 .dynamicQuery(dynamicQuery, start, end, orderByComparator);
078 }
079
080 public static long dynamicQueryCount(
081 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
082 throws com.liferay.portal.kernel.exception.SystemException {
083 return getService().dynamicQueryCount(dynamicQuery);
084 }
085
086 public static com.liferay.portal.model.UserTrackerPath getUserTrackerPath(
087 long userTrackerPathId)
088 throws com.liferay.portal.kernel.exception.PortalException,
089 com.liferay.portal.kernel.exception.SystemException {
090 return getService().getUserTrackerPath(userTrackerPathId);
091 }
092
093 public static java.util.List<com.liferay.portal.model.UserTrackerPath> getUserTrackerPaths(
094 int start, int end)
095 throws com.liferay.portal.kernel.exception.SystemException {
096 return getService().getUserTrackerPaths(start, end);
097 }
098
099 public static int getUserTrackerPathsCount()
100 throws com.liferay.portal.kernel.exception.SystemException {
101 return getService().getUserTrackerPathsCount();
102 }
103
104 public static com.liferay.portal.model.UserTrackerPath updateUserTrackerPath(
105 com.liferay.portal.model.UserTrackerPath userTrackerPath)
106 throws com.liferay.portal.kernel.exception.SystemException {
107 return getService().updateUserTrackerPath(userTrackerPath);
108 }
109
110 public static com.liferay.portal.model.UserTrackerPath updateUserTrackerPath(
111 com.liferay.portal.model.UserTrackerPath userTrackerPath, boolean merge)
112 throws com.liferay.portal.kernel.exception.SystemException {
113 return getService().updateUserTrackerPath(userTrackerPath, merge);
114 }
115
116 public static java.util.List<com.liferay.portal.model.UserTrackerPath> getUserTrackerPaths(
117 long userTrackerId, int start, int end)
118 throws com.liferay.portal.kernel.exception.SystemException {
119 return getService().getUserTrackerPaths(userTrackerId, start, end);
120 }
121
122 public static UserTrackerPathLocalService getService() {
123 if (_service == null) {
124 _service = (UserTrackerPathLocalService)PortalBeanLocatorUtil.locate(UserTrackerPathLocalService.class.getName());
125 }
126
127 return _service;
128 }
129
130 public void setService(UserTrackerPathLocalService service) {
131 _service = service;
132 }
133
134 private static UserTrackerPathLocalService _service;
135 }