com.liferay.portal.service.persistence
Interface TeamPersistence

All Superinterfaces:
BasePersistence<Team>

public interface TeamPersistence
extends BasePersistence<Team>

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Author:
Brian Wing Shun Chan
See Also:
TeamPersistenceImpl, TeamUtil
Generated:

Method Summary
 void addUser(long pk, long userPK)
           
 void addUser(long pk, User user)
           
 void addUsers(long pk, java.util.List<User> users)
           
 void addUsers(long pk, long[] userPKs)
           
 void cacheResult(java.util.List<Team> teams)
           
 void cacheResult(Team team)
           
 void clearUsers(long pk)
           
 boolean containsUser(long pk, long userPK)
           
 boolean containsUsers(long pk)
           
 int countAll()
           
 int countByG_N(long groupId, java.lang.String name)
           
 int countByGroupId(long groupId)
           
 Team create(long teamId)
           
 Team fetchByG_N(long groupId, java.lang.String name)
           
 Team fetchByG_N(long groupId, java.lang.String name, boolean retrieveFromCache)
           
 Team fetchByPrimaryKey(long teamId)
           
 java.util.List<Team> findAll()
           
 java.util.List<Team> findAll(int start, int end)
           
 java.util.List<Team> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 Team findByG_N(long groupId, java.lang.String name)
           
 Team findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 Team findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 Team[] findByGroupId_PrevAndNext(long teamId, long groupId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 java.util.List<Team> findByGroupId(long groupId)
           
 java.util.List<Team> findByGroupId(long groupId, int start, int end)
           
 java.util.List<Team> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 Team findByPrimaryKey(long teamId)
           
 java.util.List<User> getUsers(long pk)
           
 java.util.List<User> getUsers(long pk, int start, int end)
           
 java.util.List<User> getUsers(long pk, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 int getUsersSize(long pk)
           
 Team remove(long teamId)
           
 void removeAll()
           
 void removeByG_N(long groupId, java.lang.String name)
           
 void removeByGroupId(long groupId)
           
 void removeUser(long pk, long userPK)
           
 void removeUser(long pk, User user)
           
 void removeUsers(long pk, java.util.List<User> users)
           
 void removeUsers(long pk, long[] userPKs)
           
 void setUsers(long pk, java.util.List<User> users)
           
 void setUsers(long pk, long[] userPKs)
           
 Team updateImpl(Team team, boolean merge)
           
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
clearCache, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getListeners, registerListener, remove, remove, unregisterListener, update
 

Method Detail

cacheResult

void cacheResult(Team team)

cacheResult

void cacheResult(java.util.List<Team> teams)

create

Team create(long teamId)

remove

Team remove(long teamId)
            throws NoSuchTeamException,
                   com.liferay.portal.kernel.exception.SystemException
Throws:
NoSuchTeamException
com.liferay.portal.kernel.exception.SystemException

updateImpl

Team updateImpl(Team team,
                boolean merge)
                throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByPrimaryKey

Team findByPrimaryKey(long teamId)
                      throws NoSuchTeamException,
                             com.liferay.portal.kernel.exception.SystemException
Throws:
NoSuchTeamException
com.liferay.portal.kernel.exception.SystemException

fetchByPrimaryKey

Team fetchByPrimaryKey(long teamId)
                       throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByGroupId

java.util.List<Team> findByGroupId(long groupId)
                                   throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByGroupId

java.util.List<Team> findByGroupId(long groupId,
                                   int start,
                                   int end)
                                   throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByGroupId

java.util.List<Team> findByGroupId(long groupId,
                                   int start,
                                   int end,
                                   com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                   throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByGroupId_First

Team findByGroupId_First(long groupId,
                         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                         throws NoSuchTeamException,
                                com.liferay.portal.kernel.exception.SystemException
Throws:
NoSuchTeamException
com.liferay.portal.kernel.exception.SystemException

findByGroupId_Last

Team findByGroupId_Last(long groupId,
                        com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                        throws NoSuchTeamException,
                               com.liferay.portal.kernel.exception.SystemException
Throws:
NoSuchTeamException
com.liferay.portal.kernel.exception.SystemException

findByGroupId_PrevAndNext

Team[] findByGroupId_PrevAndNext(long teamId,
                                 long groupId,
                                 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                 throws NoSuchTeamException,
                                        com.liferay.portal.kernel.exception.SystemException
Throws:
NoSuchTeamException
com.liferay.portal.kernel.exception.SystemException

findByG_N

Team findByG_N(long groupId,
               java.lang.String name)
               throws NoSuchTeamException,
                      com.liferay.portal.kernel.exception.SystemException
Throws:
NoSuchTeamException
com.liferay.portal.kernel.exception.SystemException

fetchByG_N

Team fetchByG_N(long groupId,
                java.lang.String name)
                throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

fetchByG_N

Team fetchByG_N(long groupId,
                java.lang.String name,
                boolean retrieveFromCache)
                throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findAll

java.util.List<Team> findAll()
                             throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findAll

java.util.List<Team> findAll(int start,
                             int end)
                             throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findAll

java.util.List<Team> findAll(int start,
                             int end,
                             com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                             throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

removeByGroupId

void removeByGroupId(long groupId)
                     throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

removeByG_N

void removeByG_N(long groupId,
                 java.lang.String name)
                 throws NoSuchTeamException,
                        com.liferay.portal.kernel.exception.SystemException
Throws:
NoSuchTeamException
com.liferay.portal.kernel.exception.SystemException

removeAll

void removeAll()
               throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

countByGroupId

int countByGroupId(long groupId)
                   throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

countByG_N

int countByG_N(long groupId,
               java.lang.String name)
               throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

countAll

int countAll()
             throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getUsers

java.util.List<User> getUsers(long pk)
                              throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getUsers

java.util.List<User> getUsers(long pk,
                              int start,
                              int end)
                              throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getUsers

java.util.List<User> getUsers(long pk,
                              int start,
                              int end,
                              com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                              throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getUsersSize

int getUsersSize(long pk)
                 throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

containsUser

boolean containsUser(long pk,
                     long userPK)
                     throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

containsUsers

boolean containsUsers(long pk)
                      throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

addUser

void addUser(long pk,
             long userPK)
             throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

addUser

void addUser(long pk,
             User user)
             throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

addUsers

void addUsers(long pk,
              long[] userPKs)
              throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

addUsers

void addUsers(long pk,
              java.util.List<User> users)
              throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

clearUsers

void clearUsers(long pk)
                throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

removeUser

void removeUser(long pk,
                long userPK)
                throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

removeUser

void removeUser(long pk,
                User user)
                throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

removeUsers

void removeUsers(long pk,
                 long[] userPKs)
                 throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

removeUsers

void removeUsers(long pk,
                 java.util.List<User> users)
                 throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

setUsers

void setUsers(long pk,
              long[] userPKs)
              throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

setUsers

void setUsers(long pk,
              java.util.List<User> users)
              throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException