com.liferay.portal.service.impl
Class TeamServiceImpl
java.lang.Object
com.liferay.portal.service.BaseServiceImpl
com.liferay.portal.service.base.TeamServiceBaseImpl
com.liferay.portal.service.impl.TeamServiceImpl
- All Implemented Interfaces:
- IdentifiableOSGiService, BaseService, TeamService
public class TeamServiceImpl
- extends TeamServiceBaseImpl
| Fields inherited from class com.liferay.portal.service.base.TeamServiceBaseImpl |
counterLocalService, resourceLocalService, roleFinder, roleLocalService, rolePersistence, roleService, teamFinder, teamLocalService, teamPersistence, teamService, userFinder, userGroupFinder, userGroupLocalService, userGroupPersistence, userGroupService, userLocalService, userPersistence, userService |
|
Method Summary |
Team |
addTeam(long groupId,
String name,
String description)
Deprecated. As of 7.0.0, replaced by addTeam(long, String,
String, ServiceContext) |
Team |
addTeam(long groupId,
String name,
String description,
ServiceContext serviceContext)
|
void |
deleteTeam(long teamId)
|
List<Team> |
getGroupTeams(long groupId)
|
Team |
getTeam(long teamId)
|
Team |
getTeam(long groupId,
String name)
|
List<Team> |
getUserTeams(long userId)
|
List<Team> |
getUserTeams(long userId,
long groupId)
|
boolean |
hasUserTeam(long userId,
long teamId)
|
List<Team> |
search(long groupId,
String name,
String description,
LinkedHashMap<String,Object> params,
int start,
int end,
OrderByComparator<Team> obc)
|
int |
searchCount(long groupId,
String name,
String description,
LinkedHashMap<String,Object> params)
|
Team |
updateTeam(long teamId,
String name,
String description)
|
| Methods inherited from class com.liferay.portal.service.base.TeamServiceBaseImpl |
afterPropertiesSet, destroy, getCounterLocalService, getModelClass, getModelClassName, getOSGiServiceIdentifier, getResourceLocalService, getRoleFinder, getRoleLocalService, getRolePersistence, getRoleService, getTeamFinder, getTeamLocalService, getTeamPersistence, getTeamService, getUserFinder, getUserGroupFinder, getUserGroupLocalService, getUserGroupPersistence, getUserGroupService, getUserLocalService, getUserPersistence, getUserService, runSQL, setCounterLocalService, setResourceLocalService, setRoleFinder, setRoleLocalService, setRolePersistence, setRoleService, setTeamFinder, setTeamLocalService, setTeamPersistence, setTeamService, setUserFinder, setUserGroupFinder, setUserGroupLocalService, setUserGroupPersistence, setUserGroupService, setUserLocalService, setUserPersistence, setUserService |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TeamServiceImpl
public TeamServiceImpl()
addTeam
@Deprecated
public Team addTeam(long groupId,
String name,
String description)
throws PortalException
- Deprecated. As of 7.0.0, replaced by
addTeam(long, String,
String, ServiceContext)
- Throws:
PortalException
addTeam
public Team addTeam(long groupId,
String name,
String description,
ServiceContext serviceContext)
throws PortalException
- Throws:
PortalException
deleteTeam
public void deleteTeam(long teamId)
throws PortalException
- Throws:
PortalException
getGroupTeams
public List<Team> getGroupTeams(long groupId)
throws PortalException
- Throws:
PortalException
getTeam
public Team getTeam(long teamId)
throws PortalException
- Throws:
PortalException
getTeam
public Team getTeam(long groupId,
String name)
throws PortalException
- Throws:
PortalException
getUserTeams
public List<Team> getUserTeams(long userId)
throws PortalException
- Throws:
PortalException
getUserTeams
public List<Team> getUserTeams(long userId,
long groupId)
throws PortalException
- Throws:
PortalException
hasUserTeam
public boolean hasUserTeam(long userId,
long teamId)
throws PortalException
- Throws:
PortalException
search
public List<Team> search(long groupId,
String name,
String description,
LinkedHashMap<String,Object> params,
int start,
int end,
OrderByComparator<Team> obc)
searchCount
public int searchCount(long groupId,
String name,
String description,
LinkedHashMap<String,Object> params)
updateTeam
public Team updateTeam(long teamId,
String name,
String description)
throws PortalException
- Throws:
PortalException