Source Code Cross Referenced for EmailAddressUtil.java in  » Portal » liferay-portal-4.4.2 » com » liferay » portal » service » persistence » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Portal » liferay portal 4.4.2 » com.liferay.portal.service.persistence 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /**
002:         * Copyright (c) 2000-2008 Liferay, Inc. All rights reserved.
003:         *
004:         * Permission is hereby granted, free of charge, to any person obtaining a copy
005:         * of this software and associated documentation files (the "Software"), to deal
006:         * in the Software without restriction, including without limitation the rights
007:         * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
008:         * copies of the Software, and to permit persons to whom the Software is
009:         * furnished to do so, subject to the following conditions:
010:         *
011:         * The above copyright notice and this permission notice shall be included in
012:         * all copies or substantial portions of the Software.
013:         *
014:         * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
015:         * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
016:         * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
017:         * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
018:         * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
019:         * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
020:         * SOFTWARE.
021:         */package com.liferay.portal.service.persistence;
022:
023:        /**
024:         * <a href="EmailAddressUtil.java.html"><b><i>View Source</i></b></a>
025:         *
026:         * @author Brian Wing Shun Chan
027:         *
028:         */
029:        public class EmailAddressUtil {
030:            public static com.liferay.portal.model.EmailAddress create(
031:                    long emailAddressId) {
032:                return getPersistence().create(emailAddressId);
033:            }
034:
035:            public static com.liferay.portal.model.EmailAddress remove(
036:                    long emailAddressId)
037:                    throws com.liferay.portal.SystemException,
038:                    com.liferay.portal.NoSuchEmailAddressException {
039:                return getPersistence().remove(emailAddressId);
040:            }
041:
042:            public static com.liferay.portal.model.EmailAddress remove(
043:                    com.liferay.portal.model.EmailAddress emailAddress)
044:                    throws com.liferay.portal.SystemException {
045:                return getPersistence().remove(emailAddress);
046:            }
047:
048:            public static com.liferay.portal.model.EmailAddress update(
049:                    com.liferay.portal.model.EmailAddress emailAddress)
050:                    throws com.liferay.portal.SystemException {
051:                return getPersistence().update(emailAddress);
052:            }
053:
054:            public static com.liferay.portal.model.EmailAddress update(
055:                    com.liferay.portal.model.EmailAddress emailAddress,
056:                    boolean merge) throws com.liferay.portal.SystemException {
057:                return getPersistence().update(emailAddress, merge);
058:            }
059:
060:            public static com.liferay.portal.model.EmailAddress updateImpl(
061:                    com.liferay.portal.model.EmailAddress emailAddress,
062:                    boolean merge) throws com.liferay.portal.SystemException {
063:                return getPersistence().updateImpl(emailAddress, merge);
064:            }
065:
066:            public static com.liferay.portal.model.EmailAddress findByPrimaryKey(
067:                    long emailAddressId)
068:                    throws com.liferay.portal.SystemException,
069:                    com.liferay.portal.NoSuchEmailAddressException {
070:                return getPersistence().findByPrimaryKey(emailAddressId);
071:            }
072:
073:            public static com.liferay.portal.model.EmailAddress fetchByPrimaryKey(
074:                    long emailAddressId)
075:                    throws com.liferay.portal.SystemException {
076:                return getPersistence().fetchByPrimaryKey(emailAddressId);
077:            }
078:
079:            public static java.util.List findByCompanyId(long companyId)
080:                    throws com.liferay.portal.SystemException {
081:                return getPersistence().findByCompanyId(companyId);
082:            }
083:
084:            public static java.util.List findByCompanyId(long companyId,
085:                    int begin, int end)
086:                    throws com.liferay.portal.SystemException {
087:                return getPersistence().findByCompanyId(companyId, begin, end);
088:            }
089:
090:            public static java.util.List findByCompanyId(long companyId,
091:                    int begin, int end,
092:                    com.liferay.portal.kernel.util.OrderByComparator obc)
093:                    throws com.liferay.portal.SystemException {
094:                return getPersistence().findByCompanyId(companyId, begin, end,
095:                        obc);
096:            }
097:
098:            public static com.liferay.portal.model.EmailAddress findByCompanyId_First(
099:                    long companyId,
100:                    com.liferay.portal.kernel.util.OrderByComparator obc)
101:                    throws com.liferay.portal.SystemException,
102:                    com.liferay.portal.NoSuchEmailAddressException {
103:                return getPersistence().findByCompanyId_First(companyId, obc);
104:            }
105:
106:            public static com.liferay.portal.model.EmailAddress findByCompanyId_Last(
107:                    long companyId,
108:                    com.liferay.portal.kernel.util.OrderByComparator obc)
109:                    throws com.liferay.portal.SystemException,
110:                    com.liferay.portal.NoSuchEmailAddressException {
111:                return getPersistence().findByCompanyId_Last(companyId, obc);
112:            }
113:
114:            public static com.liferay.portal.model.EmailAddress[] findByCompanyId_PrevAndNext(
115:                    long emailAddressId, long companyId,
116:                    com.liferay.portal.kernel.util.OrderByComparator obc)
117:                    throws com.liferay.portal.SystemException,
118:                    com.liferay.portal.NoSuchEmailAddressException {
119:                return getPersistence().findByCompanyId_PrevAndNext(
120:                        emailAddressId, companyId, obc);
121:            }
122:
123:            public static java.util.List findByUserId(long userId)
124:                    throws com.liferay.portal.SystemException {
125:                return getPersistence().findByUserId(userId);
126:            }
127:
128:            public static java.util.List findByUserId(long userId, int begin,
129:                    int end) throws com.liferay.portal.SystemException {
130:                return getPersistence().findByUserId(userId, begin, end);
131:            }
132:
133:            public static java.util.List findByUserId(long userId, int begin,
134:                    int end,
135:                    com.liferay.portal.kernel.util.OrderByComparator obc)
136:                    throws com.liferay.portal.SystemException {
137:                return getPersistence().findByUserId(userId, begin, end, obc);
138:            }
139:
140:            public static com.liferay.portal.model.EmailAddress findByUserId_First(
141:                    long userId,
142:                    com.liferay.portal.kernel.util.OrderByComparator obc)
143:                    throws com.liferay.portal.SystemException,
144:                    com.liferay.portal.NoSuchEmailAddressException {
145:                return getPersistence().findByUserId_First(userId, obc);
146:            }
147:
148:            public static com.liferay.portal.model.EmailAddress findByUserId_Last(
149:                    long userId,
150:                    com.liferay.portal.kernel.util.OrderByComparator obc)
151:                    throws com.liferay.portal.SystemException,
152:                    com.liferay.portal.NoSuchEmailAddressException {
153:                return getPersistence().findByUserId_Last(userId, obc);
154:            }
155:
156:            public static com.liferay.portal.model.EmailAddress[] findByUserId_PrevAndNext(
157:                    long emailAddressId, long userId,
158:                    com.liferay.portal.kernel.util.OrderByComparator obc)
159:                    throws com.liferay.portal.SystemException,
160:                    com.liferay.portal.NoSuchEmailAddressException {
161:                return getPersistence().findByUserId_PrevAndNext(
162:                        emailAddressId, userId, obc);
163:            }
164:
165:            public static java.util.List findByC_C(long companyId,
166:                    long classNameId) throws com.liferay.portal.SystemException {
167:                return getPersistence().findByC_C(companyId, classNameId);
168:            }
169:
170:            public static java.util.List findByC_C(long companyId,
171:                    long classNameId, int begin, int end)
172:                    throws com.liferay.portal.SystemException {
173:                return getPersistence().findByC_C(companyId, classNameId,
174:                        begin, end);
175:            }
176:
177:            public static java.util.List findByC_C(long companyId,
178:                    long classNameId, int begin, int end,
179:                    com.liferay.portal.kernel.util.OrderByComparator obc)
180:                    throws com.liferay.portal.SystemException {
181:                return getPersistence().findByC_C(companyId, classNameId,
182:                        begin, end, obc);
183:            }
184:
185:            public static com.liferay.portal.model.EmailAddress findByC_C_First(
186:                    long companyId, long classNameId,
187:                    com.liferay.portal.kernel.util.OrderByComparator obc)
188:                    throws com.liferay.portal.SystemException,
189:                    com.liferay.portal.NoSuchEmailAddressException {
190:                return getPersistence().findByC_C_First(companyId, classNameId,
191:                        obc);
192:            }
193:
194:            public static com.liferay.portal.model.EmailAddress findByC_C_Last(
195:                    long companyId, long classNameId,
196:                    com.liferay.portal.kernel.util.OrderByComparator obc)
197:                    throws com.liferay.portal.SystemException,
198:                    com.liferay.portal.NoSuchEmailAddressException {
199:                return getPersistence().findByC_C_Last(companyId, classNameId,
200:                        obc);
201:            }
202:
203:            public static com.liferay.portal.model.EmailAddress[] findByC_C_PrevAndNext(
204:                    long emailAddressId, long companyId, long classNameId,
205:                    com.liferay.portal.kernel.util.OrderByComparator obc)
206:                    throws com.liferay.portal.SystemException,
207:                    com.liferay.portal.NoSuchEmailAddressException {
208:                return getPersistence().findByC_C_PrevAndNext(emailAddressId,
209:                        companyId, classNameId, obc);
210:            }
211:
212:            public static java.util.List findByC_C_C(long companyId,
213:                    long classNameId, long classPK)
214:                    throws com.liferay.portal.SystemException {
215:                return getPersistence().findByC_C_C(companyId, classNameId,
216:                        classPK);
217:            }
218:
219:            public static java.util.List findByC_C_C(long companyId,
220:                    long classNameId, long classPK, int begin, int end)
221:                    throws com.liferay.portal.SystemException {
222:                return getPersistence().findByC_C_C(companyId, classNameId,
223:                        classPK, begin, end);
224:            }
225:
226:            public static java.util.List findByC_C_C(long companyId,
227:                    long classNameId, long classPK, int begin, int end,
228:                    com.liferay.portal.kernel.util.OrderByComparator obc)
229:                    throws com.liferay.portal.SystemException {
230:                return getPersistence().findByC_C_C(companyId, classNameId,
231:                        classPK, begin, end, obc);
232:            }
233:
234:            public static com.liferay.portal.model.EmailAddress findByC_C_C_First(
235:                    long companyId, long classNameId, long classPK,
236:                    com.liferay.portal.kernel.util.OrderByComparator obc)
237:                    throws com.liferay.portal.SystemException,
238:                    com.liferay.portal.NoSuchEmailAddressException {
239:                return getPersistence().findByC_C_C_First(companyId,
240:                        classNameId, classPK, obc);
241:            }
242:
243:            public static com.liferay.portal.model.EmailAddress findByC_C_C_Last(
244:                    long companyId, long classNameId, long classPK,
245:                    com.liferay.portal.kernel.util.OrderByComparator obc)
246:                    throws com.liferay.portal.SystemException,
247:                    com.liferay.portal.NoSuchEmailAddressException {
248:                return getPersistence().findByC_C_C_Last(companyId,
249:                        classNameId, classPK, obc);
250:            }
251:
252:            public static com.liferay.portal.model.EmailAddress[] findByC_C_C_PrevAndNext(
253:                    long emailAddressId, long companyId, long classNameId,
254:                    long classPK,
255:                    com.liferay.portal.kernel.util.OrderByComparator obc)
256:                    throws com.liferay.portal.SystemException,
257:                    com.liferay.portal.NoSuchEmailAddressException {
258:                return getPersistence().findByC_C_C_PrevAndNext(emailAddressId,
259:                        companyId, classNameId, classPK, obc);
260:            }
261:
262:            public static java.util.List findByC_C_C_P(long companyId,
263:                    long classNameId, long classPK, boolean primary)
264:                    throws com.liferay.portal.SystemException {
265:                return getPersistence().findByC_C_C_P(companyId, classNameId,
266:                        classPK, primary);
267:            }
268:
269:            public static java.util.List findByC_C_C_P(long companyId,
270:                    long classNameId, long classPK, boolean primary, int begin,
271:                    int end) throws com.liferay.portal.SystemException {
272:                return getPersistence().findByC_C_C_P(companyId, classNameId,
273:                        classPK, primary, begin, end);
274:            }
275:
276:            public static java.util.List findByC_C_C_P(long companyId,
277:                    long classNameId, long classPK, boolean primary, int begin,
278:                    int end,
279:                    com.liferay.portal.kernel.util.OrderByComparator obc)
280:                    throws com.liferay.portal.SystemException {
281:                return getPersistence().findByC_C_C_P(companyId, classNameId,
282:                        classPK, primary, begin, end, obc);
283:            }
284:
285:            public static com.liferay.portal.model.EmailAddress findByC_C_C_P_First(
286:                    long companyId, long classNameId, long classPK,
287:                    boolean primary,
288:                    com.liferay.portal.kernel.util.OrderByComparator obc)
289:                    throws com.liferay.portal.SystemException,
290:                    com.liferay.portal.NoSuchEmailAddressException {
291:                return getPersistence().findByC_C_C_P_First(companyId,
292:                        classNameId, classPK, primary, obc);
293:            }
294:
295:            public static com.liferay.portal.model.EmailAddress findByC_C_C_P_Last(
296:                    long companyId, long classNameId, long classPK,
297:                    boolean primary,
298:                    com.liferay.portal.kernel.util.OrderByComparator obc)
299:                    throws com.liferay.portal.SystemException,
300:                    com.liferay.portal.NoSuchEmailAddressException {
301:                return getPersistence().findByC_C_C_P_Last(companyId,
302:                        classNameId, classPK, primary, obc);
303:            }
304:
305:            public static com.liferay.portal.model.EmailAddress[] findByC_C_C_P_PrevAndNext(
306:                    long emailAddressId, long companyId, long classNameId,
307:                    long classPK, boolean primary,
308:                    com.liferay.portal.kernel.util.OrderByComparator obc)
309:                    throws com.liferay.portal.SystemException,
310:                    com.liferay.portal.NoSuchEmailAddressException {
311:                return getPersistence().findByC_C_C_P_PrevAndNext(
312:                        emailAddressId, companyId, classNameId, classPK,
313:                        primary, obc);
314:            }
315:
316:            public static java.util.List findWithDynamicQuery(
317:                    com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
318:                    throws com.liferay.portal.SystemException {
319:                return getPersistence().findWithDynamicQuery(queryInitializer);
320:            }
321:
322:            public static java.util.List findWithDynamicQuery(
323:                    com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
324:                    int begin, int end)
325:                    throws com.liferay.portal.SystemException {
326:                return getPersistence().findWithDynamicQuery(queryInitializer,
327:                        begin, end);
328:            }
329:
330:            public static java.util.List findAll()
331:                    throws com.liferay.portal.SystemException {
332:                return getPersistence().findAll();
333:            }
334:
335:            public static java.util.List findAll(int begin, int end)
336:                    throws com.liferay.portal.SystemException {
337:                return getPersistence().findAll(begin, end);
338:            }
339:
340:            public static java.util.List findAll(int begin, int end,
341:                    com.liferay.portal.kernel.util.OrderByComparator obc)
342:                    throws com.liferay.portal.SystemException {
343:                return getPersistence().findAll(begin, end, obc);
344:            }
345:
346:            public static void removeByCompanyId(long companyId)
347:                    throws com.liferay.portal.SystemException {
348:                getPersistence().removeByCompanyId(companyId);
349:            }
350:
351:            public static void removeByUserId(long userId)
352:                    throws com.liferay.portal.SystemException {
353:                getPersistence().removeByUserId(userId);
354:            }
355:
356:            public static void removeByC_C(long companyId, long classNameId)
357:                    throws com.liferay.portal.SystemException {
358:                getPersistence().removeByC_C(companyId, classNameId);
359:            }
360:
361:            public static void removeByC_C_C(long companyId, long classNameId,
362:                    long classPK) throws com.liferay.portal.SystemException {
363:                getPersistence().removeByC_C_C(companyId, classNameId, classPK);
364:            }
365:
366:            public static void removeByC_C_C_P(long companyId,
367:                    long classNameId, long classPK, boolean primary)
368:                    throws com.liferay.portal.SystemException {
369:                getPersistence().removeByC_C_C_P(companyId, classNameId,
370:                        classPK, primary);
371:            }
372:
373:            public static void removeAll()
374:                    throws com.liferay.portal.SystemException {
375:                getPersistence().removeAll();
376:            }
377:
378:            public static int countByCompanyId(long companyId)
379:                    throws com.liferay.portal.SystemException {
380:                return getPersistence().countByCompanyId(companyId);
381:            }
382:
383:            public static int countByUserId(long userId)
384:                    throws com.liferay.portal.SystemException {
385:                return getPersistence().countByUserId(userId);
386:            }
387:
388:            public static int countByC_C(long companyId, long classNameId)
389:                    throws com.liferay.portal.SystemException {
390:                return getPersistence().countByC_C(companyId, classNameId);
391:            }
392:
393:            public static int countByC_C_C(long companyId, long classNameId,
394:                    long classPK) throws com.liferay.portal.SystemException {
395:                return getPersistence().countByC_C_C(companyId, classNameId,
396:                        classPK);
397:            }
398:
399:            public static int countByC_C_C_P(long companyId, long classNameId,
400:                    long classPK, boolean primary)
401:                    throws com.liferay.portal.SystemException {
402:                return getPersistence().countByC_C_C_P(companyId, classNameId,
403:                        classPK, primary);
404:            }
405:
406:            public static int countAll()
407:                    throws com.liferay.portal.SystemException {
408:                return getPersistence().countAll();
409:            }
410:
411:            public static EmailAddressPersistence getPersistence() {
412:                return _getUtil()._persistence;
413:            }
414:
415:            public void setPersistence(EmailAddressPersistence persistence) {
416:                _persistence = persistence;
417:            }
418:
419:            private static EmailAddressUtil _getUtil() {
420:                if (_util == null) {
421:                    _util = (EmailAddressUtil) com.liferay.portal.kernel.bean.BeanLocatorUtil
422:                            .locate(_UTIL);
423:                }
424:
425:                return _util;
426:            }
427:
428:            private static final String _UTIL = EmailAddressUtil.class
429:                    .getName();
430:            private static EmailAddressUtil _util;
431:            private EmailAddressPersistence _persistence;
432:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.