Source Code Cross Referenced for UserUtil.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) 


0001:        /**
0002:         * Copyright (c) 2000-2008 Liferay, Inc. All rights reserved.
0003:         *
0004:         * Permission is hereby granted, free of charge, to any person obtaining a copy
0005:         * of this software and associated documentation files (the "Software"), to deal
0006:         * in the Software without restriction, including without limitation the rights
0007:         * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
0008:         * copies of the Software, and to permit persons to whom the Software is
0009:         * furnished to do so, subject to the following conditions:
0010:         *
0011:         * The above copyright notice and this permission notice shall be included in
0012:         * all copies or substantial portions of the Software.
0013:         *
0014:         * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
0015:         * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
0016:         * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
0017:         * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
0018:         * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
0019:         * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
0020:         * SOFTWARE.
0021:         */package com.liferay.portal.service.persistence;
0022:
0023:        /**
0024:         * <a href="UserUtil.java.html"><b><i>View Source</i></b></a>
0025:         *
0026:         * @author Brian Wing Shun Chan
0027:         *
0028:         */
0029:        public class UserUtil {
0030:            public static com.liferay.portal.model.User create(long userId) {
0031:                return getPersistence().create(userId);
0032:            }
0033:
0034:            public static com.liferay.portal.model.User remove(long userId)
0035:                    throws com.liferay.portal.SystemException,
0036:                    com.liferay.portal.NoSuchUserException {
0037:                return getPersistence().remove(userId);
0038:            }
0039:
0040:            public static com.liferay.portal.model.User remove(
0041:                    com.liferay.portal.model.User user)
0042:                    throws com.liferay.portal.SystemException {
0043:                return getPersistence().remove(user);
0044:            }
0045:
0046:            public static com.liferay.portal.model.User update(
0047:                    com.liferay.portal.model.User user)
0048:                    throws com.liferay.portal.SystemException {
0049:                return getPersistence().update(user);
0050:            }
0051:
0052:            public static com.liferay.portal.model.User update(
0053:                    com.liferay.portal.model.User user, boolean merge)
0054:                    throws com.liferay.portal.SystemException {
0055:                return getPersistence().update(user, merge);
0056:            }
0057:
0058:            public static com.liferay.portal.model.User updateImpl(
0059:                    com.liferay.portal.model.User user, boolean merge)
0060:                    throws com.liferay.portal.SystemException {
0061:                return getPersistence().updateImpl(user, merge);
0062:            }
0063:
0064:            public static com.liferay.portal.model.User findByPrimaryKey(
0065:                    long userId) throws com.liferay.portal.SystemException,
0066:                    com.liferay.portal.NoSuchUserException {
0067:                return getPersistence().findByPrimaryKey(userId);
0068:            }
0069:
0070:            public static com.liferay.portal.model.User fetchByPrimaryKey(
0071:                    long userId) throws com.liferay.portal.SystemException {
0072:                return getPersistence().fetchByPrimaryKey(userId);
0073:            }
0074:
0075:            public static java.util.List findByUuid(java.lang.String uuid)
0076:                    throws com.liferay.portal.SystemException {
0077:                return getPersistence().findByUuid(uuid);
0078:            }
0079:
0080:            public static java.util.List findByUuid(java.lang.String uuid,
0081:                    int begin, int end)
0082:                    throws com.liferay.portal.SystemException {
0083:                return getPersistence().findByUuid(uuid, begin, end);
0084:            }
0085:
0086:            public static java.util.List findByUuid(java.lang.String uuid,
0087:                    int begin, int end,
0088:                    com.liferay.portal.kernel.util.OrderByComparator obc)
0089:                    throws com.liferay.portal.SystemException {
0090:                return getPersistence().findByUuid(uuid, begin, end, obc);
0091:            }
0092:
0093:            public static com.liferay.portal.model.User findByUuid_First(
0094:                    java.lang.String uuid,
0095:                    com.liferay.portal.kernel.util.OrderByComparator obc)
0096:                    throws com.liferay.portal.SystemException,
0097:                    com.liferay.portal.NoSuchUserException {
0098:                return getPersistence().findByUuid_First(uuid, obc);
0099:            }
0100:
0101:            public static com.liferay.portal.model.User findByUuid_Last(
0102:                    java.lang.String uuid,
0103:                    com.liferay.portal.kernel.util.OrderByComparator obc)
0104:                    throws com.liferay.portal.SystemException,
0105:                    com.liferay.portal.NoSuchUserException {
0106:                return getPersistence().findByUuid_Last(uuid, obc);
0107:            }
0108:
0109:            public static com.liferay.portal.model.User[] findByUuid_PrevAndNext(
0110:                    long userId, java.lang.String uuid,
0111:                    com.liferay.portal.kernel.util.OrderByComparator obc)
0112:                    throws com.liferay.portal.SystemException,
0113:                    com.liferay.portal.NoSuchUserException {
0114:                return getPersistence().findByUuid_PrevAndNext(userId, uuid,
0115:                        obc);
0116:            }
0117:
0118:            public static java.util.List findByCompanyId(long companyId)
0119:                    throws com.liferay.portal.SystemException {
0120:                return getPersistence().findByCompanyId(companyId);
0121:            }
0122:
0123:            public static java.util.List findByCompanyId(long companyId,
0124:                    int begin, int end)
0125:                    throws com.liferay.portal.SystemException {
0126:                return getPersistence().findByCompanyId(companyId, begin, end);
0127:            }
0128:
0129:            public static java.util.List findByCompanyId(long companyId,
0130:                    int begin, int end,
0131:                    com.liferay.portal.kernel.util.OrderByComparator obc)
0132:                    throws com.liferay.portal.SystemException {
0133:                return getPersistence().findByCompanyId(companyId, begin, end,
0134:                        obc);
0135:            }
0136:
0137:            public static com.liferay.portal.model.User findByCompanyId_First(
0138:                    long companyId,
0139:                    com.liferay.portal.kernel.util.OrderByComparator obc)
0140:                    throws com.liferay.portal.SystemException,
0141:                    com.liferay.portal.NoSuchUserException {
0142:                return getPersistence().findByCompanyId_First(companyId, obc);
0143:            }
0144:
0145:            public static com.liferay.portal.model.User findByCompanyId_Last(
0146:                    long companyId,
0147:                    com.liferay.portal.kernel.util.OrderByComparator obc)
0148:                    throws com.liferay.portal.SystemException,
0149:                    com.liferay.portal.NoSuchUserException {
0150:                return getPersistence().findByCompanyId_Last(companyId, obc);
0151:            }
0152:
0153:            public static com.liferay.portal.model.User[] findByCompanyId_PrevAndNext(
0154:                    long userId, long companyId,
0155:                    com.liferay.portal.kernel.util.OrderByComparator obc)
0156:                    throws com.liferay.portal.SystemException,
0157:                    com.liferay.portal.NoSuchUserException {
0158:                return getPersistence().findByCompanyId_PrevAndNext(userId,
0159:                        companyId, obc);
0160:            }
0161:
0162:            public static com.liferay.portal.model.User findByContactId(
0163:                    long contactId) throws com.liferay.portal.SystemException,
0164:                    com.liferay.portal.NoSuchUserException {
0165:                return getPersistence().findByContactId(contactId);
0166:            }
0167:
0168:            public static com.liferay.portal.model.User fetchByContactId(
0169:                    long contactId) throws com.liferay.portal.SystemException {
0170:                return getPersistence().fetchByContactId(contactId);
0171:            }
0172:
0173:            public static com.liferay.portal.model.User findByPortraitId(
0174:                    long portraitId) throws com.liferay.portal.SystemException,
0175:                    com.liferay.portal.NoSuchUserException {
0176:                return getPersistence().findByPortraitId(portraitId);
0177:            }
0178:
0179:            public static com.liferay.portal.model.User fetchByPortraitId(
0180:                    long portraitId) throws com.liferay.portal.SystemException {
0181:                return getPersistence().fetchByPortraitId(portraitId);
0182:            }
0183:
0184:            public static com.liferay.portal.model.User findByC_U(
0185:                    long companyId, long userId)
0186:                    throws com.liferay.portal.SystemException,
0187:                    com.liferay.portal.NoSuchUserException {
0188:                return getPersistence().findByC_U(companyId, userId);
0189:            }
0190:
0191:            public static com.liferay.portal.model.User fetchByC_U(
0192:                    long companyId, long userId)
0193:                    throws com.liferay.portal.SystemException {
0194:                return getPersistence().fetchByC_U(companyId, userId);
0195:            }
0196:
0197:            public static com.liferay.portal.model.User findByC_DU(
0198:                    long companyId, boolean defaultUser)
0199:                    throws com.liferay.portal.SystemException,
0200:                    com.liferay.portal.NoSuchUserException {
0201:                return getPersistence().findByC_DU(companyId, defaultUser);
0202:            }
0203:
0204:            public static com.liferay.portal.model.User fetchByC_DU(
0205:                    long companyId, boolean defaultUser)
0206:                    throws com.liferay.portal.SystemException {
0207:                return getPersistence().fetchByC_DU(companyId, defaultUser);
0208:            }
0209:
0210:            public static java.util.List findByC_P(long companyId,
0211:                    java.lang.String password)
0212:                    throws com.liferay.portal.SystemException {
0213:                return getPersistence().findByC_P(companyId, password);
0214:            }
0215:
0216:            public static java.util.List findByC_P(long companyId,
0217:                    java.lang.String password, int begin, int end)
0218:                    throws com.liferay.portal.SystemException {
0219:                return getPersistence().findByC_P(companyId, password, begin,
0220:                        end);
0221:            }
0222:
0223:            public static java.util.List findByC_P(long companyId,
0224:                    java.lang.String password, int begin, int end,
0225:                    com.liferay.portal.kernel.util.OrderByComparator obc)
0226:                    throws com.liferay.portal.SystemException {
0227:                return getPersistence().findByC_P(companyId, password, begin,
0228:                        end, obc);
0229:            }
0230:
0231:            public static com.liferay.portal.model.User findByC_P_First(
0232:                    long companyId, java.lang.String password,
0233:                    com.liferay.portal.kernel.util.OrderByComparator obc)
0234:                    throws com.liferay.portal.SystemException,
0235:                    com.liferay.portal.NoSuchUserException {
0236:                return getPersistence().findByC_P_First(companyId, password,
0237:                        obc);
0238:            }
0239:
0240:            public static com.liferay.portal.model.User findByC_P_Last(
0241:                    long companyId, java.lang.String password,
0242:                    com.liferay.portal.kernel.util.OrderByComparator obc)
0243:                    throws com.liferay.portal.SystemException,
0244:                    com.liferay.portal.NoSuchUserException {
0245:                return getPersistence()
0246:                        .findByC_P_Last(companyId, password, obc);
0247:            }
0248:
0249:            public static com.liferay.portal.model.User[] findByC_P_PrevAndNext(
0250:                    long userId, long companyId, java.lang.String password,
0251:                    com.liferay.portal.kernel.util.OrderByComparator obc)
0252:                    throws com.liferay.portal.SystemException,
0253:                    com.liferay.portal.NoSuchUserException {
0254:                return getPersistence().findByC_P_PrevAndNext(userId,
0255:                        companyId, password, obc);
0256:            }
0257:
0258:            public static com.liferay.portal.model.User findByC_SN(
0259:                    long companyId, java.lang.String screenName)
0260:                    throws com.liferay.portal.SystemException,
0261:                    com.liferay.portal.NoSuchUserException {
0262:                return getPersistence().findByC_SN(companyId, screenName);
0263:            }
0264:
0265:            public static com.liferay.portal.model.User fetchByC_SN(
0266:                    long companyId, java.lang.String screenName)
0267:                    throws com.liferay.portal.SystemException {
0268:                return getPersistence().fetchByC_SN(companyId, screenName);
0269:            }
0270:
0271:            public static com.liferay.portal.model.User findByC_EA(
0272:                    long companyId, java.lang.String emailAddress)
0273:                    throws com.liferay.portal.SystemException,
0274:                    com.liferay.portal.NoSuchUserException {
0275:                return getPersistence().findByC_EA(companyId, emailAddress);
0276:            }
0277:
0278:            public static com.liferay.portal.model.User fetchByC_EA(
0279:                    long companyId, java.lang.String emailAddress)
0280:                    throws com.liferay.portal.SystemException {
0281:                return getPersistence().fetchByC_EA(companyId, emailAddress);
0282:            }
0283:
0284:            public static java.util.List findWithDynamicQuery(
0285:                    com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
0286:                    throws com.liferay.portal.SystemException {
0287:                return getPersistence().findWithDynamicQuery(queryInitializer);
0288:            }
0289:
0290:            public static java.util.List findWithDynamicQuery(
0291:                    com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
0292:                    int begin, int end)
0293:                    throws com.liferay.portal.SystemException {
0294:                return getPersistence().findWithDynamicQuery(queryInitializer,
0295:                        begin, end);
0296:            }
0297:
0298:            public static java.util.List findAll()
0299:                    throws com.liferay.portal.SystemException {
0300:                return getPersistence().findAll();
0301:            }
0302:
0303:            public static java.util.List findAll(int begin, int end)
0304:                    throws com.liferay.portal.SystemException {
0305:                return getPersistence().findAll(begin, end);
0306:            }
0307:
0308:            public static java.util.List findAll(int begin, int end,
0309:                    com.liferay.portal.kernel.util.OrderByComparator obc)
0310:                    throws com.liferay.portal.SystemException {
0311:                return getPersistence().findAll(begin, end, obc);
0312:            }
0313:
0314:            public static void removeByUuid(java.lang.String uuid)
0315:                    throws com.liferay.portal.SystemException {
0316:                getPersistence().removeByUuid(uuid);
0317:            }
0318:
0319:            public static void removeByCompanyId(long companyId)
0320:                    throws com.liferay.portal.SystemException {
0321:                getPersistence().removeByCompanyId(companyId);
0322:            }
0323:
0324:            public static void removeByContactId(long contactId)
0325:                    throws com.liferay.portal.SystemException,
0326:                    com.liferay.portal.NoSuchUserException {
0327:                getPersistence().removeByContactId(contactId);
0328:            }
0329:
0330:            public static void removeByPortraitId(long portraitId)
0331:                    throws com.liferay.portal.SystemException,
0332:                    com.liferay.portal.NoSuchUserException {
0333:                getPersistence().removeByPortraitId(portraitId);
0334:            }
0335:
0336:            public static void removeByC_U(long companyId, long userId)
0337:                    throws com.liferay.portal.SystemException,
0338:                    com.liferay.portal.NoSuchUserException {
0339:                getPersistence().removeByC_U(companyId, userId);
0340:            }
0341:
0342:            public static void removeByC_DU(long companyId, boolean defaultUser)
0343:                    throws com.liferay.portal.SystemException,
0344:                    com.liferay.portal.NoSuchUserException {
0345:                getPersistence().removeByC_DU(companyId, defaultUser);
0346:            }
0347:
0348:            public static void removeByC_P(long companyId,
0349:                    java.lang.String password)
0350:                    throws com.liferay.portal.SystemException {
0351:                getPersistence().removeByC_P(companyId, password);
0352:            }
0353:
0354:            public static void removeByC_SN(long companyId,
0355:                    java.lang.String screenName)
0356:                    throws com.liferay.portal.SystemException,
0357:                    com.liferay.portal.NoSuchUserException {
0358:                getPersistence().removeByC_SN(companyId, screenName);
0359:            }
0360:
0361:            public static void removeByC_EA(long companyId,
0362:                    java.lang.String emailAddress)
0363:                    throws com.liferay.portal.SystemException,
0364:                    com.liferay.portal.NoSuchUserException {
0365:                getPersistence().removeByC_EA(companyId, emailAddress);
0366:            }
0367:
0368:            public static void removeAll()
0369:                    throws com.liferay.portal.SystemException {
0370:                getPersistence().removeAll();
0371:            }
0372:
0373:            public static int countByUuid(java.lang.String uuid)
0374:                    throws com.liferay.portal.SystemException {
0375:                return getPersistence().countByUuid(uuid);
0376:            }
0377:
0378:            public static int countByCompanyId(long companyId)
0379:                    throws com.liferay.portal.SystemException {
0380:                return getPersistence().countByCompanyId(companyId);
0381:            }
0382:
0383:            public static int countByContactId(long contactId)
0384:                    throws com.liferay.portal.SystemException {
0385:                return getPersistence().countByContactId(contactId);
0386:            }
0387:
0388:            public static int countByPortraitId(long portraitId)
0389:                    throws com.liferay.portal.SystemException {
0390:                return getPersistence().countByPortraitId(portraitId);
0391:            }
0392:
0393:            public static int countByC_U(long companyId, long userId)
0394:                    throws com.liferay.portal.SystemException {
0395:                return getPersistence().countByC_U(companyId, userId);
0396:            }
0397:
0398:            public static int countByC_DU(long companyId, boolean defaultUser)
0399:                    throws com.liferay.portal.SystemException {
0400:                return getPersistence().countByC_DU(companyId, defaultUser);
0401:            }
0402:
0403:            public static int countByC_P(long companyId,
0404:                    java.lang.String password)
0405:                    throws com.liferay.portal.SystemException {
0406:                return getPersistence().countByC_P(companyId, password);
0407:            }
0408:
0409:            public static int countByC_SN(long companyId,
0410:                    java.lang.String screenName)
0411:                    throws com.liferay.portal.SystemException {
0412:                return getPersistence().countByC_SN(companyId, screenName);
0413:            }
0414:
0415:            public static int countByC_EA(long companyId,
0416:                    java.lang.String emailAddress)
0417:                    throws com.liferay.portal.SystemException {
0418:                return getPersistence().countByC_EA(companyId, emailAddress);
0419:            }
0420:
0421:            public static int countAll()
0422:                    throws com.liferay.portal.SystemException {
0423:                return getPersistence().countAll();
0424:            }
0425:
0426:            public static java.util.List getGroups(long pk)
0427:                    throws com.liferay.portal.SystemException,
0428:                    com.liferay.portal.NoSuchUserException {
0429:                return getPersistence().getGroups(pk);
0430:            }
0431:
0432:            public static java.util.List getGroups(long pk, int begin, int end)
0433:                    throws com.liferay.portal.SystemException,
0434:                    com.liferay.portal.NoSuchUserException {
0435:                return getPersistence().getGroups(pk, begin, end);
0436:            }
0437:
0438:            public static java.util.List getGroups(long pk, int begin, int end,
0439:                    com.liferay.portal.kernel.util.OrderByComparator obc)
0440:                    throws com.liferay.portal.SystemException,
0441:                    com.liferay.portal.NoSuchUserException {
0442:                return getPersistence().getGroups(pk, begin, end, obc);
0443:            }
0444:
0445:            public static int getGroupsSize(long pk)
0446:                    throws com.liferay.portal.SystemException {
0447:                return getPersistence().getGroupsSize(pk);
0448:            }
0449:
0450:            public static boolean containsGroup(long pk, long groupPK)
0451:                    throws com.liferay.portal.SystemException {
0452:                return getPersistence().containsGroup(pk, groupPK);
0453:            }
0454:
0455:            public static boolean containsGroups(long pk)
0456:                    throws com.liferay.portal.SystemException {
0457:                return getPersistence().containsGroups(pk);
0458:            }
0459:
0460:            public static void addGroup(long pk, long groupPK)
0461:                    throws com.liferay.portal.SystemException,
0462:                    com.liferay.portal.NoSuchGroupException,
0463:                    com.liferay.portal.NoSuchUserException {
0464:                getPersistence().addGroup(pk, groupPK);
0465:            }
0466:
0467:            public static void addGroup(long pk,
0468:                    com.liferay.portal.model.Group group)
0469:                    throws com.liferay.portal.SystemException,
0470:                    com.liferay.portal.NoSuchGroupException,
0471:                    com.liferay.portal.NoSuchUserException {
0472:                getPersistence().addGroup(pk, group);
0473:            }
0474:
0475:            public static void addGroups(long pk, long[] groupPKs)
0476:                    throws com.liferay.portal.SystemException,
0477:                    com.liferay.portal.NoSuchGroupException,
0478:                    com.liferay.portal.NoSuchUserException {
0479:                getPersistence().addGroups(pk, groupPKs);
0480:            }
0481:
0482:            public static void addGroups(long pk, java.util.List groups)
0483:                    throws com.liferay.portal.SystemException,
0484:                    com.liferay.portal.NoSuchGroupException,
0485:                    com.liferay.portal.NoSuchUserException {
0486:                getPersistence().addGroups(pk, groups);
0487:            }
0488:
0489:            public static void clearGroups(long pk)
0490:                    throws com.liferay.portal.SystemException,
0491:                    com.liferay.portal.NoSuchUserException {
0492:                getPersistence().clearGroups(pk);
0493:            }
0494:
0495:            public static void removeGroup(long pk, long groupPK)
0496:                    throws com.liferay.portal.SystemException,
0497:                    com.liferay.portal.NoSuchGroupException,
0498:                    com.liferay.portal.NoSuchUserException {
0499:                getPersistence().removeGroup(pk, groupPK);
0500:            }
0501:
0502:            public static void removeGroup(long pk,
0503:                    com.liferay.portal.model.Group group)
0504:                    throws com.liferay.portal.SystemException,
0505:                    com.liferay.portal.NoSuchGroupException,
0506:                    com.liferay.portal.NoSuchUserException {
0507:                getPersistence().removeGroup(pk, group);
0508:            }
0509:
0510:            public static void removeGroups(long pk, long[] groupPKs)
0511:                    throws com.liferay.portal.SystemException,
0512:                    com.liferay.portal.NoSuchGroupException,
0513:                    com.liferay.portal.NoSuchUserException {
0514:                getPersistence().removeGroups(pk, groupPKs);
0515:            }
0516:
0517:            public static void removeGroups(long pk, java.util.List groups)
0518:                    throws com.liferay.portal.SystemException,
0519:                    com.liferay.portal.NoSuchGroupException,
0520:                    com.liferay.portal.NoSuchUserException {
0521:                getPersistence().removeGroups(pk, groups);
0522:            }
0523:
0524:            public static void setGroups(long pk, long[] groupPKs)
0525:                    throws com.liferay.portal.SystemException,
0526:                    com.liferay.portal.NoSuchGroupException,
0527:                    com.liferay.portal.NoSuchUserException {
0528:                getPersistence().setGroups(pk, groupPKs);
0529:            }
0530:
0531:            public static void setGroups(long pk, java.util.List groups)
0532:                    throws com.liferay.portal.SystemException,
0533:                    com.liferay.portal.NoSuchGroupException,
0534:                    com.liferay.portal.NoSuchUserException {
0535:                getPersistence().setGroups(pk, groups);
0536:            }
0537:
0538:            public static java.util.List getOrganizations(long pk)
0539:                    throws com.liferay.portal.SystemException,
0540:                    com.liferay.portal.NoSuchUserException {
0541:                return getPersistence().getOrganizations(pk);
0542:            }
0543:
0544:            public static java.util.List getOrganizations(long pk, int begin,
0545:                    int end) throws com.liferay.portal.SystemException,
0546:                    com.liferay.portal.NoSuchUserException {
0547:                return getPersistence().getOrganizations(pk, begin, end);
0548:            }
0549:
0550:            public static java.util.List getOrganizations(long pk, int begin,
0551:                    int end,
0552:                    com.liferay.portal.kernel.util.OrderByComparator obc)
0553:                    throws com.liferay.portal.SystemException,
0554:                    com.liferay.portal.NoSuchUserException {
0555:                return getPersistence().getOrganizations(pk, begin, end, obc);
0556:            }
0557:
0558:            public static int getOrganizationsSize(long pk)
0559:                    throws com.liferay.portal.SystemException {
0560:                return getPersistence().getOrganizationsSize(pk);
0561:            }
0562:
0563:            public static boolean containsOrganization(long pk,
0564:                    long organizationPK)
0565:                    throws com.liferay.portal.SystemException {
0566:                return getPersistence()
0567:                        .containsOrganization(pk, organizationPK);
0568:            }
0569:
0570:            public static boolean containsOrganizations(long pk)
0571:                    throws com.liferay.portal.SystemException {
0572:                return getPersistence().containsOrganizations(pk);
0573:            }
0574:
0575:            public static void addOrganization(long pk, long organizationPK)
0576:                    throws com.liferay.portal.SystemException,
0577:                    com.liferay.portal.NoSuchOrganizationException,
0578:                    com.liferay.portal.NoSuchUserException {
0579:                getPersistence().addOrganization(pk, organizationPK);
0580:            }
0581:
0582:            public static void addOrganization(long pk,
0583:                    com.liferay.portal.model.Organization organization)
0584:                    throws com.liferay.portal.SystemException,
0585:                    com.liferay.portal.NoSuchOrganizationException,
0586:                    com.liferay.portal.NoSuchUserException {
0587:                getPersistence().addOrganization(pk, organization);
0588:            }
0589:
0590:            public static void addOrganizations(long pk, long[] organizationPKs)
0591:                    throws com.liferay.portal.SystemException,
0592:                    com.liferay.portal.NoSuchOrganizationException,
0593:                    com.liferay.portal.NoSuchUserException {
0594:                getPersistence().addOrganizations(pk, organizationPKs);
0595:            }
0596:
0597:            public static void addOrganizations(long pk,
0598:                    java.util.List organizations)
0599:                    throws com.liferay.portal.SystemException,
0600:                    com.liferay.portal.NoSuchOrganizationException,
0601:                    com.liferay.portal.NoSuchUserException {
0602:                getPersistence().addOrganizations(pk, organizations);
0603:            }
0604:
0605:            public static void clearOrganizations(long pk)
0606:                    throws com.liferay.portal.SystemException,
0607:                    com.liferay.portal.NoSuchUserException {
0608:                getPersistence().clearOrganizations(pk);
0609:            }
0610:
0611:            public static void removeOrganization(long pk, long organizationPK)
0612:                    throws com.liferay.portal.SystemException,
0613:                    com.liferay.portal.NoSuchOrganizationException,
0614:                    com.liferay.portal.NoSuchUserException {
0615:                getPersistence().removeOrganization(pk, organizationPK);
0616:            }
0617:
0618:            public static void removeOrganization(long pk,
0619:                    com.liferay.portal.model.Organization organization)
0620:                    throws com.liferay.portal.SystemException,
0621:                    com.liferay.portal.NoSuchOrganizationException,
0622:                    com.liferay.portal.NoSuchUserException {
0623:                getPersistence().removeOrganization(pk, organization);
0624:            }
0625:
0626:            public static void removeOrganizations(long pk,
0627:                    long[] organizationPKs)
0628:                    throws com.liferay.portal.SystemException,
0629:                    com.liferay.portal.NoSuchOrganizationException,
0630:                    com.liferay.portal.NoSuchUserException {
0631:                getPersistence().removeOrganizations(pk, organizationPKs);
0632:            }
0633:
0634:            public static void removeOrganizations(long pk,
0635:                    java.util.List organizations)
0636:                    throws com.liferay.portal.SystemException,
0637:                    com.liferay.portal.NoSuchOrganizationException,
0638:                    com.liferay.portal.NoSuchUserException {
0639:                getPersistence().removeOrganizations(pk, organizations);
0640:            }
0641:
0642:            public static void setOrganizations(long pk, long[] organizationPKs)
0643:                    throws com.liferay.portal.SystemException,
0644:                    com.liferay.portal.NoSuchOrganizationException,
0645:                    com.liferay.portal.NoSuchUserException {
0646:                getPersistence().setOrganizations(pk, organizationPKs);
0647:            }
0648:
0649:            public static void setOrganizations(long pk,
0650:                    java.util.List organizations)
0651:                    throws com.liferay.portal.SystemException,
0652:                    com.liferay.portal.NoSuchOrganizationException,
0653:                    com.liferay.portal.NoSuchUserException {
0654:                getPersistence().setOrganizations(pk, organizations);
0655:            }
0656:
0657:            public static java.util.List getPermissions(long pk)
0658:                    throws com.liferay.portal.SystemException,
0659:                    com.liferay.portal.NoSuchUserException {
0660:                return getPersistence().getPermissions(pk);
0661:            }
0662:
0663:            public static java.util.List getPermissions(long pk, int begin,
0664:                    int end) throws com.liferay.portal.SystemException,
0665:                    com.liferay.portal.NoSuchUserException {
0666:                return getPersistence().getPermissions(pk, begin, end);
0667:            }
0668:
0669:            public static java.util.List getPermissions(long pk, int begin,
0670:                    int end,
0671:                    com.liferay.portal.kernel.util.OrderByComparator obc)
0672:                    throws com.liferay.portal.SystemException,
0673:                    com.liferay.portal.NoSuchUserException {
0674:                return getPersistence().getPermissions(pk, begin, end, obc);
0675:            }
0676:
0677:            public static int getPermissionsSize(long pk)
0678:                    throws com.liferay.portal.SystemException {
0679:                return getPersistence().getPermissionsSize(pk);
0680:            }
0681:
0682:            public static boolean containsPermission(long pk, long permissionPK)
0683:                    throws com.liferay.portal.SystemException {
0684:                return getPersistence().containsPermission(pk, permissionPK);
0685:            }
0686:
0687:            public static boolean containsPermissions(long pk)
0688:                    throws com.liferay.portal.SystemException {
0689:                return getPersistence().containsPermissions(pk);
0690:            }
0691:
0692:            public static void addPermission(long pk, long permissionPK)
0693:                    throws com.liferay.portal.SystemException,
0694:                    com.liferay.portal.NoSuchPermissionException,
0695:                    com.liferay.portal.NoSuchUserException {
0696:                getPersistence().addPermission(pk, permissionPK);
0697:            }
0698:
0699:            public static void addPermission(long pk,
0700:                    com.liferay.portal.model.Permission permission)
0701:                    throws com.liferay.portal.SystemException,
0702:                    com.liferay.portal.NoSuchPermissionException,
0703:                    com.liferay.portal.NoSuchUserException {
0704:                getPersistence().addPermission(pk, permission);
0705:            }
0706:
0707:            public static void addPermissions(long pk, long[] permissionPKs)
0708:                    throws com.liferay.portal.SystemException,
0709:                    com.liferay.portal.NoSuchPermissionException,
0710:                    com.liferay.portal.NoSuchUserException {
0711:                getPersistence().addPermissions(pk, permissionPKs);
0712:            }
0713:
0714:            public static void addPermissions(long pk,
0715:                    java.util.List permissions)
0716:                    throws com.liferay.portal.SystemException,
0717:                    com.liferay.portal.NoSuchPermissionException,
0718:                    com.liferay.portal.NoSuchUserException {
0719:                getPersistence().addPermissions(pk, permissions);
0720:            }
0721:
0722:            public static void clearPermissions(long pk)
0723:                    throws com.liferay.portal.SystemException,
0724:                    com.liferay.portal.NoSuchUserException {
0725:                getPersistence().clearPermissions(pk);
0726:            }
0727:
0728:            public static void removePermission(long pk, long permissionPK)
0729:                    throws com.liferay.portal.SystemException,
0730:                    com.liferay.portal.NoSuchPermissionException,
0731:                    com.liferay.portal.NoSuchUserException {
0732:                getPersistence().removePermission(pk, permissionPK);
0733:            }
0734:
0735:            public static void removePermission(long pk,
0736:                    com.liferay.portal.model.Permission permission)
0737:                    throws com.liferay.portal.SystemException,
0738:                    com.liferay.portal.NoSuchPermissionException,
0739:                    com.liferay.portal.NoSuchUserException {
0740:                getPersistence().removePermission(pk, permission);
0741:            }
0742:
0743:            public static void removePermissions(long pk, long[] permissionPKs)
0744:                    throws com.liferay.portal.SystemException,
0745:                    com.liferay.portal.NoSuchPermissionException,
0746:                    com.liferay.portal.NoSuchUserException {
0747:                getPersistence().removePermissions(pk, permissionPKs);
0748:            }
0749:
0750:            public static void removePermissions(long pk,
0751:                    java.util.List permissions)
0752:                    throws com.liferay.portal.SystemException,
0753:                    com.liferay.portal.NoSuchPermissionException,
0754:                    com.liferay.portal.NoSuchUserException {
0755:                getPersistence().removePermissions(pk, permissions);
0756:            }
0757:
0758:            public static void setPermissions(long pk, long[] permissionPKs)
0759:                    throws com.liferay.portal.SystemException,
0760:                    com.liferay.portal.NoSuchPermissionException,
0761:                    com.liferay.portal.NoSuchUserException {
0762:                getPersistence().setPermissions(pk, permissionPKs);
0763:            }
0764:
0765:            public static void setPermissions(long pk,
0766:                    java.util.List permissions)
0767:                    throws com.liferay.portal.SystemException,
0768:                    com.liferay.portal.NoSuchPermissionException,
0769:                    com.liferay.portal.NoSuchUserException {
0770:                getPersistence().setPermissions(pk, permissions);
0771:            }
0772:
0773:            public static java.util.List getRoles(long pk)
0774:                    throws com.liferay.portal.SystemException,
0775:                    com.liferay.portal.NoSuchUserException {
0776:                return getPersistence().getRoles(pk);
0777:            }
0778:
0779:            public static java.util.List getRoles(long pk, int begin, int end)
0780:                    throws com.liferay.portal.SystemException,
0781:                    com.liferay.portal.NoSuchUserException {
0782:                return getPersistence().getRoles(pk, begin, end);
0783:            }
0784:
0785:            public static java.util.List getRoles(long pk, int begin, int end,
0786:                    com.liferay.portal.kernel.util.OrderByComparator obc)
0787:                    throws com.liferay.portal.SystemException,
0788:                    com.liferay.portal.NoSuchUserException {
0789:                return getPersistence().getRoles(pk, begin, end, obc);
0790:            }
0791:
0792:            public static int getRolesSize(long pk)
0793:                    throws com.liferay.portal.SystemException {
0794:                return getPersistence().getRolesSize(pk);
0795:            }
0796:
0797:            public static boolean containsRole(long pk, long rolePK)
0798:                    throws com.liferay.portal.SystemException {
0799:                return getPersistence().containsRole(pk, rolePK);
0800:            }
0801:
0802:            public static boolean containsRoles(long pk)
0803:                    throws com.liferay.portal.SystemException {
0804:                return getPersistence().containsRoles(pk);
0805:            }
0806:
0807:            public static void addRole(long pk, long rolePK)
0808:                    throws com.liferay.portal.SystemException,
0809:                    com.liferay.portal.NoSuchRoleException,
0810:                    com.liferay.portal.NoSuchUserException {
0811:                getPersistence().addRole(pk, rolePK);
0812:            }
0813:
0814:            public static void addRole(long pk,
0815:                    com.liferay.portal.model.Role role)
0816:                    throws com.liferay.portal.SystemException,
0817:                    com.liferay.portal.NoSuchRoleException,
0818:                    com.liferay.portal.NoSuchUserException {
0819:                getPersistence().addRole(pk, role);
0820:            }
0821:
0822:            public static void addRoles(long pk, long[] rolePKs)
0823:                    throws com.liferay.portal.SystemException,
0824:                    com.liferay.portal.NoSuchRoleException,
0825:                    com.liferay.portal.NoSuchUserException {
0826:                getPersistence().addRoles(pk, rolePKs);
0827:            }
0828:
0829:            public static void addRoles(long pk, java.util.List roles)
0830:                    throws com.liferay.portal.SystemException,
0831:                    com.liferay.portal.NoSuchRoleException,
0832:                    com.liferay.portal.NoSuchUserException {
0833:                getPersistence().addRoles(pk, roles);
0834:            }
0835:
0836:            public static void clearRoles(long pk)
0837:                    throws com.liferay.portal.SystemException,
0838:                    com.liferay.portal.NoSuchUserException {
0839:                getPersistence().clearRoles(pk);
0840:            }
0841:
0842:            public static void removeRole(long pk, long rolePK)
0843:                    throws com.liferay.portal.SystemException,
0844:                    com.liferay.portal.NoSuchRoleException,
0845:                    com.liferay.portal.NoSuchUserException {
0846:                getPersistence().removeRole(pk, rolePK);
0847:            }
0848:
0849:            public static void removeRole(long pk,
0850:                    com.liferay.portal.model.Role role)
0851:                    throws com.liferay.portal.SystemException,
0852:                    com.liferay.portal.NoSuchRoleException,
0853:                    com.liferay.portal.NoSuchUserException {
0854:                getPersistence().removeRole(pk, role);
0855:            }
0856:
0857:            public static void removeRoles(long pk, long[] rolePKs)
0858:                    throws com.liferay.portal.SystemException,
0859:                    com.liferay.portal.NoSuchRoleException,
0860:                    com.liferay.portal.NoSuchUserException {
0861:                getPersistence().removeRoles(pk, rolePKs);
0862:            }
0863:
0864:            public static void removeRoles(long pk, java.util.List roles)
0865:                    throws com.liferay.portal.SystemException,
0866:                    com.liferay.portal.NoSuchRoleException,
0867:                    com.liferay.portal.NoSuchUserException {
0868:                getPersistence().removeRoles(pk, roles);
0869:            }
0870:
0871:            public static void setRoles(long pk, long[] rolePKs)
0872:                    throws com.liferay.portal.SystemException,
0873:                    com.liferay.portal.NoSuchRoleException,
0874:                    com.liferay.portal.NoSuchUserException {
0875:                getPersistence().setRoles(pk, rolePKs);
0876:            }
0877:
0878:            public static void setRoles(long pk, java.util.List roles)
0879:                    throws com.liferay.portal.SystemException,
0880:                    com.liferay.portal.NoSuchRoleException,
0881:                    com.liferay.portal.NoSuchUserException {
0882:                getPersistence().setRoles(pk, roles);
0883:            }
0884:
0885:            public static java.util.List getUserGroups(long pk)
0886:                    throws com.liferay.portal.SystemException,
0887:                    com.liferay.portal.NoSuchUserException {
0888:                return getPersistence().getUserGroups(pk);
0889:            }
0890:
0891:            public static java.util.List getUserGroups(long pk, int begin,
0892:                    int end) throws com.liferay.portal.SystemException,
0893:                    com.liferay.portal.NoSuchUserException {
0894:                return getPersistence().getUserGroups(pk, begin, end);
0895:            }
0896:
0897:            public static java.util.List getUserGroups(long pk, int begin,
0898:                    int end,
0899:                    com.liferay.portal.kernel.util.OrderByComparator obc)
0900:                    throws com.liferay.portal.SystemException,
0901:                    com.liferay.portal.NoSuchUserException {
0902:                return getPersistence().getUserGroups(pk, begin, end, obc);
0903:            }
0904:
0905:            public static int getUserGroupsSize(long pk)
0906:                    throws com.liferay.portal.SystemException {
0907:                return getPersistence().getUserGroupsSize(pk);
0908:            }
0909:
0910:            public static boolean containsUserGroup(long pk, long userGroupPK)
0911:                    throws com.liferay.portal.SystemException {
0912:                return getPersistence().containsUserGroup(pk, userGroupPK);
0913:            }
0914:
0915:            public static boolean containsUserGroups(long pk)
0916:                    throws com.liferay.portal.SystemException {
0917:                return getPersistence().containsUserGroups(pk);
0918:            }
0919:
0920:            public static void addUserGroup(long pk, long userGroupPK)
0921:                    throws com.liferay.portal.SystemException,
0922:                    com.liferay.portal.NoSuchUserException,
0923:                    com.liferay.portal.NoSuchUserGroupException {
0924:                getPersistence().addUserGroup(pk, userGroupPK);
0925:            }
0926:
0927:            public static void addUserGroup(long pk,
0928:                    com.liferay.portal.model.UserGroup userGroup)
0929:                    throws com.liferay.portal.SystemException,
0930:                    com.liferay.portal.NoSuchUserException,
0931:                    com.liferay.portal.NoSuchUserGroupException {
0932:                getPersistence().addUserGroup(pk, userGroup);
0933:            }
0934:
0935:            public static void addUserGroups(long pk, long[] userGroupPKs)
0936:                    throws com.liferay.portal.SystemException,
0937:                    com.liferay.portal.NoSuchUserException,
0938:                    com.liferay.portal.NoSuchUserGroupException {
0939:                getPersistence().addUserGroups(pk, userGroupPKs);
0940:            }
0941:
0942:            public static void addUserGroups(long pk, java.util.List userGroups)
0943:                    throws com.liferay.portal.SystemException,
0944:                    com.liferay.portal.NoSuchUserException,
0945:                    com.liferay.portal.NoSuchUserGroupException {
0946:                getPersistence().addUserGroups(pk, userGroups);
0947:            }
0948:
0949:            public static void clearUserGroups(long pk)
0950:                    throws com.liferay.portal.SystemException,
0951:                    com.liferay.portal.NoSuchUserException {
0952:                getPersistence().clearUserGroups(pk);
0953:            }
0954:
0955:            public static void removeUserGroup(long pk, long userGroupPK)
0956:                    throws com.liferay.portal.SystemException,
0957:                    com.liferay.portal.NoSuchUserException,
0958:                    com.liferay.portal.NoSuchUserGroupException {
0959:                getPersistence().removeUserGroup(pk, userGroupPK);
0960:            }
0961:
0962:            public static void removeUserGroup(long pk,
0963:                    com.liferay.portal.model.UserGroup userGroup)
0964:                    throws com.liferay.portal.SystemException,
0965:                    com.liferay.portal.NoSuchUserException,
0966:                    com.liferay.portal.NoSuchUserGroupException {
0967:                getPersistence().removeUserGroup(pk, userGroup);
0968:            }
0969:
0970:            public static void removeUserGroups(long pk, long[] userGroupPKs)
0971:                    throws com.liferay.portal.SystemException,
0972:                    com.liferay.portal.NoSuchUserException,
0973:                    com.liferay.portal.NoSuchUserGroupException {
0974:                getPersistence().removeUserGroups(pk, userGroupPKs);
0975:            }
0976:
0977:            public static void removeUserGroups(long pk,
0978:                    java.util.List userGroups)
0979:                    throws com.liferay.portal.SystemException,
0980:                    com.liferay.portal.NoSuchUserException,
0981:                    com.liferay.portal.NoSuchUserGroupException {
0982:                getPersistence().removeUserGroups(pk, userGroups);
0983:            }
0984:
0985:            public static void setUserGroups(long pk, long[] userGroupPKs)
0986:                    throws com.liferay.portal.SystemException,
0987:                    com.liferay.portal.NoSuchUserException,
0988:                    com.liferay.portal.NoSuchUserGroupException {
0989:                getPersistence().setUserGroups(pk, userGroupPKs);
0990:            }
0991:
0992:            public static void setUserGroups(long pk, java.util.List userGroups)
0993:                    throws com.liferay.portal.SystemException,
0994:                    com.liferay.portal.NoSuchUserException,
0995:                    com.liferay.portal.NoSuchUserGroupException {
0996:                getPersistence().setUserGroups(pk, userGroups);
0997:            }
0998:
0999:            public static UserPersistence getPersistence() {
1000:                return _getUtil()._persistence;
1001:            }
1002:
1003:            public void setPersistence(UserPersistence persistence) {
1004:                _persistence = persistence;
1005:            }
1006:
1007:            private static UserUtil _getUtil() {
1008:                if (_util == null) {
1009:                    _util = (UserUtil) com.liferay.portal.kernel.bean.BeanLocatorUtil
1010:                            .locate(_UTIL);
1011:                }
1012:
1013:                return _util;
1014:            }
1015:
1016:            private static final String _UTIL = UserUtil.class.getName();
1017:            private static UserUtil _util;
1018:            private UserPersistence _persistence;
1019:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.