public static com.liferay.portal.kernel.model.Address addAddress( long userId, String className, long classPK, String street1, String street2, String street3, String city, String zip, long regionId, long countryId, long typeId, boolean mailing, boolean primary, ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException { return getService() .addAddress(userId, className, classPK, street1, street2, street3, city, zip, regionId, countryId, typeId, mailing, primary, serviceContext); }
public static com.liferay.portal.kernel.model.Address updateAddress( long addressId, String street1, String street2, String street3, String city, String zip, long regionId, long countryId, long typeId, boolean mailing, boolean primary) throws com.liferay.portal.kernel.exception.PortalException { return getService() .updateAddress(addressId, street1, street2, street3, city, zip, regionId, countryId, typeId, mailing, primary); }
/** * Returns the address with the matching UUID and company. * * @param uuid the address's UUID * @param companyId the primary key of the company * @return the matching address, or <code>null</code> if a matching address could not be found */ public static com.liferay.portal.kernel.model.Address fetchAddressByUuidAndCompanyId( String uuid, long companyId) { return getService().fetchAddressByUuidAndCompanyId(uuid, companyId); }
/** * Deletes the address with the primary key from the database. Also notifies the appropriate model listeners. * * @param addressId the primary key of the address * @return the address that was removed * @throws PortalException if a address with the primary key could not be found */ public static com.liferay.portal.kernel.model.Address deleteAddress( long addressId) throws com.liferay.portal.kernel.exception.PortalException { return getService().deleteAddress(addressId); }
/** * Performs a dynamic query on the database and returns the matching rows. * * @param dynamicQuery the dynamic query * @return the matching rows */ public static <T> java.util.List<T> dynamicQuery( com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) { return getService().dynamicQuery(dynamicQuery); }
/** * Returns the number of rows matching the dynamic query. * * @param dynamicQuery the dynamic query * @param projection the projection to apply to the query * @return the number of rows matching the dynamic query */ public static long dynamicQueryCount( com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection) { return getService().dynamicQueryCount(dynamicQuery, projection); }
public static java.util.List<com.liferay.portal.kernel.model.Address> getAddresses( long companyId, String className, long classPK) { return getService().getAddresses(companyId, className, classPK); }
public static com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery( com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) { return getService().getExportActionableDynamicQuery(portletDataContext); }
/** * Deletes the address from the database. Also notifies the appropriate model listeners. * * @param address the address * @return the address that was removed */ public static com.liferay.portal.kernel.model.Address deleteAddress( com.liferay.portal.kernel.model.Address address) { return getService().deleteAddress(address); }
/** * Returns the number of rows matching the dynamic query. * * @param dynamicQuery the dynamic query * @return the number of rows matching the dynamic query */ public static long dynamicQueryCount( com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) { return getService().dynamicQueryCount(dynamicQuery); }
/** * Returns the number of addresses. * * @return the number of addresses */ public static int getAddressesCount() { return getService().getAddressesCount(); }
public static com.liferay.portal.kernel.model.PersistedModel getPersistedModel( java.io.Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException { return getService().getPersistedModel(primaryKeyObj); }
/** * Returns the address with the matching UUID and company. * * @param uuid the address's UUID * @param companyId the primary key of the company * @return the matching address * @throws PortalException if a matching address could not be found */ public static com.liferay.portal.kernel.model.Address getAddressByUuidAndCompanyId( String uuid, long companyId) throws com.liferay.portal.kernel.exception.PortalException { return getService().getAddressByUuidAndCompanyId(uuid, companyId); }
/** * Creates a new address with the primary key. Does not add the address to the database. * * @param addressId the primary key for the new address * @return the new address */ public static com.liferay.portal.kernel.model.Address createAddress( long addressId) { return getService().createAddress(addressId); }
/** * @throws PortalException */ public static com.liferay.portal.kernel.model.PersistedModel deletePersistedModel( com.liferay.portal.kernel.model.PersistedModel persistedModel) throws com.liferay.portal.kernel.exception.PortalException { return getService().deletePersistedModel(persistedModel); }
/** * Returns the address with the primary key. * * @param addressId the primary key of the address * @return the address * @throws PortalException if a address with the primary key could not be found */ public static com.liferay.portal.kernel.model.Address getAddress( long addressId) throws com.liferay.portal.kernel.exception.PortalException { return getService().getAddress(addressId); }
/** * Returns the OSGi service identifier. * * @return the OSGi service identifier */ public static String getOSGiServiceIdentifier() { return getService().getOSGiServiceIdentifier(); }
public static void deleteAddresses(long companyId, String className, long classPK) { getService().deleteAddresses(companyId, className, classPK); }
public static com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery() { return getService().getIndexableActionableDynamicQuery(); }
public static com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { return getService().dynamicQuery(); }