com.liferay.portal.service.persistence
Class UserGroupGroupRoleUtil
java.lang.Object
com.liferay.portal.service.persistence.UserGroupGroupRoleUtil
public class UserGroupGroupRoleUtil
- extends java.lang.Object
View Source
- Author:
- Brian Wing Shun Chan
|
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)
Deprecated. Use update(UserGroupGroupRole userGroupGroupRole, boolean merge). |
static UserGroupGroupRole |
update(UserGroupGroupRole userGroupGroupRole,
boolean merge)
Add, update, or merge, the entity. |
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 |
UserGroupGroupRoleUtil
public UserGroupGroupRoleUtil()
cacheResult
public static void cacheResult(UserGroupGroupRole userGroupGroupRole)
cacheResult
public static void cacheResult(java.util.List<UserGroupGroupRole> userGroupGroupRoles)
clearCache
public static void clearCache()
create
public static UserGroupGroupRole create(UserGroupGroupRolePK userGroupGroupRolePK)
remove
public static UserGroupGroupRole remove(UserGroupGroupRolePK userGroupGroupRolePK)
throws NoSuchUserGroupGroupRoleException,
com.liferay.portal.SystemException
- Throws:
NoSuchUserGroupGroupRoleException
com.liferay.portal.SystemException
remove
public static UserGroupGroupRole remove(UserGroupGroupRole userGroupGroupRole)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
public static UserGroupGroupRole update(UserGroupGroupRole userGroupGroupRole)
throws com.liferay.portal.SystemException
- Deprecated. Use
update(UserGroupGroupRole userGroupGroupRole, boolean merge).
- Throws:
com.liferay.portal.SystemException
update
public static 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 mergemerge - 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
public static UserGroupGroupRole updateImpl(UserGroupGroupRole userGroupGroupRole,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByPrimaryKey
public static UserGroupGroupRole findByPrimaryKey(UserGroupGroupRolePK userGroupGroupRolePK)
throws NoSuchUserGroupGroupRoleException,
com.liferay.portal.SystemException
- Throws:
NoSuchUserGroupGroupRoleException
com.liferay.portal.SystemException
fetchByPrimaryKey
public static UserGroupGroupRole fetchByPrimaryKey(UserGroupGroupRolePK userGroupGroupRolePK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUserGroupId
public static java.util.List<UserGroupGroupRole> findByUserGroupId(long userGroupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUserGroupId
public static java.util.List<UserGroupGroupRole> findByUserGroupId(long userGroupId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.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.SystemException
- Throws:
com.liferay.portal.SystemException
findByUserGroupId_First
public static 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
public static 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
public static 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
public static java.util.List<UserGroupGroupRole> findByGroupId(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByGroupId
public static java.util.List<UserGroupGroupRole> findByGroupId(long groupId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.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.SystemException
- Throws:
com.liferay.portal.SystemException
findByGroupId_First
public static 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
public static 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
public static 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
public static java.util.List<UserGroupGroupRole> findByRoleId(long roleId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByRoleId
public static java.util.List<UserGroupGroupRole> findByRoleId(long roleId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.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.SystemException
- Throws:
com.liferay.portal.SystemException
findByRoleId_First
public static 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
public static 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
public static 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
public static java.util.List<UserGroupGroupRole> findByU_G(long userGroupId,
long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByU_G
public static 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
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.SystemException
- Throws:
com.liferay.portal.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.SystemException
- Throws:
NoSuchUserGroupGroupRoleException
com.liferay.portal.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.SystemException
- Throws:
NoSuchUserGroupGroupRoleException
com.liferay.portal.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.SystemException
- Throws:
NoSuchUserGroupGroupRoleException
com.liferay.portal.SystemException
findByG_R
public static java.util.List<UserGroupGroupRole> findByG_R(long groupId,
long roleId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByG_R
public static 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
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.SystemException
- Throws:
com.liferay.portal.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.SystemException
- Throws:
NoSuchUserGroupGroupRoleException
com.liferay.portal.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.SystemException
- Throws:
NoSuchUserGroupGroupRoleException
com.liferay.portal.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.SystemException
- Throws:
NoSuchUserGroupGroupRoleException
com.liferay.portal.SystemException
findWithDynamicQuery
public static 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
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.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static java.util.List<UserGroupGroupRole> findAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static java.util.List<UserGroupGroupRole> findAll(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static 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
public static void removeByUserGroupId(long userGroupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByGroupId
public static void removeByGroupId(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByRoleId
public static void removeByRoleId(long roleId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByU_G
public static void removeByU_G(long userGroupId,
long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByG_R
public static void removeByG_R(long groupId,
long roleId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeAll
public static void removeAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByUserGroupId
public static int countByUserGroupId(long userGroupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByGroupId
public static int countByGroupId(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByRoleId
public static int countByRoleId(long roleId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByU_G
public static int countByU_G(long userGroupId,
long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByG_R
public static int countByG_R(long groupId,
long roleId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countAll
public static int countAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getPersistence
public static UserGroupGroupRolePersistence getPersistence()
setPersistence
public void setPersistence(UserGroupGroupRolePersistence persistence)