com.liferay.portal.service.persistence
Interface UserGroupGroupRolePersistence

All Superinterfaces:
BasePersistence

public interface UserGroupGroupRolePersistence
extends BasePersistence

View Source

Author:
Brian Wing Shun Chan

Method Summary
 void cacheResult(java.util.List<UserGroupGroupRole> userGroupGroupRoles)
           
 void cacheResult(UserGroupGroupRole userGroupGroupRole)
           
 void clearCache()
           
 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, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 UserGroupGroupRole findByG_R_First(long groupId, long roleId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 UserGroupGroupRole findByG_R_Last(long groupId, long roleId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 UserGroupGroupRole[] findByG_R_PrevAndNext(UserGroupGroupRolePK userGroupGroupRolePK, long groupId, long roleId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 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, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 UserGroupGroupRole findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 UserGroupGroupRole findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 UserGroupGroupRole[] findByGroupId_PrevAndNext(UserGroupGroupRolePK userGroupGroupRolePK, long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 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, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 UserGroupGroupRole findByPrimaryKey(UserGroupGroupRolePK userGroupGroupRolePK)
           
 UserGroupGroupRole findByRoleId_First(long roleId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 UserGroupGroupRole findByRoleId_Last(long roleId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 UserGroupGroupRole[] findByRoleId_PrevAndNext(UserGroupGroupRolePK userGroupGroupRolePK, long roleId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 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, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 UserGroupGroupRole findByU_G_First(long userGroupId, long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 UserGroupGroupRole findByU_G_Last(long userGroupId, long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 UserGroupGroupRole[] findByU_G_PrevAndNext(UserGroupGroupRolePK userGroupGroupRolePK, long userGroupId, long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 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, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 UserGroupGroupRole findByUserGroupId_First(long userGroupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 UserGroupGroupRole findByUserGroupId_Last(long userGroupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 UserGroupGroupRole[] findByUserGroupId_PrevAndNext(UserGroupGroupRolePK userGroupGroupRolePK, long userGroupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 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, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
 java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
           
 UserGroupGroupRole remove(UserGroupGroupRole userGroupGroupRole)
           
 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 update(UserGroupGroupRole userGroupGroupRole)
          Deprecated. Use update(UserGroupGroupRole userGroupGroupRole, boolean merge).
 UserGroupGroupRole update(UserGroupGroupRole userGroupGroupRole, boolean merge)
          Add, update, or merge, the entity.
 UserGroupGroupRole updateImpl(UserGroupGroupRole userGroupGroupRole, boolean merge)
           
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
getListeners, registerListener, unregisterListener
 

Method Detail

cacheResult

void cacheResult(UserGroupGroupRole userGroupGroupRole)

cacheResult

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

clearCache

void clearCache()
Specified by:
clearCache in interface BasePersistence

create

UserGroupGroupRole create(UserGroupGroupRolePK userGroupGroupRolePK)

remove

UserGroupGroupRole remove(UserGroupGroupRolePK userGroupGroupRolePK)
                          throws NoSuchUserGroupGroupRoleException,
                                 com.liferay.portal.SystemException
Throws:
NoSuchUserGroupGroupRoleException
com.liferay.portal.SystemException

remove

UserGroupGroupRole remove(UserGroupGroupRole userGroupGroupRole)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

UserGroupGroupRole update(UserGroupGroupRole userGroupGroupRole)
                          throws com.liferay.portal.SystemException
Deprecated. Use update(UserGroupGroupRole userGroupGroupRole, boolean merge).

Throws:
com.liferay.portal.SystemException

update

UserGroupGroupRole update(UserGroupGroupRole userGroupGroupRole,
                          boolean merge)
                          throws com.liferay.portal.SystemException
Add, update, or merge, the entity. This method also calls the model listeners to trigger the proper events associated with adding, deleting, or updating an entity.

Parameters:
userGroupGroupRole - the entity to add, update, or merge
merge - boolean value for whether to merge the entity. The default value is false. Setting merge to true is more expensive and should only be true when userGroupGroupRole is transient. See LEP-5473 for a detailed discussion of this method.
Returns:
true if the portlet can be displayed via Ajax
Throws:
com.liferay.portal.SystemException

updateImpl

UserGroupGroupRole updateImpl(UserGroupGroupRole userGroupGroupRole,
                              boolean merge)
                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByPrimaryKey

UserGroupGroupRole findByPrimaryKey(UserGroupGroupRolePK userGroupGroupRolePK)
                                    throws NoSuchUserGroupGroupRoleException,
                                           com.liferay.portal.SystemException
Throws:
NoSuchUserGroupGroupRoleException
com.liferay.portal.SystemException

fetchByPrimaryKey

UserGroupGroupRole fetchByPrimaryKey(UserGroupGroupRolePK userGroupGroupRolePK)
                                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByUserGroupId

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

findByUserGroupId

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

findByUserGroupId

java.util.List<UserGroupGroupRole> findByUserGroupId(long userGroupId,
                                                     int start,
                                                     int end,
                                                     com.liferay.portal.kernel.util.OrderByComparator obc)
                                                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByUserGroupId_First

UserGroupGroupRole findByUserGroupId_First(long userGroupId,
                                           com.liferay.portal.kernel.util.OrderByComparator obc)
                                           throws NoSuchUserGroupGroupRoleException,
                                                  com.liferay.portal.SystemException
Throws:
NoSuchUserGroupGroupRoleException
com.liferay.portal.SystemException

findByUserGroupId_Last

UserGroupGroupRole findByUserGroupId_Last(long userGroupId,
                                          com.liferay.portal.kernel.util.OrderByComparator obc)
                                          throws NoSuchUserGroupGroupRoleException,
                                                 com.liferay.portal.SystemException
Throws:
NoSuchUserGroupGroupRoleException
com.liferay.portal.SystemException

findByUserGroupId_PrevAndNext

UserGroupGroupRole[] findByUserGroupId_PrevAndNext(UserGroupGroupRolePK userGroupGroupRolePK,
                                                   long userGroupId,
                                                   com.liferay.portal.kernel.util.OrderByComparator obc)
                                                   throws NoSuchUserGroupGroupRoleException,
                                                          com.liferay.portal.SystemException
Throws:
NoSuchUserGroupGroupRoleException
com.liferay.portal.SystemException

findByGroupId

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

findByGroupId

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

findByGroupId

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

findByGroupId_First

UserGroupGroupRole findByGroupId_First(long groupId,
                                       com.liferay.portal.kernel.util.OrderByComparator obc)
                                       throws NoSuchUserGroupGroupRoleException,
                                              com.liferay.portal.SystemException
Throws:
NoSuchUserGroupGroupRoleException
com.liferay.portal.SystemException

findByGroupId_Last

UserGroupGroupRole findByGroupId_Last(long groupId,
                                      com.liferay.portal.kernel.util.OrderByComparator obc)
                                      throws NoSuchUserGroupGroupRoleException,
                                             com.liferay.portal.SystemException
Throws:
NoSuchUserGroupGroupRoleException
com.liferay.portal.SystemException

findByGroupId_PrevAndNext

UserGroupGroupRole[] findByGroupId_PrevAndNext(UserGroupGroupRolePK userGroupGroupRolePK,
                                               long groupId,
                                               com.liferay.portal.kernel.util.OrderByComparator obc)
                                               throws NoSuchUserGroupGroupRoleException,
                                                      com.liferay.portal.SystemException
Throws:
NoSuchUserGroupGroupRoleException
com.liferay.portal.SystemException

findByRoleId

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

findByRoleId

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

findByRoleId

java.util.List<UserGroupGroupRole> findByRoleId(long roleId,
                                                int start,
                                                int end,
                                                com.liferay.portal.kernel.util.OrderByComparator obc)
                                                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByRoleId_First

UserGroupGroupRole findByRoleId_First(long roleId,
                                      com.liferay.portal.kernel.util.OrderByComparator obc)
                                      throws NoSuchUserGroupGroupRoleException,
                                             com.liferay.portal.SystemException
Throws:
NoSuchUserGroupGroupRoleException
com.liferay.portal.SystemException

findByRoleId_Last

UserGroupGroupRole findByRoleId_Last(long roleId,
                                     com.liferay.portal.kernel.util.OrderByComparator obc)
                                     throws NoSuchUserGroupGroupRoleException,
                                            com.liferay.portal.SystemException
Throws:
NoSuchUserGroupGroupRoleException
com.liferay.portal.SystemException

findByRoleId_PrevAndNext

UserGroupGroupRole[] findByRoleId_PrevAndNext(UserGroupGroupRolePK userGroupGroupRolePK,
                                              long roleId,
                                              com.liferay.portal.kernel.util.OrderByComparator obc)
                                              throws NoSuchUserGroupGroupRoleException,
                                                     com.liferay.portal.SystemException
Throws:
NoSuchUserGroupGroupRoleException
com.liferay.portal.SystemException

findByU_G

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

findByU_G

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

findByU_G

java.util.List<UserGroupGroupRole> findByU_G(long userGroupId,
                                             long groupId,
                                             int start,
                                             int end,
                                             com.liferay.portal.kernel.util.OrderByComparator obc)
                                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByU_G_First

UserGroupGroupRole findByU_G_First(long userGroupId,
                                   long groupId,
                                   com.liferay.portal.kernel.util.OrderByComparator obc)
                                   throws NoSuchUserGroupGroupRoleException,
                                          com.liferay.portal.SystemException
Throws:
NoSuchUserGroupGroupRoleException
com.liferay.portal.SystemException

findByU_G_Last

UserGroupGroupRole findByU_G_Last(long userGroupId,
                                  long groupId,
                                  com.liferay.portal.kernel.util.OrderByComparator obc)
                                  throws NoSuchUserGroupGroupRoleException,
                                         com.liferay.portal.SystemException
Throws:
NoSuchUserGroupGroupRoleException
com.liferay.portal.SystemException

findByU_G_PrevAndNext

UserGroupGroupRole[] findByU_G_PrevAndNext(UserGroupGroupRolePK userGroupGroupRolePK,
                                           long userGroupId,
                                           long groupId,
                                           com.liferay.portal.kernel.util.OrderByComparator obc)
                                           throws NoSuchUserGroupGroupRoleException,
                                                  com.liferay.portal.SystemException
Throws:
NoSuchUserGroupGroupRoleException
com.liferay.portal.SystemException

findByG_R

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

findByG_R

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

findByG_R

java.util.List<UserGroupGroupRole> findByG_R(long groupId,
                                             long roleId,
                                             int start,
                                             int end,
                                             com.liferay.portal.kernel.util.OrderByComparator obc)
                                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByG_R_First

UserGroupGroupRole findByG_R_First(long groupId,
                                   long roleId,
                                   com.liferay.portal.kernel.util.OrderByComparator obc)
                                   throws NoSuchUserGroupGroupRoleException,
                                          com.liferay.portal.SystemException
Throws:
NoSuchUserGroupGroupRoleException
com.liferay.portal.SystemException

findByG_R_Last

UserGroupGroupRole findByG_R_Last(long groupId,
                                  long roleId,
                                  com.liferay.portal.kernel.util.OrderByComparator obc)
                                  throws NoSuchUserGroupGroupRoleException,
                                         com.liferay.portal.SystemException
Throws:
NoSuchUserGroupGroupRoleException
com.liferay.portal.SystemException

findByG_R_PrevAndNext

UserGroupGroupRole[] findByG_R_PrevAndNext(UserGroupGroupRolePK userGroupGroupRolePK,
                                           long groupId,
                                           long roleId,
                                           com.liferay.portal.kernel.util.OrderByComparator obc)
                                           throws NoSuchUserGroupGroupRoleException,
                                                  com.liferay.portal.SystemException
Throws:
NoSuchUserGroupGroupRoleException
com.liferay.portal.SystemException

findWithDynamicQuery

java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                                                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findWithDynamicQuery

java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                                      int start,
                                                      int end)
                                                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

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

findAll

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

findAll

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

removeByUserGroupId

void removeByUserGroupId(long userGroupId)
                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByGroupId

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

removeByRoleId

void removeByRoleId(long roleId)
                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByU_G

void removeByU_G(long userGroupId,
                 long groupId)
                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByG_R

void removeByG_R(long groupId,
                 long roleId)
                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeAll

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

countByUserGroupId

int countByUserGroupId(long userGroupId)
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByGroupId

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

countByRoleId

int countByRoleId(long roleId)
                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByU_G

int countByU_G(long userGroupId,
               long groupId)
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByG_R

int countByG_R(long groupId,
               long roleId)
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countAll

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