Liferay 7.0-ce-b4

com.liferay.portal.service.base
Class UserGroupGroupRoleLocalServiceBaseImpl

java.lang.Object
  extended by com.liferay.portal.service.BaseLocalServiceImpl
      extended by com.liferay.portal.service.base.UserGroupGroupRoleLocalServiceBaseImpl
All Implemented Interfaces:
IdentifiableOSGiService, BaseLocalService, PersistedModelLocalService, UserGroupGroupRoleLocalService
Direct Known Subclasses:
UserGroupGroupRoleLocalServiceImpl

@ProviderType
public abstract class UserGroupGroupRoleLocalServiceBaseImpl
extends BaseLocalServiceImpl
implements UserGroupGroupRoleLocalService, IdentifiableOSGiService

Provides the base implementation for the user group group role local service.

This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in UserGroupGroupRoleLocalServiceImpl.

See Also:
UserGroupGroupRoleLocalServiceImpl, UserGroupGroupRoleLocalServiceUtil
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Field Summary
protected  CounterLocalService counterLocalService
           
protected  PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry
           
protected  RoleFinder roleFinder
           
protected  RoleLocalService roleLocalService
           
protected  RolePersistence rolePersistence
           
protected  UserGroupFinder userGroupFinder
           
protected  UserGroupGroupRoleFinder userGroupGroupRoleFinder
           
protected  UserGroupGroupRoleLocalService userGroupGroupRoleLocalService
           
protected  UserGroupGroupRolePersistence userGroupGroupRolePersistence
           
protected  UserGroupLocalService userGroupLocalService
           
protected  UserGroupPersistence userGroupPersistence
           
 
Constructor Summary
UserGroupGroupRoleLocalServiceBaseImpl()
           
 
Method Summary
 UserGroupGroupRole addUserGroupGroupRole(UserGroupGroupRole userGroupGroupRole)
          Adds the user group group role to the database.
 void afterPropertiesSet()
           
 UserGroupGroupRole createUserGroupGroupRole(UserGroupGroupRolePK userGroupGroupRolePK)
          Creates a new user group group role with the primary key.
 PersistedModel deletePersistedModel(PersistedModel persistedModel)
           
 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 destroy()
           
 DynamicQuery dynamicQuery()
           
<T> List<T>
dynamicQuery(DynamicQuery dynamicQuery)
          Performs a dynamic query on the database and returns the matching rows.
