/** * 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 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); }
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); }
/** * Creates a new email address with the primary key. Does not add the email address to the database. * * @param emailAddressId the primary key for the new email address * @return the new email address */ public static com.liferay.portal.kernel.model.EmailAddress createEmailAddress( long emailAddressId) { return getService().createEmailAddress(emailAddressId); }
public static com.liferay.portal.kernel.model.EmailAddress addEmailAddress( String className, long classPK, String address, long typeId, boolean primary, ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException { return getService() .addEmailAddress(className, classPK, address, typeId, primary, serviceContext); }
/** * 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); }
/** * Adds the browser tracker to the database. Also notifies the appropriate model listeners. * * @param browserTracker the browser tracker * @return the browser tracker that was added */ public static com.liferay.portal.kernel.model.BrowserTracker addBrowserTracker( com.liferay.portal.kernel.model.BrowserTracker browserTracker) { return getService().addBrowserTracker(browserTracker); }
/** * Creates a new browser tracker with the primary key. Does not add the browser tracker to the database. * * @param browserTrackerId the primary key for the new browser tracker * @return the new browser tracker */ public static com.liferay.portal.kernel.model.BrowserTracker createBrowserTracker( long browserTrackerId) { return getService().createBrowserTracker(browserTrackerId); }
/** * Deletes the browser tracker with the primary key from the database. Also notifies the appropriate model listeners. * * @param browserTrackerId the primary key of the browser tracker * @return the browser tracker that was removed * @throws PortalException if a browser tracker with the primary key could not be found */ public static com.liferay.portal.kernel.model.BrowserTracker deleteBrowserTracker( long browserTrackerId) throws com.liferay.portal.kernel.exception.PortalException { return getService().deleteBrowserTracker(browserTrackerId); }
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 group with the primary key. * * @param groupId the primary key of the group * @return the group with the primary key * @throws PortalException if a portal exception occurred */ public static com.liferay.portal.kernel.model.Group getGroup(long groupId) throws com.liferay.portal.kernel.exception.PortalException { return getService().getGroup(groupId); }
/** * Removes the groups from the role. * * @param roleId the primary key of the role * @param groupIds the primary keys of the groups * @throws PortalException if a portal exception occurred */ public static void unsetRoleGroups(long roleId, long[] groupIds) throws com.liferay.portal.kernel.exception.PortalException { getService().unsetRoleGroups(roleId, groupIds); }
/** * Adds the account to the database. Also notifies the appropriate model listeners. * * @param account the account * @return the account that was added */ public static com.liferay.portal.kernel.model.Account addAccount( com.liferay.portal.kernel.model.Account account) { return getService().addAccount(account); }
/** * Returns the number of accounts. * * @return the number of accounts */ public static int getAccountsCount() { return getService().getAccountsCount(); }
/** * Adds a company group if it does not exist. This method is typically used * when a virtual host is added. * * @param companyId the primary key of the company * @throws PortalException if a portal exception occurred */ public static void checkCompanyGroup(long companyId) throws com.liferay.portal.kernel.exception.PortalException { getService().checkCompanyGroup(companyId); }
/** * Creates a new image with the primary key. Does not add the image to the database. * * @param imageId the primary key for the new image * @return the new image */ public static com.liferay.portal.kernel.model.Image createImage( long imageId) { return getService().createImage(imageId); }
/** * Returns the number of images. * * @return the number of images */ public static int getImagesCount() { return getService().getImagesCount(); }
/** * 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); }
/** * 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); }