Liferay 7.0-ce-b4

com.liferay.portal.service.base
Class LayoutPrototypeLocalServiceBaseImpl

java.lang.Object
  extended by com.liferay.portal.service.BaseLocalServiceImpl
      extended by com.liferay.portal.service.base.LayoutPrototypeLocalServiceBaseImpl
All Implemented Interfaces:
IdentifiableOSGiService, BaseLocalService, LayoutPrototypeLocalService, PersistedModelLocalService
Direct Known Subclasses:
LayoutPrototypeLocalServiceImpl

@ProviderType
public abstract class LayoutPrototypeLocalServiceBaseImpl
extends BaseLocalServiceImpl
implements LayoutPrototypeLocalService, IdentifiableOSGiService

Provides the base implementation for the layout prototype 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 LayoutPrototypeLocalServiceImpl.

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

Field Summary
protected  CounterLocalService counterLocalService
           
protected  GroupFinder groupFinder
           
protected  GroupLocalService groupLocalService
           
protected  GroupPersistence groupPersistence
           
protected  LayoutFinder layoutFinder
           
protected  LayoutLocalService layoutLocalService
           
protected  LayoutPersistence layoutPersistence
           
protected  LayoutPrototypeLocalService layoutPrototypeLocalService
           
protected  LayoutPrototypePersistence layoutPrototypePersistence
           
protected  PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry
           
protected  PortletPreferencesFinder portletPreferencesFinder
           
protected  PortletPreferencesLocalService portletPreferencesLocalService
           
protected  PortletPreferencesPersistence portletPreferencesPersistence
           
protected  ResourceLocalService resourceLocalService
           
protected  UserFinder userFinder
           
protected  UserLocalService userLocalService
           
protected  UserPersistence userPersistence
           
 
Constructor Summary
LayoutPrototypeLocalServiceBaseImpl()
           
 
Method Summary
 LayoutPrototype addLayoutPrototype(LayoutPrototype layoutPrototype)
          Adds the layout prototype to the database.
 void afterPropertiesSet()
           
 LayoutPrototype createLayoutPrototype(long layoutPrototypeId)
          Creates a new layout prototype with the primary key.
 LayoutPrototype deleteLayoutPrototype(LayoutPrototype layoutPrototype)
          Deletes the layout prototype from the database.
 LayoutPrototype deleteLayoutPrototype(long layoutPrototypeId)
          Deletes the layout prototype with the primary key from the database.
 PersistedModel deletePersistedModel(PersistedModel persistedModel)
           
 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.
 LayoutPrototype fetchLayoutPrototype(long layoutPrototypeId)
           
 LayoutPrototype fetchLayoutPrototypeByUuidAndCompanyId(String uuid, long companyId)
          Returns the layout prototype with the matching UUID and company.
 ActionableDynamicQuery getActionableDynamicQuery()
           
 CounterLocalService getCounterLocalService()
          Returns the counter local service.
 ExportActionableDynamicQuery getExportActionableDynamicQuery(PortletDataContext portletDataContext)
           
 GroupFinder getGroupFinder()
          Returns the group finder.
 GroupLocalService getGroupLocalService()
          Returns the group local service.
 GroupPersistence getGroupPersistence()
          Returns the group persistence.
 IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
           
 LayoutFinder getLayoutFinder()
          Returns the layout finder.
 LayoutLocalService getLayoutLocalService()
          Returns the layout local service.
 LayoutPersistence getLayoutPersistence()
          Returns the layout persistence.
 LayoutPrototype getLayoutPrototype(long layoutPrototypeId)
          Returns the layout prototype with the primary key.
 LayoutPrototype getLayoutPrototypeByUuidAndCompanyId(String uuid, long companyId)
          Returns the layout prototype with the matching UUID and company.
 LayoutPrototypeLocalService getLayoutPrototypeLocalService()
          Returns the layout prototype local service.
 LayoutPrototypePersistence getLayoutPrototypePersistence()
          Returns the layout prototype persistence.
 List<LayoutPrototype> getLayoutPrototypes(int start, int end)
          Returns a range of all the layout prototypes.
 int getLayoutPrototypesCount()
          Returns the number of layout prototypes.
protected  Class<?> getModelClass()
           
