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 7.0.0, 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) |
void |
addUserGroupTeam(long userGroupId,
long teamId) |
void |
addUserGroupTeam(long userGroupId,
com.liferay.portal.kernel.model.Team team) |
void |
addUserGroupTeams(long userGroupId,
List<com.liferay.portal.kernel.model.Team> teams) |
void |
addUserGroupTeams(long userGroupId,
long[] teamIds) |
void |
addUserTeam(long userId,
long teamId) |
void |
addUserTeam(long userId,
com.liferay.portal.kernel.model.Team team) |
void |
addUserTeams(long userId,
List<com.liferay.portal.kernel.model.Team> teams) |
void |
addUserTeams(long userId,
long[] teamIds) |
void |
clearUserGroupTeams(long userGroupId) |
void |
clearUserTeams(long userId) |
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) |
void |
deleteUserGroupTeam(long userGroupId,
long teamId) |
void |
deleteUserGroupTeam(long userGroupId,
com.liferay.portal.kernel.model.Team team) |
void |
deleteUserGroupTeams(long userGroupId,
List<com.liferay.portal.kernel.model.Team> teams) |
void |
deleteUserGroupTeams(long userGroupId,
long[] teamIds) |
void |
deleteUserTeam(long userId,
long teamId) |
void |
deleteUserTeam(long userId,
com.liferay.portal.kernel.model.Team team) |
void |
deleteUserTeams(long userId,
List<com.liferay.portal.kernel.model.Team> teams) |
void |
deleteUserTeams(long userId,
long[] teamIds) |
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, afterPropertiesSet, createTeam, deletePersistedModel, 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 void addUserGroupTeam(long userGroupId, long teamId)
addUserGroupTeam
in interface com.liferay.portal.kernel.service.TeamLocalService
addUserGroupTeam
in class TeamLocalServiceBaseImpl
public void addUserGroupTeam(long userGroupId, com.liferay.portal.kernel.model.Team team)
addUserGroupTeam
in interface com.liferay.portal.kernel.service.TeamLocalService
addUserGroupTeam
in class TeamLocalServiceBaseImpl
public void addUserGroupTeams(long userGroupId, List<com.liferay.portal.kernel.model.Team> teams)
addUserGroupTeams
in interface com.liferay.portal.kernel.service.TeamLocalService
addUserGroupTeams
in class TeamLocalServiceBaseImpl
public void addUserGroupTeams(long userGroupId, long[] teamIds)
addUserGroupTeams
in interface com.liferay.portal.kernel.service.TeamLocalService
addUserGroupTeams
in class TeamLocalServiceBaseImpl
public void addUserTeam(long userId, long teamId)
addUserTeam
in interface com.liferay.portal.kernel.service.TeamLocalService
addUserTeam
in class TeamLocalServiceBaseImpl
public void addUserTeam(long userId, com.liferay.portal.kernel.model.Team team)
addUserTeam
in interface com.liferay.portal.kernel.service.TeamLocalService
addUserTeam
in class TeamLocalServiceBaseImpl
public void addUserTeams(long userId, List<com.liferay.portal.kernel.model.Team> teams)
addUserTeams
in interface com.liferay.portal.kernel.service.TeamLocalService
addUserTeams
in class TeamLocalServiceBaseImpl
public void addUserTeams(long userId, long[] teamIds)
addUserTeams
in interface com.liferay.portal.kernel.service.TeamLocalService
addUserTeams
in class TeamLocalServiceBaseImpl
public void clearUserGroupTeams(long userGroupId)
clearUserGroupTeams
in interface com.liferay.portal.kernel.service.TeamLocalService
clearUserGroupTeams
in class TeamLocalServiceBaseImpl
public void clearUserTeams(long userId)
clearUserTeams
in interface com.liferay.portal.kernel.service.TeamLocalService
clearUserTeams
in class TeamLocalServiceBaseImpl
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 void deleteUserGroupTeam(long userGroupId, long teamId)
deleteUserGroupTeam
in interface com.liferay.portal.kernel.service.TeamLocalService
deleteUserGroupTeam
in class TeamLocalServiceBaseImpl
public void deleteUserGroupTeam(long userGroupId, com.liferay.portal.kernel.model.Team team)
deleteUserGroupTeam
in interface com.liferay.portal.kernel.service.TeamLocalService
deleteUserGroupTeam
in class TeamLocalServiceBaseImpl
public void deleteUserGroupTeams(long userGroupId, List<com.liferay.portal.kernel.model.Team> teams)
deleteUserGroupTeams
in interface com.liferay.portal.kernel.service.TeamLocalService
deleteUserGroupTeams
in class TeamLocalServiceBaseImpl
public void deleteUserGroupTeams(long userGroupId, long[] teamIds)
deleteUserGroupTeams
in interface com.liferay.portal.kernel.service.TeamLocalService
deleteUserGroupTeams
in class TeamLocalServiceBaseImpl
public void deleteUserTeam(long userId, long teamId)
deleteUserTeam
in interface com.liferay.portal.kernel.service.TeamLocalService
deleteUserTeam
in class TeamLocalServiceBaseImpl
public void deleteUserTeam(long userId, com.liferay.portal.kernel.model.Team team)
deleteUserTeam
in interface com.liferay.portal.kernel.service.TeamLocalService
deleteUserTeam
in class TeamLocalServiceBaseImpl
public void deleteUserTeams(long userId, List<com.liferay.portal.kernel.model.Team> teams)
deleteUserTeams
in interface com.liferay.portal.kernel.service.TeamLocalService
deleteUserTeams
in class TeamLocalServiceBaseImpl
public void deleteUserTeams(long userId, long[] teamIds)
deleteUserTeams
in interface com.liferay.portal.kernel.service.TeamLocalService
deleteUserTeams
in class TeamLocalServiceBaseImpl
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