com.liferay.portal.service.persistence
Interface MembershipRequestPersistence


public interface MembershipRequestPersistence

View Source

Author:
Brian Wing Shun Chan

Method Summary
 int countAll()
           
 int countByG_S(long groupId, int statusId)
           
 int countByGroupId(long groupId)
           
 int countByUserId(long userId)
           
 MembershipRequest create(long membershipRequestId)
           
 MembershipRequest fetchByPrimaryKey(long membershipRequestId)
           
 java.util.List findAll()
           
 java.util.List findAll(int begin, int end)
           
 java.util.List findAll(int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 MembershipRequest findByG_S_First(long groupId, int statusId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 MembershipRequest findByG_S_Last(long groupId, int statusId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 MembershipRequest[] findByG_S_PrevAndNext(long membershipRequestId, long groupId, int statusId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List findByG_S(long groupId, int statusId)
           
 java.util.List findByG_S(long groupId, int statusId, int begin, int end)
           
 java.util.List findByG_S(long groupId, int statusId, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 MembershipRequest findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 MembershipRequest findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 MembershipRequest[] findByGroupId_PrevAndNext(long membershipRequestId, long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List findByGroupId(long groupId)
           
 java.util.List findByGroupId(long groupId, int begin, int end)
           
 java.util.List findByGroupId(long groupId, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 MembershipRequest findByPrimaryKey(long membershipRequestId)
           
 MembershipRequest findByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 MembershipRequest findByUserId_Last(long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 MembershipRequest[] findByUserId_PrevAndNext(long membershipRequestId, long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List findByUserId(long userId)
           
 java.util.List findByUserId(long userId, int begin, int end)
           
 java.util.List findByUserId(long userId, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
           
 java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer, int begin, int end)
           
 MembershipRequest remove(long membershipRequestId)
           
 MembershipRequest remove(MembershipRequest membershipRequest)
           
 void removeAll()
           
 void removeByG_S(long groupId, int statusId)
           
 void removeByGroupId(long groupId)
           
 void removeByUserId(long userId)
           
 MembershipRequest update(MembershipRequest membershipRequest)
           
 MembershipRequest update(MembershipRequest membershipRequest, boolean merge)
           
 MembershipRequest updateImpl(MembershipRequest membershipRequest, boolean merge)
           
 

Method Detail

create

public MembershipRequest create(long membershipRequestId)

remove

public MembershipRequest remove(long membershipRequestId)
                         throws com.liferay.portal.SystemException,
                                NoSuchMembershipRequestException
Throws:
com.liferay.portal.SystemException
NoSuchMembershipRequestException

remove

public MembershipRequest remove(MembershipRequest membershipRequest)
                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

public MembershipRequest update(MembershipRequest membershipRequest)
                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

public MembershipRequest update(MembershipRequest membershipRequest,
                                boolean merge)
                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateImpl

public MembershipRequest updateImpl(MembershipRequest membershipRequest,
                                    boolean merge)
                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByPrimaryKey

public MembershipRequest findByPrimaryKey(long membershipRequestId)
                                   throws com.liferay.portal.SystemException,
                                          NoSuchMembershipRequestException
Throws:
com.liferay.portal.SystemException
NoSuchMembershipRequestException

fetchByPrimaryKey

public MembershipRequest fetchByPrimaryKey(long membershipRequestId)
                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByGroupId

public java.util.List findByGroupId(long groupId)
                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByGroupId

public java.util.List findByGroupId(long groupId,
                                    int begin,
                                    int end)
                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByGroupId

public java.util.List findByGroupId(long groupId,
                                    int begin,
                                    int end,
                                    com.liferay.portal.kernel.util.OrderByComparator obc)
                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByGroupId_First

public MembershipRequest findByGroupId_First(long groupId,
                                             com.liferay.portal.kernel.util.OrderByComparator obc)
                                      throws com.liferay.portal.SystemException,
                                             NoSuchMembershipRequestException
Throws:
com.liferay.portal.SystemException
NoSuchMembershipRequestException

findByGroupId_Last

public MembershipRequest findByGroupId_Last(long groupId,
                                            com.liferay.portal.kernel.util.OrderByComparator obc)
                                     throws com.liferay.portal.SystemException,
                                            NoSuchMembershipRequestException
Throws:
com.liferay.portal.SystemException
NoSuchMembershipRequestException

findByGroupId_PrevAndNext

public MembershipRequest[] findByGroupId_PrevAndNext(long membershipRequestId,
                                                     long groupId,
                                                     com.liferay.portal.kernel.util.OrderByComparator obc)
                                              throws com.liferay.portal.SystemException,
                                                     NoSuchMembershipRequestException
Throws:
com.liferay.portal.SystemException
NoSuchMembershipRequestException

findByUserId

public java.util.List findByUserId(long userId)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByUserId

public java.util.List findByUserId(long userId,
                                   int begin,
                                   int end)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByUserId

public java.util.List findByUserId(long userId,
                                   int begin,
                                   int end,
                                   com.liferay.portal.kernel.util.OrderByComparator obc)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByUserId_First

public MembershipRequest findByUserId_First(long userId,
                                            com.liferay.portal.kernel.util.OrderByComparator obc)
                                     throws com.liferay.portal.SystemException,
                                            NoSuchMembershipRequestException
Throws:
com.liferay.portal.SystemException
NoSuchMembershipRequestException

findByUserId_Last

public MembershipRequest findByUserId_Last(long userId,
                                           com.liferay.portal.kernel.util.OrderByComparator obc)
                                    throws com.liferay.portal.SystemException,
                                           NoSuchMembershipRequestException
Throws:
com.liferay.portal.SystemException
NoSuchMembershipRequestException

findByUserId_PrevAndNext

public MembershipRequest[] findByUserId_PrevAndNext(long membershipRequestId,
                                                    long userId,
                                                    com.liferay.portal.kernel.util.OrderByComparator obc)
                                             throws com.liferay.portal.SystemException,
                                                    NoSuchMembershipRequestException
Throws:
com.liferay.portal.SystemException
NoSuchMembershipRequestException

findByG_S

public java.util.List findByG_S(long groupId,
                                int statusId)
                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByG_S

public java.util.List findByG_S(long groupId,
                                int statusId,
                                int begin,
                                int end)
                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByG_S

public java.util.List findByG_S(long groupId,
                                int statusId,
                                int begin,
                                int end,
                                com.liferay.portal.kernel.util.OrderByComparator obc)
                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByG_S_First

public MembershipRequest findByG_S_First(long groupId,
                                         int statusId,
                                         com.liferay.portal.kernel.util.OrderByComparator obc)
                                  throws com.liferay.portal.SystemException,
                                         NoSuchMembershipRequestException
Throws:
com.liferay.portal.SystemException
NoSuchMembershipRequestException

findByG_S_Last

public MembershipRequest findByG_S_Last(long groupId,
                                        int statusId,
                                        com.liferay.portal.kernel.util.OrderByComparator obc)
                                 throws com.liferay.portal.SystemException,
                                        NoSuchMembershipRequestException
Throws:
com.liferay.portal.SystemException
NoSuchMembershipRequestException

findByG_S_PrevAndNext

public MembershipRequest[] findByG_S_PrevAndNext(long membershipRequestId,
                                                 long groupId,
                                                 int statusId,
                                                 com.liferay.portal.kernel.util.OrderByComparator obc)
                                          throws com.liferay.portal.SystemException,
                                                 NoSuchMembershipRequestException
Throws:
com.liferay.portal.SystemException
NoSuchMembershipRequestException

findWithDynamicQuery

public java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findWithDynamicQuery

public java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
                                           int begin,
                                           int end)
                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

public java.util.List findAll()
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

public java.util.List findAll(int begin,
                              int end)
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

public java.util.List findAll(int begin,
                              int end,
                              com.liferay.portal.kernel.util.OrderByComparator obc)
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByGroupId

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

removeByUserId

public void removeByUserId(long userId)
                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByG_S

public void removeByG_S(long groupId,
                        int statusId)
                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeAll

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

countByGroupId

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

countByUserId

public int countByUserId(long userId)
                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByG_S

public int countByG_S(long groupId,
                      int statusId)
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countAll

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