/** * Adds the image to the database. Also notifies the appropriate model listeners. * * @param image the image * @return the image that was added */ @Override public com.liferay.portal.kernel.model.Image addImage( com.liferay.portal.kernel.model.Image image) { return _imageLocalService.addImage(image); }
/** * Adds the image to the database. Also notifies the appropriate model listeners. * * @param image the image * @return the image that was added */ public static com.liferay.portal.kernel.model.Image addImage( com.liferay.portal.kernel.model.Image image) { return getService().addImage(image); }