1
14
15 package com.liferay.portal.service;
16
17 import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil;
18
19
39 public class UserIdMapperLocalServiceUtil {
40 public static com.liferay.portal.model.UserIdMapper addUserIdMapper(
41 com.liferay.portal.model.UserIdMapper userIdMapper)
42 throws com.liferay.portal.SystemException {
43 return getService().addUserIdMapper(userIdMapper);
44 }
45
46 public static com.liferay.portal.model.UserIdMapper createUserIdMapper(
47 long userIdMapperId) {
48 return getService().createUserIdMapper(userIdMapperId);
49 }
50
51 public static void deleteUserIdMapper(long userIdMapperId)
52 throws com.liferay.portal.PortalException,
53 com.liferay.portal.SystemException {
54 getService().deleteUserIdMapper(userIdMapperId);
55 }
56
57 public static void deleteUserIdMapper(
58 com.liferay.portal.model.UserIdMapper userIdMapper)
59 throws com.liferay.portal.SystemException {
60 getService().deleteUserIdMapper(userIdMapper);
61 }
62
63 public static java.util.List<Object> dynamicQuery(
64 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
65 throws com.liferay.portal.SystemException {
66 return getService().dynamicQuery(dynamicQuery);
67 }
68
69 public static java.util.List<Object> dynamicQuery(
70 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
71 int end) throws com.liferay.portal.SystemException {
72 return getService().dynamicQuery(dynamicQuery, start, end);
73 }
74
75 public static java.util.List<Object> dynamicQuery(
76 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
77 int end,
78 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
79 throws com.liferay.portal.SystemException {
80 return getService()
81 .dynamicQuery(dynamicQuery, start, end, orderByComparator);
82 }
83
84 public static int dynamicQueryCount(
85 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
86 throws com.liferay.portal.SystemException {
87 return getService().dynamicQueryCount(dynamicQuery);
88 }
89
90 public static com.liferay.portal.model.UserIdMapper getUserIdMapper(
91 long userIdMapperId)
92 throws com.liferay.portal.PortalException,
93 com.liferay.portal.SystemException {
94 return getService().getUserIdMapper(userIdMapperId);
95 }
96
97 public static java.util.List<com.liferay.portal.model.UserIdMapper> getUserIdMappers(
98 int start, int end) throws com.liferay.portal.SystemException {
99 return getService().getUserIdMappers(start, end);
100 }
101
102 public static int getUserIdMappersCount()
103 throws com.liferay.portal.SystemException {
104 return getService().getUserIdMappersCount();
105 }
106
107 public static com.liferay.portal.model.UserIdMapper updateUserIdMapper(
108 com.liferay.portal.model.UserIdMapper userIdMapper)
109 throws com.liferay.portal.SystemException {
110 return getService().updateUserIdMapper(userIdMapper);
111 }
112
113 public static com.liferay.portal.model.UserIdMapper updateUserIdMapper(
114 com.liferay.portal.model.UserIdMapper userIdMapper, boolean merge)
115 throws com.liferay.portal.SystemException {
116 return getService().updateUserIdMapper(userIdMapper, merge);
117 }
118
119 public static void deleteUserIdMappers(long userId)
120 throws com.liferay.portal.SystemException {
121 getService().deleteUserIdMappers(userId);
122 }
123
124 public static com.liferay.portal.model.UserIdMapper getUserIdMapper(
125 long userId, java.lang.String type)
126 throws com.liferay.portal.PortalException,
127 com.liferay.portal.SystemException {
128 return getService().getUserIdMapper(userId, type);
129 }
130
131 public static com.liferay.portal.model.UserIdMapper getUserIdMapperByExternalUserId(
132 java.lang.String type, java.lang.String externalUserId)
133 throws com.liferay.portal.PortalException,
134 com.liferay.portal.SystemException {
135 return getService().getUserIdMapperByExternalUserId(type, externalUserId);
136 }
137
138 public static java.util.List<com.liferay.portal.model.UserIdMapper> getUserIdMappers(
139 long userId) throws com.liferay.portal.SystemException {
140 return getService().getUserIdMappers(userId);
141 }
142
143 public static com.liferay.portal.model.UserIdMapper updateUserIdMapper(
144 long userId, java.lang.String type, java.lang.String description,
145 java.lang.String externalUserId)
146 throws com.liferay.portal.SystemException {
147 return getService()
148 .updateUserIdMapper(userId, type, description, externalUserId);
149 }
150
151 public static UserIdMapperLocalService getService() {
152 if (_service == null) {
153 _service = (UserIdMapperLocalService)PortalBeanLocatorUtil.locate(UserIdMapperLocalService.class.getName());
154 }
155
156 return _service;
157 }
158
159 public void setService(UserIdMapperLocalService service) {
160 _service = service;
161 }
162
163 private static UserIdMapperLocalService _service;
164 }