<T> List<T>
dynamicQuery(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(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<T> 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 matching the dynamic query.
 long dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection)
          Returns the number of rows matching the dynamic query.
 UserGroupGroupRole fetchUserGroupGroupRole(UserGroupGroupRolePK userGroupGroupRolePK)
           
 ActionableDynamicQuery getActionableDynamicQuery()
           
 CounterLocalService getCounterLocalService()
          Returns the counter local service.
 IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
           
protected  Class<?> getModelClass()
           
protected  String getModelClassName()
           
 String getOSGiServiceIdentifier()
          Returns the OSGi service identifier.
 PersistedModel getPersistedModel(Serializable primaryKeyObj)
           
 RoleFinder getRoleFinder()
          Returns the role finder.
 RoleLocalService getRoleLocalService()
          Returns the role local service.
 RolePersistence getRolePersistence()
          Returns the role persistence.
 UserGroupFinder getUserGroupFinder()
          Returns the user group finder.
 UserGroupGroupRole getUserGroupGroupRole(UserGroupGroupRolePK userGroupGroupRolePK)
          Returns the user group group role with the primary key.
 UserGroupGroupRoleFinder getUserGroupGroupRoleFinder()
          Returns the user group group role finder.
 UserGroupGroupRoleLocalService getUserGroupGroupRoleLocalService()
          Returns the user group group role local service.
 UserGroupGroupRolePersistence getUserGroupGroupRolePersistence()
          Returns the user group group role persistence.
 List<UserGroupGroupRole> getUserGroupGroupRoles(int start, int end)
          Returns a range of all the user group group roles.
 int getUserGroupGroupRolesCount()
          Returns the number of user group group roles.
 UserGroupLocalService getUserGroupLocalService()
          Returns the user group local service.
 UserGroupPersistence getUserGroupPersistence()
          Returns the user group persistence.
protected  void initActionableDynamicQuery(ActionableDynamicQuery actionableDynamicQuery)
           
protected  void runSQL(String sql)
          Performs a SQL query.
 void setCounterLocalService(CounterLocalService counterLocalService)
          Sets the counter local service.
 void setRoleFinder(RoleFinder roleFinder)
          Sets the role finder.
 void setRoleLocalService(RoleLocalService roleLocalService)
          Sets the role local service.
 void setRolePersistence(RolePersistence rolePersistence)
          Sets the role persistence.
 void setUserGroupFinder(UserGroupFinder userGroupFinder)
          Sets the user group finder.
 void setUserGroupGroupRoleFinder(UserGroupGroupRoleFinder userGroupGroupRoleFinder)
          Sets the user group group role finder.
 void setUserGroupGroupRoleLocalService(UserGroupGroupRoleLocalService userGroupGroupRoleLocalService)
          Sets the user group group role local service.
 void setUserGroupGroupRolePersistence(UserGroupGroupRolePersistence userGroupGroupRolePersistence)
          Sets the user group group role persistence.
 void setUserGroupLocalService(UserGroupLocalService userGroupLocalService)
          Sets the user group local service.
 void setUserGroupPersistence(UserGroupPersistence userGroupPersistence)
          Sets the user group persistence.
 UserGroupGroupRole updateUserGroupGroupRole(UserGroupGroupRole userGroupGroupRole)
          Updates the user group group role in the database or adds it if it does not yet exist.
 
Methods inherited from class com.liferay.portal.service.BaseLocalServiceImpl
getClassLoader, getLocalizationMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.liferay.portal.service.UserGroupGroupRoleLocalService
addUserGroupGroupRoles, addUserGroupGroupRoles, deleteUserGroupGroupRoles, deleteUserGroupGroupRoles, deleteUserGroupGroupRoles, deleteUserGroupGroupRoles, deleteUserGroupGroupRoles, deleteUserGroupGroupRolesByGroupId, deleteUserGroupGroupRolesByRoleId, deleteUserGroupGroupRolesByUserGroupId, getUserGroupGroupRoles, getUserGroupGroupRoles, getUserGroupGroupRolesByGroupAndRole, getUserGroupGroupRolesByUser, hasUserGroupGroupRole, hasUserGroupGroupRole
 

Field Detail

userGroupGroupRoleLocalService

@BeanReference(type=UserGroupGroupRoleLocalService.class)
protected UserGroupGroupRoleLocalService userGroupGroupRoleLocalService

userGroupGroupRolePersistence

@BeanReference(type=UserGroupGroupRolePersistence.class)
protected UserGroupGroupRolePersistence userGroupGroupRolePersistence

userGroupGroupRoleFinder

@BeanReference(type=UserGroupGroupRoleFinder.class)
protected UserGroupGroupRoleFinder userGroupGroupRoleFinder

counterLocalService

@BeanReference(type=CounterLocalService.class)
protected CounterLocalService counterLocalService

roleLocalService

@BeanReference(type=RoleLocalService.class)
protected RoleLocalService roleLocalService

rolePersistence

@BeanReference(type=RolePersistence.class)
protected RolePersistence rolePersistence

roleFinder

@BeanReference(type=RoleFinder.class)
protected RoleFinder roleFinder

userGroupLocalService

@BeanReference(type=UserGroupLocalService.class)
protected UserGroupLocalService userGroupLocalService

userGroupPersistence

@BeanReference(type=UserGroupPersistence.class)
protected UserGroupPersistence userGroupPersistence

userGroupFinder

@BeanReference(type=UserGroupFinder.class)
protected UserGroupFinder userGroupFinder

persistedModelLocalServiceRegistry

@BeanReference(type=PersistedModelLocalServiceRegistry.class)
protected PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry
Constructor Detail

UserGroupGroupRoleLocalServiceBaseImpl

public UserGroupGroupRoleLocalServiceBaseImpl()
Method Detail

addUserGroupGroupRole

@Indexable(type=REINDEX)
public UserGroupGroupRole addUserGroupGroupRole(UserGroupGroupRole userGroupGroupRole)
Adds the user group group role to the database. Also notifies the appropriate model listeners.

Specified by:
addUserGroupGroupRole in interface UserGroupGroupRoleLocalService
Parameters:
userGroupGroupRole - the user group group role
Returns:
the user group group role that was added

createUserGroupGroupRole

public UserGroupGroupRole createUserGroupGroupRole(UserGroupGroupRolePK userGroupGroupRolePK)
Creates a new user group group role with the primary key. Does not add the user group group role to the database.

Specified by:
createUserGroupGroupRole in interface UserGroupGroupRoleLocalService
Parameters:
userGroupGroupRolePK - the primary key for the new user group group role
Returns:
the new user group group role

deleteUserGroupGroupRole

@Indexable(type=DELETE)
public UserGroupGroupRole deleteUserGroupGroupRole(UserGroupGroupRolePK userGroupGroupRolePK)
                                            throws PortalException
Deletes the user group group role with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
deleteUserGroupGroupRole in interface UserGroupGroupRoleLocalService
Parameters:
userGroupGroupRolePK - the primary key of the user group group role
Returns:
the user group group role that was removed
Throws:
PortalException - if a user group group role with the primary key could not be found

deleteUserGroupGroupRole

@Indexable(type=DELETE)
public UserGroupGroupRole deleteUserGroupGroupRole(UserGroupGroupRole userGroupGroupRole)
Deletes the user group group role from the database. Also notifies the appropriate model listeners.

Specified by:
deleteUserGroupGroupRole in interface UserGroupGroupRoleLocalService
Parameters:
userGroupGroupRole - the user group group role
Returns:
the user group group role that was removed

dynamicQuery

public DynamicQuery dynamicQuery()
Specified by:
dynamicQuery in interface UserGroupGroupRoleLocalService

dynamicQuery

public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.

Specified by:
dynamicQuery in interface UserGroupGroupRoleLocalService
Parameters:
dynamicQuery - the dynamic query
Returns:
the matching rows

dynamicQuery

public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery,
                                int start,
                                int end)
