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

com.liferay.portlet.social.service.SocialActivityServiceWrapper Maven / Gradle / Ivy

Go to download

Contains interfaces for the portal services. Interfaces are only loaded by the global class loader and are shared by all plugins.

There is a newer version: 7.0.0-nightly
Show newest version
/**
 * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation; either version 2.1 of the License, or (at your option)
 * any later version.
 *
 * This library is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 * details.
 */

package com.liferay.portlet.social.service;

import com.liferay.portal.service.ServiceWrapper;

/**
 * Provides a wrapper for {@link SocialActivityService}.
 *
 * @author Brian Wing Shun Chan
 * @see SocialActivityService
 * @generated
 */
public class SocialActivityServiceWrapper implements SocialActivityService,
	ServiceWrapper {
	public SocialActivityServiceWrapper(
		SocialActivityService socialActivityService) {
		_socialActivityService = socialActivityService;
	}

	/**
	* Returns the Spring bean ID for this bean.
	*
	* @return the Spring bean ID for this bean
	*/
	@Override
	public java.lang.String getBeanIdentifier() {
		return _socialActivityService.getBeanIdentifier();
	}

	/**
	* Sets the Spring bean ID for this bean.
	*
	* @param beanIdentifier the Spring bean ID for this bean
	*/
	@Override
	public void setBeanIdentifier(java.lang.String beanIdentifier) {
		_socialActivityService.setBeanIdentifier(beanIdentifier);
	}

	/**
	* Returns a range of all the activities done on assets identified by the
	* class name ID.
	*
	* 

* Useful when paginating results. Returns a maximum of end - * start instances. start and end are not * primary keys, they are indexes in the result set. Thus, 0 * refers to the first result in the set. Setting both start * and end to {@link * com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full * result set. *

* * @param classNameId the target asset's class name ID * @param start the lower bound of the range of results * @param end the upper bound of the range of results (not inclusive) * @return the range of matching activities * @throws PortalException if a permission checker was not initialized * @throws SystemException if a system exception occurred */ @Override public java.util.List getActivities( long classNameId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { return _socialActivityService.getActivities(classNameId, start, end); } /** * Returns a range of all the activities done on the asset identified by the * class name ID and class primary key that are mirrors of the activity * identified by the mirror activity ID. * *

* Useful when paginating results. Returns a maximum of end - * start instances. start and end are not * primary keys, they are indexes in the result set. Thus, 0 * refers to the first result in the set. Setting both start * and end to {@link * com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full * result set. *

* * @param mirrorActivityId the primary key of the mirror activity * @param classNameId the target asset's class name ID * @param classPK the primary key of the target asset * @param start the lower bound of the range of results * @param end the upper bound of the range of results (not inclusive) * @return the range of matching activities * @throws PortalException if a permission checker was not initialized * @throws SystemException if a system exception occurred */ @Override public java.util.List getActivities( long mirrorActivityId, long classNameId, long classPK, int start, int end) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { return _socialActivityService.getActivities(mirrorActivityId, classNameId, classPK, start, end); } /** * Returns a range of all the activities done on the asset identified by the * class name and the class primary key that are mirrors of the activity * identified by the mirror activity ID. * *

* Useful when paginating results. Returns a maximum of end - * start instances. start and end are not * primary keys, they are indexes in the result set. Thus, 0 * refers to the first result in the set. Setting both start * and end to {@link * com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full * result set. *

* * @param mirrorActivityId the primary key of the mirror activity * @param className the target asset's class name * @param classPK the primary key of the target asset * @param start the lower bound of the range of results * @param end the upper bound of the range of results (not inclusive) * @return the range of matching activities * @throws PortalException if a permission checker was not initialized * @throws SystemException if a system exception occurred */ @Override public java.util.List getActivities( long mirrorActivityId, java.lang.String className, long classPK, int start, int end) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { return _socialActivityService.getActivities(mirrorActivityId, className, classPK, start, end); } /** * Returns a range of all the activities done on assets identified by the * class name. * *

* Useful when paginating results. Returns a maximum of end - * start instances. start and end are not * primary keys, they are indexes in the result set. Thus, 0 * refers to the first result in the set. Setting both start * and end to {@link * com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full * result set. *

* * @param className the target asset's class name * @param start the lower bound of the range of results * @param end the upper bound of the range of results (not inclusive) * @return the range of matching activities * @throws PortalException if a permission checker was not initialized * @throws SystemException if a system exception occurred */ @Override public java.util.List getActivities( java.lang.String className, int start, int end) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { return _socialActivityService.getActivities(className, start, end); } /** * Returns the number of activities done on assets identified by the class * name ID. * * @param classNameId the target asset's class name ID * @return the number of matching activities * @throws SystemException if a system exception occurred */ @Override public int getActivitiesCount(long classNameId) throws com.liferay.portal.kernel.exception.SystemException { return _socialActivityService.getActivitiesCount(classNameId); } /** * Returns the number of activities done on the asset identified by the * class name ID and class primary key that are mirrors of the activity * identified by the mirror activity ID. * * @param mirrorActivityId the primary key of the mirror activity * @param classNameId the target asset's class name ID * @param classPK the primary key of the target asset * @return the number of matching activities * @throws SystemException if a system exception occurred */ @Override public int getActivitiesCount(long mirrorActivityId, long classNameId, long classPK) throws com.liferay.portal.kernel.exception.SystemException { return _socialActivityService.getActivitiesCount(mirrorActivityId, classNameId, classPK); } /** * Returns the number of activities done on the asset identified by the * class name and class primary key that are mirrors of the activity * identified by the mirror activity ID. * * @param mirrorActivityId the primary key of the mirror activity * @param className the target asset's class name * @param classPK the primary key of the target asset * @return the number of matching activities * @throws SystemException if a system exception occurred */ @Override public int getActivitiesCount(long mirrorActivityId, java.lang.String className, long classPK) throws com.liferay.portal.kernel.exception.SystemException { return _socialActivityService.getActivitiesCount(mirrorActivityId, className, classPK); } /** * Returns the number of activities done on assets identified by class name. * * @param className the target asset's class name * @return the number of matching activities * @throws SystemException if a system exception occurred */ @Override public int getActivitiesCount(java.lang.String className) throws com.liferay.portal.kernel.exception.SystemException { return _socialActivityService.getActivitiesCount(className); } /** * Returns the activity identified by its primary key. * * @param activityId the primary key of the activity * @return Returns the activity * @throws PortalException if the activity could not be found * @throws SystemException if a system exception occurred */ @Override public com.liferay.portlet.social.model.SocialActivity getActivity( long activityId) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { return _socialActivityService.getActivity(activityId); } @Override public java.util.List getActivitySetActivities( long activitySetId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { return _socialActivityService.getActivitySetActivities(activitySetId, start, end); } /** * Returns a range of all the activities done in the group. * *

* This method only finds activities without mirrors. *

* *

* Useful when paginating results. Returns a maximum of end - * start instances. start and end are not * primary keys, they are indexes in the result set. Thus, 0 * refers to the first result in the set. Setting both start * and end to {@link * com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full * result set. *

* * @param groupId the primary key of the group * @param start the lower bound of the range of results * @param end the upper bound of the range of results (not inclusive) * @return the range of matching activities * @throws PortalException if a permission checker was not initialized * @throws SystemException if a system exception occurred */ @Override public java.util.List getGroupActivities( long groupId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { return _socialActivityService.getGroupActivities(groupId, start, end); } /** * Returns the number of activities done in the group. * *

* This method only counts activities without mirrors. *

* * @param groupId the primary key of the group * @return the number of matching activities * @throws SystemException if a system exception occurred */ @Override public int getGroupActivitiesCount(long groupId) throws com.liferay.portal.kernel.exception.SystemException { return _socialActivityService.getGroupActivitiesCount(groupId); } /** * Returns a range of activities done by users that are members of the * group. * *

* This method only finds activities without mirrors. *

* *

* Useful when paginating results. Returns a maximum of end - * start instances. start and end are not * primary keys, they are indexes in the result set. Thus, 0 * refers to the first result in the set. Setting both start * and end to {@link * com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full * result set. *

* * @param groupId the primary key of the group * @param start the lower bound of the range of results * @param end the upper bound of the range of results (not inclusive) * @return the range of matching activities * @throws PortalException if a permission checker was not initialized * @throws SystemException if a system exception occurred */ @Override public java.util.List getGroupUsersActivities( long groupId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { return _socialActivityService.getGroupUsersActivities(groupId, start, end); } /** * Returns the number of activities done by users that are members of the * group. * *

* This method only counts activities without mirrors. *

* * @param groupId the primary key of the group * @return the number of matching activities * @throws SystemException if a system exception occurred */ @Override public int getGroupUsersActivitiesCount(long groupId) throws com.liferay.portal.kernel.exception.SystemException { return _socialActivityService.getGroupUsersActivitiesCount(groupId); } /** * Returns the activity that has the mirror activity. * * @param mirrorActivityId the primary key of the mirror activity * @return Returns the mirror activity * @throws PortalException if the mirror activity could not be found * @throws SystemException if a system exception occurred */ @Override public com.liferay.portlet.social.model.SocialActivity getMirrorActivity( long mirrorActivityId) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { return _socialActivityService.getMirrorActivity(mirrorActivityId); } /** * Returns a range of all the activities done in the organization. This * method only finds activities without mirrors. * *

* Useful when paginating results. Returns a maximum of end - * start instances. start and end are not * primary keys, they are indexes in the result set. Thus, 0 * refers to the first result in the set. Setting both start * and end to {@link * com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full * result set. *

* * @param organizationId the primary key of the organization * @param start the lower bound of the range of results * @param end the upper bound of the range of results (not inclusive) * @return the range of matching activities * @throws PortalException if a permission checker was not initialized * @throws SystemException if a system exception occurred */ @Override public java.util.List getOrganizationActivities( long organizationId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { return _socialActivityService.getOrganizationActivities(organizationId, start, end); } /** * Returns the number of activities done in the organization. This method * only counts activities without mirrors. * * @param organizationId the primary key of the organization * @return the number of matching activities * @throws SystemException if a system exception occurred */ @Override public int getOrganizationActivitiesCount(long organizationId) throws com.liferay.portal.kernel.exception.SystemException { return _socialActivityService.getOrganizationActivitiesCount(organizationId); } /** * Returns a range of all the activities done by users of the organization. * This method only finds activities without mirrors. * *

* Useful when paginating results. Returns a maximum of end - * start instances. start and end are not * primary keys, they are indexes in the result set. Thus, 0 * refers to the first result in the set. Setting both start * and end to {@link * com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full * result set. *

* * @param organizationId the primary key of the organization * @param start the lower bound of the range of results * @param end the upper bound of the range of results (not inclusive) * @return the range of matching activities * @throws PortalException if a permission checker was not initialized * @throws SystemException if a system exception occurred */ @Override public java.util.List getOrganizationUsersActivities( long organizationId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { return _socialActivityService.getOrganizationUsersActivities(organizationId, start, end); } /** * Returns the number of activities done by users of the organization. This * method only counts activities without mirrors. * * @param organizationId the primary key of the organization * @return the number of matching activities * @throws SystemException if a system exception occurred */ @Override public int getOrganizationUsersActivitiesCount(long organizationId) throws com.liferay.portal.kernel.exception.SystemException { return _socialActivityService.getOrganizationUsersActivitiesCount(organizationId); } /** * Returns a range of all the activities done by users in a relationship * with the user identified by the user ID. * *

* Useful when paginating results. Returns a maximum of end - * start instances. start and end are not * primary keys, they are indexes in the result set. Thus, <>0 refers * to the first result in the set. Setting both start and * end to {@link * com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full * result set. *

* * @param userId the primary key of the user * @param start the lower bound of the range of results * @param end the upper bound of the range of results (not inclusive) * @return the range of matching activities * @throws PortalException if a permission checker was not initialized * @throws SystemException if a system exception occurred */ @Override public java.util.List getRelationActivities( long userId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { return _socialActivityService.getRelationActivities(userId, start, end); } /** * Returns a range of all the activities done by users in a relationship of * type type with the user identified by userId. * This method only finds activities without mirrors. * *

* Useful when paginating results. Returns a maximum of end - * start instances. start and end are not * primary keys, they are indexes in the result set. Thus, 0 * refers to the first result in the set. Setting both start * and end to {@link * com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full * result set. *

* * @param userId the primary key of the user * @param type the relationship type * @param start the lower bound of the range of results * @param end the upper bound of the range of results (not inclusive) * @return the range of matching activities * @throws PortalException if a permission checker was not initialized * @throws SystemException if a system exception occurred */ @Override public java.util.List getRelationActivities( long userId, int type, int start, int end) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { return _socialActivityService.getRelationActivities(userId, type, start, end); } /** * Returns the number of activities done by users in a relationship with the * user identified by userId. * * @param userId the primary key of the user * @return the number of matching activities * @throws SystemException if a system exception occurred */ @Override public int getRelationActivitiesCount(long userId) throws com.liferay.portal.kernel.exception.SystemException { return _socialActivityService.getRelationActivitiesCount(userId); } /** * Returns the number of activities done by users in a relationship of type * type with the user identified by userId. This * method only counts activities without mirrors. * * @param userId the primary key of the user * @param type the relationship type * @return the number of matching activities * @throws SystemException if a system exception occurred */ @Override public int getRelationActivitiesCount(long userId, int type) throws com.liferay.portal.kernel.exception.SystemException { return _socialActivityService.getRelationActivitiesCount(userId, type); } /** * Returns a range of all the activities done by the user. * *

* Useful when paginating results. Returns a maximum of end - * start instances. start and end are not * primary keys, they are indexes in the result set. Thus, 0 * refers to the first result in the set. Setting both start * and end to {@link * com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full * result set. *

* * @param userId the primary key of the user * @param start the lower bound of the range of results * @param end the upper bound of the range of results (not inclusive) * @return the range of matching activities * @throws PortalException if a permission checker was not initialized * @throws SystemException if a system exception occurred */ @Override public java.util.List getUserActivities( long userId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { return _socialActivityService.getUserActivities(userId, start, end); } /** * Returns the number of activities done by the user. * * @param userId the primary key of the user * @return the number of matching activities * @throws SystemException if a system exception occurred */ @Override public int getUserActivitiesCount(long userId) throws com.liferay.portal.kernel.exception.SystemException { return _socialActivityService.getUserActivitiesCount(userId); } /** * Returns a range of all the activities done in the user's groups. This * method only finds activities without mirrors. * *

* Useful when paginating results. Returns a maximum of end - * start instances. start and end are not * primary keys, they are indexes in the result set. Thus, 0 * refers to the first result in the set. Setting both start * and end to {@link * com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full * result set. *

* * @param userId the primary key of the user * @param start the lower bound of the range of results * @param end the upper bound of the range of results (not inclusive) * @return the range of matching activities * @throws PortalException if a permission checker was not initialized * @throws SystemException if a system exception occurred */ @Override public java.util.List getUserGroupsActivities( long userId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { return _socialActivityService.getUserGroupsActivities(userId, start, end); } /** * Returns the number of activities done in user's groups. This method only * counts activities without mirrors. * * @param userId the primary key of the user * @return the number of matching activities * @throws SystemException if a system exception occurred */ @Override public int getUserGroupsActivitiesCount(long userId) throws com.liferay.portal.kernel.exception.SystemException { return _socialActivityService.getUserGroupsActivitiesCount(userId); } /** * Returns a range of all the activities done in the user's groups and * organizations. This method only finds activities without mirrors. * *

* Useful when paginating results. Returns a maximum of end - * start instances. start and end are not * primary keys, they are indexes in the result set. Thus, 0 * refers to the first result in the set. Setting both start * and end to {@link * com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full * result set. *

* * @param userId the primary key of the user * @param start the lower bound of the range of results * @param end the upper bound of the range of results (not inclusive) * @return the range of matching activities * @throws PortalException if a permission checker was not initialized * @throws SystemException if a system exception occurred */ @Override public java.util.List getUserGroupsAndOrganizationsActivities( long userId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { return _socialActivityService.getUserGroupsAndOrganizationsActivities(userId, start, end); } /** * Returns the number of activities done in user's groups and organizations. * This method only counts activities without mirrors. * * @param userId the primary key of the user * @return the number of matching activities * @throws SystemException if a system exception occurred */ @Override public int getUserGroupsAndOrganizationsActivitiesCount(long userId) throws com.liferay.portal.kernel.exception.SystemException { return _socialActivityService.getUserGroupsAndOrganizationsActivitiesCount(userId); } /** * Returns a range of all activities done in the user's organizations. This * method only finds activities without mirrors. * *

* Useful when paginating results. Returns a maximum of end - * start instances. start and end are not * primary keys, they are indexes in the result set. Thus, 0 * refers to the first result in the set. Setting both start * and end to {@link * com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full * result set. *

* * @param userId the primary key of the user * @param start the lower bound of the range of results * @param end the upper bound of the range of results (not inclusive) * @return the range of matching activities * @throws PortalException if a permission checker was not initialized * @throws SystemException if a system exception occurred */ @Override public java.util.List getUserOrganizationsActivities( long userId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { return _socialActivityService.getUserOrganizationsActivities(userId, start, end); } /** * Returns the number of activities done in the user's organizations. This * method only counts activities without mirrors. * * @param userId the primary key of the user * @return the number of matching activities * @throws SystemException if a system exception occurred */ @Override public int getUserOrganizationsActivitiesCount(long userId) throws com.liferay.portal.kernel.exception.SystemException { return _socialActivityService.getUserOrganizationsActivitiesCount(userId); } /** * @deprecated As of 6.1.0, replaced by {@link #getWrappedService} */ public SocialActivityService getWrappedSocialActivityService() { return _socialActivityService; } /** * @deprecated As of 6.1.0, replaced by {@link #setWrappedService} */ public void setWrappedSocialActivityService( SocialActivityService socialActivityService) { _socialActivityService = socialActivityService; } @Override public SocialActivityService getWrappedService() { return _socialActivityService; } @Override public void setWrappedService(SocialActivityService socialActivityService) { _socialActivityService = socialActivityService; } private SocialActivityService _socialActivityService; }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy