Class TeamLocalServiceBaseImpl
- All Implemented Interfaces:
com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService,com.liferay.portal.kernel.service.BaseLocalService,com.liferay.portal.kernel.service.change.tracking.CTService<com.liferay.portal.kernel.model.Team>,com.liferay.portal.kernel.service.PersistedModelLocalService,com.liferay.portal.kernel.service.TeamLocalService
- Direct Known Subclasses:
TeamLocalServiceImpl
This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in TeamLocalServiceImpl.
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected com.liferay.counter.kernel.service.CounterLocalServiceprotected com.liferay.portal.kernel.service.persistence.TeamFinderprotected com.liferay.portal.kernel.service.TeamLocalServiceprotected com.liferay.portal.kernel.service.persistence.TeamPersistenceprotected com.liferay.portal.kernel.service.persistence.UserGroupPersistenceprotected com.liferay.portal.kernel.service.persistence.UserPersistence -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.liferay.portal.kernel.model.TeamaddTeam(com.liferay.portal.kernel.model.Team team) Adds the team to the database.booleanaddUserGroupTeam(long userGroupId, long teamId) booleanaddUserGroupTeam(long userGroupId, com.liferay.portal.kernel.model.Team team) booleanaddUserGroupTeams(long userGroupId, long[] teamIds) booleanaddUserGroupTeams(long userGroupId, List<com.liferay.portal.kernel.model.Team> teams) booleanaddUserTeam(long userId, long teamId) booleanaddUserTeam(long userId, com.liferay.portal.kernel.model.Team team) booleanaddUserTeams(long userId, long[] teamIds) booleanaddUserTeams(long userId, List<com.liferay.portal.kernel.model.Team> teams) voidvoidclearUserGroupTeams(long userGroupId) voidclearUserTeams(long userId) com.liferay.portal.kernel.model.PersistedModelcreatePersistedModel(Serializable primaryKeyObj) com.liferay.portal.kernel.model.TeamcreateTeam(long teamId) Creates a new team with the primary key.com.liferay.portal.kernel.model.PersistedModeldeletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) com.liferay.portal.kernel.model.TeamdeleteTeam(long teamId) Deletes the team with the primary key from the database.com.liferay.portal.kernel.model.TeamdeleteTeam(com.liferay.portal.kernel.model.Team team) Deletes the team from the database.voiddeleteUserGroupTeam(long userGroupId, long teamId) voiddeleteUserGroupTeam(long userGroupId, com.liferay.portal.kernel.model.Team team) voiddeleteUserGroupTeams(long userGroupId, long[] teamIds) voiddeleteUserGroupTeams(long userGroupId, List<com.liferay.portal.kernel.model.Team> teams) voiddeleteUserTeam(long userId, long teamId) voiddeleteUserTeam(long userId, com.liferay.portal.kernel.model.Team team) voiddeleteUserTeams(long userId, long[] teamIds) voiddeleteUserTeams(long userId, List<com.liferay.portal.kernel.model.Team> teams) voiddestroy()<T> TdslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) intdslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) com.liferay.portal.kernel.dao.orm.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.longdynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.longdynamicQueryCount(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.TeamfetchTeam(long teamId) com.liferay.portal.kernel.model.TeamfetchTeamByUuidAndGroupId(String uuid, long groupId) Returns the team matching the UUID and group.com.liferay.portal.kernel.dao.orm.ActionableDynamicQuerycom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Team>com.liferay.counter.kernel.service.CounterLocalServiceReturns the counter local service.com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.portal.kernel.model.Team>com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuerygetExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQueryClass<com.liferay.portal.kernel.model.Team>protected StringReturns the OSGi service identifier.com.liferay.portal.kernel.model.PersistedModelgetPersistedModel(Serializable primaryKeyObj) com.liferay.portal.kernel.model.TeamgetTeam(long teamId) Returns the team with the primary key.com.liferay.portal.kernel.model.TeamgetTeamByUuidAndGroupId(String uuid, long groupId) Returns the team matching the UUID and group.com.liferay.portal.kernel.service.persistence.TeamFinderReturns the team finder.com.liferay.portal.kernel.service.TeamLocalServiceReturns the team local service.com.liferay.portal.kernel.service.persistence.TeamPersistenceReturns 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.intReturns the number of teams.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) intgetUserGroupTeamsCount(long userGroupId) 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) intgetUserTeamsCount(long userId) booleanhasUserGroupTeam(long userGroupId, long teamId) booleanhasUserGroupTeams(long userGroupId) booleanhasUserTeam(long userId, long teamId) booleanhasUserTeams(long userId) protected voidinitActionableDynamicQuery(com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery actionableDynamicQuery) protected voidPerforms a SQL query.voidsetCounterLocalService(com.liferay.counter.kernel.service.CounterLocalService counterLocalService) Sets the counter local service.voidsetTeamFinder(com.liferay.portal.kernel.service.persistence.TeamFinder teamFinder) Sets the team finder.voidsetTeamLocalService(com.liferay.portal.kernel.service.TeamLocalService teamLocalService) Sets the team local service.voidsetTeamPersistence(com.liferay.portal.kernel.service.persistence.TeamPersistence teamPersistence) Sets the team persistence.voidsetUserGroupTeams(long userGroupId, long[] teamIds) voidsetUserTeams(long userId, long[] teamIds) com.liferay.portal.kernel.model.TeamupdateTeam(com.liferay.portal.kernel.model.Team team) Updates the team in the database or adds it if it does not yet exist.<R,E extends Throwable>
RupdateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.portal.kernel.model.Team>, R, E> updateUnsafeFunction) Methods inherited from class com.liferay.portal.kernel.service.BaseLocalServiceImpl
getClassLoader, getLocalizationMapMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.liferay.portal.kernel.service.PersistedModelLocalService
fetchPersistedModelMethods inherited from interface com.liferay.portal.kernel.service.TeamLocalService
addTeam, deleteTeams, fetchTeam, getGroupTeams, getGroupTeamsCount, getTeam, getUserOrUserGroupTeams, getUserTeams, search, searchCount, updateTeam
-
Field Details
-
teamLocalService
@BeanReference(type=com.liferay.portal.kernel.service.TeamLocalService.class) protected com.liferay.portal.kernel.service.TeamLocalService teamLocalService -
teamPersistence
@BeanReference(type=com.liferay.portal.kernel.service.persistence.TeamPersistence.class) protected com.liferay.portal.kernel.service.persistence.TeamPersistence teamPersistence -
teamFinder
@BeanReference(type=com.liferay.portal.kernel.service.persistence.TeamFinder.class) protected com.liferay.portal.kernel.service.persistence.TeamFinder teamFinder -
counterLocalService
@BeanReference(type=com.liferay.counter.kernel.service.CounterLocalService.class) protected com.liferay.counter.kernel.service.CounterLocalService counterLocalService -
userPersistence
@BeanReference(type=com.liferay.portal.kernel.service.persistence.UserPersistence.class) protected com.liferay.portal.kernel.service.persistence.UserPersistence userPersistence -
userGroupPersistence
@BeanReference(type=com.liferay.portal.kernel.service.persistence.UserGroupPersistence.class) protected com.liferay.portal.kernel.service.persistence.UserGroupPersistence userGroupPersistence
-
-
Constructor Details
-
TeamLocalServiceBaseImpl
public TeamLocalServiceBaseImpl()
-
-
Method Details
-
addTeam
@Indexable(type=REINDEX) public com.liferay.portal.kernel.model.Team addTeam(com.liferay.portal.kernel.model.Team team) Adds the team to the database. Also notifies the appropriate model listeners.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.
- Specified by:
addTeamin interfacecom.liferay.portal.kernel.service.TeamLocalService- Parameters:
team- the team- Returns:
- the team that was added
-
createTeam
@Transactional(enabled=false) public com.liferay.portal.kernel.model.Team createTeam(long teamId) Creates a new team with the primary key. Does not add the team to the database.- Specified by:
createTeamin interfacecom.liferay.portal.kernel.service.TeamLocalService- Parameters:
teamId- the primary key for the new team- Returns:
- the new team
-
deleteTeam
@Indexable(type=DELETE) public com.liferay.portal.kernel.model.Team deleteTeam(long teamId) throws com.liferay.portal.kernel.exception.PortalException Deletes the team with the primary key from the database. Also notifies the appropriate model listeners.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.
- Specified by:
deleteTeamin interfacecom.liferay.portal.kernel.service.TeamLocalService- Parameters:
teamId- the primary key of the team- Returns:
- the team that was removed
- Throws:
com.liferay.portal.kernel.exception.PortalException- if a team with the primary key could not be found
-
deleteTeam
@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 Deletes the team from the database. Also notifies the appropriate model listeners.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.
- Specified by:
deleteTeamin interfacecom.liferay.portal.kernel.service.TeamLocalService- Parameters:
team- the team- Returns:
- the team that was removed
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
dslQuery
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Specified by:
dslQueryin interfacecom.liferay.portal.kernel.service.TeamLocalService
-
dslQueryCount
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryCountin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Specified by:
dslQueryCountin interfacecom.liferay.portal.kernel.service.TeamLocalService
-
dynamicQuery
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()- Specified by:
dynamicQueryin interfacecom.liferay.portal.kernel.service.TeamLocalService
-
dynamicQuery
Performs a dynamic query on the database and returns the matching rows.- Specified by:
dynamicQueryin interfacecom.liferay.portal.kernel.service.TeamLocalService- Parameters:
dynamicQuery- the dynamic query- Returns:
- the matching rows
-
dynamicQuery
public <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.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.model.impl.TeamModelImpl.- Specified by:
dynamicQueryin interfacecom.liferay.portal.kernel.service.TeamLocalService- Parameters:
dynamicQuery- the dynamic querystart- the lower bound of the range of model instancesend- the upper bound of the range of model instances (not inclusive)- Returns:
- the range of matching rows
-
dynamicQuery
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) Performs a dynamic query on the database and returns an ordered range of the matching rows.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.model.impl.TeamModelImpl.- Specified by:
dynamicQueryin interfacecom.liferay.portal.kernel.service.TeamLocalService- Parameters:
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 (optionallynull)- Returns:
- the ordered range of matching rows
-
dynamicQueryCount
public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.- Specified by:
dynamicQueryCountin interfacecom.liferay.portal.kernel.service.TeamLocalService- Parameters:
dynamicQuery- the dynamic query- Returns:
- the number of rows matching the dynamic query
-
dynamicQueryCount
public 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.- Specified by:
dynamicQueryCountin interfacecom.liferay.portal.kernel.service.TeamLocalService- Parameters:
dynamicQuery- the dynamic queryprojection- the projection to apply to the query- Returns:
- the number of rows matching the dynamic query
-
fetchTeam
public com.liferay.portal.kernel.model.Team fetchTeam(long teamId) - Specified by:
fetchTeamin interfacecom.liferay.portal.kernel.service.TeamLocalService
-
fetchTeamByUuidAndGroupId
Returns the team matching the UUID and group.- Specified by:
fetchTeamByUuidAndGroupIdin interfacecom.liferay.portal.kernel.service.TeamLocalService- Parameters:
uuid- the team's UUIDgroupId- the primary key of the group- Returns:
- the matching team, or
nullif a matching team could not be found
-
getTeam
public com.liferay.portal.kernel.model.Team getTeam(long teamId) throws com.liferay.portal.kernel.exception.PortalException Returns the team with the primary key.- Specified by:
getTeamin interfacecom.liferay.portal.kernel.service.TeamLocalService- Parameters:
teamId- the primary key of the team- Returns:
- the team
- Throws:
com.liferay.portal.kernel.exception.PortalException- if a team with the primary key could not be found
-
getActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()- Specified by:
getActionableDynamicQueryin interfacecom.liferay.portal.kernel.service.TeamLocalService
-
getIndexableActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()- Specified by:
getIndexableActionableDynamicQueryin interfacecom.liferay.portal.kernel.service.TeamLocalService
-
initActionableDynamicQuery
protected void initActionableDynamicQuery(com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery actionableDynamicQuery) -
getExportActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) - Specified by:
getExportActionableDynamicQueryin interfacecom.liferay.portal.kernel.service.TeamLocalService
-
createPersistedModel
public com.liferay.portal.kernel.model.PersistedModel createPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
createPersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Specified by:
createPersistedModelin interfacecom.liferay.portal.kernel.service.TeamLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deletePersistedModel
public com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deletePersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Specified by:
deletePersistedModelin interfacecom.liferay.portal.kernel.service.TeamLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getBasePersistence
public com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Team> getBasePersistence()- Specified by:
getBasePersistencein interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
getPersistedModel
public com.liferay.portal.kernel.model.PersistedModel getPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getPersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Specified by:
getPersistedModelin interfacecom.liferay.portal.kernel.service.TeamLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getTeamsByUuidAndCompanyId
public List<com.liferay.portal.kernel.model.Team> getTeamsByUuidAndCompanyId(String uuid, long companyId) Returns all the teams matching the UUID and company.- Specified by:
getTeamsByUuidAndCompanyIdin interfacecom.liferay.portal.kernel.service.TeamLocalService- Parameters:
uuid- the UUID of the teamscompanyId- the primary key of the company- Returns:
- the matching teams, or an empty list if no matches were found
-
getTeamsByUuidAndCompanyId
public 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.- Specified by:
getTeamsByUuidAndCompanyIdin interfacecom.liferay.portal.kernel.service.TeamLocalService- Parameters:
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 (optionallynull)- Returns:
- the range of matching teams, or an empty list if no matches were found
-
getTeamByUuidAndGroupId
public com.liferay.portal.kernel.model.Team getTeamByUuidAndGroupId(String uuid, long groupId) throws com.liferay.portal.kernel.exception.PortalException Returns the team matching the UUID and group.- Specified by:
getTeamByUuidAndGroupIdin interfacecom.liferay.portal.kernel.service.TeamLocalService- Parameters:
uuid- the team's UUIDgroupId- the primary key of the group- Returns:
- the matching team
- Throws:
com.liferay.portal.kernel.exception.PortalException- if a matching team could not be found
-
getTeams
Returns a range of all the teams.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.model.impl.TeamModelImpl.- Specified by:
getTeamsin interfacecom.liferay.portal.kernel.service.TeamLocalService- Parameters:
start- the lower bound of the range of teamsend- the upper bound of the range of teams (not inclusive)- Returns:
- the range of teams
-
getTeamsCount
public int getTeamsCount()Returns the number of teams.- Specified by:
getTeamsCountin interfacecom.liferay.portal.kernel.service.TeamLocalService- Returns:
- the number of teams
-
updateTeam
@Indexable(type=REINDEX) public 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. Also notifies the appropriate model listeners.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.
- Specified by:
updateTeamin interfacecom.liferay.portal.kernel.service.TeamLocalService- Parameters:
team- the team- Returns:
- the team that was updated
-
addUserTeam
public boolean addUserTeam(long userId, long teamId) - Specified by:
addUserTeamin interfacecom.liferay.portal.kernel.service.TeamLocalService
-
addUserTeam
public boolean addUserTeam(long userId, com.liferay.portal.kernel.model.Team team) - Specified by:
addUserTeamin interfacecom.liferay.portal.kernel.service.TeamLocalService
-
addUserTeams
public boolean addUserTeams(long userId, long[] teamIds) - Specified by:
addUserTeamsin interfacecom.liferay.portal.kernel.service.TeamLocalService
-
addUserTeams
- Specified by:
addUserTeamsin interfacecom.liferay.portal.kernel.service.TeamLocalService
-
clearUserTeams
public void clearUserTeams(long userId) - Specified by:
clearUserTeamsin interfacecom.liferay.portal.kernel.service.TeamLocalService
-
deleteUserTeam
public void deleteUserTeam(long userId, long teamId) - Specified by:
deleteUserTeamin interfacecom.liferay.portal.kernel.service.TeamLocalService
-
deleteUserTeam
public void deleteUserTeam(long userId, com.liferay.portal.kernel.model.Team team) - Specified by:
deleteUserTeamin interfacecom.liferay.portal.kernel.service.TeamLocalService
-
deleteUserTeams
public void deleteUserTeams(long userId, long[] teamIds) - Specified by:
deleteUserTeamsin interfacecom.liferay.portal.kernel.service.TeamLocalService
-
deleteUserTeams
- Specified by:
deleteUserTeamsin interfacecom.liferay.portal.kernel.service.TeamLocalService
-
getUserPrimaryKeys
public long[] getUserPrimaryKeys(long teamId) Returns the userIds of the users associated with the team.- Specified by:
getUserPrimaryKeysin interfacecom.liferay.portal.kernel.service.TeamLocalService- Parameters:
teamId- the teamId of the team- Returns:
- long[] the userIds of users associated with the team
-
getUserTeams
- Specified by:
getUserTeamsin interfacecom.liferay.portal.kernel.service.TeamLocalService
-
getUserTeams
- Specified by:
getUserTeamsin interfacecom.liferay.portal.kernel.service.TeamLocalService
-
getUserTeams
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) - Specified by:
getUserTeamsin interfacecom.liferay.portal.kernel.service.TeamLocalService
-
getUserTeamsCount
public int getUserTeamsCount(long userId) - Specified by:
getUserTeamsCountin interfacecom.liferay.portal.kernel.service.TeamLocalService
-
hasUserTeam
public boolean hasUserTeam(long userId, long teamId) - Specified by:
hasUserTeamin interfacecom.liferay.portal.kernel.service.TeamLocalService
-
hasUserTeams
public boolean hasUserTeams(long userId) - Specified by:
hasUserTeamsin interfacecom.liferay.portal.kernel.service.TeamLocalService
-
setUserTeams
public void setUserTeams(long userId, long[] teamIds) - Specified by:
setUserTeamsin interfacecom.liferay.portal.kernel.service.TeamLocalService
-
addUserGroupTeam
public boolean addUserGroupTeam(long userGroupId, long teamId) - Specified by:
addUserGroupTeamin interfacecom.liferay.portal.kernel.service.TeamLocalService
-
addUserGroupTeam
public boolean addUserGroupTeam(long userGroupId, com.liferay.portal.kernel.model.Team team) - Specified by:
addUserGroupTeamin interfacecom.liferay.portal.kernel.service.TeamLocalService
-
addUserGroupTeams
public boolean addUserGroupTeams(long userGroupId, long[] teamIds) - Specified by:
addUserGroupTeamsin interfacecom.liferay.portal.kernel.service.TeamLocalService
-
addUserGroupTeams
public boolean addUserGroupTeams(long userGroupId, List<com.liferay.portal.kernel.model.Team> teams) - Specified by:
addUserGroupTeamsin interfacecom.liferay.portal.kernel.service.TeamLocalService
-
clearUserGroupTeams
public void clearUserGroupTeams(long userGroupId) - Specified by:
clearUserGroupTeamsin interfacecom.liferay.portal.kernel.service.TeamLocalService
-
deleteUserGroupTeam
public void deleteUserGroupTeam(long userGroupId, long teamId) - Specified by:
deleteUserGroupTeamin interfacecom.liferay.portal.kernel.service.TeamLocalService
-
deleteUserGroupTeam
public void deleteUserGroupTeam(long userGroupId, com.liferay.portal.kernel.model.Team team) - Specified by:
deleteUserGroupTeamin interfacecom.liferay.portal.kernel.service.TeamLocalService
-
deleteUserGroupTeams
public void deleteUserGroupTeams(long userGroupId, long[] teamIds) - Specified by:
deleteUserGroupTeamsin interfacecom.liferay.portal.kernel.service.TeamLocalService
-
deleteUserGroupTeams
public void deleteUserGroupTeams(long userGroupId, List<com.liferay.portal.kernel.model.Team> teams) - Specified by:
deleteUserGroupTeamsin interfacecom.liferay.portal.kernel.service.TeamLocalService
-
getUserGroupPrimaryKeys
public long[] getUserGroupPrimaryKeys(long teamId) Returns the userGroupIds of the user groups associated with the team.- Specified by:
getUserGroupPrimaryKeysin interfacecom.liferay.portal.kernel.service.TeamLocalService- Parameters:
teamId- the teamId of the team- Returns:
- long[] the userGroupIds of user groups associated with the team
-
getUserGroupTeams
- Specified by:
getUserGroupTeamsin interfacecom.liferay.portal.kernel.service.TeamLocalService
-
getUserGroupTeams
public List<com.liferay.portal.kernel.model.Team> getUserGroupTeams(long userGroupId, int start, int end) - Specified by:
getUserGroupTeamsin interfacecom.liferay.portal.kernel.service.TeamLocalService
-
getUserGroupTeams
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) - Specified by:
getUserGroupTeamsin interfacecom.liferay.portal.kernel.service.TeamLocalService
-
getUserGroupTeamsCount
public int getUserGroupTeamsCount(long userGroupId) - Specified by:
getUserGroupTeamsCountin interfacecom.liferay.portal.kernel.service.TeamLocalService
-
hasUserGroupTeam
public boolean hasUserGroupTeam(long userGroupId, long teamId) - Specified by:
hasUserGroupTeamin interfacecom.liferay.portal.kernel.service.TeamLocalService
-
hasUserGroupTeams
public boolean hasUserGroupTeams(long userGroupId) - Specified by:
hasUserGroupTeamsin interfacecom.liferay.portal.kernel.service.TeamLocalService
-
setUserGroupTeams
public void setUserGroupTeams(long userGroupId, long[] teamIds) - Specified by:
setUserGroupTeamsin interfacecom.liferay.portal.kernel.service.TeamLocalService
-
getTeamLocalService
public com.liferay.portal.kernel.service.TeamLocalService getTeamLocalService()Returns the team local service.- Returns:
- the team local service
-
setTeamLocalService
public void setTeamLocalService(com.liferay.portal.kernel.service.TeamLocalService teamLocalService) Sets the team local service.- Parameters:
teamLocalService- the team local service
-
getTeamPersistence
public com.liferay.portal.kernel.service.persistence.TeamPersistence getTeamPersistence()Returns the team persistence.- Returns:
- the team persistence
-
setTeamPersistence
public void setTeamPersistence(com.liferay.portal.kernel.service.persistence.TeamPersistence teamPersistence) Sets the team persistence.- Parameters:
teamPersistence- the team persistence
-
getTeamFinder
public com.liferay.portal.kernel.service.persistence.TeamFinder getTeamFinder()Returns the team finder.- Returns:
- the team finder
-
setTeamFinder
public void setTeamFinder(com.liferay.portal.kernel.service.persistence.TeamFinder teamFinder) Sets the team finder.- Parameters:
teamFinder- the team finder
-
getCounterLocalService
public com.liferay.counter.kernel.service.CounterLocalService getCounterLocalService()Returns the counter local service.- Returns:
- the counter local service
-
setCounterLocalService
public void setCounterLocalService(com.liferay.counter.kernel.service.CounterLocalService counterLocalService) Sets the counter local service.- Parameters:
counterLocalService- the counter local service
-
afterPropertiesSet
public void afterPropertiesSet() -
destroy
public void destroy() -
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifierin interfacecom.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService- Specified by:
getOSGiServiceIdentifierin interfacecom.liferay.portal.kernel.service.TeamLocalService- Returns:
- the OSGi service identifier
-
getCTPersistence
public com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.portal.kernel.model.Team> getCTPersistence()- Specified by:
getCTPersistencein interfacecom.liferay.portal.kernel.service.change.tracking.CTService<com.liferay.portal.kernel.model.Team>- Specified by:
getCTPersistencein interfacecom.liferay.portal.kernel.service.TeamLocalService
-
getModelClass
- Specified by:
getModelClassin interfacecom.liferay.portal.kernel.service.change.tracking.CTService<com.liferay.portal.kernel.model.Team>- Specified by:
getModelClassin interfacecom.liferay.portal.kernel.service.TeamLocalService
-
updateWithUnsafeFunction
public <R,E extends Throwable> R updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.portal.kernel.model.Team>, R, throws EE> updateUnsafeFunction) - Specified by:
updateWithUnsafeFunctionin interfacecom.liferay.portal.kernel.service.change.tracking.CTService<com.liferay.portal.kernel.model.Team>- Specified by:
updateWithUnsafeFunctionin interfacecom.liferay.portal.kernel.service.TeamLocalService- Throws:
E extends Throwable
-
getModelClassName
-
runSQL
Performs a SQL query.- Parameters:
sql- the sql query
-