protected  String getModelClassName()
           
 String getOSGiServiceIdentifier()
          Returns the OSGi service identifier.
 PersistedModel getPersistedModel(Serializable primaryKeyObj)
           
 PortletPreferencesFinder getPortletPreferencesFinder()
          Returns the portlet preferences finder.
 PortletPreferencesLocalService getPortletPreferencesLocalService()
          Returns the portlet preferences local service.
 PortletPreferencesPersistence getPortletPreferencesPersistence()
          Returns the portlet preferences persistence.
 ResourceLocalService getResourceLocalService()
          Returns the resource local service.
 UserFinder getUserFinder()
          Returns the user finder.
 UserLocalService getUserLocalService()
          Returns the user local service.
 UserPersistence getUserPersistence()
          Returns the user 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 setGroupFinder(GroupFinder groupFinder)
          Sets the group finder.
 void setGroupLocalService(GroupLocalService groupLocalService)
          Sets the group local service.
 void setGroupPersistence(GroupPersistence groupPersistence)
          Sets the group persistence.
 void setLayoutFinder(LayoutFinder layoutFinder)
          Sets the layout finder.
 void setLayoutLocalService(LayoutLocalService layoutLocalService)
          Sets the layout local service.
 void setLayoutPersistence(LayoutPersistence layoutPersistence)
          Sets the layout persistence.
 void setLayoutPrototypeLocalService(LayoutPrototypeLocalService layoutPrototypeLocalService)
          Sets the layout prototype local service.
 void setLayoutPrototypePersistence(LayoutPrototypePersistence layoutPrototypePersistence)
          Sets the layout prototype persistence.
 void setPortletPreferencesFinder(PortletPreferencesFinder portletPreferencesFinder)
          Sets the portlet preferences finder.
 void setPortletPreferencesLocalService(PortletPreferencesLocalService portletPreferencesLocalService)
          Sets the portlet preferences local service.
 void setPortletPreferencesPersistence(PortletPreferencesPersistence portletPreferencesPersistence)
          Sets the portlet preferences persistence.
 void setResourceLocalService(ResourceLocalService resourceLocalService)
          Sets the resource local service.
 void setUserFinder(UserFinder userFinder)
          Sets the user finder.
 void setUserLocalService(UserLocalService userLocalService)
          Sets the user local service.
 void setUserPersistence(UserPersistence userPersistence)
          Sets the user persistence.
 LayoutPrototype updateLayoutPrototype(LayoutPrototype layoutPrototype)
          Updates the layout prototype 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.LayoutPrototypeLocalService
addLayoutPrototype, addLayoutPrototype, addLayoutPrototype, deleteNondefaultLayoutPrototypes, getLayoutPrototypeByUuid, search, searchCount, updateLayoutPrototype, updateLayoutPrototype, updateLayoutPrototype
 

Field Detail

layoutPrototypeLocalService

@BeanReference(type=LayoutPrototypeLocalService.class)
protected LayoutPrototypeLocalService layoutPrototypeLocalService

layoutPrototypePersistence

@BeanReference(type=LayoutPrototypePersistence.class)
protected LayoutPrototypePersistence layoutPrototypePersistence

counterLocalService

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

groupLocalService

@BeanReference(type=GroupLocalService.class)
protected GroupLocalService groupLocalService

groupPersistence

@BeanReference(type=GroupPersistence.class)
protected GroupPersistence groupPersistence

groupFinder

@BeanReference(type=GroupFinder.class)
protected GroupFinder groupFinder

layoutLocalService

@BeanReference(type=LayoutLocalService.class)
protected LayoutLocalService layoutLocalService

layoutPersistence

@BeanReference(type=LayoutPersistence.class)
protected LayoutPersistence layoutPersistence

layoutFinder

@BeanReference(type=LayoutFinder.class)
protected LayoutFinder layoutFinder

portletPreferencesLocalService

@BeanReference(type=PortletPreferencesLocalService.class)
protected PortletPreferencesLocalService portletPreferencesLocalService

portletPreferencesPersistence

@BeanReference(type=PortletPreferencesPersistence.class)
protected PortletPreferencesPersistence portletPreferencesPersistence

portletPreferencesFinder

@BeanReference(type=PortletPreferencesFinder.class)
protected PortletPreferencesFinder portletPreferencesFinder

resourceLocalService

@BeanReference(type=ResourceLocalService.class)
protected ResourceLocalService resourceLocalService

userLocalService

@BeanReference(type=UserLocalService.class)
protected UserLocalService userLocalService

userPersistence

@BeanReference(type=UserPersistence.class)
protected UserPersistence userPersistence

userFinder

@BeanReference(type=UserFinder.class)
protected UserFinder userFinder

persistedModelLocalServiceRegistry

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

LayoutPrototypeLocalServiceBaseImpl

public LayoutPrototypeLocalServiceBaseImpl()
Method Detail

addLayoutPrototype

@Indexable(type=REINDEX)
public LayoutPrototype addLayoutPrototype(LayoutPrototype layoutPrototype)
Adds the layout prototype to the database. Also notifies the appropriate model listeners.

Specified by:
addLayoutPrototype in interface LayoutPrototypeLocalService
Parameters:
layoutPrototype - the layout prototype
Returns:
the layout prototype that was added

createLayoutPrototype

public LayoutPrototype createLayoutPrototype(long layoutPrototypeId)
Creates a new layout prototype with the primary key. Does not add the layout prototype to the database.

