1
22
23 package com.liferay.portal.service;
24
25
26
53 public class UserIdMapperLocalServiceUtil {
54 public static com.liferay.portal.model.UserIdMapper addUserIdMapper(
55 com.liferay.portal.model.UserIdMapper userIdMapper)
56 throws com.liferay.portal.SystemException {
57 UserIdMapperLocalService userIdMapperLocalService = UserIdMapperLocalServiceFactory.getService();
58
59 return userIdMapperLocalService.addUserIdMapper(userIdMapper);
60 }
61
62 public static void deleteUserIdMapper(long userIdMapperId)
63 throws com.liferay.portal.PortalException,
64 com.liferay.portal.SystemException {
65 UserIdMapperLocalService userIdMapperLocalService = UserIdMapperLocalServiceFactory.getService();
66
67 userIdMapperLocalService.deleteUserIdMapper(userIdMapperId);
68 }
69
70 public static void deleteUserIdMapper(
71 com.liferay.portal.model.UserIdMapper userIdMapper)
72 throws com.liferay.portal.SystemException {
73 UserIdMapperLocalService userIdMapperLocalService = UserIdMapperLocalServiceFactory.getService();
74
75 userIdMapperLocalService.deleteUserIdMapper(userIdMapper);
76 }
77
78 public static java.util.List<Object> dynamicQuery(
79 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
80 throws com.liferay.portal.SystemException {
81 UserIdMapperLocalService userIdMapperLocalService = UserIdMapperLocalServiceFactory.getService();
82
83 return userIdMapperLocalService.dynamicQuery(dynamicQuery);
84 }
85
86 public static java.util.List<Object> dynamicQuery(
87 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
88 int end) throws com.liferay.portal.SystemException {
89 UserIdMapperLocalService userIdMapperLocalService = UserIdMapperLocalServiceFactory.getService();
90
91 return userIdMapperLocalService.dynamicQuery(dynamicQuery, start, end);
92 }
93
94 public static com.liferay.portal.model.UserIdMapper getUserIdMapper(
95 long userIdMapperId)
96 throws com.liferay.portal.PortalException,
97 com.liferay.portal.SystemException {
98 UserIdMapperLocalService userIdMapperLocalService = UserIdMapperLocalServiceFactory.getService();
99
100 return userIdMapperLocalService.getUserIdMapper(userIdMapperId);
101 }
102
103 public static com.liferay.portal.model.UserIdMapper updateUserIdMapper(
104 com.liferay.portal.model.UserIdMapper userIdMapper)
105 throws com.liferay.portal.SystemException {
106 UserIdMapperLocalService userIdMapperLocalService = UserIdMapperLocalServiceFactory.getService();
107
108 return userIdMapperLocalService.updateUserIdMapper(userIdMapper);
109 }
110
111 public static void deleteUserIdMappers(long userId)
112 throws com.liferay.portal.SystemException {
113 UserIdMapperLocalService userIdMapperLocalService = UserIdMapperLocalServiceFactory.getService();
114
115 userIdMapperLocalService.deleteUserIdMappers(userId);
116 }
117
118 public static com.liferay.portal.model.UserIdMapper getUserIdMapper(
119 long userId, java.lang.String type)
120 throws com.liferay.portal.PortalException,
121 com.liferay.portal.SystemException {
122 UserIdMapperLocalService userIdMapperLocalService = UserIdMapperLocalServiceFactory.getService();
123
124 return userIdMapperLocalService.getUserIdMapper(userId, type);
125 }
126
127 public static com.liferay.portal.model.UserIdMapper getUserIdMapperByExternalUserId(
128 java.lang.String type, java.lang.String externalUserId)
129 throws com.liferay.portal.PortalException,
130 com.liferay.portal.SystemException {
131 UserIdMapperLocalService userIdMapperLocalService = UserIdMapperLocalServiceFactory.getService();
132
133 return userIdMapperLocalService.getUserIdMapperByExternalUserId(type,
134 externalUserId);
135 }
136
137 public static java.util.List<com.liferay.portal.model.UserIdMapper> getUserIdMappers(
138 long userId) throws com.liferay.portal.SystemException {
139 UserIdMapperLocalService userIdMapperLocalService = UserIdMapperLocalServiceFactory.getService();
140
141 return userIdMapperLocalService.getUserIdMappers(userId);
142 }
143
144 public static com.liferay.portal.model.UserIdMapper updateUserIdMapper(
145 long userId, java.lang.String type, java.lang.String description,
146 java.lang.String externalUserId)
147 throws com.liferay.portal.SystemException {
148 UserIdMapperLocalService userIdMapperLocalService = UserIdMapperLocalServiceFactory.getService();
149
150 return userIdMapperLocalService.updateUserIdMapper(userId, type,
151 description, externalUserId);
152 }
153 }