Package com.liferay.portal.service.impl
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
- Author:
- Brian Wing Shun Chan
-
Field Summary
Fields inherited from class com.liferay.portal.service.base.TeamServiceBaseImpl
counterLocalService, teamFinder, teamLocalService, teamPersistence, teamService, userGroupPersistence, userPersistence
Fields inherited from class com.liferay.portal.kernel.service.BaseServiceImpl
ANONYMOUS_NAMES, JRUN_ANONYMOUS, ORACLE_ANONYMOUS, SUN_ANONYMOUS, WEBLOGIC_ANONYMOUS
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.liferay.portal.kernel.model.Team
addTeam
(long groupId, String name, String description, com.liferay.portal.kernel.service.ServiceContext serviceContext) void
deleteTeam
(long teamId) List<com.liferay.portal.kernel.model.Team>
getGroupTeams
(long groupId) com.liferay.portal.kernel.model.Team
getTeam
(long teamId) com.liferay.portal.kernel.model.Team
List<com.liferay.portal.kernel.model.Team>
getUserTeams
(long userId) List<com.liferay.portal.kernel.model.Team>
getUserTeams
(long userId, long groupId) boolean
hasUserTeam
(long userId, long teamId) 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) int
searchCount
(long groupId, String name, String description, LinkedHashMap<String, Object> params) com.liferay.portal.kernel.model.Team
updateTeam
(long teamId, String name, String description) Methods inherited from class com.liferay.portal.service.base.TeamServiceBaseImpl
afterPropertiesSet, destroy, getCounterLocalService, getModelClass, getModelClassName, getOSGiServiceIdentifier, getTeamFinder, getTeamLocalService, getTeamPersistence, getTeamService, runSQL, setCounterLocalService, setTeamFinder, setTeamLocalService, setTeamPersistence, setTeamService
Methods inherited from class com.liferay.portal.kernel.service.BaseServiceImpl
getClassLoader, getGuestOrUser, getGuestOrUserId, getPermissionChecker, getUser, getUserId
-
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
-
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
-