1
19
20 package com.liferay.portal.service;
21
22
23
44 public class UserTrackerLocalServiceUtil {
45 public static com.liferay.portal.model.UserTracker addUserTracker(
46 com.liferay.portal.model.UserTracker userTracker)
47 throws com.liferay.portal.SystemException {
48 return getService().addUserTracker(userTracker);
49 }
50
51 public static com.liferay.portal.model.UserTracker createUserTracker(
52 long userTrackerId) {
53 return getService().createUserTracker(userTrackerId);
54 }
55
56 public static void deleteUserTracker(long userTrackerId)
57 throws com.liferay.portal.PortalException,
58 com.liferay.portal.SystemException {
59 getService().deleteUserTracker(userTrackerId);
60 }
61
62 public static void deleteUserTracker(
63 com.liferay.portal.model.UserTracker userTracker)
64 throws com.liferay.portal.SystemException {
65 getService().deleteUserTracker(userTracker);
66 }
67
68 public static java.util.List<Object> dynamicQuery(
69 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
70 throws com.liferay.portal.SystemException {
71 return getService().dynamicQuery(dynamicQuery);
72 }
73
74 public static java.util.List<Object> dynamicQuery(
75 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
76 int end) throws com.liferay.portal.SystemException {
77 return getService().dynamicQuery(dynamicQuery, start, end);
78 }
79
80 public static com.liferay.portal.model.UserTracker getUserTracker(
81 long userTrackerId)
82 throws com.liferay.portal.PortalException,
83 com.liferay.portal.SystemException {
84 return getService().getUserTracker(userTrackerId);
85 }
86
87 public static java.util.List<com.liferay.portal.model.UserTracker> getUserTrackers(
88 int start, int end) throws com.liferay.portal.SystemException {
89 return getService().getUserTrackers(start, end);
90 }
91
92 public static int getUserTrackersCount()
93 throws com.liferay.portal.SystemException {
94 return getService().getUserTrackersCount();
95 }
96
97 public static com.liferay.portal.model.UserTracker updateUserTracker(
98 com.liferay.portal.model.UserTracker userTracker)
99 throws com.liferay.portal.SystemException {
100 return getService().updateUserTracker(userTracker);
101 }
102
103 public static com.liferay.portal.model.UserTracker updateUserTracker(
104 com.liferay.portal.model.UserTracker userTracker, boolean merge)
105 throws com.liferay.portal.SystemException {
106 return getService().updateUserTracker(userTracker, merge);
107 }
108
109 public static com.liferay.portal.model.UserTracker addUserTracker(
110 long companyId, long userId, java.util.Date modifiedDate,
111 java.lang.String sessionId, java.lang.String remoteAddr,
112 java.lang.String remoteHost, java.lang.String userAgent,
113 java.util.List<com.liferay.portal.model.UserTrackerPath> userTrackerPaths)
114 throws com.liferay.portal.SystemException {
115 return getService()
116 .addUserTracker(companyId, userId, modifiedDate, sessionId,
117 remoteAddr, remoteHost, userAgent, userTrackerPaths);
118 }
119
120 public static java.util.List<com.liferay.portal.model.UserTracker> getUserTrackers(
121 long companyId, int start, int end)
122 throws com.liferay.portal.SystemException {
123 return getService().getUserTrackers(companyId, start, end);
124 }
125
126 public static UserTrackerLocalService getService() {
127 if (_service == null) {
128 throw new RuntimeException("UserTrackerLocalService is not set");
129 }
130
131 return _service;
132 }
133
134 public void setService(UserTrackerLocalService service) {
135 _service = service;
136 }
137
138 private static UserTrackerLocalService _service;
139 }