Source Code Cross Referenced for CompanyLocalServiceUtil.java in  » Portal » liferay-portal-4.4.2 » com » liferay » portal » service » 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 
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;
0022:
0023:        /**
0024:         * <a href="CompanyLocalServiceUtil.java.html"><b><i>View Source</i></b></a>
0025:         *
0026:         * <p>
0027:         * ServiceBuilder generated this class. Modifications in this class will be
0028:         * overwritten the next time is generated.
0029:         * </p>
0030:         *
0031:         * <p>
0032:         * This class provides static methods for the
0033:         * <code>com.liferay.portal.service.CompanyLocalService</code>
0034:         * bean. The static methods of this class calls the same methods of the bean
0035:         * instance. It's convenient to be able to just write one line to call a method
0036:         * on a bean instead of writing a lookup call and a method call.
0037:         * </p>
0038:         *
0039:         * <p>
0040:         * <code>com.liferay.portal.service.CompanyLocalServiceFactory</code>
0041:         * is responsible for the lookup of the bean.
0042:         * </p>
0043:         *
0044:         * @author Brian Wing Shun Chan
0045:         *
0046:         * @see com.liferay.portal.service.CompanyLocalService
0047:         * @see com.liferay.portal.service.CompanyLocalServiceFactory
0048:         *
0049:         */
0050:        public class CompanyLocalServiceUtil {
0051:            public static com.liferay.portal.model.Company addCompany(
0052:                    com.liferay.portal.model.Company model)
0053:                    throws com.liferay.portal.SystemException {
0054:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0055:                        .getService();
0056:
0057:                return companyLocalService.addCompany(model);
0058:            }
0059:
0060:            public static java.util.List dynamicQuery(
0061:                    com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
0062:                    throws com.liferay.portal.SystemException {
0063:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0064:                        .getService();
0065:
0066:                return companyLocalService.dynamicQuery(queryInitializer);
0067:            }
0068:
0069:            public static java.util.List dynamicQuery(
0070:                    com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
0071:                    int begin, int end)
0072:                    throws com.liferay.portal.SystemException {
0073:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0074:                        .getService();
0075:
0076:                return companyLocalService.dynamicQuery(queryInitializer,
0077:                        begin, end);
0078:            }
0079:
0080:            public static com.liferay.portal.model.Company updateCompany(
0081:                    com.liferay.portal.model.Company model)
0082:                    throws com.liferay.portal.SystemException {
0083:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0084:                        .getService();
0085:
0086:                return companyLocalService.updateCompany(model);
0087:            }
0088:
0089:            public static com.liferay.portal.service.persistence.AccountPersistence getAccountPersistence() {
0090:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0091:                        .getService();
0092:
0093:                return companyLocalService.getAccountPersistence();
0094:            }
0095:
0096:            public static void setAccountPersistence(
0097:                    com.liferay.portal.service.persistence.AccountPersistence accountPersistence) {
0098:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0099:                        .getService();
0100:
0101:                companyLocalService.setAccountPersistence(accountPersistence);
0102:            }
0103:
0104:            public static com.liferay.portal.service.persistence.ActivityTrackerPersistence getActivityTrackerPersistence() {
0105:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0106:                        .getService();
0107:
0108:                return companyLocalService.getActivityTrackerPersistence();
0109:            }
0110:
0111:            public static void setActivityTrackerPersistence(
0112:                    com.liferay.portal.service.persistence.ActivityTrackerPersistence activityTrackerPersistence) {
0113:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0114:                        .getService();
0115:
0116:                companyLocalService
0117:                        .setActivityTrackerPersistence(activityTrackerPersistence);
0118:            }
0119:
0120:            public static com.liferay.portal.service.persistence.ActivityTrackerFinder getActivityTrackerFinder() {
0121:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0122:                        .getService();
0123:
0124:                return companyLocalService.getActivityTrackerFinder();
0125:            }
0126:
0127:            public static void setActivityTrackerFinder(
0128:                    com.liferay.portal.service.persistence.ActivityTrackerFinder activityTrackerFinder) {
0129:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0130:                        .getService();
0131:
0132:                companyLocalService
0133:                        .setActivityTrackerFinder(activityTrackerFinder);
0134:            }
0135:
0136:            public static com.liferay.portal.service.persistence.AddressPersistence getAddressPersistence() {
0137:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0138:                        .getService();
0139:
0140:                return companyLocalService.getAddressPersistence();
0141:            }
0142:
0143:            public static void setAddressPersistence(
0144:                    com.liferay.portal.service.persistence.AddressPersistence addressPersistence) {
0145:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0146:                        .getService();
0147:
0148:                companyLocalService.setAddressPersistence(addressPersistence);
0149:            }
0150:
0151:            public static com.liferay.portal.service.persistence.ClassNamePersistence getClassNamePersistence() {
0152:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0153:                        .getService();
0154:
0155:                return companyLocalService.getClassNamePersistence();
0156:            }
0157:
0158:            public static void setClassNamePersistence(
0159:                    com.liferay.portal.service.persistence.ClassNamePersistence classNamePersistence) {
0160:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0161:                        .getService();
0162:
0163:                companyLocalService
0164:                        .setClassNamePersistence(classNamePersistence);
0165:            }
0166:
0167:            public static com.liferay.portal.service.persistence.CompanyPersistence getCompanyPersistence() {
0168:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0169:                        .getService();
0170:
0171:                return companyLocalService.getCompanyPersistence();
0172:            }
0173:
0174:            public static void setCompanyPersistence(
0175:                    com.liferay.portal.service.persistence.CompanyPersistence companyPersistence) {
0176:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0177:                        .getService();
0178:
0179:                companyLocalService.setCompanyPersistence(companyPersistence);
0180:            }
0181:
0182:            public static com.liferay.portal.service.persistence.ContactPersistence getContactPersistence() {
0183:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0184:                        .getService();
0185:
0186:                return companyLocalService.getContactPersistence();
0187:            }
0188:
0189:            public static void setContactPersistence(
0190:                    com.liferay.portal.service.persistence.ContactPersistence contactPersistence) {
0191:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0192:                        .getService();
0193:
0194:                companyLocalService.setContactPersistence(contactPersistence);
0195:            }
0196:
0197:            public static com.liferay.portal.service.persistence.CountryPersistence getCountryPersistence() {
0198:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0199:                        .getService();
0200:
0201:                return companyLocalService.getCountryPersistence();
0202:            }
0203:
0204:            public static void setCountryPersistence(
0205:                    com.liferay.portal.service.persistence.CountryPersistence countryPersistence) {
0206:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0207:                        .getService();
0208:
0209:                companyLocalService.setCountryPersistence(countryPersistence);
0210:            }
0211:
0212:            public static com.liferay.portal.service.persistence.EmailAddressPersistence getEmailAddressPersistence() {
0213:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0214:                        .getService();
0215:
0216:                return companyLocalService.getEmailAddressPersistence();
0217:            }
0218:
0219:            public static void setEmailAddressPersistence(
0220:                    com.liferay.portal.service.persistence.EmailAddressPersistence emailAddressPersistence) {
0221:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0222:                        .getService();
0223:
0224:                companyLocalService
0225:                        .setEmailAddressPersistence(emailAddressPersistence);
0226:            }
0227:
0228:            public static com.liferay.portal.service.persistence.GroupPersistence getGroupPersistence() {
0229:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0230:                        .getService();
0231:
0232:                return companyLocalService.getGroupPersistence();
0233:            }
0234:
0235:            public static void setGroupPersistence(
0236:                    com.liferay.portal.service.persistence.GroupPersistence groupPersistence) {
0237:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0238:                        .getService();
0239:
0240:                companyLocalService.setGroupPersistence(groupPersistence);
0241:            }
0242:
0243:            public static com.liferay.portal.service.persistence.GroupFinder getGroupFinder() {
0244:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0245:                        .getService();
0246:
0247:                return companyLocalService.getGroupFinder();
0248:            }
0249:
0250:            public static void setGroupFinder(
0251:                    com.liferay.portal.service.persistence.GroupFinder groupFinder) {
0252:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0253:                        .getService();
0254:
0255:                companyLocalService.setGroupFinder(groupFinder);
0256:            }
0257:
0258:            public static com.liferay.portal.service.persistence.ImagePersistence getImagePersistence() {
0259:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0260:                        .getService();
0261:
0262:                return companyLocalService.getImagePersistence();
0263:            }
0264:
0265:            public static void setImagePersistence(
0266:                    com.liferay.portal.service.persistence.ImagePersistence imagePersistence) {
0267:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0268:                        .getService();
0269:
0270:                companyLocalService.setImagePersistence(imagePersistence);
0271:            }
0272:
0273:            public static com.liferay.portal.service.persistence.LayoutPersistence getLayoutPersistence() {
0274:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0275:                        .getService();
0276:
0277:                return companyLocalService.getLayoutPersistence();
0278:            }
0279:
0280:            public static void setLayoutPersistence(
0281:                    com.liferay.portal.service.persistence.LayoutPersistence layoutPersistence) {
0282:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0283:                        .getService();
0284:
0285:                companyLocalService.setLayoutPersistence(layoutPersistence);
0286:            }
0287:
0288:            public static com.liferay.portal.service.persistence.LayoutFinder getLayoutFinder() {
0289:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0290:                        .getService();
0291:
0292:                return companyLocalService.getLayoutFinder();
0293:            }
0294:
0295:            public static void setLayoutFinder(
0296:                    com.liferay.portal.service.persistence.LayoutFinder layoutFinder) {
0297:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0298:                        .getService();
0299:
0300:                companyLocalService.setLayoutFinder(layoutFinder);
0301:            }
0302:
0303:            public static com.liferay.portal.service.persistence.LayoutSetPersistence getLayoutSetPersistence() {
0304:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0305:                        .getService();
0306:
0307:                return companyLocalService.getLayoutSetPersistence();
0308:            }
0309:
0310:            public static void setLayoutSetPersistence(
0311:                    com.liferay.portal.service.persistence.LayoutSetPersistence layoutSetPersistence) {
0312:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0313:                        .getService();
0314:
0315:                companyLocalService
0316:                        .setLayoutSetPersistence(layoutSetPersistence);
0317:            }
0318:
0319:            public static com.liferay.portal.service.persistence.ListTypePersistence getListTypePersistence() {
0320:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0321:                        .getService();
0322:
0323:                return companyLocalService.getListTypePersistence();
0324:            }
0325:
0326:            public static void setListTypePersistence(
0327:                    com.liferay.portal.service.persistence.ListTypePersistence listTypePersistence) {
0328:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0329:                        .getService();
0330:
0331:                companyLocalService.setListTypePersistence(listTypePersistence);
0332:            }
0333:
0334:            public static com.liferay.portal.service.persistence.MembershipRequestPersistence getMembershipRequestPersistence() {
0335:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0336:                        .getService();
0337:
0338:                return companyLocalService.getMembershipRequestPersistence();
0339:            }
0340:
0341:            public static void setMembershipRequestPersistence(
0342:                    com.liferay.portal.service.persistence.MembershipRequestPersistence membershipRequestPersistence) {
0343:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0344:                        .getService();
0345:
0346:                companyLocalService
0347:                        .setMembershipRequestPersistence(membershipRequestPersistence);
0348:            }
0349:
0350:            public static com.liferay.portal.service.persistence.OrganizationPersistence getOrganizationPersistence() {
0351:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0352:                        .getService();
0353:
0354:                return companyLocalService.getOrganizationPersistence();
0355:            }
0356:
0357:            public static void setOrganizationPersistence(
0358:                    com.liferay.portal.service.persistence.OrganizationPersistence organizationPersistence) {
0359:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0360:                        .getService();
0361:
0362:                companyLocalService
0363:                        .setOrganizationPersistence(organizationPersistence);
0364:            }
0365:
0366:            public static com.liferay.portal.service.persistence.OrganizationFinder getOrganizationFinder() {
0367:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0368:                        .getService();
0369:
0370:                return companyLocalService.getOrganizationFinder();
0371:            }
0372:
0373:            public static void setOrganizationFinder(
0374:                    com.liferay.portal.service.persistence.OrganizationFinder organizationFinder) {
0375:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0376:                        .getService();
0377:
0378:                companyLocalService.setOrganizationFinder(organizationFinder);
0379:            }
0380:
0381:            public static com.liferay.portal.service.persistence.OrgGroupPermissionPersistence getOrgGroupPermissionPersistence() {
0382:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0383:                        .getService();
0384:
0385:                return companyLocalService.getOrgGroupPermissionPersistence();
0386:            }
0387:
0388:            public static void setOrgGroupPermissionPersistence(
0389:                    com.liferay.portal.service.persistence.OrgGroupPermissionPersistence orgGroupPermissionPersistence) {
0390:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0391:                        .getService();
0392:
0393:                companyLocalService
0394:                        .setOrgGroupPermissionPersistence(orgGroupPermissionPersistence);
0395:            }
0396:
0397:            public static com.liferay.portal.service.persistence.OrgGroupPermissionFinder getOrgGroupPermissionFinder() {
0398:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0399:                        .getService();
0400:
0401:                return companyLocalService.getOrgGroupPermissionFinder();
0402:            }
0403:
0404:            public static void setOrgGroupPermissionFinder(
0405:                    com.liferay.portal.service.persistence.OrgGroupPermissionFinder orgGroupPermissionFinder) {
0406:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0407:                        .getService();
0408:
0409:                companyLocalService
0410:                        .setOrgGroupPermissionFinder(orgGroupPermissionFinder);
0411:            }
0412:
0413:            public static com.liferay.portal.service.persistence.OrgGroupRolePersistence getOrgGroupRolePersistence() {
0414:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0415:                        .getService();
0416:
0417:                return companyLocalService.getOrgGroupRolePersistence();
0418:            }
0419:
0420:            public static void setOrgGroupRolePersistence(
0421:                    com.liferay.portal.service.persistence.OrgGroupRolePersistence orgGroupRolePersistence) {
0422:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0423:                        .getService();
0424:
0425:                companyLocalService
0426:                        .setOrgGroupRolePersistence(orgGroupRolePersistence);
0427:            }
0428:
0429:            public static com.liferay.portal.service.persistence.OrgLaborPersistence getOrgLaborPersistence() {
0430:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0431:                        .getService();
0432:
0433:                return companyLocalService.getOrgLaborPersistence();
0434:            }
0435:
0436:            public static void setOrgLaborPersistence(
0437:                    com.liferay.portal.service.persistence.OrgLaborPersistence orgLaborPersistence) {
0438:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0439:                        .getService();
0440:
0441:                companyLocalService.setOrgLaborPersistence(orgLaborPersistence);
0442:            }
0443:
0444:            public static com.liferay.portal.service.persistence.PasswordPolicyPersistence getPasswordPolicyPersistence() {
0445:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0446:                        .getService();
0447:
0448:                return companyLocalService.getPasswordPolicyPersistence();
0449:            }
0450:
0451:            public static void setPasswordPolicyPersistence(
0452:                    com.liferay.portal.service.persistence.PasswordPolicyPersistence passwordPolicyPersistence) {
0453:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0454:                        .getService();
0455:
0456:                companyLocalService
0457:                        .setPasswordPolicyPersistence(passwordPolicyPersistence);
0458:            }
0459:
0460:            public static com.liferay.portal.service.persistence.PasswordPolicyFinder getPasswordPolicyFinder() {
0461:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0462:                        .getService();
0463:
0464:                return companyLocalService.getPasswordPolicyFinder();
0465:            }
0466:
0467:            public static void setPasswordPolicyFinder(
0468:                    com.liferay.portal.service.persistence.PasswordPolicyFinder passwordPolicyFinder) {
0469:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0470:                        .getService();
0471:
0472:                companyLocalService
0473:                        .setPasswordPolicyFinder(passwordPolicyFinder);
0474:            }
0475:
0476:            public static com.liferay.portal.service.persistence.PasswordPolicyRelPersistence getPasswordPolicyRelPersistence() {
0477:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0478:                        .getService();
0479:
0480:                return companyLocalService.getPasswordPolicyRelPersistence();
0481:            }
0482:
0483:            public static void setPasswordPolicyRelPersistence(
0484:                    com.liferay.portal.service.persistence.PasswordPolicyRelPersistence passwordPolicyRelPersistence) {
0485:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0486:                        .getService();
0487:
0488:                companyLocalService
0489:                        .setPasswordPolicyRelPersistence(passwordPolicyRelPersistence);
0490:            }
0491:
0492:            public static com.liferay.portal.service.persistence.PasswordTrackerPersistence getPasswordTrackerPersistence() {
0493:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0494:                        .getService();
0495:
0496:                return companyLocalService.getPasswordTrackerPersistence();
0497:            }
0498:
0499:            public static void setPasswordTrackerPersistence(
0500:                    com.liferay.portal.service.persistence.PasswordTrackerPersistence passwordTrackerPersistence) {
0501:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0502:                        .getService();
0503:
0504:                companyLocalService
0505:                        .setPasswordTrackerPersistence(passwordTrackerPersistence);
0506:            }
0507:
0508:            public static com.liferay.portal.service.persistence.PermissionPersistence getPermissionPersistence() {
0509:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0510:                        .getService();
0511:
0512:                return companyLocalService.getPermissionPersistence();
0513:            }
0514:
0515:            public static void setPermissionPersistence(
0516:                    com.liferay.portal.service.persistence.PermissionPersistence permissionPersistence) {
0517:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0518:                        .getService();
0519:
0520:                companyLocalService
0521:                        .setPermissionPersistence(permissionPersistence);
0522:            }
0523:
0524:            public static com.liferay.portal.service.persistence.PermissionFinder getPermissionFinder() {
0525:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0526:                        .getService();
0527:
0528:                return companyLocalService.getPermissionFinder();
0529:            }
0530:
0531:            public static void setPermissionFinder(
0532:                    com.liferay.portal.service.persistence.PermissionFinder permissionFinder) {
0533:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0534:                        .getService();
0535:
0536:                companyLocalService.setPermissionFinder(permissionFinder);
0537:            }
0538:
0539:            public static com.liferay.portal.service.persistence.PermissionUserFinder getPermissionUserFinder() {
0540:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0541:                        .getService();
0542:
0543:                return companyLocalService.getPermissionUserFinder();
0544:            }
0545:
0546:            public static void setPermissionUserFinder(
0547:                    com.liferay.portal.service.persistence.PermissionUserFinder permissionUserFinder) {
0548:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0549:                        .getService();
0550:
0551:                companyLocalService
0552:                        .setPermissionUserFinder(permissionUserFinder);
0553:            }
0554:
0555:            public static com.liferay.portal.service.persistence.PhonePersistence getPhonePersistence() {
0556:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0557:                        .getService();
0558:
0559:                return companyLocalService.getPhonePersistence();
0560:            }
0561:
0562:            public static void setPhonePersistence(
0563:                    com.liferay.portal.service.persistence.PhonePersistence phonePersistence) {
0564:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0565:                        .getService();
0566:
0567:                companyLocalService.setPhonePersistence(phonePersistence);
0568:            }
0569:
0570:            public static com.liferay.portal.service.persistence.PluginSettingPersistence getPluginSettingPersistence() {
0571:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0572:                        .getService();
0573:
0574:                return companyLocalService.getPluginSettingPersistence();
0575:            }
0576:
0577:            public static void setPluginSettingPersistence(
0578:                    com.liferay.portal.service.persistence.PluginSettingPersistence pluginSettingPersistence) {
0579:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0580:                        .getService();
0581:
0582:                companyLocalService
0583:                        .setPluginSettingPersistence(pluginSettingPersistence);
0584:            }
0585:
0586:            public static com.liferay.portal.service.persistence.PortletPersistence getPortletPersistence() {
0587:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0588:                        .getService();
0589:
0590:                return companyLocalService.getPortletPersistence();
0591:            }
0592:
0593:            public static void setPortletPersistence(
0594:                    com.liferay.portal.service.persistence.PortletPersistence portletPersistence) {
0595:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0596:                        .getService();
0597:
0598:                companyLocalService.setPortletPersistence(portletPersistence);
0599:            }
0600:
0601:            public static com.liferay.portal.service.persistence.PortletPreferencesPersistence getPortletPreferencesPersistence() {
0602:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0603:                        .getService();
0604:
0605:                return companyLocalService.getPortletPreferencesPersistence();
0606:            }
0607:
0608:            public static void setPortletPreferencesPersistence(
0609:                    com.liferay.portal.service.persistence.PortletPreferencesPersistence portletPreferencesPersistence) {
0610:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0611:                        .getService();
0612:
0613:                companyLocalService
0614:                        .setPortletPreferencesPersistence(portletPreferencesPersistence);
0615:            }
0616:
0617:            public static com.liferay.portal.service.persistence.PortletPreferencesFinder getPortletPreferencesFinder() {
0618:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0619:                        .getService();
0620:
0621:                return companyLocalService.getPortletPreferencesFinder();
0622:            }
0623:
0624:            public static void setPortletPreferencesFinder(
0625:                    com.liferay.portal.service.persistence.PortletPreferencesFinder portletPreferencesFinder) {
0626:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0627:                        .getService();
0628:
0629:                companyLocalService
0630:                        .setPortletPreferencesFinder(portletPreferencesFinder);
0631:            }
0632:
0633:            public static com.liferay.portal.service.persistence.RegionPersistence getRegionPersistence() {
0634:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0635:                        .getService();
0636:
0637:                return companyLocalService.getRegionPersistence();
0638:            }
0639:
0640:            public static void setRegionPersistence(
0641:                    com.liferay.portal.service.persistence.RegionPersistence regionPersistence) {
0642:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0643:                        .getService();
0644:
0645:                companyLocalService.setRegionPersistence(regionPersistence);
0646:            }
0647:
0648:            public static com.liferay.portal.service.persistence.ReleasePersistence getReleasePersistence() {
0649:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0650:                        .getService();
0651:
0652:                return companyLocalService.getReleasePersistence();
0653:            }
0654:
0655:            public static void setReleasePersistence(
0656:                    com.liferay.portal.service.persistence.ReleasePersistence releasePersistence) {
0657:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0658:                        .getService();
0659:
0660:                companyLocalService.setReleasePersistence(releasePersistence);
0661:            }
0662:
0663:            public static com.liferay.portal.service.persistence.ResourcePersistence getResourcePersistence() {
0664:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0665:                        .getService();
0666:
0667:                return companyLocalService.getResourcePersistence();
0668:            }
0669:
0670:            public static void setResourcePersistence(
0671:                    com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence) {
0672:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0673:                        .getService();
0674:
0675:                companyLocalService.setResourcePersistence(resourcePersistence);
0676:            }
0677:
0678:            public static com.liferay.portal.service.persistence.ResourceFinder getResourceFinder() {
0679:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0680:                        .getService();
0681:
0682:                return companyLocalService.getResourceFinder();
0683:            }
0684:
0685:            public static void setResourceFinder(
0686:                    com.liferay.portal.service.persistence.ResourceFinder resourceFinder) {
0687:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0688:                        .getService();
0689:
0690:                companyLocalService.setResourceFinder(resourceFinder);
0691:            }
0692:
0693:            public static com.liferay.portal.service.persistence.ResourceCodePersistence getResourceCodePersistence() {
0694:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0695:                        .getService();
0696:
0697:                return companyLocalService.getResourceCodePersistence();
0698:            }
0699:
0700:            public static void setResourceCodePersistence(
0701:                    com.liferay.portal.service.persistence.ResourceCodePersistence resourceCodePersistence) {
0702:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0703:                        .getService();
0704:
0705:                companyLocalService
0706:                        .setResourceCodePersistence(resourceCodePersistence);
0707:            }
0708:
0709:            public static com.liferay.portal.service.persistence.RolePersistence getRolePersistence() {
0710:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0711:                        .getService();
0712:
0713:                return companyLocalService.getRolePersistence();
0714:            }
0715:
0716:            public static void setRolePersistence(
0717:                    com.liferay.portal.service.persistence.RolePersistence rolePersistence) {
0718:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0719:                        .getService();
0720:
0721:                companyLocalService.setRolePersistence(rolePersistence);
0722:            }
0723:
0724:            public static com.liferay.portal.service.persistence.RoleFinder getRoleFinder() {
0725:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0726:                        .getService();
0727:
0728:                return companyLocalService.getRoleFinder();
0729:            }
0730:
0731:            public static void setRoleFinder(
0732:                    com.liferay.portal.service.persistence.RoleFinder roleFinder) {
0733:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0734:                        .getService();
0735:
0736:                companyLocalService.setRoleFinder(roleFinder);
0737:            }
0738:
0739:            public static com.liferay.portal.service.persistence.ServiceComponentPersistence getServiceComponentPersistence() {
0740:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0741:                        .getService();
0742:
0743:                return companyLocalService.getServiceComponentPersistence();
0744:            }
0745:
0746:            public static void setServiceComponentPersistence(
0747:                    com.liferay.portal.service.persistence.ServiceComponentPersistence serviceComponentPersistence) {
0748:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0749:                        .getService();
0750:
0751:                companyLocalService
0752:                        .setServiceComponentPersistence(serviceComponentPersistence);
0753:            }
0754:
0755:            public static com.liferay.portal.service.persistence.SubscriptionPersistence getSubscriptionPersistence() {
0756:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0757:                        .getService();
0758:
0759:                return companyLocalService.getSubscriptionPersistence();
0760:            }
0761:
0762:            public static void setSubscriptionPersistence(
0763:                    com.liferay.portal.service.persistence.SubscriptionPersistence subscriptionPersistence) {
0764:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0765:                        .getService();
0766:
0767:                companyLocalService
0768:                        .setSubscriptionPersistence(subscriptionPersistence);
0769:            }
0770:
0771:            public static com.liferay.portal.service.persistence.UserPersistence getUserPersistence() {
0772:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0773:                        .getService();
0774:
0775:                return companyLocalService.getUserPersistence();
0776:            }
0777:
0778:            public static void setUserPersistence(
0779:                    com.liferay.portal.service.persistence.UserPersistence userPersistence) {
0780:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0781:                        .getService();
0782:
0783:                companyLocalService.setUserPersistence(userPersistence);
0784:            }
0785:
0786:            public static com.liferay.portal.service.persistence.UserFinder getUserFinder() {
0787:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0788:                        .getService();
0789:
0790:                return companyLocalService.getUserFinder();
0791:            }
0792:
0793:            public static void setUserFinder(
0794:                    com.liferay.portal.service.persistence.UserFinder userFinder) {
0795:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0796:                        .getService();
0797:
0798:                companyLocalService.setUserFinder(userFinder);
0799:            }
0800:
0801:            public static com.liferay.portal.service.persistence.UserGroupPersistence getUserGroupPersistence() {
0802:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0803:                        .getService();
0804:
0805:                return companyLocalService.getUserGroupPersistence();
0806:            }
0807:
0808:            public static void setUserGroupPersistence(
0809:                    com.liferay.portal.service.persistence.UserGroupPersistence userGroupPersistence) {
0810:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0811:                        .getService();
0812:
0813:                companyLocalService
0814:                        .setUserGroupPersistence(userGroupPersistence);
0815:            }
0816:
0817:            public static com.liferay.portal.service.persistence.UserGroupFinder getUserGroupFinder() {
0818:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0819:                        .getService();
0820:
0821:                return companyLocalService.getUserGroupFinder();
0822:            }
0823:
0824:            public static void setUserGroupFinder(
0825:                    com.liferay.portal.service.persistence.UserGroupFinder userGroupFinder) {
0826:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0827:                        .getService();
0828:
0829:                companyLocalService.setUserGroupFinder(userGroupFinder);
0830:            }
0831:
0832:            public static com.liferay.portal.service.persistence.UserGroupRolePersistence getUserGroupRolePersistence() {
0833:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0834:                        .getService();
0835:
0836:                return companyLocalService.getUserGroupRolePersistence();
0837:            }
0838:
0839:            public static void setUserGroupRolePersistence(
0840:                    com.liferay.portal.service.persistence.UserGroupRolePersistence userGroupRolePersistence) {
0841:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0842:                        .getService();
0843:
0844:                companyLocalService
0845:                        .setUserGroupRolePersistence(userGroupRolePersistence);
0846:            }
0847:
0848:            public static com.liferay.portal.service.persistence.UserIdMapperPersistence getUserIdMapperPersistence() {
0849:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0850:                        .getService();
0851:
0852:                return companyLocalService.getUserIdMapperPersistence();
0853:            }
0854:
0855:            public static void setUserIdMapperPersistence(
0856:                    com.liferay.portal.service.persistence.UserIdMapperPersistence userIdMapperPersistence) {
0857:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0858:                        .getService();
0859:
0860:                companyLocalService
0861:                        .setUserIdMapperPersistence(userIdMapperPersistence);
0862:            }
0863:
0864:            public static com.liferay.portal.service.persistence.UserTrackerPersistence getUserTrackerPersistence() {
0865:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0866:                        .getService();
0867:
0868:                return companyLocalService.getUserTrackerPersistence();
0869:            }
0870:
0871:            public static void setUserTrackerPersistence(
0872:                    com.liferay.portal.service.persistence.UserTrackerPersistence userTrackerPersistence) {
0873:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0874:                        .getService();
0875:
0876:                companyLocalService
0877:                        .setUserTrackerPersistence(userTrackerPersistence);
0878:            }
0879:
0880:            public static com.liferay.portal.service.persistence.UserTrackerPathPersistence getUserTrackerPathPersistence() {
0881:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0882:                        .getService();
0883:
0884:                return companyLocalService.getUserTrackerPathPersistence();
0885:            }
0886:
0887:            public static void setUserTrackerPathPersistence(
0888:                    com.liferay.portal.service.persistence.UserTrackerPathPersistence userTrackerPathPersistence) {
0889:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0890:                        .getService();
0891:
0892:                companyLocalService
0893:                        .setUserTrackerPathPersistence(userTrackerPathPersistence);
0894:            }
0895:
0896:            public static com.liferay.portal.service.persistence.WebDAVPropsPersistence getWebDAVPropsPersistence() {
0897:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0898:                        .getService();
0899:
0900:                return companyLocalService.getWebDAVPropsPersistence();
0901:            }
0902:
0903:            public static void setWebDAVPropsPersistence(
0904:                    com.liferay.portal.service.persistence.WebDAVPropsPersistence webDAVPropsPersistence) {
0905:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0906:                        .getService();
0907:
0908:                companyLocalService
0909:                        .setWebDAVPropsPersistence(webDAVPropsPersistence);
0910:            }
0911:
0912:            public static com.liferay.portal.service.persistence.WebsitePersistence getWebsitePersistence() {
0913:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0914:                        .getService();
0915:
0916:                return companyLocalService.getWebsitePersistence();
0917:            }
0918:
0919:            public static void setWebsitePersistence(
0920:                    com.liferay.portal.service.persistence.WebsitePersistence websitePersistence) {
0921:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0922:                        .getService();
0923:
0924:                companyLocalService.setWebsitePersistence(websitePersistence);
0925:            }
0926:
0927:            public static void afterPropertiesSet() {
0928:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0929:                        .getService();
0930:
0931:                companyLocalService.afterPropertiesSet();
0932:            }
0933:
0934:            public static com.liferay.portal.model.Company addCompany(
0935:                    java.lang.String webId, java.lang.String virtualHost,
0936:                    java.lang.String mx)
0937:                    throws com.liferay.portal.PortalException,
0938:                    com.liferay.portal.SystemException {
0939:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0940:                        .getService();
0941:
0942:                return companyLocalService.addCompany(webId, virtualHost, mx);
0943:            }
0944:
0945:            public static com.liferay.portal.model.Company checkCompany(
0946:                    java.lang.String webId)
0947:                    throws com.liferay.portal.PortalException,
0948:                    com.liferay.portal.SystemException {
0949:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0950:                        .getService();
0951:
0952:                return companyLocalService.checkCompany(webId);
0953:            }
0954:
0955:            public static com.liferay.portal.model.Company checkCompany(
0956:                    java.lang.String webId, java.lang.String mx)
0957:                    throws com.liferay.portal.PortalException,
0958:                    com.liferay.portal.SystemException {
0959:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0960:                        .getService();
0961:
0962:                return companyLocalService.checkCompany(webId, mx);
0963:            }
0964:
0965:            public static void checkCompanyKey(long companyId)
0966:                    throws com.liferay.portal.PortalException,
0967:                    com.liferay.portal.SystemException {
0968:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0969:                        .getService();
0970:
0971:                companyLocalService.checkCompanyKey(companyId);
0972:            }
0973:
0974:            public static java.util.List getCompanies()
0975:                    throws com.liferay.portal.SystemException {
0976:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0977:                        .getService();
0978:
0979:                return companyLocalService.getCompanies();
0980:            }
0981:
0982:            public static com.liferay.portal.model.Company getCompanyById(
0983:                    long companyId) throws com.liferay.portal.PortalException,
0984:                    com.liferay.portal.SystemException {
0985:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0986:                        .getService();
0987:
0988:                return companyLocalService.getCompanyById(companyId);
0989:            }
0990:
0991:            public static com.liferay.portal.model.Company getCompanyByLogoId(
0992:                    long logoId) throws com.liferay.portal.PortalException,
0993:                    com.liferay.portal.SystemException {
0994:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
0995:                        .getService();
0996:
0997:                return companyLocalService.getCompanyByLogoId(logoId);
0998:            }
0999:
1000:            public static com.liferay.portal.model.Company getCompanyByMx(
1001:                    java.lang.String mx)
1002:                    throws com.liferay.portal.PortalException,
1003:                    com.liferay.portal.SystemException {
1004:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
1005:                        .getService();
1006:
1007:                return companyLocalService.getCompanyByMx(mx);
1008:            }
1009:
1010:            public static com.liferay.portal.model.Company getCompanyByVirtualHost(
1011:                    java.lang.String virtualHost)
1012:                    throws com.liferay.portal.PortalException,
1013:                    com.liferay.portal.SystemException {
1014:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
1015:                        .getService();
1016:
1017:                return companyLocalService.getCompanyByVirtualHost(virtualHost);
1018:            }
1019:
1020:            public static com.liferay.portal.model.Company getCompanyByWebId(
1021:                    java.lang.String webId)
1022:                    throws com.liferay.portal.PortalException,
1023:                    com.liferay.portal.SystemException {
1024:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
1025:                        .getService();
1026:
1027:                return companyLocalService.getCompanyByWebId(webId);
1028:            }
1029:
1030:            public static com.liferay.portal.kernel.search.Hits search(
1031:                    long companyId, java.lang.String keywords)
1032:                    throws com.liferay.portal.SystemException {
1033:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
1034:                        .getService();
1035:
1036:                return companyLocalService.search(companyId, keywords);
1037:            }
1038:
1039:            public static com.liferay.portal.kernel.search.Hits search(
1040:                    long companyId, java.lang.String portletId, long groupId,
1041:                    java.lang.String type, java.lang.String keywords)
1042:                    throws com.liferay.portal.SystemException {
1043:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
1044:                        .getService();
1045:
1046:                return companyLocalService.search(companyId, portletId,
1047:                        groupId, type, keywords);
1048:            }
1049:
1050:            public static com.liferay.portal.model.Company updateCompany(
1051:                    long companyId, java.lang.String virtualHost,
1052:                    java.lang.String mx)
1053:                    throws com.liferay.portal.PortalException,
1054:                    com.liferay.portal.SystemException {
1055:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
1056:                        .getService();
1057:
1058:                return companyLocalService.updateCompany(companyId,
1059:                        virtualHost, mx);
1060:            }
1061:
1062:            public static com.liferay.portal.model.Company updateCompany(
1063:                    long companyId, java.lang.String virtualHost,
1064:                    java.lang.String mx, java.lang.String name,
1065:                    java.lang.String legalName, java.lang.String legalId,
1066:                    java.lang.String legalType, java.lang.String sicCode,
1067:                    java.lang.String tickerSymbol, java.lang.String industry,
1068:                    java.lang.String type, java.lang.String size)
1069:                    throws com.liferay.portal.PortalException,
1070:                    com.liferay.portal.SystemException {
1071:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
1072:                        .getService();
1073:
1074:                return companyLocalService.updateCompany(companyId,
1075:                        virtualHost, mx, name, legalName, legalId, legalType,
1076:                        sicCode, tickerSymbol, industry, type, size);
1077:            }
1078:
1079:            public static void updateDisplay(long companyId,
1080:                    java.lang.String languageId, java.lang.String timeZoneId)
1081:                    throws com.liferay.portal.PortalException,
1082:                    com.liferay.portal.SystemException {
1083:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
1084:                        .getService();
1085:
1086:                companyLocalService.updateDisplay(companyId, languageId,
1087:                        timeZoneId);
1088:            }
1089:
1090:            public static void updateLogo(long companyId, java.io.File file)
1091:                    throws com.liferay.portal.PortalException,
1092:                    com.liferay.portal.SystemException {
1093:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
1094:                        .getService();
1095:
1096:                companyLocalService.updateLogo(companyId, file);
1097:            }
1098:
1099:            public static void updateSecurity(long companyId,
1100:                    java.lang.String authType, boolean autoLogin,
1101:                    boolean sendPassword, boolean strangers,
1102:                    boolean strangersWithMx, boolean strangersVerify,
1103:                    boolean communityLogo)
1104:                    throws com.liferay.portal.PortalException,
1105:                    com.liferay.portal.SystemException {
1106:                CompanyLocalService companyLocalService = CompanyLocalServiceFactory
1107:                        .getService();
1108:
1109:                companyLocalService.updateSecurity(companyId, authType,
1110:                        autoLogin, sendPassword, strangers, strangersWithMx,
1111:                        strangersVerify, communityLogo);
1112:            }
1113:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.