1
14
15 package com.liferay.portal.service;
16
17 import com.liferay.portal.PortalException;
18 import com.liferay.portal.SystemException;
19 import com.liferay.portal.kernel.annotation.Isolation;
20 import com.liferay.portal.kernel.annotation.Propagation;
21 import com.liferay.portal.kernel.annotation.Transactional;
22
23
47 @Transactional(isolation = Isolation.PORTAL, rollbackFor = {
48 PortalException.class, SystemException.class})
49 public interface UserIdMapperLocalService {
50 public com.liferay.portal.model.UserIdMapper addUserIdMapper(
51 com.liferay.portal.model.UserIdMapper userIdMapper)
52 throws com.liferay.portal.SystemException;
53
54 public com.liferay.portal.model.UserIdMapper createUserIdMapper(
55 long userIdMapperId);
56
57 public void deleteUserIdMapper(long userIdMapperId)
58 throws com.liferay.portal.PortalException,
59 com.liferay.portal.SystemException;
60
61 public void deleteUserIdMapper(
62 com.liferay.portal.model.UserIdMapper userIdMapper)
63 throws com.liferay.portal.SystemException;
64
65 public java.util.List<Object> dynamicQuery(
66 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
67 throws com.liferay.portal.SystemException;
68
69 public 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
73 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
74 public com.liferay.portal.model.UserIdMapper getUserIdMapper(
75 long userIdMapperId)
76 throws com.liferay.portal.PortalException,
77 com.liferay.portal.SystemException;
78
79 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
80 public java.util.List<com.liferay.portal.model.UserIdMapper> getUserIdMappers(
81 int start, int end) throws com.liferay.portal.SystemException;
82
83 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
84 public int getUserIdMappersCount()
85 throws com.liferay.portal.SystemException;
86
87 public com.liferay.portal.model.UserIdMapper updateUserIdMapper(
88 com.liferay.portal.model.UserIdMapper userIdMapper)
89 throws com.liferay.portal.SystemException;
90
91 public com.liferay.portal.model.UserIdMapper updateUserIdMapper(
92 com.liferay.portal.model.UserIdMapper userIdMapper, boolean merge)
93 throws com.liferay.portal.SystemException;
94
95 public void deleteUserIdMappers(long userId)
96 throws com.liferay.portal.SystemException;
97
98 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
99 public com.liferay.portal.model.UserIdMapper getUserIdMapper(long userId,
100 java.lang.String type)
101 throws com.liferay.portal.PortalException,
102 com.liferay.portal.SystemException;
103
104 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
105 public com.liferay.portal.model.UserIdMapper getUserIdMapperByExternalUserId(
106 java.lang.String type, java.lang.String externalUserId)
107 throws com.liferay.portal.PortalException,
108 com.liferay.portal.SystemException;
109
110 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
111 public java.util.List<com.liferay.portal.model.UserIdMapper> getUserIdMappers(
112 long userId) throws com.liferay.portal.SystemException;
113
114 public com.liferay.portal.model.UserIdMapper updateUserIdMapper(
115 long userId, java.lang.String type, java.lang.String description,
116 java.lang.String externalUserId)
117 throws com.liferay.portal.SystemException;
118 }