public class TeamPersistenceImpl
extends com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Team>
implements com.liferay.portal.kernel.service.persistence.TeamPersistence
Caching information and settings can be found in portal.properties
| Modifier and Type | Field and Description |
|---|---|
static String |
FINDER_CLASS_NAME_ENTITY
NOTE FOR DEVELOPERS:
Never modify or reference this class directly.
|
static String |
FINDER_CLASS_NAME_LIST_WITH_PAGINATION |
static String |
FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION |
protected com.liferay.portal.kernel.service.persistence.impl.TableMapper<com.liferay.portal.kernel.model.Team,com.liferay.portal.kernel.model.UserGroup> |
teamToUserGroupTableMapper |
protected com.liferay.portal.kernel.service.persistence.impl.TableMapper<com.liferay.portal.kernel.model.Team,com.liferay.portal.kernel.model.User> |
teamToUserTableMapper |
protected com.liferay.portal.kernel.service.persistence.UserGroupPersistence |
userGroupPersistence |
protected com.liferay.portal.kernel.service.persistence.UserPersistence |
userPersistence |
CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, databaseInMaxParameters, dbColumnNames, entityCacheEnabled, FINDER_ARGS_EMPTY, finderCacheEnabled, NULL_SAFE_STRING_COMPARATOR, nullModel, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR| Constructor and Description |
|---|
TeamPersistenceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addUser(long pk,
long userPK)
Adds an association between the team and the user.
|
void |
addUser(long pk,
com.liferay.portal.kernel.model.User user)
Adds an association between the team and the user.
|
void |
addUserGroup(long pk,
long userGroupPK)
Adds an association between the team and the user group.
|
void |
addUserGroup(long pk,
com.liferay.portal.kernel.model.UserGroup userGroup)
Adds an association between the team and the user group.
|
void |
addUserGroups(long pk,
List<com.liferay.portal.kernel.model.UserGroup> userGroups)
Adds an association between the team and the user groups.
|
void |
addUserGroups(long pk,
long[] userGroupPKs)
Adds an association between the team and the user groups.
|
void |
addUsers(long pk,
List<com.liferay.portal.kernel.model.User> users)
Adds an association between the team and the users.
|
void |
addUsers(long pk,
long[] userPKs)
Adds an association between the team and the users.
|
void |
afterPropertiesSet()
Initializes the team persistence.
|
void |
cacheResult(List<com.liferay.portal.kernel.model.Team> teams)
Caches the teams in the entity cache if it is enabled.
|
void |
cacheResult(com.liferay.portal.kernel.model.Team team)
Caches the team in the entity cache if it is enabled.
|
protected void |
cacheUniqueFindersCache(TeamModelImpl teamModelImpl) |
void |
clearCache()
Clears the cache for all teams.
|
void |
clearCache(List<com.liferay.portal.kernel.model.Team> teams) |
void |
clearCache(com.liferay.portal.kernel.model.Team team)
Clears the cache for the team.
|
protected void |
clearUniqueFindersCache(TeamModelImpl teamModelImpl,
boolean clearCurrent) |
void |
clearUserGroups(long pk)
Clears all associations between the team and its user groups.
|
void |
clearUsers(long pk)
Clears all associations between the team and its users.
|
boolean |
containsUser(long pk,
long userPK)
Returns
true if the user is associated with the team. |
boolean |
containsUserGroup(long pk,
long userGroupPK)
Returns
true if the user group is associated with the team. |
boolean |
containsUserGroups(long pk)
Returns
true if the team has any user groups associated with it. |
boolean |
containsUsers(long pk)
Returns
true if the team has any users associated with it. |
int |
countAll()
Returns the number of teams.
|
int |
countByG_N(long groupId,
String name)
Returns the number of teams where groupId = ? and name = ?.
|
int |
countByGroupId(long groupId)
Returns the number of teams where groupId = ?.
|
int |
countByUuid_C(String uuid,
long companyId)
Returns the number of teams where uuid = ? and companyId = ?.
|
int |
countByUUID_G(String uuid,
long groupId)
Returns the number of teams where uuid = ? and groupId = ?.
|
int |
countByUuid(String uuid)
Returns the number of teams where uuid = ?.
|
com.liferay.portal.kernel.model.Team |
create(long teamId)
Creates a new team with the primary key.
|
void |
destroy() |
com.liferay.portal.kernel.model.Team |
fetchByG_N(long groupId,
String name)
Returns the team where groupId = ? and name = ? or returns
null if it could not be found. |
com.liferay.portal.kernel.model.Team |
fetchByG_N(long groupId,
String name,
boolean useFinderCache)
Returns the team where groupId = ? and name = ? or returns
null if it could not be found, optionally using the finder cache. |
com.liferay.portal.kernel.model.Team |
fetchByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Team> orderByComparator)
Returns the first team in the ordered set where groupId = ?.
|
com.liferay.portal.kernel.model.Team |
fetchByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Team> orderByComparator)
Returns the last team in the ordered set where groupId = ?.
|
com.liferay.portal.kernel.model.Team |
fetchByPrimaryKey(long teamId)
Returns the team with the primary key or returns
null if it could not be found. |
com.liferay.portal.kernel.model.Team |
fetchByUuid_C_First(String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Team> orderByComparator)
Returns the first team in the ordered set where uuid = ? and companyId = ?.
|
com.liferay.portal.kernel.model.Team |
fetchByUuid_C_Last(String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Team> orderByComparator)
Returns the last team in the ordered set where uuid = ? and companyId = ?.
|
com.liferay.portal.kernel.model.Team |
fetchByUuid_First(String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Team> orderByComparator)
Returns the first team in the ordered set where uuid = ?.
|
com.liferay.portal.kernel.model.Team |
fetchByUUID_G(String uuid,
long groupId)
Returns the team where uuid = ? and groupId = ? or returns
null if it could not be found. |
com.liferay.portal.kernel.model.Team |
fetchByUUID_G(String uuid,
long groupId,
boolean useFinderCache)
Returns the team where uuid = ? and groupId = ? or returns
null if it could not be found, optionally using the finder cache. |
com.liferay.portal.kernel.model.Team |
fetchByUuid_Last(String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Team> orderByComparator)
Returns the last team in the ordered set where uuid = ?.
|
int |
filterCountByGroupId(long groupId)
Returns the number of teams that the user has permission to view where groupId = ?.
|
com.liferay.portal.kernel.model.Team[] |
filterFindByGroupId_PrevAndNext(long teamId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Team> orderByComparator)
Returns the teams before and after the current team in the ordered set of teams that the user has permission to view where groupId = ?.
|
List<com.liferay.portal.kernel.model.Team> |
filterFindByGroupId(long groupId)
Returns all the teams that the user has permission to view where groupId = ?.
|
List<com.liferay.portal.kernel.model.Team> |
filterFindByGroupId(long groupId,
int start,
int end)
Returns a range of all the teams that the user has permission to view where groupId = ?.
|
List<com.liferay.portal.kernel.model.Team> |
filterFindByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Team> orderByComparator)
Returns an ordered range of all the teams that the user has permissions to view where groupId = ?.
|
protected com.liferay.portal.kernel.model.Team |
filterGetByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.Team team,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Team> orderByComparator,
boolean previous) |
List<com.liferay.portal.kernel.model.Team> |
findAll()
Returns all the teams.
|
List<com.liferay.portal.kernel.model.Team> |
findAll(int start,
int end)
Returns a range of all the teams.
|
List<com.liferay.portal.kernel.model.Team> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Team> orderByComparator)
Returns an ordered range of all the teams.
|
List<com.liferay.portal.kernel.model.Team> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Team> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the teams.
|
com.liferay.portal.kernel.model.Team |
findByG_N(long groupId,
String name)
Returns the team where groupId = ? and name = ? or throws a
NoSuchTeamException if it could not be found. |
com.liferay.portal.kernel.model.Team |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Team> orderByComparator)
Returns the first team in the ordered set where groupId = ?.
|
com.liferay.portal.kernel.model.Team |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Team> orderByComparator)
Returns the last team in the ordered set where groupId = ?.
|
com.liferay.portal.kernel.model.Team[] |
findByGroupId_PrevAndNext(long teamId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Team> orderByComparator)
Returns the teams before and after the current team in the ordered set where groupId = ?.
|
List<com.liferay.portal.kernel.model.Team> |
findByGroupId(long groupId)
Returns all the teams where groupId = ?.
|
List<com.liferay.portal.kernel.model.Team> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the teams where groupId = ?.
|
List<com.liferay.portal.kernel.model.Team> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Team> orderByComparator)
Returns an ordered range of all the teams where groupId = ?.
|
List<com.liferay.portal.kernel.model.Team> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Team> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the teams where groupId = ?.
|
com.liferay.portal.kernel.model.Team |
findByPrimaryKey(long teamId)
Returns the team with the primary key or throws a
NoSuchTeamException if it could not be found. |
com.liferay.portal.kernel.model.Team |
findByPrimaryKey(Serializable primaryKey)
Returns the team with the primary key or throws a
com.liferay.portal.kernel.exception.NoSuchModelException if it could not be found. |
com.liferay.portal.kernel.model.Team |
findByUuid_C_First(String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Team> orderByComparator)
Returns the first team in the ordered set where uuid = ? and companyId = ?.
|
com.liferay.portal.kernel.model.Team |
findByUuid_C_Last(String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Team> orderByComparator)
Returns the last team in the ordered set where uuid = ? and companyId = ?.
|
com.liferay.portal.kernel.model.Team[] |
findByUuid_C_PrevAndNext(long teamId,
String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Team> orderByComparator)
Returns the teams before and after the current team in the ordered set where uuid = ? and companyId = ?.
|
List<com.liferay.portal.kernel.model.Team> |
findByUuid_C(String uuid,
long companyId)
Returns all the teams where uuid = ? and companyId = ?.
|
List<com.liferay.portal.kernel.model.Team> |
findByUuid_C(String uuid,
long companyId,
int start,
int end)
Returns a range of all the teams where uuid = ? and companyId = ?.
|
List<com.liferay.portal.kernel.model.Team> |
findByUuid_C(String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Team> orderByComparator)
Returns an ordered range of all the teams where uuid = ? and companyId = ?.
|
List<com.liferay.portal.kernel.model.Team> |
findByUuid_C(String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Team> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the teams where uuid = ? and companyId = ?.
|
com.liferay.portal.kernel.model.Team |
findByUuid_First(String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Team> orderByComparator)
Returns the first team in the ordered set where uuid = ?.
|
com.liferay.portal.kernel.model.Team |
findByUUID_G(String uuid,
long groupId)
Returns the team where uuid = ? and groupId = ? or throws a
NoSuchTeamException if it could not be found. |
com.liferay.portal.kernel.model.Team |
findByUuid_Last(String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Team> orderByComparator)
Returns the last team in the ordered set where uuid = ?.
|
com.liferay.portal.kernel.model.Team[] |
findByUuid_PrevAndNext(long teamId,
String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Team> orderByComparator)
Returns the teams before and after the current team in the ordered set where uuid = ?.
|
List<com.liferay.portal.kernel.model.Team> |
findByUuid(String uuid)
Returns all the teams where uuid = ?.
|
List<com.liferay.portal.kernel.model.Team> |
findByUuid(String uuid,
int start,
int end)
Returns a range of all the teams where uuid = ?.
|
List<com.liferay.portal.kernel.model.Team> |
findByUuid(String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Team> orderByComparator)
Returns an ordered range of all the teams where uuid = ?.
|
List<com.liferay.portal.kernel.model.Team> |
findByUuid(String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Team> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the teams where uuid = ?.
|
Set<String> |
getBadColumnNames() |
protected com.liferay.portal.kernel.model.Team |
getByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.Team team,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Team> orderByComparator,
boolean previous) |
protected com.liferay.portal.kernel.model.Team |
getByUuid_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.Team team,
String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Team> orderByComparator,
boolean previous) |
protected com.liferay.portal.kernel.model.Team |
getByUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.Team team,
String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Team> orderByComparator,
boolean previous) |
protected com.liferay.portal.kernel.dao.orm.EntityCache |
getEntityCache() |
protected String |
getPKDBName() |
protected String |
getSelectSQL() |
protected Map<String,Integer> |
getTableColumnsMap() |
long[] |
getUserGroupPrimaryKeys(long pk)
Returns the primaryKeys of user groups associated with the team.
|
List<com.liferay.portal.kernel.model.UserGroup> |
getUserGroups(long pk)
Returns all the user groups associated with the team.
|
List<com.liferay.portal.kernel.model.UserGroup> |
getUserGroups(long pk,
int start,
int end)
Returns a range of all the user groups associated with the team.
|
List<com.liferay.portal.kernel.model.UserGroup> |
getUserGroups(long pk,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserGroup> orderByComparator)
Returns an ordered range of all the user groups associated with the team.
|
int |
getUserGroupsSize(long pk)
Returns the number of user groups associated with the team.
|
long[] |
getUserPrimaryKeys(long pk)
Returns the primaryKeys of users associated with the team.
|
List<com.liferay.portal.kernel.model.User> |
getUsers(long pk)
Returns all the users associated with the team.
|
List<com.liferay.portal.kernel.model.User> |
getUsers(long pk,
int start,
int end)
Returns a range of all the users associated with the team.
|
List<com.liferay.portal.kernel.model.User> |
getUsers(long pk,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
Returns an ordered range of all the users associated with the team.
|
int |
getUsersSize(long pk)
Returns the number of users associated with the team.
|
com.liferay.portal.kernel.model.Team |
remove(long teamId)
Removes the team with the primary key from the database.
|
com.liferay.portal.kernel.model.Team |
remove(Serializable primaryKey)
Removes the team with the primary key from the database.
|
void |
removeAll()
Removes all the teams from the database.
|
com.liferay.portal.kernel.model.Team |
removeByG_N(long groupId,
String name)
Removes the team where groupId = ? and name = ? from the database.
|
void |
removeByGroupId(long groupId)
Removes all the teams where groupId = ? from the database.
|
void |
removeByUuid_C(String uuid,
long companyId)
Removes all the teams where uuid = ? and companyId = ? from the database.
|
com.liferay.portal.kernel.model.Team |
removeByUUID_G(String uuid,
long groupId)
Removes the team where uuid = ? and groupId = ? from the database.
|
void |
removeByUuid(String uuid)
Removes all the teams where uuid = ? from the database.
|
protected com.liferay.portal.kernel.model.Team |
removeImpl(com.liferay.portal.kernel.model.Team team) |
void |
removeUser(long pk,
long userPK)
Removes the association between the team and the user.
|
void |
removeUser(long pk,
com.liferay.portal.kernel.model.User user)
Removes the association between the team and the user.
|
void |
removeUserGroup(long pk,
long userGroupPK)
Removes the association between the team and the user group.
|
void |
removeUserGroup(long pk,
com.liferay.portal.kernel.model.UserGroup userGroup)
Removes the association between the team and the user group.
|
void |
removeUserGroups(long pk,
List<com.liferay.portal.kernel.model.UserGroup> userGroups)
Removes the association between the team and the user groups.
|
void |
removeUserGroups(long pk,
long[] userGroupPKs)
Removes the association between the team and the user groups.
|
void |
removeUsers(long pk,
List<com.liferay.portal.kernel.model.User> users)
Removes the association between the team and the users.
|
void |
removeUsers(long pk,
long[] userPKs)
Removes the association between the team and the users.
|
void |
setUserGroups(long pk,
List<com.liferay.portal.kernel.model.UserGroup> userGroups)
Sets the user groups associated with the team, removing and adding associations as necessary.
|
void |
setUserGroups(long pk,
long[] userGroupPKs)
Sets the user groups associated with the team, removing and adding associations as necessary.
|
void |
setUsers(long pk,
List<com.liferay.portal.kernel.model.User> users)
Sets the users associated with the team, removing and adding associations as necessary.
|
void |
setUsers(long pk,
long[] userPKs)
Sets the users associated with the team, removing and adding associations as necessary.
|
com.liferay.portal.kernel.model.Team |
updateImpl(com.liferay.portal.kernel.model.Team team) |
appendOrderByComparator, appendOrderByComparator, appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, fetchByPrimaryKeys, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getClassLoader, getColumnName, getCompoundPKColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeConjunction, setConfiguration, setDataSource, setDBColumnNames, setEntityCacheEnabled, setModelClass, setModelImplClass, setModelPKClass, setSessionFactory, unregisterListener, update, updateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcloseSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, fetchByPrimaryKeys, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, updatepublic static final String FINDER_CLASS_NAME_ENTITY
TeamUtil to access the team persistence. Modify service.xml and rerun ServiceBuilder to regenerate this class.public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
@BeanReference(type=com.liferay.portal.kernel.service.persistence.UserPersistence.class) protected com.liferay.portal.kernel.service.persistence.UserPersistence userPersistence
protected com.liferay.portal.kernel.service.persistence.impl.TableMapper<com.liferay.portal.kernel.model.Team,com.liferay.portal.kernel.model.User> teamToUserTableMapper
@BeanReference(type=com.liferay.portal.kernel.service.persistence.UserGroupPersistence.class) protected com.liferay.portal.kernel.service.persistence.UserGroupPersistence userGroupPersistence
protected com.liferay.portal.kernel.service.persistence.impl.TableMapper<com.liferay.portal.kernel.model.Team,com.liferay.portal.kernel.model.UserGroup> teamToUserGroupTableMapper
public List<com.liferay.portal.kernel.model.Team> findByUuid(String uuid)
findByUuid in interface com.liferay.portal.kernel.service.persistence.TeamPersistenceuuid - the uuidpublic List<com.liferay.portal.kernel.model.Team> findByUuid(String uuid,
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, then the query will include the default ORDER BY logic from TeamModelImpl.
findByUuid in interface com.liferay.portal.kernel.service.persistence.TeamPersistenceuuid - the uuidstart - the lower bound of the range of teamsend - the upper bound of the range of teams (not inclusive)public List<com.liferay.portal.kernel.model.Team> findByUuid(String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Team> 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, then the query will include the default ORDER BY logic from TeamModelImpl.
findByUuid in interface com.liferay.portal.kernel.service.persistence.TeamPersistenceuuid - the uuidstart - 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 List<com.liferay.portal.kernel.model.Team> findByUuid(String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Team> orderByComparator,
boolean useFinderCache)
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, then the query will include the default ORDER BY logic from TeamModelImpl.
findByUuid in interface com.liferay.portal.kernel.service.persistence.TeamPersistenceuuid - the uuidstart - 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)useFinderCache - whether to use the finder cachepublic com.liferay.portal.kernel.model.Team findByUuid_First(String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Team> orderByComparator)
throws com.liferay.portal.kernel.exception.NoSuchTeamException
findByUuid_First in interface com.liferay.portal.kernel.service.persistence.TeamPersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchTeamException - if a matching team could not be foundpublic com.liferay.portal.kernel.model.Team fetchByUuid_First(String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Team> orderByComparator)
fetchByUuid_First in interface com.liferay.portal.kernel.service.persistence.TeamPersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)null if a matching team could not be foundpublic com.liferay.portal.kernel.model.Team findByUuid_Last(String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Team> orderByComparator)
throws com.liferay.portal.kernel.exception.NoSuchTeamException
findByUuid_Last in interface com.liferay.portal.kernel.service.persistence.TeamPersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchTeamException - if a matching team could not be foundpublic com.liferay.portal.kernel.model.Team fetchByUuid_Last(String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Team> orderByComparator)
fetchByUuid_Last in interface com.liferay.portal.kernel.service.persistence.TeamPersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)null if a matching team could not be foundpublic com.liferay.portal.kernel.model.Team[] findByUuid_PrevAndNext(long teamId,
String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Team> orderByComparator)
throws com.liferay.portal.kernel.exception.NoSuchTeamException
findByUuid_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.TeamPersistenceteamId - the primary key of the current teamuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchTeamException - if a team with the primary key could not be foundprotected com.liferay.portal.kernel.model.Team getByUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.Team team,
String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Team> orderByComparator,
boolean previous)
public void removeByUuid(String uuid)
removeByUuid in interface com.liferay.portal.kernel.service.persistence.TeamPersistenceuuid - the uuidpublic int countByUuid(String uuid)
countByUuid in interface com.liferay.portal.kernel.service.persistence.TeamPersistenceuuid - the uuidpublic com.liferay.portal.kernel.model.Team findByUUID_G(String uuid,
long groupId)
throws com.liferay.portal.kernel.exception.NoSuchTeamException
NoSuchTeamException if it could not be found.findByUUID_G in interface com.liferay.portal.kernel.service.persistence.TeamPersistenceuuid - the uuidgroupId - the group IDcom.liferay.portal.kernel.exception.NoSuchTeamException - if a matching team could not be foundpublic com.liferay.portal.kernel.model.Team fetchByUUID_G(String uuid,
long groupId)
null if it could not be found. Uses the finder cache.fetchByUUID_G in interface com.liferay.portal.kernel.service.persistence.TeamPersistenceuuid - the uuidgroupId - the group IDnull if a matching team could not be foundpublic com.liferay.portal.kernel.model.Team fetchByUUID_G(String uuid,
long groupId,
boolean useFinderCache)
null if it could not be found, optionally using the finder cache.fetchByUUID_G in interface com.liferay.portal.kernel.service.persistence.TeamPersistenceuuid - the uuidgroupId - the group IDuseFinderCache - whether to use the finder cachenull if a matching team could not be foundpublic com.liferay.portal.kernel.model.Team removeByUUID_G(String uuid,
long groupId)
throws com.liferay.portal.kernel.exception.NoSuchTeamException
removeByUUID_G in interface com.liferay.portal.kernel.service.persistence.TeamPersistenceuuid - the uuidgroupId - the group IDcom.liferay.portal.kernel.exception.NoSuchTeamExceptionpublic int countByUUID_G(String uuid,
long groupId)
countByUUID_G in interface com.liferay.portal.kernel.service.persistence.TeamPersistenceuuid - the uuidgroupId - the group IDpublic List<com.liferay.portal.kernel.model.Team> findByUuid_C(String uuid,
long companyId)
findByUuid_C in interface com.liferay.portal.kernel.service.persistence.TeamPersistenceuuid - the uuidcompanyId - the company IDpublic List<com.liferay.portal.kernel.model.Team> findByUuid_C(String uuid,
long companyId,
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, then the query will include the default ORDER BY logic from TeamModelImpl.
findByUuid_C in interface com.liferay.portal.kernel.service.persistence.TeamPersistenceuuid - the uuidcompanyId - the company IDstart - the lower bound of the range of teamsend - the upper bound of the range of teams (not inclusive)public List<com.liferay.portal.kernel.model.Team> findByUuid_C(String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Team> 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, then the query will include the default ORDER BY logic from TeamModelImpl.
findByUuid_C in interface com.liferay.portal.kernel.service.persistence.TeamPersistenceuuid - the uuidcompanyId - the company IDstart - 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 List<com.liferay.portal.kernel.model.Team> findByUuid_C(String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Team> orderByComparator,
boolean useFinderCache)
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, then the query will include the default ORDER BY logic from TeamModelImpl.
findByUuid_C in interface com.liferay.portal.kernel.service.persistence.TeamPersistenceuuid - the uuidcompanyId - the company IDstart - 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)useFinderCache - whether to use the finder cachepublic com.liferay.portal.kernel.model.Team findByUuid_C_First(String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Team> orderByComparator)
throws com.liferay.portal.kernel.exception.NoSuchTeamException
findByUuid_C_First in interface com.liferay.portal.kernel.service.persistence.TeamPersistenceuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchTeamException - if a matching team could not be foundpublic com.liferay.portal.kernel.model.Team fetchByUuid_C_First(String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Team> orderByComparator)
fetchByUuid_C_First in interface com.liferay.portal.kernel.service.persistence.TeamPersistenceuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching team could not be foundpublic com.liferay.portal.kernel.model.Team findByUuid_C_Last(String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Team> orderByComparator)
throws com.liferay.portal.kernel.exception.NoSuchTeamException
findByUuid_C_Last in interface com.liferay.portal.kernel.service.persistence.TeamPersistenceuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchTeamException - if a matching team could not be foundpublic com.liferay.portal.kernel.model.Team fetchByUuid_C_Last(String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Team> orderByComparator)
fetchByUuid_C_Last in interface com.liferay.portal.kernel.service.persistence.TeamPersistenceuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching team could not be foundpublic com.liferay.portal.kernel.model.Team[] findByUuid_C_PrevAndNext(long teamId,
String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Team> orderByComparator)
throws com.liferay.portal.kernel.exception.NoSuchTeamException
findByUuid_C_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.TeamPersistenceteamId - the primary key of the current teamuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchTeamException - if a team with the primary key could not be foundprotected com.liferay.portal.kernel.model.Team getByUuid_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.Team team,
String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Team> orderByComparator,
boolean previous)
public void removeByUuid_C(String uuid,
long companyId)
removeByUuid_C in interface com.liferay.portal.kernel.service.persistence.TeamPersistenceuuid - the uuidcompanyId - the company IDpublic int countByUuid_C(String uuid,
long companyId)
countByUuid_C in interface com.liferay.portal.kernel.service.persistence.TeamPersistenceuuid - the uuidcompanyId - the company IDpublic List<com.liferay.portal.kernel.model.Team> findByGroupId(long groupId)
findByGroupId in interface com.liferay.portal.kernel.service.persistence.TeamPersistencegroupId - the group IDpublic List<com.liferay.portal.kernel.model.Team> findByGroupId(long groupId,
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, then the query will include the default ORDER BY logic from TeamModelImpl.
findByGroupId in interface com.liferay.portal.kernel.service.persistence.TeamPersistencegroupId - the group IDstart - the lower bound of the range of teamsend - the upper bound of the range of teams (not inclusive)public List<com.liferay.portal.kernel.model.Team> findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Team> 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, then the query will include the default ORDER BY logic from TeamModelImpl.
findByGroupId in interface com.liferay.portal.kernel.service.persistence.TeamPersistencegroupId - the group IDstart - 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 List<com.liferay.portal.kernel.model.Team> findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Team> orderByComparator,
boolean useFinderCache)
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, then the query will include the default ORDER BY logic from TeamModelImpl.
findByGroupId in interface com.liferay.portal.kernel.service.persistence.TeamPersistencegroupId - the group IDstart - 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)useFinderCache - whether to use the finder cachepublic com.liferay.portal.kernel.model.Team findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Team> orderByComparator)
throws com.liferay.portal.kernel.exception.NoSuchTeamException
findByGroupId_First in interface com.liferay.portal.kernel.service.persistence.TeamPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchTeamException - if a matching team could not be foundpublic com.liferay.portal.kernel.model.Team fetchByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Team> orderByComparator)
fetchByGroupId_First in interface com.liferay.portal.kernel.service.persistence.TeamPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)null if a matching team could not be foundpublic com.liferay.portal.kernel.model.Team findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Team> orderByComparator)
throws com.liferay.portal.kernel.exception.NoSuchTeamException
findByGroupId_Last in interface com.liferay.portal.kernel.service.persistence.TeamPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchTeamException - if a matching team could not be foundpublic com.liferay.portal.kernel.model.Team fetchByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Team> orderByComparator)
fetchByGroupId_Last in interface com.liferay.portal.kernel.service.persistence.TeamPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)null if a matching team could not be foundpublic com.liferay.portal.kernel.model.Team[] findByGroupId_PrevAndNext(long teamId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Team> orderByComparator)
throws com.liferay.portal.kernel.exception.NoSuchTeamException
findByGroupId_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.TeamPersistenceteamId - the primary key of the current teamgroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchTeamException - if a team with the primary key could not be foundprotected com.liferay.portal.kernel.model.Team getByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.Team team,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Team> orderByComparator,
boolean previous)
public List<com.liferay.portal.kernel.model.Team> filterFindByGroupId(long groupId)
filterFindByGroupId in interface com.liferay.portal.kernel.service.persistence.TeamPersistencegroupId - the group IDpublic List<com.liferay.portal.kernel.model.Team> filterFindByGroupId(long groupId,
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, then the query will include the default ORDER BY logic from TeamModelImpl.
filterFindByGroupId in interface com.liferay.portal.kernel.service.persistence.TeamPersistencegroupId - the group IDstart - the lower bound of the range of teamsend - the upper bound of the range of teams (not inclusive)public List<com.liferay.portal.kernel.model.Team> filterFindByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Team> 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, then the query will include the default ORDER BY logic from TeamModelImpl.
filterFindByGroupId in interface com.liferay.portal.kernel.service.persistence.TeamPersistencegroupId - the group IDstart - 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[] filterFindByGroupId_PrevAndNext(long teamId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Team> orderByComparator)
throws com.liferay.portal.kernel.exception.NoSuchTeamException
filterFindByGroupId_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.TeamPersistenceteamId - the primary key of the current teamgroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchTeamException - if a team with the primary key could not be foundprotected com.liferay.portal.kernel.model.Team filterGetByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.Team team,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Team> orderByComparator,
boolean previous)
public void removeByGroupId(long groupId)
removeByGroupId in interface com.liferay.portal.kernel.service.persistence.TeamPersistencegroupId - the group IDpublic int countByGroupId(long groupId)
countByGroupId in interface com.liferay.portal.kernel.service.persistence.TeamPersistencegroupId - the group IDpublic int filterCountByGroupId(long groupId)
filterCountByGroupId in interface com.liferay.portal.kernel.service.persistence.TeamPersistencegroupId - the group IDpublic com.liferay.portal.kernel.model.Team findByG_N(long groupId,
String name)
throws com.liferay.portal.kernel.exception.NoSuchTeamException
NoSuchTeamException if it could not be found.findByG_N in interface com.liferay.portal.kernel.service.persistence.TeamPersistencegroupId - the group IDname - the namecom.liferay.portal.kernel.exception.NoSuchTeamException - if a matching team could not be foundpublic com.liferay.portal.kernel.model.Team fetchByG_N(long groupId,
String name)
null if it could not be found. Uses the finder cache.fetchByG_N in interface com.liferay.portal.kernel.service.persistence.TeamPersistencegroupId - the group IDname - the namenull if a matching team could not be foundpublic com.liferay.portal.kernel.model.Team fetchByG_N(long groupId,
String name,
boolean useFinderCache)
null if it could not be found, optionally using the finder cache.fetchByG_N in interface com.liferay.portal.kernel.service.persistence.TeamPersistencegroupId - the group IDname - the nameuseFinderCache - whether to use the finder cachenull if a matching team could not be foundpublic com.liferay.portal.kernel.model.Team removeByG_N(long groupId,
String name)
throws com.liferay.portal.kernel.exception.NoSuchTeamException
removeByG_N in interface com.liferay.portal.kernel.service.persistence.TeamPersistencegroupId - the group IDname - the namecom.liferay.portal.kernel.exception.NoSuchTeamExceptionpublic int countByG_N(long groupId,
String name)
countByG_N in interface com.liferay.portal.kernel.service.persistence.TeamPersistencegroupId - the group IDname - the namepublic void cacheResult(com.liferay.portal.kernel.model.Team team)
cacheResult in interface com.liferay.portal.kernel.service.persistence.TeamPersistencecacheResult in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Team>team - the teampublic void cacheResult(List<com.liferay.portal.kernel.model.Team> teams)
cacheResult in interface com.liferay.portal.kernel.service.persistence.TeamPersistenceteams - the teamspublic void clearCache()
The EntityCache and com.liferay.portal.kernel.dao.orm.FinderCache are both cleared by this method.
clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Team>clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Team>public void clearCache(com.liferay.portal.kernel.model.Team team)
The EntityCache and com.liferay.portal.kernel.dao.orm.FinderCache are both cleared by this method.
clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Team>clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Team>public void clearCache(List<com.liferay.portal.kernel.model.Team> teams)
clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Team>clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Team>protected void cacheUniqueFindersCache(TeamModelImpl teamModelImpl)
protected void clearUniqueFindersCache(TeamModelImpl teamModelImpl, boolean clearCurrent)
public com.liferay.portal.kernel.model.Team create(long teamId)
create in interface com.liferay.portal.kernel.service.persistence.TeamPersistenceteamId - the primary key for the new teampublic com.liferay.portal.kernel.model.Team remove(long teamId)
throws com.liferay.portal.kernel.exception.NoSuchTeamException
remove in interface com.liferay.portal.kernel.service.persistence.TeamPersistenceteamId - the primary key of the teamcom.liferay.portal.kernel.exception.NoSuchTeamException - if a team with the primary key could not be foundpublic com.liferay.portal.kernel.model.Team remove(Serializable primaryKey)
throws com.liferay.portal.kernel.exception.NoSuchTeamException
remove in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Team>remove in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Team>primaryKey - the primary key of the teamcom.liferay.portal.kernel.exception.NoSuchTeamException - if a team with the primary key could not be foundprotected com.liferay.portal.kernel.model.Team removeImpl(com.liferay.portal.kernel.model.Team team)
removeImpl in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Team>public com.liferay.portal.kernel.model.Team updateImpl(com.liferay.portal.kernel.model.Team team)
updateImpl in interface com.liferay.portal.kernel.service.persistence.TeamPersistenceupdateImpl in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Team>public com.liferay.portal.kernel.model.Team findByPrimaryKey(Serializable primaryKey)
throws com.liferay.portal.kernel.exception.NoSuchTeamException
com.liferay.portal.kernel.exception.NoSuchModelException if it could not be found.findByPrimaryKey in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Team>findByPrimaryKey in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Team>primaryKey - the primary key of the teamcom.liferay.portal.kernel.exception.NoSuchTeamException - if a team with the primary key could not be foundpublic com.liferay.portal.kernel.model.Team findByPrimaryKey(long teamId)
throws com.liferay.portal.kernel.exception.NoSuchTeamException
NoSuchTeamException if it could not be found.findByPrimaryKey in interface com.liferay.portal.kernel.service.persistence.TeamPersistenceteamId - the primary key of the teamcom.liferay.portal.kernel.exception.NoSuchTeamException - if a team with the primary key could not be foundpublic com.liferay.portal.kernel.model.Team fetchByPrimaryKey(long teamId)
null if it could not be found.fetchByPrimaryKey in interface com.liferay.portal.kernel.service.persistence.TeamPersistenceteamId - the primary key of the teamnull if a team with the primary key could not be foundpublic List<com.liferay.portal.kernel.model.Team> findAll()
findAll in interface com.liferay.portal.kernel.service.persistence.TeamPersistencepublic List<com.liferay.portal.kernel.model.Team> findAll(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, then the query will include the default ORDER BY logic from TeamModelImpl.
findAll in interface com.liferay.portal.kernel.service.persistence.TeamPersistencestart - the lower bound of the range of teamsend - the upper bound of the range of teams (not inclusive)public List<com.liferay.portal.kernel.model.Team> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Team> 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, then the query will include the default ORDER BY logic from TeamModelImpl.
findAll in interface com.liferay.portal.kernel.service.persistence.TeamPersistencestart - 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 List<com.liferay.portal.kernel.model.Team> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Team> orderByComparator,
boolean useFinderCache)
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, then the query will include the default ORDER BY logic from TeamModelImpl.
findAll in interface com.liferay.portal.kernel.service.persistence.TeamPersistencestart - 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)useFinderCache - whether to use the finder cachepublic void removeAll()
removeAll in interface com.liferay.portal.kernel.service.persistence.TeamPersistencepublic int countAll()
countAll in interface com.liferay.portal.kernel.service.persistence.TeamPersistencepublic long[] getUserPrimaryKeys(long pk)
getUserPrimaryKeys in interface com.liferay.portal.kernel.service.persistence.TeamPersistencepk - the primary key of the teampublic List<com.liferay.portal.kernel.model.User> getUsers(long pk)
getUsers in interface com.liferay.portal.kernel.service.persistence.TeamPersistencepk - the primary key of the teampublic List<com.liferay.portal.kernel.model.User> getUsers(long pk,
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, then the query will include the default ORDER BY logic from TeamModelImpl.
getUsers in interface com.liferay.portal.kernel.service.persistence.TeamPersistencepk - the primary key of the teamstart - the lower bound of the range of teamsend - the upper bound of the range of teams (not inclusive)public List<com.liferay.portal.kernel.model.User> getUsers(long pk,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> 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, then the query will include the default ORDER BY logic from TeamModelImpl.
getUsers in interface com.liferay.portal.kernel.service.persistence.TeamPersistencepk - the primary key of the teamstart - 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 int getUsersSize(long pk)
getUsersSize in interface com.liferay.portal.kernel.service.persistence.TeamPersistencepk - the primary key of the teampublic boolean containsUser(long pk,
long userPK)
true if the user is associated with the team.containsUser in interface com.liferay.portal.kernel.service.persistence.TeamPersistencepk - the primary key of the teamuserPK - the primary key of the usertrue if the user is associated with the team; false otherwisepublic boolean containsUsers(long pk)
true if the team has any users associated with it.containsUsers in interface com.liferay.portal.kernel.service.persistence.TeamPersistencepk - the primary key of the team to check for associations with userstrue if the team has any users associated with it; false otherwisepublic void addUser(long pk,
long userPK)
addUser in interface com.liferay.portal.kernel.service.persistence.TeamPersistencepk - the primary key of the teamuserPK - the primary key of the userpublic void addUser(long pk,
com.liferay.portal.kernel.model.User user)
addUser in interface com.liferay.portal.kernel.service.persistence.TeamPersistencepk - the primary key of the teamuser - the userpublic void addUsers(long pk,
long[] userPKs)
addUsers in interface com.liferay.portal.kernel.service.persistence.TeamPersistencepk - the primary key of the teamuserPKs - the primary keys of the userspublic void addUsers(long pk,
List<com.liferay.portal.kernel.model.User> users)
addUsers in interface com.liferay.portal.kernel.service.persistence.TeamPersistencepk - the primary key of the teamusers - the userspublic void clearUsers(long pk)
clearUsers in interface com.liferay.portal.kernel.service.persistence.TeamPersistencepk - the primary key of the team to clear the associated users frompublic void removeUser(long pk,
long userPK)
removeUser in interface com.liferay.portal.kernel.service.persistence.TeamPersistencepk - the primary key of the teamuserPK - the primary key of the userpublic void removeUser(long pk,
com.liferay.portal.kernel.model.User user)
removeUser in interface com.liferay.portal.kernel.service.persistence.TeamPersistencepk - the primary key of the teamuser - the userpublic void removeUsers(long pk,
long[] userPKs)
removeUsers in interface com.liferay.portal.kernel.service.persistence.TeamPersistencepk - the primary key of the teamuserPKs - the primary keys of the userspublic void removeUsers(long pk,
List<com.liferay.portal.kernel.model.User> users)
removeUsers in interface com.liferay.portal.kernel.service.persistence.TeamPersistencepk - the primary key of the teamusers - the userspublic void setUsers(long pk,
long[] userPKs)
setUsers in interface com.liferay.portal.kernel.service.persistence.TeamPersistencepk - the primary key of the teamuserPKs - the primary keys of the users to be associated with the teampublic void setUsers(long pk,
List<com.liferay.portal.kernel.model.User> users)
setUsers in interface com.liferay.portal.kernel.service.persistence.TeamPersistencepk - the primary key of the teamusers - the users to be associated with the teampublic long[] getUserGroupPrimaryKeys(long pk)
getUserGroupPrimaryKeys in interface com.liferay.portal.kernel.service.persistence.TeamPersistencepk - the primary key of the teampublic List<com.liferay.portal.kernel.model.UserGroup> getUserGroups(long pk)
getUserGroups in interface com.liferay.portal.kernel.service.persistence.TeamPersistencepk - the primary key of the teampublic List<com.liferay.portal.kernel.model.UserGroup> getUserGroups(long pk,
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, then the query will include the default ORDER BY logic from TeamModelImpl.
getUserGroups in interface com.liferay.portal.kernel.service.persistence.TeamPersistencepk - the primary key of the teamstart - the lower bound of the range of teamsend - the upper bound of the range of teams (not inclusive)public List<com.liferay.portal.kernel.model.UserGroup> getUserGroups(long pk,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserGroup> 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, then the query will include the default ORDER BY logic from TeamModelImpl.
getUserGroups in interface com.liferay.portal.kernel.service.persistence.TeamPersistencepk - the primary key of the teamstart - 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 int getUserGroupsSize(long pk)
getUserGroupsSize in interface com.liferay.portal.kernel.service.persistence.TeamPersistencepk - the primary key of the teampublic boolean containsUserGroup(long pk,
long userGroupPK)
true if the user group is associated with the team.containsUserGroup in interface com.liferay.portal.kernel.service.persistence.TeamPersistencepk - the primary key of the teamuserGroupPK - the primary key of the user grouptrue if the user group is associated with the team; false otherwisepublic boolean containsUserGroups(long pk)
true if the team has any user groups associated with it.containsUserGroups in interface com.liferay.portal.kernel.service.persistence.TeamPersistencepk - the primary key of the team to check for associations with user groupstrue if the team has any user groups associated with it; false otherwisepublic void addUserGroup(long pk,
long userGroupPK)
addUserGroup in interface com.liferay.portal.kernel.service.persistence.TeamPersistencepk - the primary key of the teamuserGroupPK - the primary key of the user grouppublic void addUserGroup(long pk,
com.liferay.portal.kernel.model.UserGroup userGroup)
addUserGroup in interface com.liferay.portal.kernel.service.persistence.TeamPersistencepk - the primary key of the teamuserGroup - the user grouppublic void addUserGroups(long pk,
long[] userGroupPKs)
addUserGroups in interface com.liferay.portal.kernel.service.persistence.TeamPersistencepk - the primary key of the teamuserGroupPKs - the primary keys of the user groupspublic void addUserGroups(long pk,
List<com.liferay.portal.kernel.model.UserGroup> userGroups)
addUserGroups in interface com.liferay.portal.kernel.service.persistence.TeamPersistencepk - the primary key of the teamuserGroups - the user groupspublic void clearUserGroups(long pk)
clearUserGroups in interface com.liferay.portal.kernel.service.persistence.TeamPersistencepk - the primary key of the team to clear the associated user groups frompublic void removeUserGroup(long pk,
long userGroupPK)
removeUserGroup in interface com.liferay.portal.kernel.service.persistence.TeamPersistencepk - the primary key of the teamuserGroupPK - the primary key of the user grouppublic void removeUserGroup(long pk,
com.liferay.portal.kernel.model.UserGroup userGroup)
removeUserGroup in interface com.liferay.portal.kernel.service.persistence.TeamPersistencepk - the primary key of the teamuserGroup - the user grouppublic void removeUserGroups(long pk,
long[] userGroupPKs)
removeUserGroups in interface com.liferay.portal.kernel.service.persistence.TeamPersistencepk - the primary key of the teamuserGroupPKs - the primary keys of the user groupspublic void removeUserGroups(long pk,
List<com.liferay.portal.kernel.model.UserGroup> userGroups)
removeUserGroups in interface com.liferay.portal.kernel.service.persistence.TeamPersistencepk - the primary key of the teamuserGroups - the user groupspublic void setUserGroups(long pk,
long[] userGroupPKs)
setUserGroups in interface com.liferay.portal.kernel.service.persistence.TeamPersistencepk - the primary key of the teamuserGroupPKs - the primary keys of the user groups to be associated with the teampublic void setUserGroups(long pk,
List<com.liferay.portal.kernel.model.UserGroup> userGroups)
setUserGroups in interface com.liferay.portal.kernel.service.persistence.TeamPersistencepk - the primary key of the teamuserGroups - the user groups to be associated with the teampublic Set<String> getBadColumnNames()
getBadColumnNames in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Team>getBadColumnNames in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Team>protected com.liferay.portal.kernel.dao.orm.EntityCache getEntityCache()
getEntityCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Team>protected String getPKDBName()
getPKDBName in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Team>protected String getSelectSQL()
getSelectSQL in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Team>protected Map<String,Integer> getTableColumnsMap()
getTableColumnsMap in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Team>public void afterPropertiesSet()
public void destroy()