Liferay 6.0.3

com.liferay.portal.service.persistence
Interface TeamPersistence

All Superinterfaces:
BasePersistence<Team>
All Known Implementing Classes:
TeamPersistenceImpl

public interface TeamPersistence
extends BasePersistence<Team>

See Also:
TeamPersistenceImpl, TeamUtil
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Method Summary
 void addUser(long pk, long userPK)
           
 void addUser(long pk, User user)
           
 void addUsers(long pk, List<User> users)
           
 void addUsers(long pk, long[] userPKs)
           
 void cacheResult(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, String name)
           
 int countByGroupId(long groupId)
           
 Team create(long teamId)
           
 Team fetchByG_N(long groupId, String name)
           
 Team fetchByG_N(long groupId, String name, boolean retrieveFromCache)
           
 Team fetchByPrimaryKey(long teamId)
           
 int filterCountByG_N(long groupId, String name)
           
 int filterCountByGroupId(long groupId)
           
 List<Team> filterFindByGroupId(long groupId)
           
 List<Team> filterFindByGroupId(long groupId, int start, int end)
           
 List<Team> filterFindByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator)
           
 List<Team> findAll()
           
 List<Team> findAll(int start, int end)
           
 List<Team> findAll(int start, int end, OrderByComparator orderByComparator)
           
 Team findByG_N(long groupId, String name)
           
 Team findByGroupId_First(long groupId, OrderByComparator orderByComparator)
           
 Team findByGroupId_Last(long groupId, OrderByComparator orderByComparator)
           
 Team[] findByGroupId_PrevAndNext(long teamId, long groupId, OrderByComparator orderByComparator)
           
 List<Team> findByGroupId(long groupId)
           
 List<Team> findByGroupId(long groupId, int start, int end)
           
 List<Team> findByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator)
           
 Team findByPrimaryKey(long teamId)
           
 List<User> getUsers(long pk)
           
 List<User> getUsers(long pk, int start, int end)
           
 List<User> getUsers(long pk, int start, int end, OrderByComparator orderByComparator)
           
 int getUsersSize(long pk)
           
 Team remove(long teamId)
           
 void removeAll()
           
 void removeByG_N(long groupId, String name)
           
 void removeByGroupId(long groupId)
           
 void removeUser(long pk, long userPK)
           
 void removeUser(long pk, User user)
           
 void removeUsers(long pk, List<User> users)
           
 void removeUsers(long pk, long[] userPKs)
           
 void setUsers(long pk, 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, clearCache, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, registerListener, remove, remove, setDataSource, unregisterListener, update, update
 

Method Detail

cacheResult

void cacheResult(Team team)

cacheResult

void cacheResult(List<Team> teams)

create

Team create(long teamId)

remove

Team remove(long teamId)
            throws NoSuchTeamException,
                   SystemException
Throws:
NoSuchTeamException
SystemException

updateImpl

Team updateImpl(Team team,
                boolean merge)
                throws SystemException
Throws:
SystemException

findByPrimaryKey

Team findByPrimaryKey(long teamId)
                      throws NoSuchTeamException,
                             SystemException
Throws:
NoSuchTeamException
SystemException

fetchByPrimaryKey

Team fetchByPrimaryKey(long teamId)
                       throws SystemException
Throws:
SystemException

findByGroupId

List<Team> findByGroupId(long groupId)
                         throws SystemException
Throws:
SystemException

findByGroupId

List<Team> findByGroupId(long groupId,
                         int start,
                         int end)
                         throws SystemException
Throws:
SystemException

findByGroupId

List<Team> findByGroupId(long groupId,
                         int start,
                         int end,
                         OrderByComparator orderByComparator)
                         throws SystemException
Throws:
SystemException

findByGroupId_First

Team findByGroupId_First(long groupId,
                         OrderByComparator orderByComparator)
                         throws NoSuchTeamException,
                                SystemException
Throws:
NoSuchTeamException
SystemException

findByGroupId_Last

Team findByGroupId_Last(long groupId,
                        OrderByComparator orderByComparator)
                        throws NoSuchTeamException,
                               SystemException
Throws:
NoSuchTeamException
SystemException

findByGroupId_PrevAndNext

Team[] findByGroupId_PrevAndNext(long teamId,
                                 long groupId,
                                 OrderByComparator orderByComparator)
                                 throws NoSuchTeamException,
                                        SystemException
Throws:
NoSuchTeamException
SystemException

filterFindByGroupId

List<Team> filterFindByGroupId(long groupId)
                               throws SystemException
Throws:
SystemException

filterFindByGroupId

List<Team> filterFindByGroupId(long groupId,
                               int start,
                               int end)
                               throws SystemException
Throws:
SystemException

filterFindByGroupId

List<Team> filterFindByGroupId(long groupId,
                               int start,
                               int end,
                               OrderByComparator orderByComparator)
                               throws SystemException
Throws:
SystemException

findByG_N

Team findByG_N(long groupId,
               String name)
               throws NoSuchTeamException,
                      SystemException
Throws:
NoSuchTeamException
SystemException

fetchByG_N

Team fetchByG_N(long groupId,
                String name)
                throws SystemException
Throws:
SystemException

fetchByG_N

Team fetchByG_N(long groupId,
                String name,
                boolean retrieveFromCache)
                throws SystemException
Throws:
SystemException

findAll

List<Team> findAll()
                   throws SystemException
Throws:
SystemException

findAll

List<Team> findAll(int start,
                   int end)
                   throws SystemException
Throws:
SystemException

findAll

List<Team> findAll(int start,
                   int end,
                   OrderByComparator orderByComparator)
                   throws SystemException
Throws:
SystemException

removeByGroupId

void removeByGroupId(long groupId)
                     throws SystemException
Throws:
SystemException

removeByG_N

void removeByG_N(long groupId,
                 String name)
                 throws NoSuchTeamException,
                        SystemException
Throws:
NoSuchTeamException
SystemException

removeAll

void removeAll()
               throws SystemException
Throws:
SystemException

countByGroupId

int countByGroupId(long groupId)
                   throws SystemException
Throws:
SystemException

filterCountByGroupId

int filterCountByGroupId(long groupId)
                         throws SystemException
Throws:
SystemException

countByG_N

int countByG_N(long groupId,
               String name)
               throws SystemException
Throws:
SystemException

filterCountByG_N

int filterCountByG_N(long groupId,
                     String name)
                     throws SystemException
Throws:
SystemException

countAll

int countAll()
             throws SystemException
Throws:
SystemException

getUsers

List<User> getUsers(long pk)
                    throws SystemException
Throws:
SystemException

getUsers

List<User> getUsers(long pk,
                    int start,
                    int end)
                    throws SystemException
Throws:
SystemException

getUsers

List<User> getUsers(long pk,
                    int start,
                    int end,
                    OrderByComparator orderByComparator)
                    throws SystemException
Throws:
SystemException

getUsersSize

int getUsersSize(long pk)
                 throws SystemException
Throws:
SystemException

containsUser

boolean containsUser(long pk,
                     long userPK)
                     throws SystemException
Throws:
SystemException

containsUsers

boolean containsUsers(long pk)
                      throws SystemException
Throws:
SystemException

addUser

void addUser(long pk,
             long userPK)
             throws SystemException
Throws:
SystemException

addUser

void addUser(long pk,
             User user)
             throws SystemException
Throws:
SystemException

addUsers

void addUsers(long pk,
              long[] userPKs)
              throws SystemException
Throws:
SystemException

addUsers

void addUsers(long pk,
              List<User> users)
              throws SystemException
Throws:
SystemException

clearUsers

void clearUsers(long pk)
                throws SystemException
Throws:
SystemException

removeUser

void removeUser(long pk,
                long userPK)
                throws SystemException
Throws:
SystemException

removeUser

void removeUser(long pk,
                User user)
                throws SystemException
Throws:
SystemException

removeUsers

void removeUsers(long pk,
                 long[] userPKs)
                 throws SystemException
Throws:
SystemException

removeUsers

void removeUsers(long pk,
                 List<User> users)
                 throws SystemException
Throws:
SystemException

setUsers

void setUsers(long pk,
              long[] userPKs)
              throws SystemException
Throws:
SystemException

setUsers

void setUsers(long pk,
              List<User> users)
              throws SystemException
Throws:
SystemException

Liferay 6.0.3