public class TeamLocalServiceImpl extends TeamLocalServiceBaseImpl
counterLocalService, teamFinder, teamLocalService, teamPersistence, userGroupPersistence, 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,
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) |
int |
getGroupTeamsCount(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> 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) |
protected void |
validate(long teamId,
long groupId,
String name) |
addTeam, addUserGroupTeam, addUserGroupTeam, addUserGroupTeams, addUserGroupTeams, addUserTeam, addUserTeam, addUserTeams, addUserTeams, afterPropertiesSet, clearUserGroupTeams, clearUserTeams, createPersistedModel, createTeam, deletePersistedModel, deleteUserGroupTeam, deleteUserGroupTeam, deleteUserGroupTeams, deleteUserGroupTeams, deleteUserTeam, deleteUserTeam, deleteUserTeams, deleteUserTeams, destroy, dslQuery, dslQueryCount, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, dynamicQueryCount, fetchTeam, fetchTeamByUuidAndGroupId, getActionableDynamicQuery, getBasePersistence, getCounterLocalService, getCTPersistence, getExportActionableDynamicQuery, getIndexableActionableDynamicQuery, getModelClass, getModelClassName, getOSGiServiceIdentifier, getPersistedModel, getTeam, getTeamByUuidAndGroupId, getTeamFinder, getTeamLocalService, getTeamPersistence, getTeams, getTeamsByUuidAndCompanyId, getTeamsByUuidAndCompanyId, getTeamsCount, getUserGroupPrimaryKeys, getUserGroupTeams, getUserGroupTeams, getUserGroupTeams, getUserGroupTeamsCount, getUserPrimaryKeys, getUserTeams, getUserTeams, getUserTeams, getUserTeamsCount, hasUserGroupTeam, hasUserGroupTeams, hasUserTeam, hasUserTeams, initActionableDynamicQuery, runSQL, setCounterLocalService, setTeamFinder, setTeamLocalService, setTeamPersistence, setUserGroupTeams, setUserTeams, updateTeam, updateWithUnsafeFunction
getClassLoader, getLocalizationMap
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
Important: Inspect TeamLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
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 found@SystemEvent(type=1) public com.liferay.portal.kernel.model.Team deleteTeam(com.liferay.portal.kernel.model.Team team) throws com.liferay.portal.kernel.exception.PortalException
TeamLocalServiceBaseImpl
Important: Inspect TeamLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
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 int getGroupTeamsCount(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> orderByComparator)
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