|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@ProviderType public interface UserGroupGroupRolePersistence
The persistence interface for the user group group role service.
Caching information and settings can be found in portal.properties
UserGroupGroupRolePersistenceImpl
,
UserGroupGroupRoleUtil
Method Summary | |
---|---|
void |
cacheResult(List<UserGroupGroupRole> userGroupGroupRoles)
Caches the user group group roles in the entity cache if it is enabled. |
void |
cacheResult(UserGroupGroupRole userGroupGroupRole)
Caches the user group group role in the entity cache if it is enabled. |
int |
countAll()
Returns the number of user group group roles. |
int |
countByG_R(long groupId,
long roleId)
Returns the number of user group group roles where groupId = ? and roleId = ?. |
int |
countByGroupId(long groupId)
Returns the number of user group group roles where groupId = ?. |
int |
countByRoleId(long roleId)
Returns the number of user group group roles where roleId = ?. |
int |
countByU_G(long userGroupId,
long groupId)
Returns the number of user group group roles where userGroupId = ? and groupId = ?. |
int |
countByUserGroupId(long userGroupId)
Returns the number of user group group roles where userGroupId = ?. |
UserGroupGroupRole |
create(UserGroupGroupRolePK userGroupGroupRolePK)
Creates a new user group group role with the primary key. |
UserGroupGroupRole |
fetchByG_R_First(long groupId,
long roleId,
OrderByComparator orderByComparator)
Returns the first user group group role in the ordered set where groupId = ? and roleId = ?. |
UserGroupGroupRole |
fetchByG_R_Last(long groupId,
long roleId,
OrderByComparator orderByComparator)
Returns the last user group group role in the ordered set where groupId = ? and roleId = ?. |
UserGroupGroupRole |
fetchByGroupId_First(long groupId,
OrderByComparator orderByComparator)
Returns the first user group group role in the ordered set where groupId = ?. |
UserGroupGroupRole |
fetchByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
Returns the last user group group role in the ordered set where groupId = ?. |
UserGroupGroupRole |
fetchByPrimaryKey(UserGroupGroupRolePK userGroupGroupRolePK)
Returns the user group group role with the primary key or returns null if it could not be found. |
UserGroupGroupRole |
fetchByRoleId_First(long roleId,
OrderByComparator orderByComparator)
Returns the first user group group role in the ordered set where roleId = ?. |
UserGroupGroupRole |
fetchByRoleId_Last(long roleId,
OrderByComparator orderByComparator)
Returns the last user group group role in the ordered set where roleId = ?. |
UserGroupGroupRole |
fetchByU_G_First(long userGroupId,
long groupId,
OrderByComparator orderByComparator)
Returns the first user group group role in the ordered set where userGroupId = ? and groupId = ?. |
UserGroupGroupRole |
fetchByU_G_Last(long userGroupId,
long groupId,
OrderByComparator orderByComparator)
Returns the last user group group role in the ordered set where userGroupId = ? and groupId = ?. |
UserGroupGroupRole |
fetchByUserGroupId_First(long userGroupId,
OrderByComparator orderByComparator)
Returns the first user group group role in the ordered set where userGroupId = ?. |
UserGroupGroupRole |
fetchByUserGroupId_Last(long userGroupId,
OrderByComparator orderByComparator)
Returns the last user group group role in the ordered set where userGroupId = ?. |
List<UserGroupGroupRole> |
findAll()
Returns all the user group group roles. |
List<UserGroupGroupRole> |
findAll(int start,
int end)
Returns a range of all the user group group roles. |
List<UserGroupGroupRole> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the user group group roles. |
UserGroupGroupRole |
findByG_R_First(long groupId,
long roleId,
OrderByComparator orderByComparator)
Returns the first user group group role in the ordered set where groupId = ? and roleId = ?. |
UserGroupGroupRole |
findByG_R_Last(long groupId,
long roleId,
OrderByComparator orderByComparator)
Returns the last user group group role in the ordered set where groupId = ? and roleId = ?. |
UserGroupGroupRole[] |
findByG_R_PrevAndNext(UserGroupGroupRolePK userGroupGroupRolePK,
long groupId,
long roleId,
OrderByComparator orderByComparator)
Returns the user group group roles before and after the current user group group role in the ordered set where groupId = ? and roleId = ?. |
List<UserGroupGroupRole> |
findByG_R(long groupId,
long roleId)
Returns all the user group group roles where groupId = ? and roleId = ?. |
List<UserGroupGroupRole> |
findByG_R(long groupId,
long roleId,
int start,
int end)
Returns a range of all the user group group roles where groupId = ? and roleId = ?. |
List<UserGroupGroupRole> |
findByG_R(long groupId,
long roleId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the user group group roles where groupId = ? and roleId = ?. |
UserGroupGroupRole |
findByGroupId_First(long groupId,
OrderByComparator orderByComparator)
Returns the first user group group role in the ordered set where groupId = ?. |
UserGroupGroupRole |
findByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
Returns the last user group group role in the ordered set where groupId = ?. |
UserGroupGroupRole[] |
findByGroupId_PrevAndNext(UserGroupGroupRolePK userGroupGroupRolePK,
long groupId,
OrderByComparator orderByComparator)
Returns the user group group roles before and after the current user group group role in the ordered set where groupId = ?. |
List<UserGroupGroupRole> |
findByGroupId(long groupId)
Returns all the user group group roles where groupId = ?. |
List<UserGroupGroupRole> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the user group group roles where groupId = ?. |
List<UserGroupGroupRole> |
findByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the user group group roles where groupId = ?. |
UserGroupGroupRole |
findByPrimaryKey(UserGroupGroupRolePK userGroupGroupRolePK)
Returns the user group group role with the primary key or throws a NoSuchUserGroupGroupRoleException if it could not be found. |
UserGroupGroupRole |
findByRoleId_First(long roleId,
OrderByComparator orderByComparator)
Returns the first user group group role in the ordered set where roleId = ?. |
UserGroupGroupRole |
findByRoleId_Last(long roleId,
OrderByComparator orderByComparator)
Returns the last user group group role in the ordered set where roleId = ?. |
UserGroupGroupRole[] |
findByRoleId_PrevAndNext(UserGroupGroupRolePK userGroupGroupRolePK,
long roleId,
OrderByComparator orderByComparator)
Returns the user group group roles before and after the current user group group role in the ordered set where roleId = ?. |
List<UserGroupGroupRole> |
findByRoleId(long roleId)
Returns all the user group group roles where roleId = ?. |
List<UserGroupGroupRole> |
findByRoleId(long roleId,
int start,
int end)
Returns a range of all the user group group roles where roleId = ?. |
List<UserGroupGroupRole> |
findByRoleId(long roleId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the user group group roles where roleId = ?. |
UserGroupGroupRole |
findByU_G_First(long userGroupId,
long groupId,
OrderByComparator orderByComparator)
Returns the first user group group role in the ordered set where userGroupId = ? and groupId = ?. |
UserGroupGroupRole |
findByU_G_Last(long userGroupId,
long groupId,
OrderByComparator orderByComparator)
Returns the last user group group role in the ordered set where userGroupId = ? and groupId = ?. |
UserGroupGroupRole[] |
findByU_G_PrevAndNext(UserGroupGroupRolePK userGroupGroupRolePK,
long userGroupId,
long groupId,
OrderByComparator orderByComparator)
Returns the user group group roles before and after the current user group group role in the ordered set where userGroupId = ? and groupId = ?. |
List<UserGroupGroupRole> |
findByU_G(long userGroupId,
long groupId)
Returns all the user group group roles where userGroupId = ? and groupId = ?. |
List<UserGroupGroupRole> |
findByU_G(long userGroupId,
long groupId,
int start,
int end)
Returns a range of all the user group group roles where userGroupId = ? and groupId = ?. |
List<UserGroupGroupRole> |
findByU_G(long userGroupId,
long groupId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the user group group roles where userGroupId = ? and groupId = ?. |
UserGroupGroupRole |
findByUserGroupId_First(long userGroupId,
OrderByComparator orderByComparator)
Returns the first user group group role in the ordered set where userGroupId = ?. |
UserGroupGroupRole |
findByUserGroupId_Last(long userGroupId,
OrderByComparator orderByComparator)
Returns the last user group group role in the ordered set where userGroupId = ?. |
UserGroupGroupRole[] |
findByUserGroupId_PrevAndNext(UserGroupGroupRolePK userGroupGroupRolePK,
long userGroupId,
OrderByComparator orderByComparator)
Returns the user group group roles before and after the current user group group role in the ordered set where userGroupId = ?. |
List<UserGroupGroupRole> |
findByUserGroupId(long userGroupId)
Returns all the user group group roles where userGroupId = ?. |
List<UserGroupGroupRole> |
findByUserGroupId(long userGroupId,
int start,
int end)
Returns a range of all the user group group roles where userGroupId = ?. |
List<UserGroupGroupRole> |
findByUserGroupId(long userGroupId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the user group group roles where userGroupId = ?. |
UserGroupGroupRole |
remove(UserGroupGroupRolePK userGroupGroupRolePK)
Removes the user group group role with the primary key from the database. |
void |
removeAll()
Removes all the user group group roles from the database. |
void |
removeByG_R(long groupId,
long roleId)
Removes all the user group group roles where groupId = ? and roleId = ? from the database. |
void |
removeByGroupId(long groupId)
Removes all the user group group roles where groupId = ? from the database. |
void |
removeByRoleId(long roleId)
Removes all the user group group roles where roleId = ? from the database. |
void |
removeByU_G(long userGroupId,
long groupId)
Removes all the user group group roles where userGroupId = ? and groupId = ? from the database. |
void |
removeByUserGroupId(long userGroupId)
Removes all the user group group roles where userGroupId = ? from the database. |
UserGroupGroupRole |
updateImpl(UserGroupGroupRole userGroupGroupRole)
|
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
---|
clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update, update, update |
Method Detail |
---|
List<UserGroupGroupRole> findByUserGroupId(long userGroupId) throws SystemException
userGroupId
- the user group ID
SystemException
- if a system exception occurredList<UserGroupGroupRole> findByUserGroupId(long userGroupId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from UserGroupGroupRoleModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
userGroupId
- the user group IDstart
- the lower bound of the range of user group group rolesend
- the upper bound of the range of user group group roles (not inclusive)
SystemException
- if a system exception occurredList<UserGroupGroupRole> findByUserGroupId(long userGroupId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from UserGroupGroupRoleModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
userGroupId
- the user group IDstart
- the lower bound of the range of user group group rolesend
- the upper bound of the range of user group group roles (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredUserGroupGroupRole findByUserGroupId_First(long userGroupId, OrderByComparator orderByComparator) throws NoSuchUserGroupGroupRoleException, SystemException
userGroupId
- the user group IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchUserGroupGroupRoleException
- if a matching user group group role could not be found
SystemException
- if a system exception occurredUserGroupGroupRole fetchByUserGroupId_First(long userGroupId, OrderByComparator orderByComparator) throws SystemException
userGroupId
- the user group IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching user group group role could not be found
SystemException
- if a system exception occurredUserGroupGroupRole findByUserGroupId_Last(long userGroupId, OrderByComparator orderByComparator) throws NoSuchUserGroupGroupRoleException, SystemException
userGroupId
- the user group IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchUserGroupGroupRoleException
- if a matching user group group role could not be found
SystemException
- if a system exception occurredUserGroupGroupRole fetchByUserGroupId_Last(long userGroupId, OrderByComparator orderByComparator) throws SystemException
userGroupId
- the user group IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching user group group role could not be found
SystemException
- if a system exception occurredUserGroupGroupRole[] findByUserGroupId_PrevAndNext(UserGroupGroupRolePK userGroupGroupRolePK, long userGroupId, OrderByComparator orderByComparator) throws NoSuchUserGroupGroupRoleException, SystemException
userGroupGroupRolePK
- the primary key of the current user group group roleuserGroupId
- the user group IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchUserGroupGroupRoleException
- if a user group group role with the primary key could not be found
SystemException
- if a system exception occurredvoid removeByUserGroupId(long userGroupId) throws SystemException
userGroupId
- the user group ID
SystemException
- if a system exception occurredint countByUserGroupId(long userGroupId) throws SystemException
userGroupId
- the user group ID
SystemException
- if a system exception occurredList<UserGroupGroupRole> findByGroupId(long groupId) throws SystemException
groupId
- the group ID
SystemException
- if a system exception occurredList<UserGroupGroupRole> findByGroupId(long groupId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from UserGroupGroupRoleModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDstart
- the lower bound of the range of user group group rolesend
- the upper bound of the range of user group group roles (not inclusive)
SystemException
- if a system exception occurredList<UserGroupGroupRole> findByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from UserGroupGroupRoleModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDstart
- the lower bound of the range of user group group rolesend
- the upper bound of the range of user group group roles (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredUserGroupGroupRole findByGroupId_First(long groupId, OrderByComparator orderByComparator) throws NoSuchUserGroupGroupRoleException, SystemException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchUserGroupGroupRoleException
- if a matching user group group role could not be found
SystemException
- if a system exception occurredUserGroupGroupRole fetchByGroupId_First(long groupId, OrderByComparator orderByComparator) throws SystemException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching user group group role could not be found
SystemException
- if a system exception occurredUserGroupGroupRole findByGroupId_Last(long groupId, OrderByComparator orderByComparator) throws NoSuchUserGroupGroupRoleException, SystemException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchUserGroupGroupRoleException
- if a matching user group group role could not be found
SystemException
- if a system exception occurredUserGroupGroupRole fetchByGroupId_Last(long groupId, OrderByComparator orderByComparator) throws SystemException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching user group group role could not be found
SystemException
- if a system exception occurredUserGroupGroupRole[] findByGroupId_PrevAndNext(UserGroupGroupRolePK userGroupGroupRolePK, long groupId, OrderByComparator orderByComparator) throws NoSuchUserGroupGroupRoleException, SystemException
userGroupGroupRolePK
- the primary key of the current user group group rolegroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchUserGroupGroupRoleException
- if a user group group role with the primary key could not be found
SystemException
- if a system exception occurredvoid removeByGroupId(long groupId) throws SystemException
groupId
- the group ID
SystemException
- if a system exception occurredint countByGroupId(long groupId) throws SystemException
groupId
- the group ID
SystemException
- if a system exception occurredList<UserGroupGroupRole> findByRoleId(long roleId) throws SystemException
roleId
- the role ID
SystemException
- if a system exception occurredList<UserGroupGroupRole> findByRoleId(long roleId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from UserGroupGroupRoleModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
roleId
- the role IDstart
- the lower bound of the range of user group group rolesend
- the upper bound of the range of user group group roles (not inclusive)
SystemException
- if a system exception occurredList<UserGroupGroupRole> findByRoleId(long roleId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from UserGroupGroupRoleModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
roleId
- the role IDstart
- the lower bound of the range of user group group rolesend
- the upper bound of the range of user group group roles (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredUserGroupGroupRole findByRoleId_First(long roleId, OrderByComparator orderByComparator) throws NoSuchUserGroupGroupRoleException, SystemException
roleId
- the role IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchUserGroupGroupRoleException
- if a matching user group group role could not be found
SystemException
- if a system exception occurredUserGroupGroupRole fetchByRoleId_First(long roleId, OrderByComparator orderByComparator) throws SystemException
roleId
- the role IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching user group group role could not be found
SystemException
- if a system exception occurredUserGroupGroupRole findByRoleId_Last(long roleId, OrderByComparator orderByComparator) throws NoSuchUserGroupGroupRoleException, SystemException
roleId
- the role IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchUserGroupGroupRoleException
- if a matching user group group role could not be found
SystemException
- if a system exception occurredUserGroupGroupRole fetchByRoleId_Last(long roleId, OrderByComparator orderByComparator) throws SystemException
roleId
- the role IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching user group group role could not be found
SystemException
- if a system exception occurredUserGroupGroupRole[] findByRoleId_PrevAndNext(UserGroupGroupRolePK userGroupGroupRolePK, long roleId, OrderByComparator orderByComparator) throws NoSuchUserGroupGroupRoleException, SystemException
userGroupGroupRolePK
- the primary key of the current user group group roleroleId
- the role IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchUserGroupGroupRoleException
- if a user group group role with the primary key could not be found
SystemException
- if a system exception occurredvoid removeByRoleId(long roleId) throws SystemException
roleId
- the role ID
SystemException
- if a system exception occurredint countByRoleId(long roleId) throws SystemException
roleId
- the role ID
SystemException
- if a system exception occurredList<UserGroupGroupRole> findByU_G(long userGroupId, long groupId) throws SystemException
userGroupId
- the user group IDgroupId
- the group ID
SystemException
- if a system exception occurredList<UserGroupGroupRole> findByU_G(long userGroupId, long groupId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from UserGroupGroupRoleModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
userGroupId
- the user group IDgroupId
- the group IDstart
- the lower bound of the range of user group group rolesend
- the upper bound of the range of user group group roles (not inclusive)
SystemException
- if a system exception occurredList<UserGroupGroupRole> findByU_G(long userGroupId, long groupId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from UserGroupGroupRoleModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
userGroupId
- the user group IDgroupId
- the group IDstart
- the lower bound of the range of user group group rolesend
- the upper bound of the range of user group group roles (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredUserGroupGroupRole findByU_G_First(long userGroupId, long groupId, OrderByComparator orderByComparator) throws NoSuchUserGroupGroupRoleException, SystemException
userGroupId
- the user group IDgroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchUserGroupGroupRoleException
- if a matching user group group role could not be found
SystemException
- if a system exception occurredUserGroupGroupRole fetchByU_G_First(long userGroupId, long groupId, OrderByComparator orderByComparator) throws SystemException
userGroupId
- the user group IDgroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching user group group role could not be found
SystemException
- if a system exception occurredUserGroupGroupRole findByU_G_Last(long userGroupId, long groupId, OrderByComparator orderByComparator) throws NoSuchUserGroupGroupRoleException, SystemException
userGroupId
- the user group IDgroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchUserGroupGroupRoleException
- if a matching user group group role could not be found
SystemException
- if a system exception occurredUserGroupGroupRole fetchByU_G_Last(long userGroupId, long groupId, OrderByComparator orderByComparator) throws SystemException
userGroupId
- the user group IDgroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching user group group role could not be found
SystemException
- if a system exception occurredUserGroupGroupRole[] findByU_G_PrevAndNext(UserGroupGroupRolePK userGroupGroupRolePK, long userGroupId, long groupId, OrderByComparator orderByComparator) throws NoSuchUserGroupGroupRoleException, SystemException
userGroupGroupRolePK
- the primary key of the current user group group roleuserGroupId
- the user group IDgroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchUserGroupGroupRoleException
- if a user group group role with the primary key could not be found
SystemException
- if a system exception occurredvoid removeByU_G(long userGroupId, long groupId) throws SystemException
userGroupId
- the user group IDgroupId
- the group ID
SystemException
- if a system exception occurredint countByU_G(long userGroupId, long groupId) throws SystemException
userGroupId
- the user group IDgroupId
- the group ID
SystemException
- if a system exception occurredList<UserGroupGroupRole> findByG_R(long groupId, long roleId) throws SystemException
groupId
- the group IDroleId
- the role ID
SystemException
- if a system exception occurredList<UserGroupGroupRole> findByG_R(long groupId, long roleId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from UserGroupGroupRoleModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDroleId
- the role IDstart
- the lower bound of the range of user group group rolesend
- the upper bound of the range of user group group roles (not inclusive)
SystemException
- if a system exception occurredList<UserGroupGroupRole> findByG_R(long groupId, long roleId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from UserGroupGroupRoleModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDroleId
- the role IDstart
- the lower bound of the range of user group group rolesend
- the upper bound of the range of user group group roles (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredUserGroupGroupRole findByG_R_First(long groupId, long roleId, OrderByComparator orderByComparator) throws NoSuchUserGroupGroupRoleException, SystemException
groupId
- the group IDroleId
- the role IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchUserGroupGroupRoleException
- if a matching user group group role could not be found
SystemException
- if a system exception occurredUserGroupGroupRole fetchByG_R_First(long groupId, long roleId, OrderByComparator orderByComparator) throws SystemException
groupId
- the group IDroleId
- the role IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching user group group role could not be found
SystemException
- if a system exception occurredUserGroupGroupRole findByG_R_Last(long groupId, long roleId, OrderByComparator orderByComparator) throws NoSuchUserGroupGroupRoleException, SystemException
groupId
- the group IDroleId
- the role IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchUserGroupGroupRoleException
- if a matching user group group role could not be found
SystemException
- if a system exception occurredUserGroupGroupRole fetchByG_R_Last(long groupId, long roleId, OrderByComparator orderByComparator) throws SystemException
groupId
- the group IDroleId
- the role IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching user group group role could not be found
SystemException
- if a system exception occurredUserGroupGroupRole[] findByG_R_PrevAndNext(UserGroupGroupRolePK userGroupGroupRolePK, long groupId, long roleId, OrderByComparator orderByComparator) throws NoSuchUserGroupGroupRoleException, SystemException
userGroupGroupRolePK
- the primary key of the current user group group rolegroupId
- the group IDroleId
- the role IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchUserGroupGroupRoleException
- if a user group group role with the primary key could not be found
SystemException
- if a system exception occurredvoid removeByG_R(long groupId, long roleId) throws SystemException
groupId
- the group IDroleId
- the role ID
SystemException
- if a system exception occurredint countByG_R(long groupId, long roleId) throws SystemException
groupId
- the group IDroleId
- the role ID
SystemException
- if a system exception occurredvoid cacheResult(UserGroupGroupRole userGroupGroupRole)
userGroupGroupRole
- the user group group rolevoid cacheResult(List<UserGroupGroupRole> userGroupGroupRoles)
userGroupGroupRoles
- the user group group rolesUserGroupGroupRole create(UserGroupGroupRolePK userGroupGroupRolePK)
userGroupGroupRolePK
- the primary key for the new user group group role
UserGroupGroupRole remove(UserGroupGroupRolePK userGroupGroupRolePK) throws NoSuchUserGroupGroupRoleException, SystemException
userGroupGroupRolePK
- the primary key of the user group group role
NoSuchUserGroupGroupRoleException
- if a user group group role with the primary key could not be found
SystemException
- if a system exception occurredUserGroupGroupRole updateImpl(UserGroupGroupRole userGroupGroupRole) throws SystemException
SystemException
UserGroupGroupRole findByPrimaryKey(UserGroupGroupRolePK userGroupGroupRolePK) throws NoSuchUserGroupGroupRoleException, SystemException
NoSuchUserGroupGroupRoleException
if it could not be found.
userGroupGroupRolePK
- the primary key of the user group group role
NoSuchUserGroupGroupRoleException
- if a user group group role with the primary key could not be found
SystemException
- if a system exception occurredUserGroupGroupRole fetchByPrimaryKey(UserGroupGroupRolePK userGroupGroupRolePK) throws SystemException
null
if it could not be found.
userGroupGroupRolePK
- the primary key of the user group group role
null
if a user group group role with the primary key could not be found
SystemException
- if a system exception occurredList<UserGroupGroupRole> findAll() throws SystemException
SystemException
- if a system exception occurredList<UserGroupGroupRole> findAll(int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from UserGroupGroupRoleModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start
- the lower bound of the range of user group group rolesend
- the upper bound of the range of user group group roles (not inclusive)
SystemException
- if a system exception occurredList<UserGroupGroupRole> findAll(int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from UserGroupGroupRoleModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start
- the lower bound of the range of user group group rolesend
- the upper bound of the range of user group group roles (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredvoid removeAll() throws SystemException
SystemException
- if a system exception occurredint countAll() throws SystemException
SystemException
- if a system exception occurred
|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |