1
22
23 package com.liferay.portal.service;
24
25 import com.liferay.portal.PortalException;
26 import com.liferay.portal.SystemException;
27 import com.liferay.portal.kernel.annotation.Isolation;
28 import com.liferay.portal.kernel.annotation.Propagation;
29 import com.liferay.portal.kernel.annotation.Transactional;
30
31
55 @Transactional(isolation = Isolation.PORTAL, rollbackFor = {
56 PortalException.class, SystemException.class})
57 public interface UserIdMapperLocalService {
58 public com.liferay.portal.model.UserIdMapper addUserIdMapper(
59 com.liferay.portal.model.UserIdMapper userIdMapper)
60 throws com.liferay.portal.SystemException;
61
62 public com.liferay.portal.model.UserIdMapper createUserIdMapper(
63 long userIdMapperId);
64
65 public void deleteUserIdMapper(long userIdMapperId)
66 throws com.liferay.portal.SystemException,
67 com.liferay.portal.PortalException;
68
69 public void deleteUserIdMapper(
70 com.liferay.portal.model.UserIdMapper userIdMapper)
71 throws com.liferay.portal.SystemException;
72
73 public java.util.List<Object> dynamicQuery(
74 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
75 throws com.liferay.portal.SystemException;
76
77 public java.util.List<Object> dynamicQuery(
78 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
79 int end) throws com.liferay.portal.SystemException;
80
81 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
82 public com.liferay.portal.model.UserIdMapper getUserIdMapper(
83 long userIdMapperId)
84 throws com.liferay.portal.SystemException,
85 com.liferay.portal.PortalException;
86
87 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
88 public java.util.List<com.liferay.portal.model.UserIdMapper> getUserIdMappers(
89 int start, int end) throws com.liferay.portal.SystemException;
90
91 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
92 public int getUserIdMappersCount()
93 throws com.liferay.portal.SystemException;
94
95 public com.liferay.portal.model.UserIdMapper updateUserIdMapper(
96 com.liferay.portal.model.UserIdMapper userIdMapper)
97 throws com.liferay.portal.SystemException;
98
99 public com.liferay.portal.model.UserIdMapper updateUserIdMapper(
100 com.liferay.portal.model.UserIdMapper userIdMapper, boolean merge)
101 throws com.liferay.portal.SystemException;
102
103 public void deleteUserIdMappers(long userId)
104 throws com.liferay.portal.SystemException;
105
106 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
107 public com.liferay.portal.model.UserIdMapper getUserIdMapper(long userId,
108 java.lang.String type)
109 throws com.liferay.portal.PortalException,
110 com.liferay.portal.SystemException;
111
112 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
113 public com.liferay.portal.model.UserIdMapper getUserIdMapperByExternalUserId(
114 java.lang.String type, java.lang.String externalUserId)
115 throws com.liferay.portal.PortalException,
116 com.liferay.portal.SystemException;
117
118 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
119 public java.util.List<com.liferay.portal.model.UserIdMapper> getUserIdMappers(
120 long userId) throws com.liferay.portal.SystemException;
121
122 public com.liferay.portal.model.UserIdMapper updateUserIdMapper(
123 long userId, java.lang.String type, java.lang.String description,
124 java.lang.String externalUserId)
125 throws com.liferay.portal.SystemException;
126 }