1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * This library is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU Lesser General Public License as published by the Free
6    * Software Foundation; either version 2.1 of the License, or (at your option)
7    * any later version.
8    *
9    * This library is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   * details.
13   */
14  
15  package com.liferay.portal.service.persistence;
16  
17  import com.liferay.portal.model.UserIdMapper;
18  
19  /**
20   * <a href="UserIdMapperPersistence.java.html"><b><i>View Source</i></b></a>
21   *
22   * <p>
23   * ServiceBuilder generated this class. Modifications in this class will be
24   * overwritten the next time is generated.
25   * </p>
26   *
27   * @author    Brian Wing Shun Chan
28   * @see       UserIdMapperPersistenceImpl
29   * @see       UserIdMapperUtil
30   * @generated
31   */
32  public interface UserIdMapperPersistence extends BasePersistence<UserIdMapper> {
33      public void cacheResult(com.liferay.portal.model.UserIdMapper userIdMapper);
34  
35      public void cacheResult(
36          java.util.List<com.liferay.portal.model.UserIdMapper> userIdMappers);
37  
38      public com.liferay.portal.model.UserIdMapper create(long userIdMapperId);
39  
40      public com.liferay.portal.model.UserIdMapper remove(long userIdMapperId)
41          throws com.liferay.portal.NoSuchUserIdMapperException,
42              com.liferay.portal.kernel.exception.SystemException;
43  
44      public com.liferay.portal.model.UserIdMapper updateImpl(
45          com.liferay.portal.model.UserIdMapper userIdMapper, boolean merge)
46          throws com.liferay.portal.kernel.exception.SystemException;
47  
48      public com.liferay.portal.model.UserIdMapper findByPrimaryKey(
49          long userIdMapperId)
50          throws com.liferay.portal.NoSuchUserIdMapperException,
51              com.liferay.portal.kernel.exception.SystemException;
52  
53      public com.liferay.portal.model.UserIdMapper fetchByPrimaryKey(
54          long userIdMapperId)
55          throws com.liferay.portal.kernel.exception.SystemException;
56  
57      public java.util.List<com.liferay.portal.model.UserIdMapper> findByUserId(
58          long userId) throws com.liferay.portal.kernel.exception.SystemException;
59  
60      public java.util.List<com.liferay.portal.model.UserIdMapper> findByUserId(
61          long userId, int start, int end)
62          throws com.liferay.portal.kernel.exception.SystemException;
63  
64      public java.util.List<com.liferay.portal.model.UserIdMapper> findByUserId(
65          long userId, int start, int end,
66          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
67          throws com.liferay.portal.kernel.exception.SystemException;
68  
69      public com.liferay.portal.model.UserIdMapper findByUserId_First(
70          long userId,
71          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
72          throws com.liferay.portal.NoSuchUserIdMapperException,
73              com.liferay.portal.kernel.exception.SystemException;
74  
75      public com.liferay.portal.model.UserIdMapper findByUserId_Last(
76          long userId,
77          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
78          throws com.liferay.portal.NoSuchUserIdMapperException,
79              com.liferay.portal.kernel.exception.SystemException;
80  
81      public com.liferay.portal.model.UserIdMapper[] findByUserId_PrevAndNext(
82          long userIdMapperId, long userId,
83          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
84          throws com.liferay.portal.NoSuchUserIdMapperException,
85              com.liferay.portal.kernel.exception.SystemException;
86  
87      public com.liferay.portal.model.UserIdMapper findByU_T(long userId,
88          java.lang.String type)
89          throws com.liferay.portal.NoSuchUserIdMapperException,
90              com.liferay.portal.kernel.exception.SystemException;
91  
92      public com.liferay.portal.model.UserIdMapper fetchByU_T(long userId,
93          java.lang.String type)
94          throws com.liferay.portal.kernel.exception.SystemException;
95  
96      public com.liferay.portal.model.UserIdMapper fetchByU_T(long userId,
97          java.lang.String type, boolean retrieveFromCache)
98          throws com.liferay.portal.kernel.exception.SystemException;
99  
100     public com.liferay.portal.model.UserIdMapper findByT_E(
101         java.lang.String type, java.lang.String externalUserId)
102         throws com.liferay.portal.NoSuchUserIdMapperException,
103             com.liferay.portal.kernel.exception.SystemException;
104 
105     public com.liferay.portal.model.UserIdMapper fetchByT_E(
106         java.lang.String type, java.lang.String externalUserId)
107         throws com.liferay.portal.kernel.exception.SystemException;
108 
109     public com.liferay.portal.model.UserIdMapper fetchByT_E(
110         java.lang.String type, java.lang.String externalUserId,
111         boolean retrieveFromCache)
112         throws com.liferay.portal.kernel.exception.SystemException;
113 
114     public java.util.List<com.liferay.portal.model.UserIdMapper> findAll()
115         throws com.liferay.portal.kernel.exception.SystemException;
116 
117     public java.util.List<com.liferay.portal.model.UserIdMapper> findAll(
118         int start, int end)
119         throws com.liferay.portal.kernel.exception.SystemException;
120 
121     public java.util.List<com.liferay.portal.model.UserIdMapper> findAll(
122         int start, int end,
123         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
124         throws com.liferay.portal.kernel.exception.SystemException;
125 
126     public void removeByUserId(long userId)
127         throws com.liferay.portal.kernel.exception.SystemException;
128 
129     public void removeByU_T(long userId, java.lang.String type)
130         throws com.liferay.portal.NoSuchUserIdMapperException,
131             com.liferay.portal.kernel.exception.SystemException;
132 
133     public void removeByT_E(java.lang.String type,
134         java.lang.String externalUserId)
135         throws com.liferay.portal.NoSuchUserIdMapperException,
136             com.liferay.portal.kernel.exception.SystemException;
137 
138     public void removeAll()
139         throws com.liferay.portal.kernel.exception.SystemException;
140 
141     public int countByUserId(long userId)
142         throws com.liferay.portal.kernel.exception.SystemException;
143 
144     public int countByU_T(long userId, java.lang.String type)
145         throws com.liferay.portal.kernel.exception.SystemException;
146 
147     public int countByT_E(java.lang.String type, java.lang.String externalUserId)
148         throws com.liferay.portal.kernel.exception.SystemException;
149 
150     public int countAll()
151         throws com.liferay.portal.kernel.exception.SystemException;
152 }