public abstract class TeamLocalServiceBaseImpl
extends com.liferay.portal.kernel.service.BaseLocalServiceImpl
implements com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService, com.liferay.portal.kernel.service.TeamLocalService
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
Modifier and Type | Field and Description |
---|---|
protected com.liferay.counter.kernel.service.CounterLocalService |
counterLocalService |
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.UserGroupPersistence |
userGroupPersistence |
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.
|
boolean |
addUserGroupTeam(long userGroupId,
long teamId) |
boolean |
addUserGroupTeam(long userGroupId,
com.liferay.portal.kernel.model.Team team) |
boolean |
addUserGroupTeams(long userGroupId,
List<com.liferay.portal.kernel.model.Team> teams) |
boolean |
addUserGroupTeams(long userGroupId,
long[] teamIds) |
boolean |
addUserTeam(long userId,
long teamId) |
boolean |
addUserTeam(long userId,
com.liferay.portal.kernel.model.Team team) |
boolean |
addUserTeams(long userId,
List<com.liferay.portal.kernel.model.Team> teams) |
boolean |
addUserTeams(long userId,
long[] teamIds) |
void |
afterPropertiesSet() |
void |
clearUserGroupTeams(long userGroupId) |
void |
clearUserTeams(long userId) |
com.liferay.portal.kernel.model.PersistedModel |
createPersistedModel(Serializable primaryKeyObj) |
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() |
<T> T |
dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) |
int |
dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) |
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.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Team> |
getBasePersistence() |
com.liferay.counter.kernel.service.CounterLocalService |
getCounterLocalService()
Returns the counter local service.
|
com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.portal.kernel.model.Team> |
getCTPersistence() |
com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery |
getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) |
com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery() |
Class<com.liferay.portal.kernel.model.Team> |
getModelClass() |
protected String |
getModelClassName() |
String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
com.liferay.portal.kernel.model.PersistedModel |
getPersistedModel(Serializable primaryKeyObj) |
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.
|
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) |
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 |
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 |
setUserGroupTeams(long userGroupId,
long[] teamIds) |
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.
|
<R,E extends Throwable> |
updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.portal.kernel.model.Team>,R,E> updateUnsafeFunction) |
getClassLoader, getLocalizationMap
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
@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.persistence.UserPersistence.class) protected com.liferay.portal.kernel.service.persistence.UserPersistence userPersistence
@BeanReference(type=com.liferay.portal.kernel.service.persistence.UserGroupPersistence.class) protected com.liferay.portal.kernel.service.persistence.UserGroupPersistence userGroupPersistence
@Indexable(type=REINDEX) public com.liferay.portal.kernel.model.Team addTeam(com.liferay.portal.kernel.model.Team team)
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.
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
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
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
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
team
- the teamcom.liferay.portal.kernel.exception.PortalException
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQuery
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
dslQuery
in interface com.liferay.portal.kernel.service.TeamLocalService
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQueryCount
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
dslQueryCount
in interface com.liferay.portal.kernel.service.TeamLocalService
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 com.liferay.portal.kernel.dao.orm.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, then the query will include the default ORDER BY logic from com.liferay.portal.model.impl.TeamModelImpl
.
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 com.liferay.portal.kernel.dao.orm.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, then the query will include the default ORDER BY logic from com.liferay.portal.model.impl.TeamModelImpl
.
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 createPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
createPersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
createPersistedModel
in interface com.liferay.portal.kernel.service.TeamLocalService
com.liferay.portal.kernel.exception.PortalException
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.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Team> getBasePersistence()
getBasePersistence
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
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 com.liferay.portal.kernel.dao.orm.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, then the query will include the default ORDER BY logic from com.liferay.portal.model.impl.TeamModelImpl
.
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)
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.
updateTeam
in interface com.liferay.portal.kernel.service.TeamLocalService
team
- the teampublic boolean addUserTeam(long userId, long teamId)
addUserTeam
in interface com.liferay.portal.kernel.service.TeamLocalService
public boolean addUserTeam(long userId, com.liferay.portal.kernel.model.Team team)
addUserTeam
in interface com.liferay.portal.kernel.service.TeamLocalService
public boolean addUserTeams(long userId, long[] teamIds)
addUserTeams
in interface com.liferay.portal.kernel.service.TeamLocalService
public boolean 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 boolean addUserGroupTeam(long userGroupId, long teamId)
addUserGroupTeam
in interface com.liferay.portal.kernel.service.TeamLocalService
public boolean addUserGroupTeam(long userGroupId, com.liferay.portal.kernel.model.Team team)
addUserGroupTeam
in interface com.liferay.portal.kernel.service.TeamLocalService
public boolean addUserGroupTeams(long userGroupId, long[] teamIds)
addUserGroupTeams
in interface com.liferay.portal.kernel.service.TeamLocalService
public boolean 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 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
public com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.portal.kernel.model.Team> getCTPersistence()
getCTPersistence
in interface com.liferay.portal.kernel.service.change.tracking.CTService<com.liferay.portal.kernel.model.Team>
getCTPersistence
in interface com.liferay.portal.kernel.service.TeamLocalService
public Class<com.liferay.portal.kernel.model.Team> getModelClass()
getModelClass
in interface com.liferay.portal.kernel.service.change.tracking.CTService<com.liferay.portal.kernel.model.Team>
getModelClass
in interface com.liferay.portal.kernel.service.TeamLocalService
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,E> updateUnsafeFunction) throws E extends Throwable
updateWithUnsafeFunction
in interface com.liferay.portal.kernel.service.change.tracking.CTService<com.liferay.portal.kernel.model.Team>
updateWithUnsafeFunction
in interface com.liferay.portal.kernel.service.TeamLocalService
E extends Throwable
protected String getModelClassName()
protected void runSQL(String sql)
sql
- the sql query