public abstract class UserGroupLocalServiceBaseImpl
extends com.liferay.portal.kernel.service.BaseLocalServiceImpl
implements com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService, com.liferay.portal.kernel.service.UserGroupLocalService
This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in UserGroupLocalServiceImpl.
UserGroupLocalServiceImpl| Modifier and Type | Field and Description |
|---|---|
protected com.liferay.counter.kernel.service.CounterLocalService |
counterLocalService |
protected com.liferay.expando.kernel.service.ExpandoRowLocalService |
expandoRowLocalService |
protected com.liferay.expando.kernel.service.persistence.ExpandoRowPersistence |
expandoRowPersistence |
protected com.liferay.exportimport.kernel.service.persistence.ExportImportConfigurationFinder |
exportImportConfigurationFinder |
protected com.liferay.exportimport.kernel.service.ExportImportConfigurationLocalService |
exportImportConfigurationLocalService |
protected com.liferay.exportimport.kernel.service.persistence.ExportImportConfigurationPersistence |
exportImportConfigurationPersistence |
protected com.liferay.exportimport.kernel.service.ExportImportLocalService |
exportImportLocalService |
protected com.liferay.portal.kernel.service.persistence.GroupFinder |
groupFinder |
protected com.liferay.portal.kernel.service.GroupLocalService |
groupLocalService |
protected com.liferay.portal.kernel.service.persistence.GroupPersistence |
groupPersistence |
protected com.liferay.portal.kernel.service.PersistedModelLocalServiceRegistry |
persistedModelLocalServiceRegistry |
protected com.liferay.portal.kernel.service.ResourceLocalService |
resourceLocalService |
protected com.liferay.portal.kernel.service.persistence.TeamFinder |
teamFinder |
protected com.liferay.portal.kernel.service.TeamLocalService |
teamLocalService |
protected com.liferay.portal.kernel.service.persistence.TeamPersistence |
teamPersistence |
protected com.liferay.portal.kernel.service.persistence.UserFinder |
userFinder |
protected com.liferay.portal.kernel.service.persistence.UserGroupFinder |
userGroupFinder |
protected com.liferay.portal.kernel.service.persistence.UserGroupGroupRoleFinder |
userGroupGroupRoleFinder |
protected com.liferay.portal.kernel.service.UserGroupGroupRoleLocalService |
userGroupGroupRoleLocalService |
protected com.liferay.portal.kernel.service.persistence.UserGroupGroupRolePersistence |
userGroupGroupRolePersistence |
protected com.liferay.portal.kernel.service.UserGroupLocalService |
userGroupLocalService |
protected com.liferay.portal.kernel.service.persistence.UserGroupPersistence |
userGroupPersistence |
protected com.liferay.portal.kernel.service.UserLocalService |
userLocalService |
protected com.liferay.portal.kernel.service.persistence.UserPersistence |
userPersistence |
| Constructor and Description |
|---|
UserGroupLocalServiceBaseImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addGroupUserGroup(long groupId,
long userGroupId) |
void |
addGroupUserGroup(long groupId,
com.liferay.portal.kernel.model.UserGroup userGroup) |
void |
addGroupUserGroups(long groupId,
List<com.liferay.portal.kernel.model.UserGroup> userGroups) |
void |
addGroupUserGroups(long groupId,
long[] userGroupIds) |
void |
addTeamUserGroup(long teamId,
long userGroupId) |
void |
addTeamUserGroup(long teamId,
com.liferay.portal.kernel.model.UserGroup userGroup) |
void |
addTeamUserGroups(long teamId,
List<com.liferay.portal.kernel.model.UserGroup> userGroups) |
void |
addTeamUserGroups(long teamId,
long[] userGroupIds) |
com.liferay.portal.kernel.model.UserGroup |
addUserGroup(com.liferay.portal.kernel.model.UserGroup userGroup)
Adds the user group to the database.
|
void |
addUserUserGroup(long userId,
long userGroupId) |
void |
addUserUserGroup(long userId,
com.liferay.portal.kernel.model.UserGroup userGroup) |
void |
addUserUserGroups(long userId,
List<com.liferay.portal.kernel.model.UserGroup> userGroups) |
void |
addUserUserGroups(long userId,
long[] userGroupIds) |
void |
afterPropertiesSet() |
void |
clearGroupUserGroups(long groupId) |
void |
clearTeamUserGroups(long teamId) |
void |
clearUserUserGroups(long userId) |
com.liferay.portal.kernel.model.UserGroup |
createUserGroup(long userGroupId)
Creates a new user group with the primary key.
|
void |
deleteGroupUserGroup(long groupId,
long userGroupId) |
void |
deleteGroupUserGroup(long groupId,
com.liferay.portal.kernel.model.UserGroup userGroup) |
void |
deleteGroupUserGroups(long groupId,
List<com.liferay.portal.kernel.model.UserGroup> userGroups) |
void |
deleteGroupUserGroups(long groupId,
long[] userGroupIds) |
com.liferay.portal.kernel.model.PersistedModel |
deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) |
void |
deleteTeamUserGroup(long teamId,
long userGroupId) |
void |
deleteTeamUserGroup(long teamId,
com.liferay.portal.kernel.model.UserGroup userGroup) |
void |
deleteTeamUserGroups(long teamId,
List<com.liferay.portal.kernel.model.UserGroup> userGroups) |
void |
deleteTeamUserGroups(long teamId,
long[] userGroupIds) |
com.liferay.portal.kernel.model.UserGroup |
deleteUserGroup(long userGroupId)
Deletes the user group with the primary key from the database.
|
com.liferay.portal.kernel.model.UserGroup |
deleteUserGroup(com.liferay.portal.kernel.model.UserGroup userGroup)
Deletes the user group from the database.
|
void |
deleteUserUserGroup(long userId,
long userGroupId) |
void |
deleteUserUserGroup(long userId,
com.liferay.portal.kernel.model.UserGroup userGroup) |
void |
deleteUserUserGroups(long userId,
List<com.liferay.portal.kernel.model.UserGroup> userGroups) |
void |
deleteUserUserGroups(long userId,
long[] userGroupIds) |
void |
destroy() |
com.liferay.portal.kernel.dao.orm.DynamicQuery |
dynamicQuery() |
<T> List<T> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.
|
<T> List<T> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows.
|
<T> List<T> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator)
Performs a dynamic query on the database and returns an ordered range of the matching rows.
|
long |
dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
Returns the number of rows matching the dynamic query.
|
long |
dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
com.liferay.portal.kernel.dao.orm.Projection projection)
Returns the number of rows matching the dynamic query.
|
com.liferay.portal.kernel.model.UserGroup |
fetchUserGroup(long userGroupId) |
com.liferay.portal.kernel.model.UserGroup |
fetchUserGroupByReferenceCode(long companyId,
String externalReferenceCode)
Returns the user group with the matching external reference code and company.
|
com.liferay.portal.kernel.model.UserGroup |
fetchUserGroupByUuidAndCompanyId(String uuid,
long companyId)
Returns the user group with the matching UUID and company.
|
com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery |
getActionableDynamicQuery() |
com.liferay.counter.kernel.service.CounterLocalService |
getCounterLocalService()
Returns the counter local service.
|
com.liferay.expando.kernel.service.ExpandoRowLocalService |
getExpandoRowLocalService()
Returns the expando row local service.
|
com.liferay.expando.kernel.service.persistence.ExpandoRowPersistence |
getExpandoRowPersistence()
Returns the expando row persistence.
|
com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery |
getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) |
com.liferay.exportimport.kernel.service.persistence.ExportImportConfigurationFinder |
getExportImportConfigurationFinder()
Returns the export import configuration finder.
|
com.liferay.exportimport.kernel.service.ExportImportConfigurationLocalService |
getExportImportConfigurationLocalService()
Returns the export import configuration local service.
|
com.liferay.exportimport.kernel.service.persistence.ExportImportConfigurationPersistence |
getExportImportConfigurationPersistence()
Returns the export import configuration persistence.
|
com.liferay.exportimport.kernel.service.ExportImportLocalService |
getExportImportLocalService()
Returns the export import local service.
|
com.liferay.portal.kernel.service.persistence.GroupFinder |
getGroupFinder()
Returns the group finder.
|
com.liferay.portal.kernel.service.GroupLocalService |
getGroupLocalService()
Returns the group local service.
|
com.liferay.portal.kernel.service.persistence.GroupPersistence |
getGroupPersistence()
Returns the group persistence.
|
long[] |
getGroupPrimaryKeys(long userGroupId)
Returns the groupIds of the groups associated with the user group.
|
List<com.liferay.portal.kernel.model.UserGroup> |
getGroupUserGroups(long groupId) |
List<com.liferay.portal.kernel.model.UserGroup> |
getGroupUserGroups(long groupId,
int start,
int end) |
List<com.liferay.portal.kernel.model.UserGroup> |
getGroupUserGroups(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserGroup> orderByComparator) |
int |
getGroupUserGroupsCount(long groupId) |
com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery() |
protected Class<?> |
getModelClass() |
protected String |
getModelClassName() |
String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
com.liferay.portal.kernel.model.PersistedModel |
getPersistedModel(Serializable primaryKeyObj) |
com.liferay.portal.kernel.service.ResourceLocalService |
getResourceLocalService()
Returns the resource local service.
|
com.liferay.portal.kernel.service.persistence.TeamFinder |
getTeamFinder()
Returns the team finder.
|
com.liferay.portal.kernel.service.TeamLocalService |
getTeamLocalService()
Returns the team local service.
|
com.liferay.portal.kernel.service.persistence.TeamPersistence |
getTeamPersistence()
Returns the team persistence.
|
long[] |
getTeamPrimaryKeys(long userGroupId)
Returns the teamIds of the teams associated with the user group.
|
List<com.liferay.portal.kernel.model.UserGroup> |
getTeamUserGroups(long teamId) |
List<com.liferay.portal.kernel.model.UserGroup> |
getTeamUserGroups(long teamId,
int start,
int end) |
List<com.liferay.portal.kernel.model.UserGroup> |
getTeamUserGroups(long teamId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserGroup> orderByComparator) |
int |
getTeamUserGroupsCount(long teamId) |
com.liferay.portal.kernel.service.persistence.UserFinder |
getUserFinder()
Returns the user finder.
|
com.liferay.portal.kernel.model.UserGroup |
getUserGroup(long userGroupId)
Returns the user group with the primary key.
|
com.liferay.portal.kernel.model.UserGroup |
getUserGroupByUuidAndCompanyId(String uuid,
long companyId)
Returns the user group with the matching UUID and company.
|
com.liferay.portal.kernel.service.persistence.UserGroupFinder |
getUserGroupFinder()
Returns the user group finder.
|
com.liferay.portal.kernel.service.persistence.UserGroupGroupRoleFinder |
getUserGroupGroupRoleFinder()
Returns the user group group role finder.
|
com.liferay.portal.kernel.service.UserGroupGroupRoleLocalService |
getUserGroupGroupRoleLocalService()
Returns the user group group role local service.
|
com.liferay.portal.kernel.service.persistence.UserGroupGroupRolePersistence |
getUserGroupGroupRolePersistence()
Returns the user group group role persistence.
|
com.liferay.portal.kernel.service.UserGroupLocalService |
getUserGroupLocalService()
Returns the user group local service.
|
com.liferay.portal.kernel.service.persistence.UserGroupPersistence |
getUserGroupPersistence()
Returns the user group persistence.
|
List<com.liferay.portal.kernel.model.UserGroup> |
getUserGroups(int start,
int end)
Returns a range of all the user groups.
|
int |
getUserGroupsCount()
Returns the number of user groups.
|
com.liferay.portal.kernel.service.UserLocalService |
getUserLocalService()
Returns the user local service.
|
com.liferay.portal.kernel.service.persistence.UserPersistence |
getUserPersistence()
Returns the user persistence.
|
long[] |
getUserPrimaryKeys(long userGroupId)
Returns the userIds of the users associated with the user group.
|
List<com.liferay.portal.kernel.model.UserGroup> |
getUserUserGroups(long userId) |
List<com.liferay.portal.kernel.model.UserGroup> |
getUserUserGroups(long userId,
int start,
int end) |
List<com.liferay.portal.kernel.model.UserGroup> |
getUserUserGroups(long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserGroup> orderByComparator) |
int |
getUserUserGroupsCount(long userId) |
boolean |
hasGroupUserGroup(long groupId,
long userGroupId) |
boolean |
hasGroupUserGroups(long groupId) |
boolean |
hasTeamUserGroup(long teamId,
long userGroupId) |
boolean |
hasTeamUserGroups(long teamId) |
boolean |
hasUserUserGroup(long userId,
long userGroupId) |
boolean |
hasUserUserGroups(long userId) |
protected void |
initActionableDynamicQuery(com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery actionableDynamicQuery) |
protected void |
runSQL(String sql)
Performs a SQL query.
|
void |
setCounterLocalService(com.liferay.counter.kernel.service.CounterLocalService counterLocalService)
Sets the counter local service.
|
void |
setExpandoRowLocalService(com.liferay.expando.kernel.service.ExpandoRowLocalService expandoRowLocalService)
Sets the expando row local service.
|
void |
setExpandoRowPersistence(com.liferay.expando.kernel.service.persistence.ExpandoRowPersistence expandoRowPersistence)
Sets the expando row persistence.
|
void |
setExportImportConfigurationFinder(com.liferay.exportimport.kernel.service.persistence.ExportImportConfigurationFinder exportImportConfigurationFinder)
Sets the export import configuration finder.
|
void |
setExportImportConfigurationLocalService(com.liferay.exportimport.kernel.service.ExportImportConfigurationLocalService exportImportConfigurationLocalService)
Sets the export import configuration local service.
|
void |
setExportImportConfigurationPersistence(com.liferay.exportimport.kernel.service.persistence.ExportImportConfigurationPersistence exportImportConfigurationPersistence)
Sets the export import configuration persistence.
|
void |
setExportImportLocalService(com.liferay.exportimport.kernel.service.ExportImportLocalService exportImportLocalService)
Sets the export import local service.
|
void |
setGroupFinder(com.liferay.portal.kernel.service.persistence.GroupFinder groupFinder)
Sets the group finder.
|
void |
setGroupLocalService(com.liferay.portal.kernel.service.GroupLocalService groupLocalService)
Sets the group local service.
|
void |
setGroupPersistence(com.liferay.portal.kernel.service.persistence.GroupPersistence groupPersistence)
Sets the group persistence.
|
void |
setGroupUserGroups(long groupId,
long[] userGroupIds) |
void |
setResourceLocalService(com.liferay.portal.kernel.service.ResourceLocalService resourceLocalService)
Sets the resource local service.
|
void |
setTeamFinder(com.liferay.portal.kernel.service.persistence.TeamFinder teamFinder)
Sets the team finder.
|
void |
setTeamLocalService(com.liferay.portal.kernel.service.TeamLocalService teamLocalService)
Sets the team local service.
|
void |
setTeamPersistence(com.liferay.portal.kernel.service.persistence.TeamPersistence teamPersistence)
Sets the team persistence.
|
void |
setTeamUserGroups(long teamId,
long[] userGroupIds) |
void |
setUserFinder(com.liferay.portal.kernel.service.persistence.UserFinder userFinder)
Sets the user finder.
|
void |
setUserGroupFinder(com.liferay.portal.kernel.service.persistence.UserGroupFinder userGroupFinder)
Sets the user group finder.
|
void |
setUserGroupGroupRoleFinder(com.liferay.portal.kernel.service.persistence.UserGroupGroupRoleFinder userGroupGroupRoleFinder)
Sets the user group group role finder.
|
void |
setUserGroupGroupRoleLocalService(com.liferay.portal.kernel.service.UserGroupGroupRoleLocalService userGroupGroupRoleLocalService)
Sets the user group group role local service.
|
void |
setUserGroupGroupRolePersistence(com.liferay.portal.kernel.service.persistence.UserGroupGroupRolePersistence userGroupGroupRolePersistence)
Sets the user group group role persistence.
|
void |
setUserGroupLocalService(com.liferay.portal.kernel.service.UserGroupLocalService userGroupLocalService)
Sets the user group local service.
|
void |
setUserGroupPersistence(com.liferay.portal.kernel.service.persistence.UserGroupPersistence userGroupPersistence)
Sets the user group persistence.
|
void |
setUserLocalService(com.liferay.portal.kernel.service.UserLocalService userLocalService)
Sets the user local service.
|
void |
setUserPersistence(com.liferay.portal.kernel.service.persistence.UserPersistence userPersistence)
Sets the user persistence.
|
void |
setUserUserGroups(long userId,
long[] userGroupIds) |
com.liferay.portal.kernel.model.UserGroup |
updateUserGroup(com.liferay.portal.kernel.model.UserGroup userGroup)
Updates the user group in the database or adds it if it does not yet exist.
|
getClassLoader, getLocalizationMapclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddUserGroup, copyUserGroupLayouts, copyUserGroupLayouts, copyUserGroupLayouts, deleteUserGroups, fetchUserGroup, getGroupUserUserGroups, getUserGroup, getUserGroups, getUserGroups, getUserGroups, getUserGroupsCount, search, search, search, search, searchCount, searchCount, searchUserGroups, searchUserGroups, unsetGroupUserGroups, unsetTeamUserGroups, updateUserGroup@BeanReference(type=com.liferay.portal.kernel.service.UserGroupLocalService.class) protected com.liferay.portal.kernel.service.UserGroupLocalService userGroupLocalService
@BeanReference(type=com.liferay.portal.kernel.service.persistence.UserGroupPersistence.class) protected com.liferay.portal.kernel.service.persistence.UserGroupPersistence userGroupPersistence
@BeanReference(type=com.liferay.portal.kernel.service.persistence.UserGroupFinder.class) protected com.liferay.portal.kernel.service.persistence.UserGroupFinder userGroupFinder
@BeanReference(type=com.liferay.counter.kernel.service.CounterLocalService.class) protected com.liferay.counter.kernel.service.CounterLocalService counterLocalService
@BeanReference(type=com.liferay.portal.kernel.service.GroupLocalService.class) protected com.liferay.portal.kernel.service.GroupLocalService groupLocalService
@BeanReference(type=com.liferay.portal.kernel.service.persistence.GroupPersistence.class) protected com.liferay.portal.kernel.service.persistence.GroupPersistence groupPersistence
@BeanReference(type=com.liferay.portal.kernel.service.persistence.GroupFinder.class) protected com.liferay.portal.kernel.service.persistence.GroupFinder groupFinder
@BeanReference(type=com.liferay.portal.kernel.service.ResourceLocalService.class) protected com.liferay.portal.kernel.service.ResourceLocalService resourceLocalService
@BeanReference(type=com.liferay.portal.kernel.service.TeamLocalService.class) protected com.liferay.portal.kernel.service.TeamLocalService teamLocalService
@BeanReference(type=com.liferay.portal.kernel.service.persistence.TeamPersistence.class) protected com.liferay.portal.kernel.service.persistence.TeamPersistence teamPersistence
@BeanReference(type=com.liferay.portal.kernel.service.persistence.TeamFinder.class) protected com.liferay.portal.kernel.service.persistence.TeamFinder teamFinder
@BeanReference(type=com.liferay.portal.kernel.service.UserLocalService.class) protected com.liferay.portal.kernel.service.UserLocalService userLocalService
@BeanReference(type=com.liferay.portal.kernel.service.persistence.UserPersistence.class) protected com.liferay.portal.kernel.service.persistence.UserPersistence userPersistence
@BeanReference(type=com.liferay.portal.kernel.service.persistence.UserFinder.class) protected com.liferay.portal.kernel.service.persistence.UserFinder userFinder
@BeanReference(type=com.liferay.expando.kernel.service.ExpandoRowLocalService.class) protected com.liferay.expando.kernel.service.ExpandoRowLocalService expandoRowLocalService
@BeanReference(type=com.liferay.expando.kernel.service.persistence.ExpandoRowPersistence.class) protected com.liferay.expando.kernel.service.persistence.ExpandoRowPersistence expandoRowPersistence
@BeanReference(type=com.liferay.exportimport.kernel.service.ExportImportLocalService.class) protected com.liferay.exportimport.kernel.service.ExportImportLocalService exportImportLocalService
@BeanReference(type=com.liferay.exportimport.kernel.service.ExportImportConfigurationLocalService.class) protected com.liferay.exportimport.kernel.service.ExportImportConfigurationLocalService exportImportConfigurationLocalService
@BeanReference(type=com.liferay.exportimport.kernel.service.persistence.ExportImportConfigurationPersistence.class) protected com.liferay.exportimport.kernel.service.persistence.ExportImportConfigurationPersistence exportImportConfigurationPersistence
@BeanReference(type=com.liferay.exportimport.kernel.service.persistence.ExportImportConfigurationFinder.class) protected com.liferay.exportimport.kernel.service.persistence.ExportImportConfigurationFinder exportImportConfigurationFinder
@BeanReference(type=com.liferay.portal.kernel.service.UserGroupGroupRoleLocalService.class) protected com.liferay.portal.kernel.service.UserGroupGroupRoleLocalService userGroupGroupRoleLocalService
@BeanReference(type=com.liferay.portal.kernel.service.persistence.UserGroupGroupRolePersistence.class) protected com.liferay.portal.kernel.service.persistence.UserGroupGroupRolePersistence userGroupGroupRolePersistence
@BeanReference(type=com.liferay.portal.kernel.service.persistence.UserGroupGroupRoleFinder.class) protected com.liferay.portal.kernel.service.persistence.UserGroupGroupRoleFinder userGroupGroupRoleFinder
@BeanReference(type=com.liferay.portal.kernel.service.PersistedModelLocalServiceRegistry.class) protected com.liferay.portal.kernel.service.PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry
@Indexable(type=REINDEX) public com.liferay.portal.kernel.model.UserGroup addUserGroup(com.liferay.portal.kernel.model.UserGroup userGroup)
addUserGroup in interface com.liferay.portal.kernel.service.UserGroupLocalServiceuserGroup - the user group@Transactional(enabled=false) public com.liferay.portal.kernel.model.UserGroup createUserGroup(long userGroupId)
createUserGroup in interface com.liferay.portal.kernel.service.UserGroupLocalServiceuserGroupId - the primary key for the new user group@Indexable(type=DELETE)
public com.liferay.portal.kernel.model.UserGroup deleteUserGroup(long userGroupId)
throws com.liferay.portal.kernel.exception.PortalException
deleteUserGroup in interface com.liferay.portal.kernel.service.UserGroupLocalServiceuserGroupId - the primary key of the user groupcom.liferay.portal.kernel.exception.PortalException - if a user group with the primary key could not be found@Indexable(type=DELETE)
public com.liferay.portal.kernel.model.UserGroup deleteUserGroup(com.liferay.portal.kernel.model.UserGroup userGroup)
throws com.liferay.portal.kernel.exception.PortalException
deleteUserGroup in interface com.liferay.portal.kernel.service.UserGroupLocalServiceuserGroup - the user groupcom.liferay.portal.kernel.exception.PortalExceptionpublic com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
dynamicQuery in interface com.liferay.portal.kernel.service.UserGroupLocalServicepublic <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery in interface com.liferay.portal.kernel.service.UserGroupLocalServicedynamicQuery - the dynamic querypublic <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
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 com.liferay.portal.kernel.dao.orm.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, then the query will include the default ORDER BY logic from com.liferay.portal.model.impl.UserGroupModelImpl.
dynamicQuery in interface com.liferay.portal.kernel.service.UserGroupLocalServicedynamicQuery - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)public <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator)
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 com.liferay.portal.kernel.dao.orm.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, then the query will include the default ORDER BY logic from com.liferay.portal.model.impl.UserGroupModelImpl.
dynamicQuery in interface com.liferay.portal.kernel.service.UserGroupLocalServicedynamicQuery - 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)public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQueryCount in interface com.liferay.portal.kernel.service.UserGroupLocalServicedynamicQuery - the dynamic querypublic long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
com.liferay.portal.kernel.dao.orm.Projection projection)
dynamicQueryCount in interface com.liferay.portal.kernel.service.UserGroupLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the querypublic com.liferay.portal.kernel.model.UserGroup fetchUserGroup(long userGroupId)
fetchUserGroup in interface com.liferay.portal.kernel.service.UserGroupLocalServicepublic com.liferay.portal.kernel.model.UserGroup fetchUserGroupByUuidAndCompanyId(String uuid,
long companyId)
fetchUserGroupByUuidAndCompanyId in interface com.liferay.portal.kernel.service.UserGroupLocalServiceuuid - the user group's UUIDcompanyId - the primary key of the companynull if a matching user group could not be foundpublic com.liferay.portal.kernel.model.UserGroup fetchUserGroupByReferenceCode(long companyId,
String externalReferenceCode)
fetchUserGroupByReferenceCode in interface com.liferay.portal.kernel.service.UserGroupLocalServicecompanyId - the primary key of the companyexternalReferenceCode - the user group's external reference codenull if a matching user group could not be foundpublic com.liferay.portal.kernel.model.UserGroup getUserGroup(long userGroupId)
throws com.liferay.portal.kernel.exception.PortalException
getUserGroup in interface com.liferay.portal.kernel.service.UserGroupLocalServiceuserGroupId - the primary key of the user groupcom.liferay.portal.kernel.exception.PortalException - if a user group with the primary key could not be foundpublic com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery in interface com.liferay.portal.kernel.service.UserGroupLocalServicepublic com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery in interface com.liferay.portal.kernel.service.UserGroupLocalServiceprotected void initActionableDynamicQuery(com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery actionableDynamicQuery)
public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext)
getExportActionableDynamicQuery in interface com.liferay.portal.kernel.service.UserGroupLocalServicepublic com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel)
throws com.liferay.portal.kernel.exception.PortalException
deletePersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicedeletePersistedModel in interface com.liferay.portal.kernel.service.UserGroupLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic com.liferay.portal.kernel.model.PersistedModel getPersistedModel(Serializable primaryKeyObj)
throws com.liferay.portal.kernel.exception.PortalException
getPersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicegetPersistedModel in interface com.liferay.portal.kernel.service.UserGroupLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic com.liferay.portal.kernel.model.UserGroup getUserGroupByUuidAndCompanyId(String uuid,
long companyId)
throws com.liferay.portal.kernel.exception.PortalException
getUserGroupByUuidAndCompanyId in interface com.liferay.portal.kernel.service.UserGroupLocalServiceuuid - the user group's UUIDcompanyId - the primary key of the companycom.liferay.portal.kernel.exception.PortalException - if a matching user group could not be foundpublic List<com.liferay.portal.kernel.model.UserGroup> getUserGroups(int start,
int end)
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 com.liferay.portal.kernel.dao.orm.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, then the query will include the default ORDER BY logic from com.liferay.portal.model.impl.UserGroupModelImpl.
getUserGroups in interface com.liferay.portal.kernel.service.UserGroupLocalServicestart - the lower bound of the range of user groupsend - the upper bound of the range of user groups (not inclusive)public int getUserGroupsCount()
getUserGroupsCount in interface com.liferay.portal.kernel.service.UserGroupLocalService@Indexable(type=REINDEX) public com.liferay.portal.kernel.model.UserGroup updateUserGroup(com.liferay.portal.kernel.model.UserGroup userGroup)
updateUserGroup in interface com.liferay.portal.kernel.service.UserGroupLocalServiceuserGroup - the user grouppublic void addGroupUserGroup(long groupId,
long userGroupId)
addGroupUserGroup in interface com.liferay.portal.kernel.service.UserGroupLocalServicepublic void addGroupUserGroup(long groupId,
com.liferay.portal.kernel.model.UserGroup userGroup)
addGroupUserGroup in interface com.liferay.portal.kernel.service.UserGroupLocalServicepublic void addGroupUserGroups(long groupId,
long[] userGroupIds)
addGroupUserGroups in interface com.liferay.portal.kernel.service.UserGroupLocalServicepublic void addGroupUserGroups(long groupId,
List<com.liferay.portal.kernel.model.UserGroup> userGroups)
addGroupUserGroups in interface com.liferay.portal.kernel.service.UserGroupLocalServicepublic void clearGroupUserGroups(long groupId)
clearGroupUserGroups in interface com.liferay.portal.kernel.service.UserGroupLocalServicepublic void deleteGroupUserGroup(long groupId,
long userGroupId)
deleteGroupUserGroup in interface com.liferay.portal.kernel.service.UserGroupLocalServicepublic void deleteGroupUserGroup(long groupId,
com.liferay.portal.kernel.model.UserGroup userGroup)
deleteGroupUserGroup in interface com.liferay.portal.kernel.service.UserGroupLocalServicepublic void deleteGroupUserGroups(long groupId,
long[] userGroupIds)
deleteGroupUserGroups in interface com.liferay.portal.kernel.service.UserGroupLocalServicepublic void deleteGroupUserGroups(long groupId,
List<com.liferay.portal.kernel.model.UserGroup> userGroups)
deleteGroupUserGroups in interface com.liferay.portal.kernel.service.UserGroupLocalServicepublic long[] getGroupPrimaryKeys(long userGroupId)
getGroupPrimaryKeys in interface com.liferay.portal.kernel.service.UserGroupLocalServiceuserGroupId - the userGroupId of the user grouppublic List<com.liferay.portal.kernel.model.UserGroup> getGroupUserGroups(long groupId)
getGroupUserGroups in interface com.liferay.portal.kernel.service.UserGroupLocalServicepublic List<com.liferay.portal.kernel.model.UserGroup> getGroupUserGroups(long groupId,
int start,
int end)
getGroupUserGroups in interface com.liferay.portal.kernel.service.UserGroupLocalServicepublic List<com.liferay.portal.kernel.model.UserGroup> getGroupUserGroups(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserGroup> orderByComparator)
getGroupUserGroups in interface com.liferay.portal.kernel.service.UserGroupLocalServicepublic int getGroupUserGroupsCount(long groupId)
getGroupUserGroupsCount in interface com.liferay.portal.kernel.service.UserGroupLocalServicepublic boolean hasGroupUserGroup(long groupId,
long userGroupId)
hasGroupUserGroup in interface com.liferay.portal.kernel.service.UserGroupLocalServicepublic boolean hasGroupUserGroups(long groupId)
hasGroupUserGroups in interface com.liferay.portal.kernel.service.UserGroupLocalServicepublic void setGroupUserGroups(long groupId,
long[] userGroupIds)
setGroupUserGroups in interface com.liferay.portal.kernel.service.UserGroupLocalServicepublic void addTeamUserGroup(long teamId,
long userGroupId)
addTeamUserGroup in interface com.liferay.portal.kernel.service.UserGroupLocalServicepublic void addTeamUserGroup(long teamId,
com.liferay.portal.kernel.model.UserGroup userGroup)
addTeamUserGroup in interface com.liferay.portal.kernel.service.UserGroupLocalServicepublic void addTeamUserGroups(long teamId,
long[] userGroupIds)
addTeamUserGroups in interface com.liferay.portal.kernel.service.UserGroupLocalServicepublic void addTeamUserGroups(long teamId,
List<com.liferay.portal.kernel.model.UserGroup> userGroups)
addTeamUserGroups in interface com.liferay.portal.kernel.service.UserGroupLocalServicepublic void clearTeamUserGroups(long teamId)
clearTeamUserGroups in interface com.liferay.portal.kernel.service.UserGroupLocalServicepublic void deleteTeamUserGroup(long teamId,
long userGroupId)
deleteTeamUserGroup in interface com.liferay.portal.kernel.service.UserGroupLocalServicepublic void deleteTeamUserGroup(long teamId,
com.liferay.portal.kernel.model.UserGroup userGroup)
deleteTeamUserGroup in interface com.liferay.portal.kernel.service.UserGroupLocalServicepublic void deleteTeamUserGroups(long teamId,
long[] userGroupIds)
deleteTeamUserGroups in interface com.liferay.portal.kernel.service.UserGroupLocalServicepublic void deleteTeamUserGroups(long teamId,
List<com.liferay.portal.kernel.model.UserGroup> userGroups)
deleteTeamUserGroups in interface com.liferay.portal.kernel.service.UserGroupLocalServicepublic long[] getTeamPrimaryKeys(long userGroupId)
getTeamPrimaryKeys in interface com.liferay.portal.kernel.service.UserGroupLocalServiceuserGroupId - the userGroupId of the user grouppublic List<com.liferay.portal.kernel.model.UserGroup> getTeamUserGroups(long teamId)
getTeamUserGroups in interface com.liferay.portal.kernel.service.UserGroupLocalServicepublic List<com.liferay.portal.kernel.model.UserGroup> getTeamUserGroups(long teamId,
int start,
int end)
getTeamUserGroups in interface com.liferay.portal.kernel.service.UserGroupLocalServicepublic List<com.liferay.portal.kernel.model.UserGroup> getTeamUserGroups(long teamId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserGroup> orderByComparator)
getTeamUserGroups in interface com.liferay.portal.kernel.service.UserGroupLocalServicepublic int getTeamUserGroupsCount(long teamId)
getTeamUserGroupsCount in interface com.liferay.portal.kernel.service.UserGroupLocalServicepublic boolean hasTeamUserGroup(long teamId,
long userGroupId)
hasTeamUserGroup in interface com.liferay.portal.kernel.service.UserGroupLocalServicepublic boolean hasTeamUserGroups(long teamId)
hasTeamUserGroups in interface com.liferay.portal.kernel.service.UserGroupLocalServicepublic void setTeamUserGroups(long teamId,
long[] userGroupIds)
setTeamUserGroups in interface com.liferay.portal.kernel.service.UserGroupLocalServicepublic void addUserUserGroup(long userId,
long userGroupId)
addUserUserGroup in interface com.liferay.portal.kernel.service.UserGroupLocalServicepublic void addUserUserGroup(long userId,
com.liferay.portal.kernel.model.UserGroup userGroup)
addUserUserGroup in interface com.liferay.portal.kernel.service.UserGroupLocalServicepublic void addUserUserGroups(long userId,
long[] userGroupIds)
addUserUserGroups in interface com.liferay.portal.kernel.service.UserGroupLocalServicepublic void addUserUserGroups(long userId,
List<com.liferay.portal.kernel.model.UserGroup> userGroups)
addUserUserGroups in interface com.liferay.portal.kernel.service.UserGroupLocalServicepublic void clearUserUserGroups(long userId)
clearUserUserGroups in interface com.liferay.portal.kernel.service.UserGroupLocalServicepublic void deleteUserUserGroup(long userId,
long userGroupId)
deleteUserUserGroup in interface com.liferay.portal.kernel.service.UserGroupLocalServicepublic void deleteUserUserGroup(long userId,
com.liferay.portal.kernel.model.UserGroup userGroup)
deleteUserUserGroup in interface com.liferay.portal.kernel.service.UserGroupLocalServicepublic void deleteUserUserGroups(long userId,
long[] userGroupIds)
deleteUserUserGroups in interface com.liferay.portal.kernel.service.UserGroupLocalServicepublic void deleteUserUserGroups(long userId,
List<com.liferay.portal.kernel.model.UserGroup> userGroups)
deleteUserUserGroups in interface com.liferay.portal.kernel.service.UserGroupLocalServicepublic long[] getUserPrimaryKeys(long userGroupId)
getUserPrimaryKeys in interface com.liferay.portal.kernel.service.UserGroupLocalServiceuserGroupId - the userGroupId of the user grouppublic List<com.liferay.portal.kernel.model.UserGroup> getUserUserGroups(long userId)
getUserUserGroups in interface com.liferay.portal.kernel.service.UserGroupLocalServicepublic List<com.liferay.portal.kernel.model.UserGroup> getUserUserGroups(long userId,
int start,
int end)
getUserUserGroups in interface com.liferay.portal.kernel.service.UserGroupLocalServicepublic List<com.liferay.portal.kernel.model.UserGroup> getUserUserGroups(long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserGroup> orderByComparator)
getUserUserGroups in interface com.liferay.portal.kernel.service.UserGroupLocalServicepublic int getUserUserGroupsCount(long userId)
getUserUserGroupsCount in interface com.liferay.portal.kernel.service.UserGroupLocalServicepublic boolean hasUserUserGroup(long userId,
long userGroupId)
hasUserUserGroup in interface com.liferay.portal.kernel.service.UserGroupLocalServicepublic boolean hasUserUserGroups(long userId)
hasUserUserGroups in interface com.liferay.portal.kernel.service.UserGroupLocalServicepublic void setUserUserGroups(long userId,
long[] userGroupIds)
throws com.liferay.portal.kernel.exception.PortalException
setUserUserGroups in interface com.liferay.portal.kernel.service.UserGroupLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic com.liferay.portal.kernel.service.UserGroupLocalService getUserGroupLocalService()
public void setUserGroupLocalService(com.liferay.portal.kernel.service.UserGroupLocalService userGroupLocalService)
userGroupLocalService - the user group local servicepublic com.liferay.portal.kernel.service.persistence.UserGroupPersistence getUserGroupPersistence()
public void setUserGroupPersistence(com.liferay.portal.kernel.service.persistence.UserGroupPersistence userGroupPersistence)
userGroupPersistence - the user group persistencepublic com.liferay.portal.kernel.service.persistence.UserGroupFinder getUserGroupFinder()
public void setUserGroupFinder(com.liferay.portal.kernel.service.persistence.UserGroupFinder userGroupFinder)
userGroupFinder - the user group finderpublic com.liferay.counter.kernel.service.CounterLocalService getCounterLocalService()
public void setCounterLocalService(com.liferay.counter.kernel.service.CounterLocalService counterLocalService)
counterLocalService - the counter local servicepublic com.liferay.portal.kernel.service.GroupLocalService getGroupLocalService()
public void setGroupLocalService(com.liferay.portal.kernel.service.GroupLocalService groupLocalService)
groupLocalService - the group local servicepublic com.liferay.portal.kernel.service.persistence.GroupPersistence getGroupPersistence()
public void setGroupPersistence(com.liferay.portal.kernel.service.persistence.GroupPersistence groupPersistence)
groupPersistence - the group persistencepublic com.liferay.portal.kernel.service.persistence.GroupFinder getGroupFinder()
public void setGroupFinder(com.liferay.portal.kernel.service.persistence.GroupFinder groupFinder)
groupFinder - the group finderpublic com.liferay.portal.kernel.service.ResourceLocalService getResourceLocalService()
public void setResourceLocalService(com.liferay.portal.kernel.service.ResourceLocalService resourceLocalService)
resourceLocalService - the resource local servicepublic com.liferay.portal.kernel.service.TeamLocalService getTeamLocalService()
public void setTeamLocalService(com.liferay.portal.kernel.service.TeamLocalService teamLocalService)
teamLocalService - the team local servicepublic com.liferay.portal.kernel.service.persistence.TeamPersistence getTeamPersistence()
public void setTeamPersistence(com.liferay.portal.kernel.service.persistence.TeamPersistence teamPersistence)
teamPersistence - the team persistencepublic com.liferay.portal.kernel.service.persistence.TeamFinder getTeamFinder()
public void setTeamFinder(com.liferay.portal.kernel.service.persistence.TeamFinder teamFinder)
teamFinder - the team finderpublic com.liferay.portal.kernel.service.UserLocalService getUserLocalService()
public void setUserLocalService(com.liferay.portal.kernel.service.UserLocalService userLocalService)
userLocalService - the user local servicepublic com.liferay.portal.kernel.service.persistence.UserPersistence getUserPersistence()
public void setUserPersistence(com.liferay.portal.kernel.service.persistence.UserPersistence userPersistence)
userPersistence - the user persistencepublic com.liferay.portal.kernel.service.persistence.UserFinder getUserFinder()
public void setUserFinder(com.liferay.portal.kernel.service.persistence.UserFinder userFinder)
userFinder - the user finderpublic com.liferay.expando.kernel.service.ExpandoRowLocalService getExpandoRowLocalService()
public void setExpandoRowLocalService(com.liferay.expando.kernel.service.ExpandoRowLocalService expandoRowLocalService)
expandoRowLocalService - the expando row local servicepublic com.liferay.expando.kernel.service.persistence.ExpandoRowPersistence getExpandoRowPersistence()
public void setExpandoRowPersistence(com.liferay.expando.kernel.service.persistence.ExpandoRowPersistence expandoRowPersistence)
expandoRowPersistence - the expando row persistencepublic com.liferay.exportimport.kernel.service.ExportImportLocalService getExportImportLocalService()
public void setExportImportLocalService(com.liferay.exportimport.kernel.service.ExportImportLocalService exportImportLocalService)
exportImportLocalService - the export import local servicepublic com.liferay.exportimport.kernel.service.ExportImportConfigurationLocalService getExportImportConfigurationLocalService()
public void setExportImportConfigurationLocalService(com.liferay.exportimport.kernel.service.ExportImportConfigurationLocalService exportImportConfigurationLocalService)
exportImportConfigurationLocalService - the export import configuration local servicepublic com.liferay.exportimport.kernel.service.persistence.ExportImportConfigurationPersistence getExportImportConfigurationPersistence()
public void setExportImportConfigurationPersistence(com.liferay.exportimport.kernel.service.persistence.ExportImportConfigurationPersistence exportImportConfigurationPersistence)
exportImportConfigurationPersistence - the export import configuration persistencepublic com.liferay.exportimport.kernel.service.persistence.ExportImportConfigurationFinder getExportImportConfigurationFinder()
public void setExportImportConfigurationFinder(com.liferay.exportimport.kernel.service.persistence.ExportImportConfigurationFinder exportImportConfigurationFinder)
exportImportConfigurationFinder - the export import configuration finderpublic com.liferay.portal.kernel.service.UserGroupGroupRoleLocalService getUserGroupGroupRoleLocalService()
public void setUserGroupGroupRoleLocalService(com.liferay.portal.kernel.service.UserGroupGroupRoleLocalService userGroupGroupRoleLocalService)
userGroupGroupRoleLocalService - the user group group role local servicepublic com.liferay.portal.kernel.service.persistence.UserGroupGroupRolePersistence getUserGroupGroupRolePersistence()
public void setUserGroupGroupRolePersistence(com.liferay.portal.kernel.service.persistence.UserGroupGroupRolePersistence userGroupGroupRolePersistence)
userGroupGroupRolePersistence - the user group group role persistencepublic com.liferay.portal.kernel.service.persistence.UserGroupGroupRoleFinder getUserGroupGroupRoleFinder()
public void setUserGroupGroupRoleFinder(com.liferay.portal.kernel.service.persistence.UserGroupGroupRoleFinder userGroupGroupRoleFinder)
userGroupGroupRoleFinder - the user group group role finderpublic void afterPropertiesSet()
public void destroy()
public String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiServicegetOSGiServiceIdentifier in interface com.liferay.portal.kernel.service.UserGroupLocalServiceprotected Class<?> getModelClass()
protected String getModelClassName()
protected void runSQL(String sql)
sql - the sql query