com.liferay.portal.service.persistence
Interface UserGroupGroupRolePersistence

All Superinterfaces:
BasePersistence<UserGroupGroupRole>

public interface UserGroupGroupRolePersistence
extends BasePersistence<UserGroupGroupRole>

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:
UserGroupGroupRolePersistenceImpl, UserGroupGroupRoleUtil
Generated:

Method Summary
 void cacheResult(java.util.List<UserGroupGroupRole> userGroupGroupRoles)
           
 void cacheResult(UserGroupGroupRole userGroupGroupRole)
           
 int countAll()
           
 int countByG_R(long groupId, long roleId)
           
 int countByGroupId(long groupId)
           
 int countByRoleId(long roleId)
           
 int countByU_G(long userGroupId, long groupId)
           
 int countByUserGroupId(long userGroupId)
           
 UserGroupGroupRole create(UserGroupGroupRolePK userGroupGroupRolePK)
           
 UserGroupGroupRole fetchByPrimaryKey(UserGroupGroupRolePK userGroupGroupRolePK)
           
 java.util.List<UserGroupGroupRole> findAll()
           
 java.util.List<UserGroupGroupRole> findAll(int start, int end)
           
 java.util.List<UserGroupGroupRole> findAll(int start, int end, OrderByComparator orderByComparator)
           
 UserGroupGroupRole findByG_R_First(long groupId, long roleId, OrderByComparator orderByComparator)
           
 UserGroupGroupRole findByG_R_Last(long groupId, long roleId, OrderByComparator orderByComparator)
           
 UserGroupGroupRole[] findByG_R_PrevAndNext(UserGroupGroupRolePK userGroupGroupRolePK, long groupId, long roleId, OrderByComparator orderByComparator)
           
 java.util.List<UserGroupGroupRole> findByG_R(long groupId, long roleId)
           
 java.util.List<UserGroupGroupRole> findByG_R(long groupId, long roleId, int start, int end)
           
 java.util.List<UserGroupGroupRole> findByG_R(long groupId, long roleId, int start, int end, OrderByComparator orderByComparator)
           
 UserGroupGroupRole findByGroupId_First(long groupId, OrderByComparator orderByComparator)
           
 UserGroupGroupRole findByGroupId_Last(long groupId, OrderByComparator orderByComparator)
           
 UserGroupGroupRole[] findByGroupId_PrevAndNext(UserGroupGroupRolePK userGroupGroupRolePK, long groupId, OrderByComparator orderByComparator)
           
 java.util.List<UserGroupGroupRole> findByGroupId(long groupId)
           
 java.util.List<UserGroupGroupRole> findByGroupId(long groupId, int start, int end)
           
 java.util.List<UserGroupGroupRole> findByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator)
           
 UserGroupGroupRole findByPrimaryKey(UserGroupGroupRolePK userGroupGroupRolePK)
           
 UserGroupGroupRole findByRoleId_First(long roleId, OrderByComparator orderByComparator)
           
 UserGroupGroupRole findByRoleId_Last(long roleId, OrderByComparator orderByComparator)
           
 UserGroupGroupRole[] findByRoleId_PrevAndNext(UserGroupGroupRolePK userGroupGroupRolePK, long roleId, OrderByComparator orderByComparator)
           
 java.util.List<UserGroupGroupRole> findByRoleId(long roleId)
           
 java.util.List<UserGroupGroupRole> findByRoleId(long roleId, int start, int end)
           
 java.util.List<UserGroupGroupRole> findByRoleId(long roleId, int start, int end, OrderByComparator orderByComparator)
           
 UserGroupGroupRole findByU_G_First(long userGroupId, long groupId, OrderByComparator orderByComparator)
           
 UserGroupGroupRole findByU_G_Last(long userGroupId, long groupId, OrderByComparator orderByComparator)
           
 UserGroupGroupRole[] findByU_G_PrevAndNext(UserGroupGroupRolePK userGroupGroupRolePK, long userGroupId, long groupId, OrderByComparator orderByComparator)
           
 java.util.List<UserGroupGroupRole> findByU_G(long userGroupId, long groupId)
           
 java.util.List<UserGroupGroupRole> findByU_G(long userGroupId, long groupId, int start, int end)
           
 java.util.List<UserGroupGroupRole> findByU_G(long userGroupId, long groupId, int start, int end, OrderByComparator orderByComparator)
           
 UserGroupGroupRole findByUserGroupId_First(long userGroupId, OrderByComparator orderByComparator)
           
 UserGroupGroupRole findByUserGroupId_Last(long userGroupId, OrderByComparator orderByComparator)
           
 UserGroupGroupRole[] findByUserGroupId_PrevAndNext(UserGroupGroupRolePK userGroupGroupRolePK, long userGroupId, OrderByComparator orderByComparator)
           
 java.util.List<UserGroupGroupRole> findByUserGroupId(long userGroupId)
           
 java.util.List<UserGroupGroupRole> findByUserGroupId(long userGroupId, int start, int end)
           
 java.util.List<UserGroupGroupRole> findByUserGroupId(long userGroupId, int start, int end, OrderByComparator orderByComparator)
           
 UserGroupGroupRole remove(UserGroupGroupRolePK userGroupGroupRolePK)
           
 void removeAll()
           
 void removeByG_R(long groupId, long roleId)
           
 void removeByGroupId(long groupId)
           
 void removeByRoleId(long roleId)
           
 void removeByU_G(long userGroupId, long groupId)
           
 void removeByUserGroupId(long userGroupId)
           
 UserGroupGroupRole updateImpl(UserGroupGroupRole userGroupGroupRole, 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
 

Method Detail

cacheResult

void cacheResult(UserGroupGroupRole userGroupGroupRole)

cacheResult

void cacheResult(java.util.List<UserGroupGroupRole> userGroupGroupRoles)

create

UserGroupGroupRole create(UserGroupGroupRolePK userGroupGroupRolePK)

remove

UserGroupGroupRole remove(UserGroupGroupRolePK userGroupGroupRolePK)
                          throws NoSuchUserGroupGroupRoleException,
                                 SystemException
Throws:
NoSuchUserGroupGroupRoleException
SystemException

updateImpl

UserGroupGroupRole updateImpl(UserGroupGroupRole userGroupGroupRole,
                              boolean merge)
                              throws SystemException
Throws:
SystemException

findByPrimaryKey

UserGroupGroupRole findByPrimaryKey(UserGroupGroupRolePK userGroupGroupRolePK)
                                    throws NoSuchUserGroupGroupRoleException,
                                           SystemException
Throws:
NoSuchUserGroupGroupRoleException
SystemException

fetchByPrimaryKey

UserGroupGroupRole fetchByPrimaryKey(UserGroupGroupRolePK userGroupGroupRolePK)
                                     throws SystemException
Throws:
SystemException

findByUserGroupId

java.util.List<UserGroupGroupRole> findByUserGroupId(long userGroupId)
                                                     throws SystemException
Throws:
SystemException

findByUserGroupId

java.util.List<UserGroupGroupRole> findByUserGroupId(long userGroupId,
                                                     int start,
                                                     int end)
                                                     throws SystemException
Throws:
SystemException

findByUserGroupId

java.util.List<UserGroupGroupRole> findByUserGroupId(long userGroupId,
                                                     int start,
                                                     int end,
                                                     OrderByComparator orderByComparator)
                                                     throws SystemException
Throws:
SystemException

findByUserGroupId_First

UserGroupGroupRole findByUserGroupId_First(long userGroupId,
                                           OrderByComparator orderByComparator)
                                           throws NoSuchUserGroupGroupRoleException,
                                                  SystemException
Throws:
NoSuchUserGroupGroupRoleException
SystemException

findByUserGroupId_Last

UserGroupGroupRole findByUserGroupId_Last(long userGroupId,
                                          OrderByComparator orderByComparator)
                                          throws NoSuchUserGroupGroupRoleException,
                                                 SystemException
Throws:
NoSuchUserGroupGroupRoleException
SystemException

findByUserGroupId_PrevAndNext

UserGroupGroupRole[] findByUserGroupId_PrevAndNext(UserGroupGroupRolePK userGroupGroupRolePK,
                                                   long userGroupId,
                                                   OrderByComparator orderByComparator)
                                                   throws NoSuchUserGroupGroupRoleException,
                                                          SystemException
Throws:
NoSuchUserGroupGroupRoleException
SystemException

findByGroupId

java.util.List<UserGroupGroupRole> findByGroupId(long groupId)
                                                 throws SystemException
Throws:
SystemException

findByGroupId

java.util.List<UserGroupGroupRole> findByGroupId(long groupId,
                                                 int start,
                                                 int end)
                                                 throws SystemException
Throws:
SystemException

findByGroupId

java.util.List<UserGroupGroupRole> findByGroupId(long groupId,
                                                 int start,
                                                 int end,
                                                 OrderByComparator orderByComparator)
                                                 throws SystemException
Throws:
SystemException

findByGroupId_First

UserGroupGroupRole findByGroupId_First(long groupId,
                                       OrderByComparator orderByComparator)
                                       throws NoSuchUserGroupGroupRoleException,
                                              SystemException
Throws:
NoSuchUserGroupGroupRoleException
SystemException

findByGroupId_Last

UserGroupGroupRole findByGroupId_Last(long groupId,
                                      OrderByComparator orderByComparator)
                                      throws NoSuchUserGroupGroupRoleException,
                                             SystemException
Throws:
NoSuchUserGroupGroupRoleException
SystemException

findByGroupId_PrevAndNext

UserGroupGroupRole[] findByGroupId_PrevAndNext(UserGroupGroupRolePK userGroupGroupRolePK,
                                               long groupId,
                                               OrderByComparator orderByComparator)
                                               throws NoSuchUserGroupGroupRoleException,
                                                      SystemException
Throws:
NoSuchUserGroupGroupRoleException
SystemException

findByRoleId

java.util.List<UserGroupGroupRole> findByRoleId(long roleId)
                                                throws SystemException
Throws:
SystemException

findByRoleId

java.util.List<UserGroupGroupRole> findByRoleId(long roleId,
                                                int start,
                                                int end)
                                                throws SystemException
Throws:
SystemException

findByRoleId

java.util.List<UserGroupGroupRole> findByRoleId(long roleId,
                                                int start,
                                                int end,
                                                OrderByComparator orderByComparator)
                                                throws SystemException
Throws:
SystemException

findByRoleId_First

UserGroupGroupRole findByRoleId_First(long roleId,
                                      OrderByComparator orderByComparator)
                                      throws NoSuchUserGroupGroupRoleException,
                                             SystemException
Throws:
NoSuchUserGroupGroupRoleException
SystemException

findByRoleId_Last

UserGroupGroupRole findByRoleId_Last(long roleId,
                                     OrderByComparator orderByComparator)
                                     throws NoSuchUserGroupGroupRoleException,
                                            SystemException
Throws:
NoSuchUserGroupGroupRoleException
SystemException

findByRoleId_PrevAndNext

UserGroupGroupRole[] findByRoleId_PrevAndNext(UserGroupGroupRolePK userGroupGroupRolePK,
                                              long roleId,
                                              OrderByComparator orderByComparator)
                                              throws NoSuchUserGroupGroupRoleException,
                                                     SystemException
Throws:
NoSuchUserGroupGroupRoleException
SystemException

findByU_G

java.util.List<UserGroupGroupRole> findByU_G(long userGroupId,
                                             long groupId)
                                             throws SystemException
Throws:
SystemException

findByU_G

java.util.List<UserGroupGroupRole> findByU_G(long userGroupId,
                                             long groupId,
                                             int start,
                                             int end)
                                             throws SystemException
Throws:
SystemException

findByU_G

java.util.List<UserGroupGroupRole> findByU_G(long userGroupId,
                                             long groupId,
                                             int start,
                                             int end,
                                             OrderByComparator orderByComparator)
                                             throws SystemException
Throws:
SystemException

findByU_G_First

UserGroupGroupRole findByU_G_First(long userGroupId,
                                   long groupId,
                                   OrderByComparator orderByComparator)
                                   throws NoSuchUserGroupGroupRoleException,
                                          SystemException
Throws:
NoSuchUserGroupGroupRoleException
SystemException

findByU_G_Last

UserGroupGroupRole findByU_G_Last(long userGroupId,
                                  long groupId,
                                  OrderByComparator orderByComparator)
                                  throws NoSuchUserGroupGroupRoleException,
                                         SystemException
Throws:
NoSuchUserGroupGroupRoleException
SystemException

findByU_G_PrevAndNext

UserGroupGroupRole[] findByU_G_PrevAndNext(UserGroupGroupRolePK userGroupGroupRolePK,
                                           long userGroupId,
                                           long groupId,
                                           OrderByComparator orderByComparator)
                                           throws NoSuchUserGroupGroupRoleException,
                                                  SystemException
Throws:
NoSuchUserGroupGroupRoleException
SystemException

findByG_R

java.util.List<UserGroupGroupRole> findByG_R(long groupId,
                                             long roleId)
                                             throws SystemException
Throws:
SystemException

findByG_R

java.util.List<UserGroupGroupRole> findByG_R(long groupId,
                                             long roleId,
                                             int start,
                                             int end)
                                             throws SystemException
Throws:
SystemException

findByG_R

java.util.List<UserGroupGroupRole> findByG_R(long groupId,
                                             long roleId,
                                             int start,
                                             int end,
                                             OrderByComparator orderByComparator)
                                             throws SystemException
Throws:
SystemException

findByG_R_First

UserGroupGroupRole findByG_R_First(long groupId,
                                   long roleId,
                                   OrderByComparator orderByComparator)
                                   throws NoSuchUserGroupGroupRoleException,
                                          SystemException
Throws:
NoSuchUserGroupGroupRoleException
SystemException

findByG_R_Last

UserGroupGroupRole findByG_R_Last(long groupId,
                                  long roleId,
                                  OrderByComparator orderByComparator)
                                  throws NoSuchUserGroupGroupRoleException,
                                         SystemException
Throws:
NoSuchUserGroupGroupRoleException
SystemException

findByG_R_PrevAndNext

UserGroupGroupRole[] findByG_R_PrevAndNext(UserGroupGroupRolePK userGroupGroupRolePK,
                                           long groupId,
                                           long roleId,
                                           OrderByComparator orderByComparator)
                                           throws NoSuchUserGroupGroupRoleException,
                                                  SystemException
Throws:
NoSuchUserGroupGroupRoleException
SystemException

findAll

java.util.List<UserGroupGroupRole> findAll()
                                           throws SystemException
Throws:
SystemException

findAll

java.util.List<UserGroupGroupRole> findAll(int start,
                                           int end)
                                           throws SystemException
Throws:
SystemException

findAll

java.util.List<UserGroupGroupRole> findAll(int start,
                                           int end,
                                           OrderByComparator orderByComparator)
                                           throws SystemException
Throws:
SystemException

removeByUserGroupId

void removeByUserGroupId(long userGroupId)
                         throws SystemException
Throws:
SystemException

removeByGroupId

void removeByGroupId(long groupId)
                     throws SystemException
Throws:
SystemException

removeByRoleId

void removeByRoleId(long roleId)
                    throws SystemException
Throws:
SystemException

removeByU_G

void removeByU_G(long userGroupId,
                 long groupId)
                 throws SystemException
Throws:
SystemException

removeByG_R

void removeByG_R(long groupId,
                 long roleId)
                 throws SystemException
Throws:
SystemException

removeAll

void removeAll()
               throws SystemException
Throws:
SystemException

countByUserGroupId

int countByUserGroupId(long userGroupId)
                       throws SystemException
Throws:
SystemException

countByGroupId

int countByGroupId(long groupId)
                   throws SystemException
Throws:
SystemException

countByRoleId

int countByRoleId(long roleId)
                  throws SystemException
Throws:
SystemException

countByU_G

int countByU_G(long userGroupId,
               long groupId)
               throws SystemException
Throws:
SystemException

countByG_R

int countByG_R(long groupId,
               long roleId)
               throws SystemException
Throws:
SystemException

countAll

int countAll()
             throws SystemException
Throws:
SystemException