Package com.liferay.portal.model

Examples of com.liferay.portal.model.Phone


    String mobilePhone = registrant.getMobilePhone();

    if (Validator.isNotNull(mobilePhone)) {

      if (Validator.isPhoneNumber(mobilePhone)) {
        Phone phone = PhoneUtil.create(0L);
        phone.setUserId(registrant.getUserId());
        phone.setCompanyId(companyId);
        phone.setNumber(mobilePhone);
        phone.setPrimary(true);
        phone.setTypeId(getMobilePhoneTypeId());
        phones.add(phone);

        PermissionChecker permissionCheckerBackup = PermissionThreadLocal.getPermissionChecker();
        PermissionThreadLocal.setPermissionChecker(getAdministratorPermissionChecker(companyId));
View Full Code Here

TOP

Related Classes of com.liferay.portal.model.Phone

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.