protected void initActionableDynamicQuery(ActionableDynamicQuery actionableDynamicQuery) {
    actionableDynamicQuery.setBaseLocalService(
        com.liferay.portal.service.WebsiteLocalServiceUtil.getService());
    actionableDynamicQuery.setClassLoader(getClassLoader());
    actionableDynamicQuery.setModelClass(Website.class);

    actionableDynamicQuery.setPrimaryKeyPropertyName("websiteId");
  }
  public static Website addWebsite(Organization organization) throws Exception {

    return WebsiteLocalServiceUtil.addWebsite(
        organization.getUserId(),
        organization.getModelClassName(),
        organization.getOrganizationId(),
        "http://www.test.com",
        _getListTypeId(ListTypeConstants.ORGANIZATION_WEBSITE),
        false,
        new ServiceContext());
  }
  @Override
  public ActionableDynamicQuery getActionableDynamicQuery() {
    ActionableDynamicQuery actionableDynamicQuery = new DefaultActionableDynamicQuery();

    actionableDynamicQuery.setBaseLocalService(
        com.liferay.portal.service.WebsiteLocalServiceUtil.getService());
    actionableDynamicQuery.setClassLoader(getClassLoader());
    actionableDynamicQuery.setModelClass(Website.class);

    actionableDynamicQuery.setPrimaryKeyPropertyName("websiteId");

    return actionableDynamicQuery;
  }
 public List<Website> getWebsites() throws SystemException {
   return WebsiteLocalServiceUtil.getWebsites(
       getCompanyId(), Contact.class.getName(), getContactId());
 }