@ProviderType
public abstract class TeamLocalServiceBaseImpl
extends com.liferay.portal.kernel.service.BaseLocalServiceImpl
implements com.liferay.portal.kernel.service.TeamLocalService, com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService
This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in TeamLocalServiceImpl
.
TeamLocalServiceImpl
,
TeamLocalServiceUtil
Modifier and Type | Field and Description |
---|---|
protected com.liferay.counter.kernel.service.CounterLocalService |
counterLocalService |
protected com.liferay.portal.kernel.service.PersistedModelLocalServiceRegistry |
persistedModelLocalServiceRegistry |
protected com.liferay.portal.kernel.service.ResourceLocalService |
resourceLocalService |
protected com.liferay.portal.kernel.service.persistence.RoleFinder |
roleFinder |
protected com.liferay.portal.kernel.service.RoleLocalService |
roleLocalService |
protected com.liferay.portal.kernel.service.persistence.RolePersistence |
rolePersistence |
protected com.liferay.portal.kernel.service.persistence.TeamFinder |
teamFinder |
protected com.liferay.portal.kernel.service.TeamLocalService |
teamLocalService |
protected com.liferay.portal.kernel.service.persistence.TeamPersistence |
teamPersistence |
protected com.liferay.portal.kernel.service.persistence.UserFinder |
userFinder |
protected com.liferay.portal.kernel.service.persistence.UserGroupFinder |
userGroupFinder |
protected com.liferay.portal.kernel.service.UserGroupLocalService |
userGroupLocalService |
protected com.liferay.portal.kernel.service.persistence.UserGroupPersistence |
userGroupPersistence |
protected com.liferay.portal.kernel.service.UserLocalService |
userLocalService |
protected com.liferay.portal.kernel.service.persistence.UserPersistence |
userPersistence |
Constructor and Description |
---|
TeamLocalServiceBaseImpl() |
Modifier and Type | Method and Description |
---|---|
com.liferay.portal.kernel.model.Team |
addTeam(com.liferay.portal.kernel.model.Team team)
Adds the team to the database.
|
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 |
afterPropertiesSet() |
void |
clearUserGroupTeams(long userGroupId) |
void |
clearUserTeams(long userId) |
com.liferay.portal.kernel.model.Team |
createTeam(long teamId)
Creates a new team with the primary key.
|
com.liferay.portal.kernel.model.PersistedModel |
deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) |
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 |
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) |
void |
destroy() |
com.liferay.portal.kernel.dao.orm.DynamicQuery |
dynamicQuery() |
<T> List<T> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.
|
<T> List<T> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows.
|
<T> List<T> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator)
Performs a dynamic query on the database and returns an ordered range of the matching rows.
|
long |
dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
Returns the number of rows matching the dynamic query.
|
long |
dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
com.liferay.portal.kernel.dao.orm.Projection projection)
Returns the number of rows matching the dynamic query.
|
com.liferay.portal.kernel.model.Team |
fetchTeam(long teamId) |
com.liferay.portal.kernel.model.Team |
fetchTeamByUuidAndGroupId(String uuid,
long groupId)
Returns the team matching the UUID and group.
|
com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery |
getActionableDynamicQuery() |
com.liferay.counter.kernel.service.CounterLocalService |
getCounterLocalService()
Returns the counter local service.
|
com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery |
getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) |
com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery() |
protected Class<?> |
getModelClass() |
protected String |
getModelClassName() |
String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
com.liferay.portal.kernel.model.PersistedModel |
getPersistedModel(Serializable primaryKeyObj) |
com.liferay.portal.kernel.service.ResourceLocalService |
getResourceLocalService()
Returns the resource local service.
|
com.liferay.portal.kernel.service.persistence.RoleFinder |
getRoleFinder()
Returns the role finder.
|
com.liferay.portal.kernel.service.RoleLocalService |
getRoleLocalService()
Returns the role local service.
|
com.liferay.portal.kernel.service.persistence.RolePersistence |
getRolePersistence()
Returns the role persistence.
|
com.liferay.portal.kernel.model.Team |
getTeam(long teamId)
Returns the team with the primary key.
|
com.liferay.portal.kernel.model.Team |
getTeamByUuidAndGroupId(String uuid,
long groupId)
Returns the team matching the UUID and group.
|
com.liferay.portal.kernel.service.persistence.TeamFinder |
getTeamFinder()
Returns the team finder.
|
com.liferay.portal.kernel.service.TeamLocalService |
getTeamLocalService()
Returns the team local service.
|
com.liferay.portal.kernel.service.persistence.TeamPersistence |
getTeamPersistence()
Returns the team persistence.
|
List<com.liferay.portal.kernel.model.Team> |
getTeams(int start,
int end)
Returns a range of all the teams.
|
List<com.liferay.portal.kernel.model.Team> |
getTeamsByUuidAndCompanyId(String uuid,
long companyId)
Returns all the teams matching the UUID and company.
|
List<com.liferay.portal.kernel.model.Team> |
getTeamsByUuidAndCompanyId(String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Team> orderByComparator)
Returns a range of teams matching the UUID and company.
|
int |
getTeamsCount()
Returns the number of teams.
|
com.liferay.portal.kernel.service.persistence.UserFinder |
getUserFinder()
Returns the user finder.
|
com.liferay.portal.kernel.service.persistence.UserGroupFinder |
getUserGroupFinder()
Returns the user group finder.
|
com.liferay.portal.kernel.service.UserGroupLocalService |
getUserGroupLocalService()
Returns the user group local service.
|
com.liferay.portal.kernel.service.persistence.UserGroupPersistence |
getUserGroupPersistence()
Returns the user group persistence.
|
long[] |
getUserGroupPrimaryKeys(long teamId)
Returns the userGroupIds of the user groups associated with the team.
|
List<com.liferay.portal.kernel.model.Team> |
getUserGroupTeams(long userGroupId) |
List<com.liferay.portal.kernel.model.Team> |
getUserGroupTeams(long userGroupId,
int start,
int end) |
List<com.liferay.portal.kernel.model.Team> |
getUserGroupTeams(long userGroupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Team> orderByComparator) |
int |
getUserGroupTeamsCount(long userGroupId) |
com.liferay.portal.kernel.service.UserLocalService |
getUserLocalService()
Returns the user local service.
|
com.liferay.portal.kernel.service.persistence.UserPersistence |
getUserPersistence()
Returns the user persistence.
|
long[] |
getUserPrimaryKeys(long teamId)
Returns the userIds of the users associated with the team.
|
List<com.liferay.portal.kernel.model.Team> |
getUserTeams(long userId) |
List<com.liferay.portal.kernel.model.Team> |
getUserTeams(long userId,
int start,
int end) |
List<com.liferay.portal.kernel.model.Team> |
getUserTeams(long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Team> orderByComparator) |
int |
getUserTeamsCount(long userId) |
boolean |
hasUserGroupTeam(long userGroupId,
long teamId) |
boolean |
hasUserGroupTeams(long userGroupId) |
boolean |
hasUserTeam(long userId,
long teamId) |
boolean |
hasUserTeams(long userId) |
protected void |
initActionableDynamicQuery(com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery actionableDynamicQuery) |
protected void |
runSQL(String sql)
Performs a SQL query.
|
void |
setCounterLocalService(com.liferay.counter.kernel.service.CounterLocalService counterLocalService)
Sets the counter local service.
|
void |
setResourceLocalService(com.liferay.portal.kernel.service.ResourceLocalService resourceLocalService)
Sets the resource local service.
|
void |
setRoleFinder(com.liferay.portal.kernel.service.persistence.RoleFinder roleFinder)
Sets the role finder.
|
void |
setRoleLocalService(com.liferay.portal.kernel.service.RoleLocalService roleLocalService)
Sets the role local service.
|
void |
setRolePersistence(com.liferay.portal.kernel.service.persistence.RolePersistence rolePersistence)
Sets the role persistence.
|
void |
setTeamFinder(com.liferay.portal.kernel.service.persistence.TeamFinder teamFinder)
Sets the team finder.
|
void |
setTeamLocalService(com.liferay.portal.kernel.service.TeamLocalService teamLocalService)
Sets the team local service.
|
void |
setTeamPersistence(com.liferay.portal.kernel.service.persistence.TeamPersistence teamPersistence)
Sets the team persistence.
|
void |
setUserFinder(com.liferay.portal.kernel.service.persistence.UserFinder userFinder)
Sets the user finder.
|
void |
setUserGroupFinder(com.liferay.portal.kernel.service.persistence.UserGroupFinder userGroupFinder)
Sets the user group finder.
|
void |
setUserGroupLocalService(com.liferay.portal.kernel.service.UserGroupLocalService userGroupLocalService)
Sets the user group local service.
|
void |
setUserGroupPersistence(com.liferay.portal.kernel.service.persistence.UserGroupPersistence userGroupPersistence)
Sets the user group persistence.
|
void |
setUserGroupTeams(long userGroupId,
long[] teamIds) |
void |
setUserLocalService(com.liferay.portal.kernel.service.UserLocalService userLocalService)
Sets the user local service.
|
void |
setUserPersistence(com.liferay.portal.kernel.service.persistence.UserPersistence userPersistence)
Sets the user persistence.
|
void |
setUserTeams(long userId,
long[] teamIds) |
com.liferay.portal.kernel.model.Team |
updateTeam(com.liferay.portal.kernel.model.Team team)
Updates the team in the database or adds it if it does not yet exist.
|
getClassLoader, getLocalizationMap
@BeanReference(type=com.liferay.portal.kernel.service.TeamLocalService.class) protected com.liferay.portal.kernel.service.TeamLocalService teamLocalService
@BeanReference(type=com.liferay.portal.kernel.service.persistence.TeamPersistence.class) protected com.liferay.portal.kernel.service.persistence.TeamPersistence teamPersistence
@BeanReference(type=com.liferay.portal.kernel.service.persistence.TeamFinder.class) protected com.liferay.portal.kernel.service.persistence.TeamFinder teamFinder
@BeanReference(type=com.liferay.counter.kernel.service.CounterLocalService.class) protected com.liferay.counter.kernel.service.CounterLocalService counterLocalService
@BeanReference(type=com.liferay.portal.kernel.service.ResourceLocalService.class) protected com.liferay.portal.kernel.service.ResourceLocalService resourceLocalService
@BeanReference(type=com.liferay.portal.kernel.service.RoleLocalService.class) protected com.liferay.portal.kernel.service.RoleLocalService roleLocalService
@BeanReference(type=com.liferay.portal.kernel.service.persistence.RolePersistence.class) protected com.liferay.portal.kernel.service.persistence.RolePersistence rolePersistence
@BeanReference(type=com.liferay.portal.kernel.service.persistence.RoleFinder.class) protected com.liferay.portal.kernel.service.persistence.RoleFinder roleFinder
@BeanReference(type=com.liferay.portal.kernel.service.UserLocalService.class) protected com.liferay.portal.kernel.service.UserLocalService userLocalService
@BeanReference(type=com.liferay.portal.kernel.service.persistence.UserPersistence.class) protected com.liferay.portal.kernel.service.persistence.UserPersistence userPersistence
@BeanReference(type=com.liferay.portal.kernel.service.persistence.UserFinder.class) protected com.liferay.portal.kernel.service.persistence.UserFinder userFinder
@BeanReference(type=com.liferay.portal.kernel.service.UserGroupLocalService.class) protected com.liferay.portal.kernel.service.UserGroupLocalService userGroupLocalService
@BeanReference(type=com.liferay.portal.kernel.service.persistence.UserGroupPersistence.class) protected com.liferay.portal.kernel.service.persistence.UserGroupPersistence userGroupPersistence
@BeanReference(type=com.liferay.portal.kernel.service.persistence.UserGroupFinder.class) protected com.liferay.portal.kernel.service.persistence.UserGroupFinder userGroupFinder
@BeanReference(type=com.liferay.portal.kernel.service.PersistedModelLocalServiceRegistry.class) protected com.liferay.portal.kernel.service.PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry
@Indexable(type=REINDEX) public com.liferay.portal.kernel.model.Team addTeam(com.liferay.portal.kernel.model.Team team)
addTeam
in interface com.liferay.portal.kernel.service.TeamLocalService
team
- the team@Transactional(enabled=false) public com.liferay.portal.kernel.model.Team createTeam(long teamId)
createTeam
in interface com.liferay.portal.kernel.service.TeamLocalService
teamId
- the primary key for the new team@Indexable(type=DELETE) public com.liferay.portal.kernel.model.Team deleteTeam(long teamId) throws com.liferay.portal.kernel.exception.PortalException
deleteTeam
in interface com.liferay.portal.kernel.service.TeamLocalService
teamId
- the primary key of the teamcom.liferay.portal.kernel.exception.PortalException
- if a team with the primary key could not be found@Indexable(type=DELETE) public com.liferay.portal.kernel.model.Team deleteTeam(com.liferay.portal.kernel.model.Team team) throws com.liferay.portal.kernel.exception.PortalException
deleteTeam
in interface com.liferay.portal.kernel.service.TeamLocalService
team
- the teamcom.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
dynamicQuery
in interface com.liferay.portal.kernel.service.TeamLocalService
public <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery
in interface com.liferay.portal.kernel.service.TeamLocalService
dynamicQuery
- the dynamic querypublic <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from TeamModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
dynamicQuery
in interface com.liferay.portal.kernel.service.TeamLocalService
dynamicQuery
- the dynamic querystart
- the lower bound of the range of model instancesend
- the upper bound of the range of model instances (not inclusive)public <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from TeamModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
dynamicQuery
in interface com.liferay.portal.kernel.service.TeamLocalService
dynamicQuery
- the dynamic querystart
- the lower bound of the range of model instancesend
- the upper bound of the range of model instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQueryCount
in interface com.liferay.portal.kernel.service.TeamLocalService
dynamicQuery
- the dynamic querypublic long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection)
dynamicQueryCount
in interface com.liferay.portal.kernel.service.TeamLocalService
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the querypublic com.liferay.portal.kernel.model.Team fetchTeam(long teamId)
fetchTeam
in interface com.liferay.portal.kernel.service.TeamLocalService
public com.liferay.portal.kernel.model.Team fetchTeamByUuidAndGroupId(String uuid, long groupId)
fetchTeamByUuidAndGroupId
in interface com.liferay.portal.kernel.service.TeamLocalService
uuid
- the team's UUIDgroupId
- the primary key of the groupnull
if a matching team could not be foundpublic com.liferay.portal.kernel.model.Team getTeam(long teamId) throws com.liferay.portal.kernel.exception.PortalException
getTeam
in interface com.liferay.portal.kernel.service.TeamLocalService
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.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery
in interface com.liferay.portal.kernel.service.TeamLocalService
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery
in interface com.liferay.portal.kernel.service.TeamLocalService
protected void initActionableDynamicQuery(com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery actionableDynamicQuery)
public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext)
getExportActionableDynamicQuery
in interface com.liferay.portal.kernel.service.TeamLocalService
public com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) throws com.liferay.portal.kernel.exception.PortalException
deletePersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
deletePersistedModel
in interface com.liferay.portal.kernel.service.TeamLocalService
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.model.PersistedModel getPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
getPersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
getPersistedModel
in interface com.liferay.portal.kernel.service.TeamLocalService
com.liferay.portal.kernel.exception.PortalException
public List<com.liferay.portal.kernel.model.Team> getTeamsByUuidAndCompanyId(String uuid, long companyId)
getTeamsByUuidAndCompanyId
in interface com.liferay.portal.kernel.service.TeamLocalService
uuid
- the UUID of the teamscompanyId
- the primary key of the companypublic List<com.liferay.portal.kernel.model.Team> getTeamsByUuidAndCompanyId(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Team> orderByComparator)
getTeamsByUuidAndCompanyId
in interface com.liferay.portal.kernel.service.TeamLocalService
uuid
- the UUID of the teamscompanyId
- the primary key of the companystart
- the lower bound of the range of teamsend
- the upper bound of the range of teams (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public com.liferay.portal.kernel.model.Team getTeamByUuidAndGroupId(String uuid, long groupId) throws com.liferay.portal.kernel.exception.PortalException
getTeamByUuidAndGroupId
in interface com.liferay.portal.kernel.service.TeamLocalService
uuid
- the team's UUIDgroupId
- the primary key of the groupcom.liferay.portal.kernel.exception.PortalException
- if a matching team could not be foundpublic List<com.liferay.portal.kernel.model.Team> getTeams(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from TeamModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
getTeams
in interface com.liferay.portal.kernel.service.TeamLocalService
start
- the lower bound of the range of teamsend
- the upper bound of the range of teams (not inclusive)public int getTeamsCount()
getTeamsCount
in interface com.liferay.portal.kernel.service.TeamLocalService
@Indexable(type=REINDEX) public com.liferay.portal.kernel.model.Team updateTeam(com.liferay.portal.kernel.model.Team team)
updateTeam
in interface com.liferay.portal.kernel.service.TeamLocalService
team
- the teampublic void addUserTeam(long userId, long teamId)
addUserTeam
in interface com.liferay.portal.kernel.service.TeamLocalService
public void addUserTeam(long userId, com.liferay.portal.kernel.model.Team team)
addUserTeam
in interface com.liferay.portal.kernel.service.TeamLocalService
public void addUserTeams(long userId, long[] teamIds)
addUserTeams
in interface com.liferay.portal.kernel.service.TeamLocalService
public void addUserTeams(long userId, List<com.liferay.portal.kernel.model.Team> teams)
addUserTeams
in interface com.liferay.portal.kernel.service.TeamLocalService
public void clearUserTeams(long userId)
clearUserTeams
in interface com.liferay.portal.kernel.service.TeamLocalService
public void deleteUserTeam(long userId, long teamId)
deleteUserTeam
in interface com.liferay.portal.kernel.service.TeamLocalService
public void deleteUserTeam(long userId, com.liferay.portal.kernel.model.Team team)
deleteUserTeam
in interface com.liferay.portal.kernel.service.TeamLocalService
public void deleteUserTeams(long userId, long[] teamIds)
deleteUserTeams
in interface com.liferay.portal.kernel.service.TeamLocalService
public void deleteUserTeams(long userId, List<com.liferay.portal.kernel.model.Team> teams)
deleteUserTeams
in interface com.liferay.portal.kernel.service.TeamLocalService
public long[] getUserPrimaryKeys(long teamId)
getUserPrimaryKeys
in interface com.liferay.portal.kernel.service.TeamLocalService
teamId
- the teamId of the teampublic List<com.liferay.portal.kernel.model.Team> getUserTeams(long userId)
getUserTeams
in interface com.liferay.portal.kernel.service.TeamLocalService
public List<com.liferay.portal.kernel.model.Team> getUserTeams(long userId, int start, int end)
getUserTeams
in interface com.liferay.portal.kernel.service.TeamLocalService
public List<com.liferay.portal.kernel.model.Team> getUserTeams(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Team> orderByComparator)
getUserTeams
in interface com.liferay.portal.kernel.service.TeamLocalService
public int getUserTeamsCount(long userId)
getUserTeamsCount
in interface com.liferay.portal.kernel.service.TeamLocalService
public boolean hasUserTeam(long userId, long teamId)
hasUserTeam
in interface com.liferay.portal.kernel.service.TeamLocalService
public boolean hasUserTeams(long userId)
hasUserTeams
in interface com.liferay.portal.kernel.service.TeamLocalService
public void setUserTeams(long userId, long[] teamIds)
setUserTeams
in interface com.liferay.portal.kernel.service.TeamLocalService
public void addUserGroupTeam(long userGroupId, long teamId)
addUserGroupTeam
in interface com.liferay.portal.kernel.service.TeamLocalService
public void addUserGroupTeam(long userGroupId, com.liferay.portal.kernel.model.Team team)
addUserGroupTeam
in interface com.liferay.portal.kernel.service.TeamLocalService
public void addUserGroupTeams(long userGroupId, long[] teamIds)
addUserGroupTeams
in interface com.liferay.portal.kernel.service.TeamLocalService
public void addUserGroupTeams(long userGroupId, List<com.liferay.portal.kernel.model.Team> teams)
addUserGroupTeams
in interface com.liferay.portal.kernel.service.TeamLocalService
public void clearUserGroupTeams(long userGroupId)
clearUserGroupTeams
in interface com.liferay.portal.kernel.service.TeamLocalService
public void deleteUserGroupTeam(long userGroupId, long teamId)
deleteUserGroupTeam
in interface com.liferay.portal.kernel.service.TeamLocalService
public void deleteUserGroupTeam(long userGroupId, com.liferay.portal.kernel.model.Team team)
deleteUserGroupTeam
in interface com.liferay.portal.kernel.service.TeamLocalService
public void deleteUserGroupTeams(long userGroupId, long[] teamIds)
deleteUserGroupTeams
in interface com.liferay.portal.kernel.service.TeamLocalService
public void deleteUserGroupTeams(long userGroupId, List<com.liferay.portal.kernel.model.Team> teams)
deleteUserGroupTeams
in interface com.liferay.portal.kernel.service.TeamLocalService
public long[] getUserGroupPrimaryKeys(long teamId)
getUserGroupPrimaryKeys
in interface com.liferay.portal.kernel.service.TeamLocalService
teamId
- the teamId of the teampublic List<com.liferay.portal.kernel.model.Team> getUserGroupTeams(long userGroupId)
getUserGroupTeams
in interface com.liferay.portal.kernel.service.TeamLocalService
public List<com.liferay.portal.kernel.model.Team> getUserGroupTeams(long userGroupId, int start, int end)
getUserGroupTeams
in interface com.liferay.portal.kernel.service.TeamLocalService
public List<com.liferay.portal.kernel.model.Team> getUserGroupTeams(long userGroupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Team> orderByComparator)
getUserGroupTeams
in interface com.liferay.portal.kernel.service.TeamLocalService
public int getUserGroupTeamsCount(long userGroupId)
getUserGroupTeamsCount
in interface com.liferay.portal.kernel.service.TeamLocalService
public boolean hasUserGroupTeam(long userGroupId, long teamId)
hasUserGroupTeam
in interface com.liferay.portal.kernel.service.TeamLocalService
public boolean hasUserGroupTeams(long userGroupId)
hasUserGroupTeams
in interface com.liferay.portal.kernel.service.TeamLocalService
public void setUserGroupTeams(long userGroupId, long[] teamIds)
setUserGroupTeams
in interface com.liferay.portal.kernel.service.TeamLocalService
public com.liferay.portal.kernel.service.TeamLocalService getTeamLocalService()
public void setTeamLocalService(com.liferay.portal.kernel.service.TeamLocalService teamLocalService)
teamLocalService
- the team local servicepublic com.liferay.portal.kernel.service.persistence.TeamPersistence getTeamPersistence()
public void setTeamPersistence(com.liferay.portal.kernel.service.persistence.TeamPersistence teamPersistence)
teamPersistence
- the team persistencepublic com.liferay.portal.kernel.service.persistence.TeamFinder getTeamFinder()
public void setTeamFinder(com.liferay.portal.kernel.service.persistence.TeamFinder teamFinder)
teamFinder
- the team finderpublic com.liferay.counter.kernel.service.CounterLocalService getCounterLocalService()
public void setCounterLocalService(com.liferay.counter.kernel.service.CounterLocalService counterLocalService)
counterLocalService
- the counter local servicepublic com.liferay.portal.kernel.service.ResourceLocalService getResourceLocalService()
public void setResourceLocalService(com.liferay.portal.kernel.service.ResourceLocalService resourceLocalService)
resourceLocalService
- the resource local servicepublic com.liferay.portal.kernel.service.RoleLocalService getRoleLocalService()
public void setRoleLocalService(com.liferay.portal.kernel.service.RoleLocalService roleLocalService)
roleLocalService
- the role local servicepublic com.liferay.portal.kernel.service.persistence.RolePersistence getRolePersistence()
public void setRolePersistence(com.liferay.portal.kernel.service.persistence.RolePersistence rolePersistence)
rolePersistence
- the role persistencepublic com.liferay.portal.kernel.service.persistence.RoleFinder getRoleFinder()
public void setRoleFinder(com.liferay.portal.kernel.service.persistence.RoleFinder roleFinder)
roleFinder
- the role finderpublic com.liferay.portal.kernel.service.UserLocalService getUserLocalService()
public void setUserLocalService(com.liferay.portal.kernel.service.UserLocalService userLocalService)
userLocalService
- the user local servicepublic com.liferay.portal.kernel.service.persistence.UserPersistence getUserPersistence()
public void setUserPersistence(com.liferay.portal.kernel.service.persistence.UserPersistence userPersistence)
userPersistence
- the user persistencepublic com.liferay.portal.kernel.service.persistence.UserFinder getUserFinder()
public void setUserFinder(com.liferay.portal.kernel.service.persistence.UserFinder userFinder)
userFinder
- the user finderpublic com.liferay.portal.kernel.service.UserGroupLocalService getUserGroupLocalService()
public void setUserGroupLocalService(com.liferay.portal.kernel.service.UserGroupLocalService userGroupLocalService)
userGroupLocalService
- the user group local servicepublic com.liferay.portal.kernel.service.persistence.UserGroupPersistence getUserGroupPersistence()
public void setUserGroupPersistence(com.liferay.portal.kernel.service.persistence.UserGroupPersistence userGroupPersistence)
userGroupPersistence
- the user group persistencepublic com.liferay.portal.kernel.service.persistence.UserGroupFinder getUserGroupFinder()
public void setUserGroupFinder(com.liferay.portal.kernel.service.persistence.UserGroupFinder userGroupFinder)
userGroupFinder
- the user group finderpublic void afterPropertiesSet()
public void destroy()
public String getOSGiServiceIdentifier()
getOSGiServiceIdentifier
in interface com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService
getOSGiServiceIdentifier
in interface com.liferay.portal.kernel.service.TeamLocalService
protected Class<?> getModelClass()
protected String getModelClassName()
protected void runSQL(String sql)
sql
- the sql query