コード例 #1
1
 public List<Phone> getPhones() throws SystemException {
   return PhoneLocalServiceUtil.getPhones(getCompanyId(), Contact.class.getName(), getContactId());
 }
コード例 #2
0
 public static Phone addPhone(Organization organization) throws Exception {
   return PhoneLocalServiceUtil.addPhone(
       organization.getUserId(),
       organization.getModelClassName(),
       organization.getOrganizationId(),
       "0000000000",
       "000",
       _getListTypeId(ListTypeConstants.ORGANIZATION_PHONE),
       false,
       new ServiceContext());
 }