All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.social.liferay-social.xml Maven / Gradle / Ivy

There is a newer version: 5.0.118
Show newest version
<?xml version="1.0"?>
<!DOCTYPE liferay-social PUBLIC "-//Liferay//DTD Social 7.4.0//EN" "http://www.liferay.com/dtd/liferay-social_7_4_0.dtd">

<liferay-social>
	<activity>
		<model-name>com.liferay.message.boards.model.MBMessage</model-name>
		<activity-type>${com.liferay.message.boards.social.MBActivityKeys.ADD_MESSAGE}</activity-type>
		<language-key>ADD_MESSAGE</language-key>
		<log-activity>true</log-activity>
		<contribution-limit enabled="false" />
		<participation-value>5</participation-value>
		<counter>
			<name>user.message-posts</name>
			<owner-type>actor</owner-type>
		</counter>
	</activity>
	<activity>
		<model-name>com.liferay.message.boards.model.MBMessage</model-name>
		<activity-type>${com.liferay.message.boards.social.MBActivityKeys.REPLY_MESSAGE}</activity-type>
		<language-key>REPLY_MESSAGE</language-key>
		<contribution-value>2</contribution-value>
		<counter>
			<name>asset.replies</name>
			<owner-type>asset</owner-type>
		</counter>
	</activity>
	<activity>
		<model-name>com.liferay.message.boards.model.MBMessage</model-name>
		<activity-type>${com.liferay.social.kernel.model.SocialActivityConstants.TYPE_ADD_VOTE}</activity-type>
		<language-key>ADD_VOTE</language-key>
		<contribution-value>5</contribution-value>
		<contribution-limit enabled="false" />
		<participation-value>1</participation-value>
		<counter>
			<name>asset.votes</name>
			<owner-type>asset</owner-type>
		</counter>
		<counter>
			<name>user.votes</name>
			<owner-type>actor</owner-type>
		</counter>
	</activity>
	<activity>
		<model-name>com.liferay.message.boards.model.MBMessage</model-name>
		<activity-type>${com.liferay.social.kernel.model.SocialActivityConstants.TYPE_REVOKE_VOTE}</activity-type>
		<language-key>REVOKE_VOTE</language-key>
		<contribution-value>-5</contribution-value>
		<contribution-limit enabled="false" />
		<participation-value>-1</participation-value>
		<counter>
			<name>asset.votes</name>
			<owner-type>asset</owner-type>
		</counter>
		<counter>
			<name>user.votes</name>
			<owner-type>actor</owner-type>
		</counter>
	</activity>
	<activity>
		<model-name>com.liferay.message.boards.model.MBMessage</model-name>
		<activity-type>${com.liferay.social.kernel.model.SocialActivityConstants.TYPE_SUBSCRIBE}</activity-type>
		<language-key>SUBSCRIBE</language-key>
		<contribution-value>2</contribution-value>
		<contribution-limit enabled="false" />
		<participation-value>2</participation-value>
		<counter>
			<name>asset.subscriptions</name>
			<owner-type>asset</owner-type>
		</counter>
		<counter>
			<name>creator.subscriptions</name>
			<owner-type>creator</owner-type>
		</counter>
		<counter>
			<name>user.subscriptions</name>
			<owner-type>actor</owner-type>
		</counter>
	</activity>
	<activity>
		<model-name>com.liferay.message.boards.model.MBMessage</model-name>
		<activity-type>${com.liferay.social.kernel.model.SocialActivityConstants.TYPE_UNSUBSCRIBE}</activity-type>
		<language-key>UNSUBSCRIBE</language-key>
		<counter>
			<name>asset.cancelled-subscriptions</name>
			<owner-type>asset</owner-type>
		</counter>
		<counter>
			<name>creator.cancelled-subscriptions</name>
			<owner-type>creator</owner-type>
		</counter>
		<counter>
			<name>user.cancelled-subscriptions</name>
			<owner-type>actor</owner-type>
		</counter>
	</activity>
	<activity>
		<model-name>com.liferay.message.boards.model.MBMessage</model-name>
		<activity-type>${com.liferay.social.kernel.model.SocialActivityConstants.TYPE_VIEW}</activity-type>
		<language-key>VIEW</language-key>
		<participation-value>1</participation-value>
	</activity>
	<activity>
		<model-name>com.liferay.message.boards.model.MBThread</model-name>
		<activity-type>${com.liferay.social.kernel.model.SocialActivityConstants.TYPE_MOVE_TO_TRASH}</activity-type>
		<log-activity>true</log-activity>
		<counters-enabled>false</counters-enabled>
	</activity>
	<activity>
		<model-name>com.liferay.message.boards.model.MBThread</model-name>
		<activity-type>${com.liferay.social.kernel.model.SocialActivityConstants.TYPE_RESTORE_FROM_TRASH}</activity-type>
		<log-activity>true</log-activity>
		<counters-enabled>false</counters-enabled>
	</activity>
</liferay-social>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy