com.liferay.portal.service.persistence
Class UserGroupGroupRoleUtil

java.lang.Object
  extended by com.liferay.portal.service.persistence.UserGroupGroupRoleUtil

public class UserGroupGroupRoleUtil
extends java.lang.Object

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

Constructor Summary
UserGroupGroupRoleUtil()
           
 
Method Summary
static void cacheResult(java.util.List<UserGroupGroupRole> userGroupGroupRoles)
           
static void cacheResult(UserGroupGroupRole userGroupGroupRole)
           
static void clearCache()
           
static int countAll()
           
static int countByG_R(long groupId, long roleId)
           
static int countByGroupId(long groupId)
           
static int countByRoleId(long roleId)
           
static int countByU_G(long userGroupId, long groupId)
           
static int countByUserGroupId(long userGroupId)
           
static UserGroupGroupRole create(UserGroupGroupRolePK userGroupGroupRolePK)
           
static UserGroupGroupRole fetchByPrimaryKey(UserGroupGroupRolePK userGroupGroupRolePK)
           
static java.util.List<UserGroupGroupRole> findAll()
           
static java.util.List<UserGroupGroupRole> findAll(int start, int end)
           
static java.util.List<UserGroupGroupRole> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static UserGroupGroupRole findByG_R_First(long groupId, long roleId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static UserGroupGroupRole findByG_R_Last(long groupId, long roleId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static UserGroupGroupRole[] findByG_R_PrevAndNext(UserGroupGroupRolePK userGroupGroupRolePK, long groupId, long roleId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static java.util.List<UserGroupGroupRole> findByG_R(long groupId, long roleId)
           
static java.util.List<UserGroupGroupRole> findByG_R(long groupId, long roleId, int start, int end)
           
static java.util.List<UserGroupGroupRole> findByG_R(long groupId, long roleId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static UserGroupGroupRole findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static UserGroupGroupRole findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static UserGroupGroupRole[] findByGroupId_PrevAndNext(UserGroupGroupRolePK userGroupGroupRolePK, long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static java.util.List<UserGroupGroupRole> findByGroupId(long groupId)
           
static java.util.List<UserGroupGroupRole> findByGroupId(long groupId, int start, int end)
           
static java.util.List<UserGroupGroupRole> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static UserGroupGroupRole findByPrimaryKey(UserGroupGroupRolePK userGroupGroupRolePK)
           
static UserGroupGroupRole findByRoleId_First(long roleId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static UserGroupGroupRole findByRoleId_Last(long roleId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static UserGroupGroupRole[] findByRoleId_PrevAndNext(UserGroupGroupRolePK userGroupGroupRolePK, long roleId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static java.util.List<UserGroupGroupRole> findByRoleId(long roleId)
           
static java.util.List<UserGroupGroupRole> findByRoleId(long roleId, int start, int end)
           
static java.util.List<UserGroupGroupRole> findByRoleId(long roleId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static UserGroupGroupRole findByU_G_First(long userGroupId, long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static UserGroupGroupRole findByU_G_Last(long userGroupId, long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static UserGroupGroupRole[] findByU_G_PrevAndNext(UserGroupGroupRolePK userGroupGroupRolePK, long userGroupId, long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static java.util.List<UserGroupGroupRole> findByU_G(long userGroupId, long groupId)
           
static java.util.List<UserGroupGroupRole> findByU_G(long userGroupId, long groupId, int start, int end)
           
static java.util.List<UserGroupGroupRole> findByU_G(long userGroupId, long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static UserGroupGroupRole findByUserGroupId_First(long userGroupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static UserGroupGroupRole findByUserGroupId_Last(long userGroupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static UserGroupGroupRole[] findByUserGroupId_PrevAndNext(UserGroupGroupRolePK userGroupGroupRolePK, long userGroupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static java.util.List<UserGroupGroupRole> findByUserGroupId(long userGroupId)
           
static java.util.List<UserGroupGroupRole> findByUserGroupId(long userGroupId, int start, int end)
           
static java.util.List<UserGroupGroupRole> findByUserGroupId(long userGroupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
           
static UserGroupGroupRolePersistence getPersistence()
           
static UserGroupGroupRole remove(UserGroupGroupRole userGroupGroupRole)
           
static UserGroupGroupRole remove(UserGroupGroupRolePK userGroupGroupRolePK)
           
static void removeAll()
           
static void removeByG_R(long groupId, long roleId)
           
static void removeByGroupId(long groupId)
           
static void removeByRoleId(long roleId)
           
static void removeByU_G(long userGroupId, long groupId)
           
static void removeByUserGroupId(long userGroupId)
           
 void setPersistence(UserGroupGroupRolePersistence persistence)
           
static UserGroupGroupRole update(UserGroupGroupRole userGroupGroupRole, boolean merge)
           
static UserGroupGroupRole updateImpl(UserGroupGroupRole userGroupGroupRole, boolean merge)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserGroupGroupRoleUtil

public UserGroupGroupRoleUtil()
Method Detail

clearCache

public static void clearCache()
See Also:
BasePersistence.clearCache()

findWithDynamicQuery

public static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                                                             throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException
See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery)

findWithDynamicQuery

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

remove

public static UserGroupGroupRole remove(UserGroupGroupRole userGroupGroupRole)
                                 throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException
See Also:
BasePersistence.remove(com.liferay.portal.model.BaseModel)

update

public static UserGroupGroupRole update(UserGroupGroupRole userGroupGroupRole,
                                        boolean merge)
                                 throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException
See Also:
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean)

cacheResult

public static void cacheResult(UserGroupGroupRole userGroupGroupRole)

cacheResult

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

create

public static UserGroupGroupRole create(UserGroupGroupRolePK userGroupGroupRolePK)

remove

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

updateImpl

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

findByPrimaryKey

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

fetchByPrimaryKey

public static UserGroupGroupRole fetchByPrimaryKey(UserGroupGroupRolePK userGroupGroupRolePK)
                                            throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByUserGroupId

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

findByUserGroupId

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

findByUserGroupId

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

findByUserGroupId_First

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

findByUserGroupId_Last

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

findByUserGroupId_PrevAndNext

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

findByGroupId

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

findByGroupId

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

findByGroupId

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

findByGroupId_First

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

findByGroupId_Last

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

findByGroupId_PrevAndNext

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

findByRoleId

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

findByRoleId

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

findByRoleId

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

findByRoleId_First

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

findByRoleId_Last

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

findByRoleId_PrevAndNext

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

findByU_G

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

findByU_G

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

findByU_G

public static 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.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByU_G_First

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

findByU_G_Last

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

findByU_G_PrevAndNext

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

findByG_R

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

findByG_R

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

findByG_R

public static 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.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByG_R_First

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

findByG_R_Last

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

findByG_R_PrevAndNext

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

findAll

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

findAll

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

findAll

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

removeByUserGroupId

public static void removeByUserGroupId(long userGroupId)
                                throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

removeByGroupId

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

removeByRoleId

public static void removeByRoleId(long roleId)
                           throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

removeByU_G

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

removeByG_R

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

removeAll

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

countByUserGroupId

public static int countByUserGroupId(long userGroupId)
                              throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

countByGroupId

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

countByRoleId

public static int countByRoleId(long roleId)
                         throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

countByU_G

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

countByG_R

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

countAll

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

getPersistence

public static UserGroupGroupRolePersistence getPersistence()

setPersistence

public void setPersistence(UserGroupGroupRolePersistence persistence)