META-INF.social.liferay-social.xml Maven / Gradle / Ivy
<?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.wiki.model.WikiPage</model-name> <activity-type>${com.liferay.social.kernel.model.SocialActivityConstants.TYPE_ADD_ATTACHMENT}</activity-type> <language-key>ADD_ATTACHMENT</language-key> <log-activity>true</log-activity> <contribution-value>2</contribution-value> <participation-value>2</participation-value> <counter> <name>asset.attachments</name> <owner-type>asset</owner-type> </counter> <counter> <name>user.attachments</name> <owner-type>actor</owner-type> </counter> </activity> <activity> <model-name>com.liferay.wiki.model.WikiPage</model-name> <activity-type>${com.liferay.social.kernel.model.SocialActivityConstants.TYPE_ADD_COMMENT}</activity-type> <language-key>ADD_COMMENT</language-key> <log-activity>true</log-activity> <contribution-value>2</contribution-value> <participation-value>2</participation-value> <counter> <name>asset.comments</name> <owner-type>asset</owner-type> </counter> <counter> <name>creator.comments</name> <owner-type>creator</owner-type> </counter> <counter> <name>user.comments</name> <owner-type>actor</owner-type> </counter> </activity> <activity> <model-name>com.liferay.wiki.model.WikiPage</model-name> <activity-type>${com.liferay.social.kernel.model.SocialActivityConstants.TYPE_MOVE_ATTACHMENT_TO_TRASH}</activity-type> <log-activity>true</log-activity> <counters-enabled>false</counters-enabled> </activity> <activity> <model-name>com.liferay.wiki.model.WikiPage</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.wiki.model.WikiPage</model-name> <activity-type>${com.liferay.social.kernel.model.SocialActivityConstants.TYPE_RESTORE_ATTACHMENT_FROM_TRASH}</activity-type> <log-activity>true</log-activity> <counters-enabled>false</counters-enabled> </activity> <activity> <model-name>com.liferay.wiki.model.WikiPage</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> <activity> <model-name>com.liferay.wiki.model.WikiPage</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.wiki.model.WikiPage</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.wiki.model.WikiPage</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.wiki.model.WikiPage</model-name> <activity-type>${com.liferay.wiki.social.WikiActivityKeys.ADD_PAGE}</activity-type> <language-key>ADD_PAGE</language-key> <log-activity>true</log-activity> <contribution-limit enabled="false" /> <participation-value>5</participation-value> <counter> <name>user.wikis</name> <owner-type>actor</owner-type> </counter> </activity> <activity> <model-name>com.liferay.wiki.model.WikiPage</model-name> <activity-type>${com.liferay.wiki.social.WikiActivityKeys.UPDATE_PAGE}</activity-type> <language-key>UPDATE_PAGE</language-key> <log-activity>true</log-activity> <participation-value>1</participation-value> <participation-limit period="period">10</participation-limit> <counter> <name>user.wiki-updates</name> <owner-type>actor</owner-type> </counter> </activity> </liferay-social>