Specified by:
createLayoutPrototype in interface LayoutPrototypeLocalService
Parameters:
layoutPrototypeId - the primary key for the new layout prototype
Returns:
the new layout prototype

deleteLayoutPrototype

@Indexable(type=DELETE)
public LayoutPrototype deleteLayoutPrototype(long layoutPrototypeId)
                                      throws PortalException
Deletes the layout prototype with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
deleteLayoutPrototype in interface LayoutPrototypeLocalService
Parameters:
layoutPrototypeId - the primary key of the layout prototype
Returns:
the layout prototype that was removed
Throws:
PortalException - if a layout prototype with the primary key could not be found

deleteLayoutPrototype

@Indexable(type=DELETE)
public LayoutPrototype deleteLayoutPrototype(LayoutPrototype layoutPrototype)
                                      throws PortalException
Deletes the layout prototype from the database. Also notifies the appropriate model listeners.

Specified by:
deleteLayoutPrototype in interface LayoutPrototypeLocalService
Parameters:
layoutPrototype - the layout prototype
Returns:
the layout prototype that was removed
Throws:
PortalException

dynamicQuery

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

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 LayoutPrototypeLocalService
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 LayoutPrototypeModelImpl. 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 LayoutPrototypeLocalService
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 LayoutPrototypeModelImpl. 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 LayoutPrototypeLocalService
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 LayoutPrototypeLocalService
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 LayoutPrototypeLocalService
Parameters:
dynamicQuery - the dynamic query
projection - the projection to apply to the query
Returns:
the number of rows matching the dynamic query

fetchLayoutPrototype

public LayoutPrototype fetchLayoutPrototype(long layoutPrototypeId)
Specified by:
fetchLayoutPrototype in interface LayoutPrototypeLocalService

fetchLayoutPrototypeByUuidAndCompanyId

public LayoutPrototype fetchLayoutPrototypeByUuidAndCompanyId(String uuid,
                                                              long companyId)
Returns the layout prototype with the matching UUID and company.

Specified by:
fetchLayoutPrototypeByUuidAndCompanyId in interface LayoutPrototypeLocalService
Parameters:
uuid - the layout prototype's UUID
companyId - the primary key of the company
Returns:
the matching layout prototype, or null if a matching layout prototype could not be found

getLayoutPrototype

public LayoutPrototype getLayoutPrototype(long layoutPrototypeId)
                                   throws PortalException
Returns the layout prototype with the primary key.

Specified by:
getLayoutPrototype in interface LayoutPrototypeLocalService
Parameters:
layoutPrototypeId - the primary key of the layout prototype
Returns:
the layout prototype
Throws:
PortalException - if a layout prototype with the primary key could not be found

getActionableDynamicQuery

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

getIndexableActionableDynamicQuery

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

initActionableDynamicQuery

protected void initActionableDynamicQuery(ActionableDynamicQuery actionableDynamicQuery)

getExportActionableDynamicQuery

public ExportActionableDynamicQuery getExportActionableDynamicQuery(PortletDataContext portletDataContext)
Specified by:
getExportActionableDynamicQuery in interface LayoutPrototypeLocalService

deletePersistedModel

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

getPersistedModel

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

getLayoutPrototypeByUuidAndCompanyId

public LayoutPrototype getLayoutPrototypeByUuidAndCompanyId(String uuid,
                                                            long companyId)
                                                     throws PortalException
Returns the layout prototype with the matching UUID and company.

Specified by:
getLayoutPrototypeByUuidAndCompanyId in interface LayoutPrototypeLocalService
Parameters:
uuid - the layout prototype's UUID
companyId - the primary key of the company
Returns:
the matching layout prototype
Throws:
PortalException - if a matching layout prototype could not be found

getLayoutPrototypes

public List<LayoutPrototype> getLayoutPrototypes(int start,
                                                 int end)
Returns a range of all the layout prototypes.

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 LayoutPrototypeModelImpl. 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:
getLayoutPrototypes in interface LayoutPrototypeLocalService
Parameters:
start - the lower bound of the range of layout prototypes
end - the upper bound of the range of layout prototypes (not inclusive)
Returns:
the range of layout prototypes

getLayoutPrototypesCount

public int getLayoutPrototypesCount()
Returns the number of layout prototypes.

Specified by:
getLayoutPrototypesCount in interface LayoutPrototypeLocalService
Returns:
the number of layout prototypes

updateLayoutPrototype

@Indexable(type=REINDEX)
public LayoutPrototype updateLayoutPrototype(LayoutPrototype layoutPrototype)
Updates the layout prototype in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Specified by:
updateLayoutPrototype in interface LayoutPrototypeLocalService
Parameters:
layoutPrototype - the layout prototype
Returns:
the layout prototype that was updated

getLayoutPrototypeLocalService

