public class TeamLocalServiceImpl extends TeamLocalServiceBaseImpl
counterLocalService, persistedModelLocalServiceRegistry, resourceLocalService, roleFinder, roleLocalService, rolePersistence, teamFinder, teamLocalService, teamPersistence, userFinder, userGroupFinder, userGroupLocalService, userGroupPersistence, userLocalService, userPersistence
Constructor and Description |
---|
TeamLocalServiceImpl() |
Modifier and Type | Method and Description |
---|---|
com.liferay.portal.kernel.model.Team |
addTeam(long userId,
long groupId,
String name,
String description)
Deprecated.
As of Wilberforce (7.0.x), replaced by
addTeam(long,
long, String, String, ServiceContext) |
com.liferay.portal.kernel.model.Team |
addTeam(long userId,
long groupId,
String name,
String description,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
com.liferay.portal.kernel.model.Team |
deleteTeam(long teamId)
Deletes the team with the primary key from the database.
|
com.liferay.portal.kernel.model.Team |
deleteTeam(com.liferay.portal.kernel.model.Team team)
Deletes the team from the database.
|
void |
deleteTeams(long groupId) |
com.liferay.portal.kernel.model.Team |
fetchTeam(long groupId,
String name) |
List<com.liferay.portal.kernel.model.Team> |
getGroupTeams(long groupId) |
com.liferay.portal.kernel.model.Team |
getTeam(long groupId,
String name) |
List<com.liferay.portal.kernel.model.Team> |
getUserOrUserGroupTeams(long groupId,
long userId) |
List<com.liferay.portal.kernel.model.Team> |
getUserTeams(long userId,
long groupId) |
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) |
protected void |
validate(long teamId,
long groupId,
String name) |
addTeam, addUserGroupTeam, addUserGroupTeam, addUserGroupTeams, addUserGroupTeams, addUserTeam, addUserTeam, addUserTeams, addUserTeams, afterPropertiesSet, clearUserGroupTeams, clearUserTeams, createTeam, deletePersistedModel, deleteUserGroupTeam, deleteUserGroupTeam, deleteUserGroupTeams, deleteUserGroupTeams, deleteUserTeam, deleteUserTeam, deleteUserTeams, deleteUserTeams, destroy, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, dynamicQueryCount, fetchTeam, fetchTeamByUuidAndGroupId, getActionableDynamicQuery, getCounterLocalService, getExportActionableDynamicQuery, getIndexableActionableDynamicQuery, getModelClass, getModelClassName, getOSGiServiceIdentifier, getPersistedModel, getResourceLocalService, getRoleFinder, getRoleLocalService, getRolePersistence, getTeam, getTeamByUuidAndGroupId, getTeamFinder, getTeamLocalService, getTeamPersistence, getTeams, getTeamsByUuidAndCompanyId, getTeamsByUuidAndCompanyId, getTeamsCount, getUserFinder, getUserGroupFinder, getUserGroupLocalService, getUserGroupPersistence, getUserGroupPrimaryKeys, getUserGroupTeams, getUserGroupTeams, getUserGroupTeams, getUserGroupTeamsCount, getUserLocalService, getUserPersistence, getUserPrimaryKeys, getUserTeams, getUserTeams, getUserTeams, getUserTeamsCount, hasUserGroupTeam, hasUserGroupTeams, hasUserTeam, hasUserTeams, initActionableDynamicQuery, runSQL, setCounterLocalService, setResourceLocalService, setRoleFinder, setRoleLocalService, setRolePersistence, setTeamFinder, setTeamLocalService, setTeamPersistence, setUserFinder, setUserGroupFinder, setUserGroupLocalService, setUserGroupPersistence, setUserGroupTeams, setUserLocalService, setUserPersistence, setUserTeams, updateTeam
@Deprecated public com.liferay.portal.kernel.model.Team addTeam(long userId, long groupId, String name, String description) throws com.liferay.portal.kernel.exception.PortalException
addTeam(long,
long, String, String, ServiceContext)
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.model.Team addTeam(long userId, long groupId, String name, String description, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.model.Team deleteTeam(long teamId) throws com.liferay.portal.kernel.exception.PortalException
TeamLocalServiceBaseImpl
deleteTeam
in interface com.liferay.portal.kernel.service.TeamLocalService
deleteTeam
in class TeamLocalServiceBaseImpl
teamId
- the primary key of the teamcom.liferay.portal.kernel.exception.PortalException
- if a team with the primary key could not be foundpublic com.liferay.portal.kernel.model.Team deleteTeam(com.liferay.portal.kernel.model.Team team) throws com.liferay.portal.kernel.exception.PortalException
TeamLocalServiceBaseImpl
deleteTeam
in interface com.liferay.portal.kernel.service.TeamLocalService
deleteTeam
in class TeamLocalServiceBaseImpl
team
- the teamcom.liferay.portal.kernel.exception.PortalException
public void deleteTeams(long groupId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.model.Team fetchTeam(long groupId, String name)
public List<com.liferay.portal.kernel.model.Team> getGroupTeams(long groupId)
public com.liferay.portal.kernel.model.Team getTeam(long groupId, String name) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public List<com.liferay.portal.kernel.model.Team> getUserOrUserGroupTeams(long groupId, long userId)
public List<com.liferay.portal.kernel.model.Team> getUserTeams(long userId, long groupId)
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)
public int searchCount(long groupId, String name, String description, LinkedHashMap<String,Object> params)
public com.liferay.portal.kernel.model.Team updateTeam(long teamId, String name, String description) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
protected void validate(long teamId, long groupId, String name) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException