com.liferay.portal.service
Interface TeamLocalService

All Known Implementing Classes:
TeamLocalServiceWrapper

@Transactional(isolation=PORTAL,
               rollbackFor={com.liferay.portal.kernel.exception.PortalException.class,com.liferay.portal.kernel.exception.SystemException.class})
public interface TeamLocalService

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This interface defines the service. The default implementation is com.liferay.portal.service.impl.TeamLocalServiceImpl}. Modify methods in that class and rerun ServiceBuilder to populate this class and all other generated classes.

This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.

Author:
Brian Wing Shun Chan
See Also:
TeamLocalServiceUtil
Generated:

Method Summary
 Team addTeam(long userId, long groupId, java.lang.String name, java.lang.String description)
           
 Team addTeam(Team team)
           
 Team createTeam(long teamId)
           
 void deleteTeam(long teamId)
           
 void deleteTeam(Team team)
           
 void deleteTeams(long groupId)
           
 java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
 java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
           
 java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 int dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
 java.util.List<Team> getGroupTeams(long groupId)
           
 Team getTeam(long teamId)
           
 java.util.List<Team> getTeams(int start, int end)
           
 int getTeamsCount()
           
 java.util.List<Team> getUserTeams(long userId)
           
 java.util.List<Team> getUserTeams(long userId, long groupId)
           
 boolean hasUserTeam(long userId, long teamId)
           
 java.util.List<Team> search(long groupId, java.lang.String name, java.lang.String description, java.util.LinkedHashMap<java.lang.String,java.lang.Object> params, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 int searchCount(long groupId, java.lang.String name, java.lang.String description, java.util.LinkedHashMap<java.lang.String,java.lang.Object> params)
           
 Team updateTeam(long teamId, java.lang.String name, java.lang.String description)
           
 Team updateTeam(Team team)
           
 Team updateTeam(Team team, boolean merge)
           
 

Method Detail

addTeam

Team addTeam(Team team)
             throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

createTeam

Team createTeam(long teamId)

deleteTeam

void deleteTeam(long teamId)
                throws com.liferay.portal.kernel.exception.PortalException,
                       com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

deleteTeam

void deleteTeam(Team team)
                throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

dynamicQuery

java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                                              throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

dynamicQuery

java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                              int start,
                                              int end)
                                              throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

dynamicQuery

java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                              int start,
                                              int end,
                                              com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                              throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

dynamicQueryCount

int dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                      throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getTeam

@Transactional(propagation=SUPPORTS,
               readOnly=true)
Team getTeam(long teamId)
             throws com.liferay.portal.kernel.exception.PortalException,
                    com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getTeams

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<Team> getTeams(int start,
                                            int end)
                              throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getTeamsCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getTeamsCount()
                  throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

updateTeam

Team updateTeam(Team team)
                throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

updateTeam

Team updateTeam(Team team,
                boolean merge)
                throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

addTeam

Team addTeam(long userId,
             long groupId,
             java.lang.String name,
             java.lang.String description)
             throws com.liferay.portal.kernel.exception.PortalException,
                    com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

deleteTeams

void deleteTeams(long groupId)
                 throws com.liferay.portal.kernel.exception.PortalException,
                        com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getGroupTeams

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<Team> getGroupTeams(long groupId)
                                   throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getUserTeams

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<Team> getUserTeams(long userId)
                                  throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getUserTeams

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<Team> getUserTeams(long userId,
                                                long groupId)
                                  throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

hasUserTeam

@Transactional(propagation=SUPPORTS,
               readOnly=true)
boolean hasUserTeam(long userId,
                                  long teamId)
                    throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

search

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<Team> search(long groupId,
                                          java.lang.String name,
                                          java.lang.String description,
                                          java.util.LinkedHashMap<java.lang.String,java.lang.Object> params,
                                          int start,
                                          int end,
                                          com.liferay.portal.kernel.util.OrderByComparator obc)
                            throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

searchCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int searchCount(long groupId,
                              java.lang.String name,
                              java.lang.String description,
                              java.util.LinkedHashMap<java.lang.String,java.lang.Object> params)
                throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

updateTeam

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