public LayoutPrototypeLocalService getLayoutPrototypeLocalService()
Returns the layout prototype local service.

Returns:
the layout prototype local service

setLayoutPrototypeLocalService

public void setLayoutPrototypeLocalService(LayoutPrototypeLocalService layoutPrototypeLocalService)
Sets the layout prototype local service.

Parameters:
layoutPrototypeLocalService - the layout prototype local service

getLayoutPrototypePersistence

public LayoutPrototypePersistence getLayoutPrototypePersistence()
Returns the layout prototype persistence.

Returns:
the layout prototype persistence

setLayoutPrototypePersistence

public void setLayoutPrototypePersistence(LayoutPrototypePersistence layoutPrototypePersistence)
Sets the layout prototype persistence.

Parameters:
layoutPrototypePersistence - the layout prototype persistence

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

getGroupLocalService

public GroupLocalService getGroupLocalService()
Returns the group local service.

Returns:
the group local service

setGroupLocalService

public void setGroupLocalService(GroupLocalService groupLocalService)
Sets the group local service.

Parameters:
groupLocalService - the group local service

getGroupPersistence

public GroupPersistence getGroupPersistence()
Returns the group persistence.

Returns:
the group persistence

setGroupPersistence

public void setGroupPersistence(GroupPersistence groupPersistence)
Sets the group persistence.

Parameters:
groupPersistence - the group persistence

getGroupFinder

public GroupFinder getGroupFinder()
Returns the group finder.

Returns:
the group finder

setGroupFinder

public void setGroupFinder(GroupFinder groupFinder)
Sets the group finder.

Parameters:
groupFinder - the group finder

getLayoutLocalService

public LayoutLocalService getLayoutLocalService()
Returns the layout local service.

Returns:
the layout local service

setLayoutLocalService

public void setLayoutLocalService(LayoutLocalService layoutLocalService)
Sets the layout local service.

Parameters:
layoutLocalService - the layout local service

getLayoutPersistence

public LayoutPersistence getLayoutPersistence()
Returns the layout persistence.

Returns:
the layout persistence

setLayoutPersistence

public void setLayoutPersistence(LayoutPersistence layoutPersistence)
Sets the layout persistence.

Parameters:
layoutPersistence - the layout persistence

getLayoutFinder

public LayoutFinder getLayoutFinder()
Returns the layout finder.

Returns:
the layout finder

setLayoutFinder

public void setLayoutFinder(LayoutFinder layoutFinder)
Sets the layout finder.

Parameters:
layoutFinder - the layout finder

getPortletPreferencesLocalService

public PortletPreferencesLocalService getPortletPreferencesLocalService()
Returns the portlet preferences local service.

Returns:
the portlet preferences local service

setPortletPreferencesLocalService

public void setPortletPreferencesLocalService(PortletPreferencesLocalService portletPreferencesLocalService)
Sets the portlet preferences local service.

Parameters:
portletPreferencesLocalService - the portlet preferences local service

getPortletPreferencesPersistence

public PortletPreferencesPersistence getPortletPreferencesPersistence()
Returns the portlet preferences persistence.

Returns:
the portlet preferences persistence

setPortletPreferencesPersistence

public void setPortletPreferencesPersistence(PortletPreferencesPersistence portletPreferencesPersistence)
Sets the portlet preferences persistence.

Parameters:
portletPreferencesPersistence - the portlet preferences persistence

getPortletPreferencesFinder

public PortletPreferencesFinder getPortletPreferencesFinder()
Returns the portlet preferences finder.

Returns:
the portlet preferences finder

setPortletPreferencesFinder

public void setPortletPreferencesFinder(PortletPreferencesFinder portletPreferencesFinder)
Sets the portlet preferences finder.

Parameters:
portletPreferencesFinder - the portlet preferences finder

getResourceLocalService

public ResourceLocalService getResourceLocalService()
Returns the resource local service.

Returns:
the resource local service

setResourceLocalService

public void setResourceLocalService(ResourceLocalService resourceLocalService)
Sets the resource local service.

Parameters:
resourceLocalService - the resource local service

getUserLocalService

public UserLocalService getUserLocalService()
Returns the user local service.

Returns:
the user local service

setUserLocalService

public void setUserLocalService(UserLocalService userLocalService)
Sets the user local service.

Parameters:
userLocalService - the user local service

getUserPersistence

public UserPersistence getUserPersistence()
Returns the user persistence.

Returns:
the user persistence

setUserPersistence

public void setUserPersistence(UserPersistence userPersistence)
Sets the user persistence.

Parameters:
userPersistence - the user persistence

getUserFinder

public UserFinder getUserFinder()
Returns the user finder.

Returns:
the user finder

setUserFinder

public void setUserFinder(UserFinder userFinder)
Sets the user finder.

Parameters:
userFinder - the user 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 LayoutPrototypeLocalService
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