001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portal.service.persistence;
016    
017    import com.liferay.portal.model.UserIdMapper;
018    
019    /**
020     * @author    Brian Wing Shun Chan
021     * @see       UserIdMapperPersistenceImpl
022     * @see       UserIdMapperUtil
023     * @generated
024     */
025    public interface UserIdMapperPersistence extends BasePersistence<UserIdMapper> {
026            public void cacheResult(com.liferay.portal.model.UserIdMapper userIdMapper);
027    
028            public void cacheResult(
029                    java.util.List<com.liferay.portal.model.UserIdMapper> userIdMappers);
030    
031            public com.liferay.portal.model.UserIdMapper create(long userIdMapperId);
032    
033            public com.liferay.portal.model.UserIdMapper remove(long userIdMapperId)
034                    throws com.liferay.portal.NoSuchUserIdMapperException,
035                            com.liferay.portal.kernel.exception.SystemException;
036    
037            public com.liferay.portal.model.UserIdMapper updateImpl(
038                    com.liferay.portal.model.UserIdMapper userIdMapper, boolean merge)
039                    throws com.liferay.portal.kernel.exception.SystemException;
040    
041            public com.liferay.portal.model.UserIdMapper findByPrimaryKey(
042                    long userIdMapperId)
043                    throws com.liferay.portal.NoSuchUserIdMapperException,
044                            com.liferay.portal.kernel.exception.SystemException;
045    
046            public com.liferay.portal.model.UserIdMapper fetchByPrimaryKey(
047                    long userIdMapperId)
048                    throws com.liferay.portal.kernel.exception.SystemException;
049    
050            public java.util.List<com.liferay.portal.model.UserIdMapper> findByUserId(
051                    long userId) throws com.liferay.portal.kernel.exception.SystemException;
052    
053            public java.util.List<com.liferay.portal.model.UserIdMapper> findByUserId(
054                    long userId, int start, int end)
055                    throws com.liferay.portal.kernel.exception.SystemException;
056    
057            public java.util.List<com.liferay.portal.model.UserIdMapper> findByUserId(
058                    long userId, int start, int end,
059                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
060                    throws com.liferay.portal.kernel.exception.SystemException;
061    
062            public com.liferay.portal.model.UserIdMapper findByUserId_First(
063                    long userId,
064                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
065                    throws com.liferay.portal.NoSuchUserIdMapperException,
066                            com.liferay.portal.kernel.exception.SystemException;
067    
068            public com.liferay.portal.model.UserIdMapper findByUserId_Last(
069                    long userId,
070                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
071                    throws com.liferay.portal.NoSuchUserIdMapperException,
072                            com.liferay.portal.kernel.exception.SystemException;
073    
074            public com.liferay.portal.model.UserIdMapper[] findByUserId_PrevAndNext(
075                    long userIdMapperId, long userId,
076                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
077                    throws com.liferay.portal.NoSuchUserIdMapperException,
078                            com.liferay.portal.kernel.exception.SystemException;
079    
080            public com.liferay.portal.model.UserIdMapper findByU_T(long userId,
081                    java.lang.String type)
082                    throws com.liferay.portal.NoSuchUserIdMapperException,
083                            com.liferay.portal.kernel.exception.SystemException;
084    
085            public com.liferay.portal.model.UserIdMapper fetchByU_T(long userId,
086                    java.lang.String type)
087                    throws com.liferay.portal.kernel.exception.SystemException;
088    
089            public com.liferay.portal.model.UserIdMapper fetchByU_T(long userId,
090                    java.lang.String type, boolean retrieveFromCache)
091                    throws com.liferay.portal.kernel.exception.SystemException;
092    
093            public com.liferay.portal.model.UserIdMapper findByT_E(
094                    java.lang.String type, java.lang.String externalUserId)
095                    throws com.liferay.portal.NoSuchUserIdMapperException,
096                            com.liferay.portal.kernel.exception.SystemException;
097    
098            public com.liferay.portal.model.UserIdMapper fetchByT_E(
099                    java.lang.String type, java.lang.String externalUserId)
100                    throws com.liferay.portal.kernel.exception.SystemException;
101    
102            public com.liferay.portal.model.UserIdMapper fetchByT_E(
103                    java.lang.String type, java.lang.String externalUserId,
104                    boolean retrieveFromCache)
105                    throws com.liferay.portal.kernel.exception.SystemException;
106    
107            public java.util.List<com.liferay.portal.model.UserIdMapper> findAll()
108                    throws com.liferay.portal.kernel.exception.SystemException;
109    
110            public java.util.List<com.liferay.portal.model.UserIdMapper> findAll(
111                    int start, int end)
112                    throws com.liferay.portal.kernel.exception.SystemException;
113    
114            public java.util.List<com.liferay.portal.model.UserIdMapper> findAll(
115                    int start, int end,
116                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
117                    throws com.liferay.portal.kernel.exception.SystemException;
118    
119            public void removeByUserId(long userId)
120                    throws com.liferay.portal.kernel.exception.SystemException;
121    
122            public void removeByU_T(long userId, java.lang.String type)
123                    throws com.liferay.portal.NoSuchUserIdMapperException,
124                            com.liferay.portal.kernel.exception.SystemException;
125    
126            public void removeByT_E(java.lang.String type,
127                    java.lang.String externalUserId)
128                    throws com.liferay.portal.NoSuchUserIdMapperException,
129                            com.liferay.portal.kernel.exception.SystemException;
130    
131            public void removeAll()
132                    throws com.liferay.portal.kernel.exception.SystemException;
133    
134            public int countByUserId(long userId)
135                    throws com.liferay.portal.kernel.exception.SystemException;
136    
137            public int countByU_T(long userId, java.lang.String type)
138                    throws com.liferay.portal.kernel.exception.SystemException;
139    
140            public int countByT_E(java.lang.String type, java.lang.String externalUserId)
141                    throws com.liferay.portal.kernel.exception.SystemException;
142    
143            public int countAll()
144                    throws com.liferay.portal.kernel.exception.SystemException;
145    }