Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-87303

Resolve SB error in MBMessageLocalServiceBaseImpl.java

    Details

      Description

      SB is asking for the opposite of this commit from yesterday under LPS-87209: https://github.com/liferay/liferay-portal-ee/commit/c80843d6a988e635c59551082d331548cddd269e#diff-a2c8d4294d0804cba1d85ac374111e07

           [echo] diff --git a/modules/apps/message-boards/message-boards-service/src/main/java/com/liferay/message/boards/service/base/MBMessageLocalServiceBaseImpl.java b/modules/apps/message-boards/message-boards-service/src/main/java/com/liferay/message/boards/service/base/MBMessageLocalServiceBaseImpl.java
           [echo] index 26ab069..f7d5f67 100644
           [echo] --- a/modules/apps/message-boards/message-boards-service/src/main/java/com/liferay/message/boards/service/base/MBMessageLocalServiceBaseImpl.java
           [echo] +++ b/modules/apps/message-boards/message-boards-service/src/main/java/com/liferay/message/boards/service/base/MBMessageLocalServiceBaseImpl.java
           [echo] @@ -893,6 +893,44 @@ public abstract class MBMessageLocalServiceBaseImpl extends BaseLocalServiceImpl
           [echo]  	}
           [echo]  
           [echo]  	/**
           [echo] +	 * Returns the asset link local service.
           [echo] +	 *
           [echo] +	 * @return the asset link local service
           [echo] +	 */
           [echo] +	public com.liferay.asset.kernel.service.AssetLinkLocalService getAssetLinkLocalService() {
           [echo] +		return assetLinkLocalService;
           [echo] +	}
           [echo] +
           [echo] +	/**
           [echo] +	 * Sets the asset link local service.
           [echo] +	 *
           [echo] +	 * @param assetLinkLocalService the asset link local service
           [echo] +	 */
           [echo] +	public void setAssetLinkLocalService(
           [echo] +		com.liferay.asset.kernel.service.AssetLinkLocalService assetLinkLocalService) {
           [echo] +		this.assetLinkLocalService = assetLinkLocalService;
           [echo] +	}
           [echo] +
           [echo] +	/**
           [echo] +	 * Returns the asset link persistence.
           [echo] +	 *
           [echo] +	 * @return the asset link persistence
           [echo] +	 */
           [echo] +	public AssetLinkPersistence getAssetLinkPersistence() {
           [echo] +		return assetLinkPersistence;
           [echo] +	}
           [echo] +
           [echo] +	/**
           [echo] +	 * Sets the asset link persistence.
           [echo] +	 *
           [echo] +	 * @param assetLinkPersistence the asset link persistence
           [echo] +	 */
           [echo] +	public void setAssetLinkPersistence(
           [echo] +		AssetLinkPersistence assetLinkPersistence) {
           [echo] +		this.assetLinkPersistence = assetLinkPersistence;
           [echo] +	}
           [echo] +
           [echo] +	/**
           [echo]  	 * Returns the expando row local service.
           [echo]  	 *
           [echo]  	 * @return the expando row local service
           [echo] @@ -1023,44 +1061,6 @@ public abstract class MBMessageLocalServiceBaseImpl extends BaseLocalServiceImpl
           [echo]  		this.mbThreadFinder = mbThreadFinder;
           [echo]  	}
           [echo]  
           [echo] -	/**
           [echo] -	 * Returns the asset link local service.
           [echo] -	 *
           [echo] -	 * @return the asset link local service
           [echo] -	 */
           [echo] -	public com.liferay.asset.kernel.service.AssetLinkLocalService getAssetLinkLocalService() {
           [echo] -		return assetLinkLocalService;
           [echo] -	}
           [echo] -
           [echo] -	/**
           [echo] -	 * Sets the asset link local service.
           [echo] -	 *
           [echo] -	 * @param assetLinkLocalService the asset link local service
           [echo] -	 */
           [echo] -	public void setAssetLinkLocalService(
           [echo] -		com.liferay.asset.kernel.service.AssetLinkLocalService assetLinkLocalService) {
           [echo] -		this.assetLinkLocalService = assetLinkLocalService;
           [echo] -	}
           [echo] -
           [echo] -	/**
           [echo] -	 * Returns the asset link persistence.
           [echo] -	 *
           [echo] -	 * @return the asset link persistence
           [echo] -	 */
           [echo] -	public AssetLinkPersistence getAssetLinkPersistence() {
           [echo] -		return assetLinkPersistence;
           [echo] -	}
           [echo] -
           [echo] -	/**
           [echo] -	 * Sets the asset link persistence.
           [echo] -	 *
           [echo] -	 * @param assetLinkPersistence the asset link persistence
           [echo] -	 */
           [echo] -	public void setAssetLinkPersistence(
           [echo] -		AssetLinkPersistence assetLinkPersistence) {
           [echo] -		this.assetLinkPersistence = assetLinkPersistence;
           [echo] -	}
           [echo] -
           [echo]  	public void afterPropertiesSet() {
           [echo]  		persistedModelLocalServiceRegistry.register("com.liferay.message.boards.model.MBMessage",
           [echo]  			mbMessageLocalService);
           [echo] @@ -1153,6 +1153,10 @@ public abstract class MBMessageLocalServiceBaseImpl extends BaseLocalServiceImpl
           [echo]  	protected com.liferay.asset.kernel.service.AssetEntryLocalService assetEntryLocalService;
           [echo]  	@ServiceReference(type = AssetEntryPersistence.class)
           [echo]  	protected AssetEntryPersistence assetEntryPersistence;
           [echo] +	@ServiceReference(type = com.liferay.asset.kernel.service.AssetLinkLocalService.class)
           [echo] +	protected com.liferay.asset.kernel.service.AssetLinkLocalService assetLinkLocalService;
           [echo] +	@ServiceReference(type = AssetLinkPersistence.class)
           [echo] +	protected AssetLinkPersistence assetLinkPersistence;
           [echo]  	@ServiceReference(type = com.liferay.expando.kernel.service.ExpandoRowLocalService.class)
           [echo]  	protected com.liferay.expando.kernel.service.ExpandoRowLocalService expandoRowLocalService;
           [echo]  	@ServiceReference(type = ExpandoRowPersistence.class)
           [echo] @@ -1167,10 +1171,6 @@ public abstract class MBMessageLocalServiceBaseImpl extends BaseLocalServiceImpl
           [echo]  	protected MBThreadPersistence mbThreadPersistence;
           [echo]  	@BeanReference(type = MBThreadFinder.class)
           [echo]  	protected MBThreadFinder mbThreadFinder;
           [echo] -	@ServiceReference(type = com.liferay.asset.kernel.service.AssetLinkLocalService.class)
           [echo] -	protected com.liferay.asset.kernel.service.AssetLinkLocalService assetLinkLocalService;
           [echo] -	@ServiceReference(type = AssetLinkPersistence.class)
           [echo] -	protected AssetLinkPersistence assetLinkPersistence;
           [echo]  	@ServiceReference(type = PersistedModelLocalServiceRegistry.class)
           [echo]  	protected PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry;
           [echo]  }
           [echo] \ No newline at end of file
           [echo] diff --git a/modules/apps/message-boards/message-boards-service/src/main/java/com/liferay/message/boards/service/base/MBMessageServiceBaseImpl.java b/modules/apps/message-boards/message-boards-service/src/main/java/com/liferay/message/boards/service/base/MBMessageServiceBaseImpl.java
           [echo] index fa1a56d..f6b43b8 100644
           [echo] --- a/modules/apps/message-boards/message-boards-service/src/main/java/com/liferay/message/boards/service/base/MBMessageServiceBaseImpl.java
           [echo] +++ b/modules/apps/message-boards/message-boards-service/src/main/java/com/liferay/message/boards/service/base/MBMessageServiceBaseImpl.java
           [echo] @@ -576,6 +576,44 @@ public abstract class MBMessageServiceBaseImpl extends BaseServiceImpl
           [echo]  	}
           [echo]  
           [echo]  	/**
           [echo] +	 * Returns the asset link local service.
           [echo] +	 *
           [echo] +	 * @return the asset link local service
           [echo] +	 */
           [echo] +	public com.liferay.asset.kernel.service.AssetLinkLocalService getAssetLinkLocalService() {
           [echo] +		return assetLinkLocalService;
           [echo] +	}
           [echo] +
           [echo] +	/**
           [echo] +	 * Sets the asset link local service.
           [echo] +	 *
           [echo] +	 * @param assetLinkLocalService the asset link local service
           [echo] +	 */
           [echo] +	public void setAssetLinkLocalService(
           [echo] +		com.liferay.asset.kernel.service.AssetLinkLocalService assetLinkLocalService) {
           [echo] +		this.assetLinkLocalService = assetLinkLocalService;
           [echo] +	}
           [echo] +
           [echo] +	/**
           [echo] +	 * Returns the asset link persistence.
           [echo] +	 *
           [echo] +	 * @return the asset link persistence
           [echo] +	 */
           [echo] +	public AssetLinkPersistence getAssetLinkPersistence() {
           [echo] +		return assetLinkPersistence;
           [echo] +	}
           [echo] +
           [echo] +	/**
           [echo] +	 * Sets the asset link persistence.
           [echo] +	 *
           [echo] +	 * @param assetLinkPersistence the asset link persistence
           [echo] +	 */
           [echo] +	public void setAssetLinkPersistence(
           [echo] +		AssetLinkPersistence assetLinkPersistence) {
           [echo] +		this.assetLinkPersistence = assetLinkPersistence;
           [echo] +	}
           [echo] +
           [echo] +	/**
           [echo]  	 * Returns the expando row local service.
           [echo]  	 *
           [echo]  	 * @return the expando row local service
           [echo] @@ -725,44 +763,6 @@ public abstract class MBMessageServiceBaseImpl extends BaseServiceImpl
           [echo]  		this.mbThreadFinder = mbThreadFinder;
           [echo]  	}
           [echo]  
           [echo] -	/**
           [echo] -	 * Returns the asset link local service.
           [echo] -	 *
           [echo] -	 * @return the asset link local service
           [echo] -	 */
           [echo] -	public com.liferay.asset.kernel.service.AssetLinkLocalService getAssetLinkLocalService() {
           [echo] -		return assetLinkLocalService;
           [echo] -	}
           [echo] -
           [echo] -	/**
           [echo] -	 * Sets the asset link local service.
           [echo] -	 *
           [echo] -	 * @param assetLinkLocalService the asset link local service
           [echo] -	 */
           [echo] -	public void setAssetLinkLocalService(
           [echo] -		com.liferay.asset.kernel.service.AssetLinkLocalService assetLinkLocalService) {
           [echo] -		this.assetLinkLocalService = assetLinkLocalService;
           [echo] -	}
           [echo] -
           [echo] -	/**
           [echo] -	 * Returns the asset link persistence.
           [echo] -	 *
           [echo] -	 * @return the asset link persistence
           [echo] -	 */
           [echo] -	public AssetLinkPersistence getAssetLinkPersistence() {
           [echo] -		return assetLinkPersistence;
           [echo] -	}
           [echo] -
           [echo] -	/**
           [echo] -	 * Sets the asset link persistence.
           [echo] -	 *
           [echo] -	 * @param assetLinkPersistence the asset link persistence
           [echo] -	 */
           [echo] -	public void setAssetLinkPersistence(
           [echo] -		AssetLinkPersistence assetLinkPersistence) {
           [echo] -		this.assetLinkPersistence = assetLinkPersistence;
           [echo] -	}
           [echo] -
           [echo]  	public void afterPropertiesSet() {
           [echo]  	}
           [echo]  
           [echo] @@ -865,6 +865,10 @@ public abstract class MBMessageServiceBaseImpl extends BaseServiceImpl
           [echo]  	protected com.liferay.asset.kernel.service.AssetEntryService assetEntryService;
           [echo]  	@ServiceReference(type = AssetEntryPersistence.class)
           [echo]  	protected AssetEntryPersistence assetEntryPersistence;
           [echo] +	@ServiceReference(type = com.liferay.asset.kernel.service.AssetLinkLocalService.class)
           [echo] +	protected com.liferay.asset.kernel.service.AssetLinkLocalService assetLinkLocalService;
           [echo] +	@ServiceReference(type = AssetLinkPersistence.class)
           [echo] +	protected AssetLinkPersistence assetLinkPersistence;
           [echo]  	@ServiceReference(type = com.liferay.expando.kernel.service.ExpandoRowLocalService.class)
           [echo]  	protected com.liferay.expando.kernel.service.ExpandoRowLocalService expandoRowLocalService;
           [echo]  	@ServiceReference(type = ExpandoRowPersistence.class)
           [echo] @@ -881,8 +885,4 @@ public abstract class MBMessageServiceBaseImpl extends BaseServiceImpl
           [echo]  	protected MBThreadPersistence mbThreadPersistence;
           [echo]  	@BeanReference(type = MBThreadFinder.class)
           [echo]  	protected MBThreadFinder mbThreadFinder;
           [echo] -	@ServiceReference(type = com.liferay.asset.kernel.service.AssetLinkLocalService.class)
           [echo] -	protected com.liferay.asset.kernel.service.AssetLinkLocalService assetLinkLocalService;
           [echo] -	@ServiceReference(type = AssetLinkPersistence.class)
           [echo] -	protected AssetLinkPersistence assetLinkPersistence;
           [echo]  }
           [echo] \ No newline at end of file
           [echo] .
           [echo] 
      

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Packages

                Version Package