Performs a dynamic query on the database and returns a range of the matching rows.

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.

Specified by:
dynamicQuery in interface UserGroupGroupRoleLocalService
Parameters:
dynamicQuery - the dynamic query
start - the lower bound of the range of model instances
end - the upper bound of the range of model instances (not inclusive)
Returns:
the range of matching rows

dynamicQuery

public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery,
                                int start,
                                int end,
                                OrderByComparator<T> orderByComparator)
Performs a dynamic query on the database and returns an ordered range of the matching rows.

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.

Specified by:
dynamicQuery in interface UserGroupGroupRoleLocalService
Parameters:
dynamicQuery - the dynamic query
start - the lower bound of the range of model instances
end - the upper bound of the range of model instances (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching rows

dynamicQueryCount

public long dynamicQueryCount(DynamicQuery dynamicQuery)
Returns the number of rows matching the dynamic query.

Specified by:
dynamicQueryCount in interface UserGroupGroupRoleLocalService
Parameters:
dynamicQuery - the dynamic query
Returns:
the number of rows matching the dynamic query

dynamicQueryCount

public long dynamicQueryCount(DynamicQuery dynamicQuery,
                              Projection projection)
Returns the number of rows matching the dynamic query.

Specified by:
dynamicQueryCount in interface UserGroupGroupRoleLocalService
Parameters:
dynamicQuery - the dynamic query
projection - the projection to apply to the query
Returns:
the number of rows matching the dynamic query

fetchUserGroupGroupRole

public UserGroupGroupRole fetchUserGroupGroupRole(UserGroupGroupRolePK userGroupGroupRolePK)
Specified by:
fetchUserGroupGroupRole in interface UserGroupGroupRoleLocalService

getUserGroupGroupRole

public UserGroupGroupRole getUserGroupGroupRole(UserGroupGroupRolePK userGroupGroupRolePK)
                                         throws PortalException
Returns the user group group role with the primary key.

Specified by:
getUserGroupGroupRole in interface UserGroupGroupRoleLocalService
Parameters:
userGroupGroupRolePK - the primary key of the user group group role
Returns:
the user group group role
Throws:
PortalException - if a user group group role with the primary key could not be found

getActionableDynamicQuery

public ActionableDynamicQuery getActionableDynamicQuery()
Specified by:
getActionableDynamicQuery in interface UserGroupGroupRoleLocalService

getIndexableActionableDynamicQuery

public IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
Specified by:
getIndexableActionableDynamicQuery in interface UserGroupGroupRoleLocalService

initActionableDynamicQuery

protected void initActionableDynamicQuery(ActionableDynamicQuery actionableDynamicQuery)

deletePersistedModel

public PersistedModel deletePersistedModel(PersistedModel persistedModel)
                                    throws PortalException
Specified by:
deletePersistedModel in interface PersistedModelLocalService
Specified by:
deletePersistedModel in interface UserGroupGroupRoleLocalService
Throws:
PortalException

getPersistedModel

public PersistedModel getPersistedModel(Serializable primaryKeyObj)
                                 throws PortalException
Specified by:
getPersistedModel in interface PersistedModelLocalService
Specified by:
getPersistedModel in interface UserGroupGroupRoleLocalService
Throws:
PortalException

getUserGroupGroupRoles

public List<UserGroupGroupRole> getUserGroupGroupRoles(int start,
                                                       int end)
Returns a range of all the user group group roles.

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.

Specified by:
getUserGroupGroupRoles in interface UserGroupGroupRoleLocalService
Parameters:
start - the lower bound of the range of user group group roles
end - the upper bound of the range of user group group roles (not inclusive)
Returns:
the range of user group group roles

getUserGroupGroupRolesCount

public int getUserGroupGroupRolesCount()
Returns the number of user group group roles.

Specified by:
getUserGroupGroupRolesCount in interface UserGroupGroupRoleLocalService
Returns:
the number of user group group roles

updateUserGroupGroupRole

@Indexable(type=REINDEX)
public UserGroupGroupRole updateUserGroupGroupRole(UserGroupGroupRole userGroupGroupRole)
Updates the user group group role in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Specified by:
updateUserGroupGroupRole in interface UserGroupGroupRoleLocalService
Parameters:
userGroupGroupRole - the user group group role
Returns:
the user group group role that was updated

getUserGroupGroupRoleLocalService

public UserGroupGroupRoleLocalService getUserGroupGroupRoleLocalService()
Returns the user group group role local service.

Returns:
the user group group role local service

setUserGroupGroupRoleLocalService

public void setUserGroupGroupRoleLocalService(UserGroupGroupRoleLocalService userGroupGroupRoleLocalService)
Sets the user group group role local service.

Parameters:
userGroupGroupRoleLocalService - the user group group role local service

getUserGroupGroupRolePersistence

public UserGroupGroupRolePersistence getUserGroupGroupRolePersistence()
Returns the user group group role persistence.

Returns:
the user group group role persistence

setUserGroupGroupRolePersistence

public void setUserGroupGroupRolePersistence(UserGroupGroupRolePersistence userGroupGroupRolePersistence)
Sets the user group group role persistence.

Parameters:
userGroupGroupRolePersistence - the user group group role persistence

getUserGroupGroupRoleFinder

public UserGroupGroupRoleFinder getUserGroupGroupRoleFinder()
Returns the user group group role finder.

Returns:
the user group group role finder

setUserGroupGroupRoleFinder

public void setUserGroupGroupRoleFinder(UserGroupGroupRoleFinder userGroupGroupRoleFinder)
Sets the user group group role finder.

Parameters:
userGroupGroupRoleFinder - the user group group role finder

getCounterLocalService

public CounterLocalService getCounterLocalService()
Returns the counter local service.

Returns:
the counter local service

setCounterLocalService

public void setCounterLocalService(CounterLocalService counterLocalService)
Sets the counter local service.

Parameters:
counterLocalService - the counter local service

getRoleLocalService

public RoleLocalService getRoleLocalService()
Returns the role local service.

Returns:
the role local service

setRoleLocalService

public void setRoleLocalService(RoleLocalService roleLocalService)
Sets the role local service.

Parameters:
roleLocalService - the role local service

getRolePersistence

public RolePersistence getRolePersistence()
Returns the role persistence.

Returns:
the role persistence

setRolePersistence

public void setRolePersistence(RolePersistence rolePersistence)
Sets the role persistence.

Parameters:
rolePersistence - the role persistence

getRoleFinder

public RoleFinder getRoleFinder()
Returns the role finder.

Returns:
the role finder

setRoleFinder

public void setRoleFinder(RoleFinder roleFinder)
Sets the role finder.

Parameters:
roleFinder - the role finder

getUserGroupLocalService

public UserGroupLocalService getUserGroupLocalService()
Returns the user group local service.

Returns:
the user group local service

setUserGroupLocalService

public void setUserGroupLocalService(UserGroupLocalService userGroupLocalService)
Sets the user group local service.

Parameters:
userGroupLocalService - the user group local service

getUserGroupPersistence

public UserGroupPersistence getUserGroupPersistence()
Returns the user group persistence.

Returns:
the user group persistence

setUserGroupPersistence

public void setUserGroupPersistence(UserGroupPersistence userGroupPersistence)
Sets the user group persistence.

Parameters:
userGroupPersistence - the user group persistence

getUserGroupFinder

public UserGroupFinder getUserGroupFinder()
Returns the user group finder.

Returns:
the user group finder

setUserGroupFinder

public void setUserGroupFinder(UserGroupFinder userGroupFinder)
Sets the user group finder.

Parameters:
userGroupFinder - the user group finder

afterPropertiesSet

public void afterPropertiesSet()

destroy

public void destroy()

getOSGiServiceIdentifier

public String getOSGiServiceIdentifier()
Returns the OSGi service identifier.

Specified by:
getOSGiServiceIdentifier in interface IdentifiableOSGiService
Specified by:
getOSGiServiceIdentifier in interface UserGroupGroupRoleLocalService
Returns:
the OSGi service identifier

getModelClass

protected Class<?> getModelClass()

getModelClassName

protected String getModelClassName()

runSQL

protected void runSQL(String sql)
Performs a SQL query.

Parameters:
sql - the sql query

Liferay 7.0-ce-b4