001
014
015 package com.liferay.portal.service;
016
017 import com.liferay.portal.kernel.annotation.Isolation;
018 import com.liferay.portal.kernel.annotation.Propagation;
019 import com.liferay.portal.kernel.annotation.Transactional;
020 import com.liferay.portal.kernel.exception.PortalException;
021 import com.liferay.portal.kernel.exception.SystemException;
022
023
040 @Transactional(isolation = Isolation.PORTAL, rollbackFor = {
041 PortalException.class, SystemException.class})
042 public interface UserIdMapperLocalService {
043 public com.liferay.portal.model.UserIdMapper addUserIdMapper(
044 com.liferay.portal.model.UserIdMapper userIdMapper)
045 throws com.liferay.portal.kernel.exception.SystemException;
046
047 public com.liferay.portal.model.UserIdMapper createUserIdMapper(
048 long userIdMapperId);
049
050 public void deleteUserIdMapper(long userIdMapperId)
051 throws com.liferay.portal.kernel.exception.PortalException,
052 com.liferay.portal.kernel.exception.SystemException;
053
054 public void deleteUserIdMapper(
055 com.liferay.portal.model.UserIdMapper userIdMapper)
056 throws com.liferay.portal.kernel.exception.SystemException;
057
058 @SuppressWarnings("unchecked")
059 public java.util.List dynamicQuery(
060 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
061 throws com.liferay.portal.kernel.exception.SystemException;
062
063 @SuppressWarnings("unchecked")
064 public java.util.List dynamicQuery(
065 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
066 int end) throws com.liferay.portal.kernel.exception.SystemException;
067
068 @SuppressWarnings("unchecked")
069 public java.util.List dynamicQuery(
070 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
071 int end,
072 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
073 throws com.liferay.portal.kernel.exception.SystemException;
074
075 public long dynamicQueryCount(
076 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
077 throws com.liferay.portal.kernel.exception.SystemException;
078
079 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
080 public com.liferay.portal.model.UserIdMapper getUserIdMapper(
081 long userIdMapperId)
082 throws com.liferay.portal.kernel.exception.PortalException,
083 com.liferay.portal.kernel.exception.SystemException;
084
085 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
086 public java.util.List<com.liferay.portal.model.UserIdMapper> getUserIdMappers(
087 int start, int end)
088 throws com.liferay.portal.kernel.exception.SystemException;
089
090 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
091 public int getUserIdMappersCount()
092 throws com.liferay.portal.kernel.exception.SystemException;
093
094 public com.liferay.portal.model.UserIdMapper updateUserIdMapper(
095 com.liferay.portal.model.UserIdMapper userIdMapper)
096 throws com.liferay.portal.kernel.exception.SystemException;
097
098 public com.liferay.portal.model.UserIdMapper updateUserIdMapper(
099 com.liferay.portal.model.UserIdMapper userIdMapper, boolean merge)
100 throws com.liferay.portal.kernel.exception.SystemException;
101
102 public void deleteUserIdMappers(long userId)
103 throws com.liferay.portal.kernel.exception.SystemException;
104
105 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
106 public com.liferay.portal.model.UserIdMapper getUserIdMapper(long userId,
107 java.lang.String type)
108 throws com.liferay.portal.kernel.exception.PortalException,
109 com.liferay.portal.kernel.exception.SystemException;
110
111 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
112 public com.liferay.portal.model.UserIdMapper getUserIdMapperByExternalUserId(
113 java.lang.String type, java.lang.String externalUserId)
114 throws com.liferay.portal.kernel.exception.PortalException,
115 com.liferay.portal.kernel.exception.SystemException;
116
117 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
118 public java.util.List<com.liferay.portal.model.UserIdMapper> getUserIdMappers(
119 long userId) throws com.liferay.portal.kernel.exception.SystemException;
120
121 public com.liferay.portal.model.UserIdMapper updateUserIdMapper(
122 long userId, java.lang.String type, java.lang.String description,
123 java.lang.String externalUserId)
124 throws com.liferay.portal.kernel.exception.SystemException;
125 }