Class TeamServiceImpl

Object
com.liferay.portal.kernel.service.BaseServiceImpl
com.liferay.portal.service.base.TeamServiceBaseImpl
com.liferay.portal.service.impl.TeamServiceImpl
All Implemented Interfaces:
com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService, com.liferay.portal.kernel.service.BaseService, com.liferay.portal.kernel.service.TeamService

public class TeamServiceImpl extends TeamServiceBaseImpl
Author:
Brian Wing Shun Chan
  • Constructor Details

    • TeamServiceImpl

      public TeamServiceImpl()
  • Method Details

    • addTeam

      public com.liferay.portal.kernel.model.Team addTeam(long groupId, String name, String description, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteTeam

      public void deleteTeam(long teamId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getGroupTeams

      public List<com.liferay.portal.kernel.model.Team> getGroupTeams(long groupId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getTeam

      public com.liferay.portal.kernel.model.Team getTeam(long teamId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getTeam

      public com.liferay.portal.kernel.model.Team getTeam(long groupId, String name) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getUserTeams

      public List<com.liferay.portal.kernel.model.Team> getUserTeams(long userId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getUserTeams

      public List<com.liferay.portal.kernel.model.Team> getUserTeams(long userId, long groupId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • hasUserTeam

      public boolean hasUserTeam(long userId, long teamId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • search

      public List<com.liferay.portal.kernel.model.Team> search(long groupId, String name, String description, LinkedHashMap<String,Object> params, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Team> orderByComparator)
    • searchCount

      public int searchCount(long groupId, String name, String description, LinkedHashMap<String,Object> params)
    • updateTeam

      public com.liferay.portal.kernel.model.Team updateTeam(long teamId, String name, String description) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException