com.liferay.portal.service.impl
Class TeamServiceImpl
java.lang.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
| 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 |
| Fields inherited from class com.liferay.portal.kernel.service.BaseServiceImpl |
ANONYMOUS_NAMES, JRUN_ANONYMOUS, ORACLE_ANONYMOUS, SUN_ANONYMOUS, WEBLOGIC_ANONYMOUS |
|
Method Summary |
com.liferay.portal.kernel.model.Team |
addTeam(long groupId,
String name,
String description)
Deprecated. As of 7.0.0, replaced by addTeam(long, String,
String, ServiceContext) |
com.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 |
getTeam(long groupId,
String name)
|
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> obc)
|
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, 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 com.liferay.portal.kernel.service.BaseServiceImpl |
getClassLoader, getGuestOrUser, getGuestOrUserId, getPermissionChecker, getUser, getUserId |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TeamServiceImpl
public TeamServiceImpl()
addTeam
@Deprecated
public com.liferay.portal.kernel.model.Team addTeam(long groupId,
String name,
String description)
throws com.liferay.portal.kernel.exception.PortalException
- Deprecated. As of 7.0.0, replaced by
addTeam(long, String,
String, ServiceContext)
- Throws:
com.liferay.portal.kernel.exception.PortalException
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> obc)
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