@ProviderType public class UserGroupGroupRoleLocalServiceWrapper extends java.lang.Object implements UserGroupGroupRoleLocalService, ServiceWrapper<UserGroupGroupRoleLocalService>
UserGroupGroupRoleLocalService.UserGroupGroupRoleLocalService| Constructor and Description |
|---|
UserGroupGroupRoleLocalServiceWrapper(UserGroupGroupRoleLocalService userGroupGroupRoleLocalService) |
| Modifier and Type | Method and Description |
|---|---|
UserGroupGroupRole |
addUserGroupGroupRole(UserGroupGroupRole userGroupGroupRole)
Adds the user group group role to the database.
|
void |
addUserGroupGroupRoles(long[] userGroupIds,
long groupId,
long roleId) |
void |
addUserGroupGroupRoles(long userGroupId,
long groupId,
long[] roleIds) |
UserGroupGroupRole |
createUserGroupGroupRole(UserGroupGroupRolePK userGroupGroupRolePK)
Creates a new user group group role with the primary key.
|
UserGroupGroupRole |
deleteUserGroupGroupRole(UserGroupGroupRole userGroupGroupRole)
Deletes the user group group role from the database.
|
UserGroupGroupRole |
deleteUserGroupGroupRole(UserGroupGroupRolePK userGroupGroupRolePK)
Deletes the user group group role with the primary key from the database.
|
void |
deleteUserGroupGroupRoles(long[] userGroupIds,
long groupId) |
void |
deleteUserGroupGroupRoles(long[] userGroupIds,
long groupId,
long roleId) |
void |
deleteUserGroupGroupRoles(long userGroupId,
long[] groupIds) |
void |
deleteUserGroupGroupRoles(long userGroupId,
long groupId,
long[] roleIds) |
void |
deleteUserGroupGroupRolesByGroupId(long groupId) |
void |
deleteUserGroupGroupRolesByRoleId(long roleId) |
void |
deleteUserGroupGroupRolesByUserGroupId(long userGroupId) |
DynamicQuery |
dynamicQuery() |
java.util.List |
dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.
|
java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows.
|
java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
Performs a dynamic query on the database and returns an ordered range of the matching rows.
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery)
Returns the number of rows that match the dynamic query.
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
Returns the number of rows that match the dynamic query.
|
UserGroupGroupRole |
fetchUserGroupGroupRole(UserGroupGroupRolePK userGroupGroupRolePK) |
java.lang.String |
getBeanIdentifier()
Returns the Spring bean ID for this bean.
|
PersistedModel |
getPersistedModel(java.io.Serializable primaryKeyObj) |
UserGroupGroupRole |
getUserGroupGroupRole(UserGroupGroupRolePK userGroupGroupRolePK)
Returns the user group group role with the primary key.
|
java.util.List<UserGroupGroupRole> |
getUserGroupGroupRoles(int start,
int end)
Returns a range of all the user group group roles.
|
java.util.List<UserGroupGroupRole> |
getUserGroupGroupRoles(long userGroupId) |
java.util.List<UserGroupGroupRole> |
getUserGroupGroupRoles(long userGroupId,
long groupId) |
java.util.List<UserGroupGroupRole> |
getUserGroupGroupRolesByGroupAndRole(long groupId,
long roleId) |
java.util.List<UserGroupGroupRole> |
getUserGroupGroupRolesByUser(long userId) |
int |
getUserGroupGroupRolesCount()
Returns the number of user group group roles.
|
UserGroupGroupRoleLocalService |
getWrappedService() |
UserGroupGroupRoleLocalService |
getWrappedUserGroupGroupRoleLocalService()
Deprecated.
As of 6.1.0, replaced by
getWrappedService() |
boolean |
hasUserGroupGroupRole(long userGroupId,
long groupId,
long roleId) |
boolean |
hasUserGroupGroupRole(long userGroupId,
long groupId,
java.lang.String roleName) |
void |
setBeanIdentifier(java.lang.String beanIdentifier)
Sets the Spring bean ID for this bean.
|
void |
setWrappedService(UserGroupGroupRoleLocalService userGroupGroupRoleLocalService) |
void |
setWrappedUserGroupGroupRoleLocalService(UserGroupGroupRoleLocalService userGroupGroupRoleLocalService)
Deprecated.
As of 6.1.0, replaced by
setWrappedService(com.liferay.portal.service.UserGroupGroupRoleLocalService) |
UserGroupGroupRole |
updateUserGroupGroupRole(UserGroupGroupRole userGroupGroupRole)
Updates the user group group role in the database or adds it if it does not yet exist.
|
public UserGroupGroupRoleLocalServiceWrapper(UserGroupGroupRoleLocalService userGroupGroupRoleLocalService)
public UserGroupGroupRole addUserGroupGroupRole(UserGroupGroupRole userGroupGroupRole) throws SystemException
addUserGroupGroupRole in interface UserGroupGroupRoleLocalServiceuserGroupGroupRole - the user group group roleSystemException - if a system exception occurredpublic UserGroupGroupRole createUserGroupGroupRole(UserGroupGroupRolePK userGroupGroupRolePK)
createUserGroupGroupRole in interface UserGroupGroupRoleLocalServiceuserGroupGroupRolePK - the primary key for the new user group group rolepublic UserGroupGroupRole deleteUserGroupGroupRole(UserGroupGroupRolePK userGroupGroupRolePK) throws PortalException, SystemException
deleteUserGroupGroupRole in interface UserGroupGroupRoleLocalServiceuserGroupGroupRolePK - the primary key of the user group group rolePortalException - if a user group group role with the primary key could not be foundSystemException - if a system exception occurredpublic UserGroupGroupRole deleteUserGroupGroupRole(UserGroupGroupRole userGroupGroupRole) throws SystemException
deleteUserGroupGroupRole in interface UserGroupGroupRoleLocalServiceuserGroupGroupRole - the user group group roleSystemException - if a system exception occurredpublic DynamicQuery dynamicQuery()
dynamicQuery in interface UserGroupGroupRoleLocalServicepublic java.util.List dynamicQuery(DynamicQuery dynamicQuery) throws SystemException
dynamicQuery in interface UserGroupGroupRoleLocalServicedynamicQuery - the dynamic querySystemException - if a system exception occurredpublic java.util.List dynamicQuery(DynamicQuery dynamicQuery, 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.
dynamicQuery in interface UserGroupGroupRoleLocalServicedynamicQuery - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)SystemException - if a system exception occurredpublic java.util.List dynamicQuery(DynamicQuery dynamicQuery, 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.
dynamicQuery in interface UserGroupGroupRoleLocalServicedynamicQuery - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)orderByComparator - the comparator to order the results by (optionally null)SystemException - if a system exception occurredpublic long dynamicQueryCount(DynamicQuery dynamicQuery) throws SystemException
dynamicQueryCount in interface UserGroupGroupRoleLocalServicedynamicQuery - the dynamic querySystemException - if a system exception occurredpublic long dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection) throws SystemException
dynamicQueryCount in interface UserGroupGroupRoleLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the querySystemException - if a system exception occurredpublic UserGroupGroupRole fetchUserGroupGroupRole(UserGroupGroupRolePK userGroupGroupRolePK) throws SystemException
fetchUserGroupGroupRole in interface UserGroupGroupRoleLocalServiceSystemExceptionpublic UserGroupGroupRole getUserGroupGroupRole(UserGroupGroupRolePK userGroupGroupRolePK) throws PortalException, SystemException
getUserGroupGroupRole in interface UserGroupGroupRoleLocalServiceuserGroupGroupRolePK - the primary key of the user group group rolePortalException - if a user group group role with the primary key could not be foundSystemException - if a system exception occurredpublic PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj) throws PortalException, SystemException
getPersistedModel in interface PersistedModelLocalServicegetPersistedModel in interface UserGroupGroupRoleLocalServicePortalExceptionSystemExceptionpublic java.util.List<UserGroupGroupRole> getUserGroupGroupRoles(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.
getUserGroupGroupRoles in interface UserGroupGroupRoleLocalServicestart - 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 occurredpublic int getUserGroupGroupRolesCount()
throws SystemException
getUserGroupGroupRolesCount in interface UserGroupGroupRoleLocalServiceSystemException - if a system exception occurredpublic UserGroupGroupRole updateUserGroupGroupRole(UserGroupGroupRole userGroupGroupRole) throws SystemException
updateUserGroupGroupRole in interface UserGroupGroupRoleLocalServiceuserGroupGroupRole - the user group group roleSystemException - if a system exception occurredpublic java.lang.String getBeanIdentifier()
getBeanIdentifier in interface UserGroupGroupRoleLocalServicepublic void setBeanIdentifier(java.lang.String beanIdentifier)
setBeanIdentifier in interface UserGroupGroupRoleLocalServicebeanIdentifier - the Spring bean ID for this beanpublic void addUserGroupGroupRoles(long userGroupId,
long groupId,
long[] roleIds)
throws SystemException
addUserGroupGroupRoles in interface UserGroupGroupRoleLocalServiceSystemExceptionpublic void addUserGroupGroupRoles(long[] userGroupIds,
long groupId,
long roleId)
throws SystemException
addUserGroupGroupRoles in interface UserGroupGroupRoleLocalServiceSystemExceptionpublic void deleteUserGroupGroupRoles(long userGroupId,
long groupId,
long[] roleIds)
throws SystemException
deleteUserGroupGroupRoles in interface UserGroupGroupRoleLocalServiceSystemExceptionpublic void deleteUserGroupGroupRoles(long userGroupId,
long[] groupIds)
throws SystemException
deleteUserGroupGroupRoles in interface UserGroupGroupRoleLocalServiceSystemExceptionpublic void deleteUserGroupGroupRoles(long[] userGroupIds,
long groupId)
throws SystemException
deleteUserGroupGroupRoles in interface UserGroupGroupRoleLocalServiceSystemExceptionpublic void deleteUserGroupGroupRoles(long[] userGroupIds,
long groupId,
long roleId)
throws SystemException
deleteUserGroupGroupRoles in interface UserGroupGroupRoleLocalServiceSystemExceptionpublic void deleteUserGroupGroupRolesByGroupId(long groupId)
throws SystemException
deleteUserGroupGroupRolesByGroupId in interface UserGroupGroupRoleLocalServiceSystemExceptionpublic void deleteUserGroupGroupRolesByRoleId(long roleId)
throws SystemException
deleteUserGroupGroupRolesByRoleId in interface UserGroupGroupRoleLocalServiceSystemExceptionpublic void deleteUserGroupGroupRolesByUserGroupId(long userGroupId)
throws SystemException
deleteUserGroupGroupRolesByUserGroupId in interface UserGroupGroupRoleLocalServiceSystemExceptionpublic java.util.List<UserGroupGroupRole> getUserGroupGroupRoles(long userGroupId) throws SystemException
getUserGroupGroupRoles in interface UserGroupGroupRoleLocalServiceSystemExceptionpublic java.util.List<UserGroupGroupRole> getUserGroupGroupRoles(long userGroupId, long groupId) throws SystemException
getUserGroupGroupRoles in interface UserGroupGroupRoleLocalServiceSystemExceptionpublic java.util.List<UserGroupGroupRole> getUserGroupGroupRolesByGroupAndRole(long groupId, long roleId) throws SystemException
getUserGroupGroupRolesByGroupAndRole in interface UserGroupGroupRoleLocalServiceSystemExceptionpublic java.util.List<UserGroupGroupRole> getUserGroupGroupRolesByUser(long userId) throws SystemException
getUserGroupGroupRolesByUser in interface UserGroupGroupRoleLocalServiceSystemExceptionpublic boolean hasUserGroupGroupRole(long userGroupId,
long groupId,
long roleId)
throws SystemException
hasUserGroupGroupRole in interface UserGroupGroupRoleLocalServiceSystemExceptionpublic boolean hasUserGroupGroupRole(long userGroupId,
long groupId,
java.lang.String roleName)
throws PortalException,
SystemException
hasUserGroupGroupRole in interface UserGroupGroupRoleLocalServicePortalExceptionSystemExceptionpublic UserGroupGroupRoleLocalService getWrappedUserGroupGroupRoleLocalService()
getWrappedService()public void setWrappedUserGroupGroupRoleLocalService(UserGroupGroupRoleLocalService userGroupGroupRoleLocalService)
setWrappedService(com.liferay.portal.service.UserGroupGroupRoleLocalService)public UserGroupGroupRoleLocalService getWrappedService()
getWrappedService in interface ServiceWrapper<UserGroupGroupRoleLocalService>public void setWrappedService(UserGroupGroupRoleLocalService userGroupGroupRoleLocalService)
setWrappedService in interface ServiceWrapper<UserGroupGroupRoleLocalService>