Liferay 7.0-ce-b4

com.liferay.portal.service.base
Class LayoutRevisionLocalServiceBaseImpl

java.lang.Object
  extended by com.liferay.portal.service.BaseLocalServiceImpl
      extended by com.liferay.portal.service.base.LayoutRevisionLocalServiceBaseImpl
All Implemented Interfaces:
IdentifiableOSGiService, BaseLocalService, LayoutRevisionLocalService, PersistedModelLocalService
Direct Known Subclasses:
LayoutRevisionLocalServiceImpl

@ProviderType
public abstract class LayoutRevisionLocalServiceBaseImpl
extends BaseLocalServiceImpl
implements LayoutRevisionLocalService, IdentifiableOSGiService

Provides the base implementation for the layout revision 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 LayoutRevisionLocalServiceImpl.

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

Field Summary
protected  CounterLocalService counterLocalService
           
protected  ImageLocalService imageLocalService
           
protected  ImagePersistence imagePersistence
           
protected  LayoutBranchLocalService layoutBranchLocalService
           
protected  LayoutBranchPersistence layoutBranchPersistence
           
protected  LayoutFinder layoutFinder
           
protected  LayoutLocalService layoutLocalService
           
protected  LayoutPersistence layoutPersistence
           
protected  LayoutRevisionLocalService layoutRevisionLocalService
           
protected  LayoutRevisionPersistence layoutRevisionPersistence
           
protected  LayoutSetBranchLocalService layoutSetBranchLocalService
           
protected  LayoutSetBranchPersistence layoutSetBranchPersistence
           
protected  LayoutSetLocalService layoutSetLocalService
           
protected  LayoutSetPersistence layoutSetPersistence
           
protected  PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry
           
protected  PortletPreferencesFinder portletPreferencesFinder
           
protected  PortletPreferencesLocalService portletPreferencesLocalService
           
protected  PortletPreferencesPersistence portletPreferencesPersistence
           
protected  RecentLayoutRevisionLocalService recentLayoutRevisionLocalService
           
protected  RecentLayoutRevisionPersistence recentLayoutRevisionPersistence
           
protected  ResourceLocalService resourceLocalService
           
protected  UserFinder userFinder
           
protected  UserLocalService userLocalService
           
protected  UserPersistence userPersistence
           
protected  WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService
           
protected  WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence
           
 
Constructor Summary
LayoutRevisionLocalServiceBaseImpl()
           
 
Method Summary
 LayoutRevision addLayoutRevision(LayoutRevision layoutRevision)
          Adds the layout revision to the database.
 void afterPropertiesSet()
           
 LayoutRevision createLayoutRevision(long layoutRevisionId)
          Creates a new layout revision with the primary key.
 LayoutRevision deleteLayoutRevision(LayoutRevision layoutRevision)
          Deletes the layout revision from the database.
 LayoutRevision deleteLayoutRevision(long layoutRevisionId)
          Deletes the layout revision 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.
 LayoutRevision fetchLayoutRevision(long layoutRevisionId)
           
 ActionableDynamicQuery getActionableDynamicQuery()
           
 CounterLocalService getCounterLocalService()
          Returns the counter local service.
 ImageLocalService getImageLocalService()
          Returns the image local service.
 ImagePersistence getImagePersistence()
          Returns the image persistence.
 IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
           
 LayoutBranchLocalService getLayoutBranchLocalService()
          Returns the layout branch local service.
 LayoutBranchPersistence getLayoutBranchPersistence()
          Returns the layout branch persistence.
 LayoutFinder getLayoutFinder()
          Returns the layout finder.
 LayoutLocalService getLayoutLocalService()
          Returns the layout local service.
 LayoutPersistence getLayoutPersistence()
          Returns the layout persistence.
 LayoutRevision getLayoutRevision(long layoutRevisionId)
          Returns the layout revision with the primary key.
 LayoutRevisionLocalService getLayoutRevisionLocalService()
          Returns the layout revision local service.
 LayoutRevisionPersistence getLayoutRevisionPersistence()
          Returns the layout revision persistence.
 List<LayoutRevision> getLayoutRevisions(int start, int end)
          Returns a range of all the layout revisions.
 int getLayoutRevisionsCount()
          Returns the number of layout revisions.
 LayoutSetBranchLocalService getLayoutSetBranchLocalService()
          Returns the layout set branch local service.
 LayoutSetBranchPersistence getLayoutSetBranchPersistence()
          Returns the layout set branch persistence.
 LayoutSetLocalService getLayoutSetLocalService()
          Returns the layout set local service.
 LayoutSetPersistence getLayoutSetPersistence()
          Returns the layout set persistence.
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.
 RecentLayoutRevisionLocalService getRecentLayoutRevisionLocalService()
          Returns the recent layout revision local service.
 RecentLayoutRevisionPersistence getRecentLayoutRevisionPersistence()
          Returns the recent layout revision 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.
 WorkflowInstanceLinkLocalService getWorkflowInstanceLinkLocalService()
          Returns the workflow instance link local service.
 WorkflowInstanceLinkPersistence getWorkflowInstanceLinkPersistence()
          Returns the workflow instance link 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 setImageLocalService(ImageLocalService imageLocalService)
          Sets the image local service.
 void setImagePersistence(ImagePersistence imagePersistence)
          Sets the image persistence.
 void setLayoutBranchLocalService(LayoutBranchLocalService layoutBranchLocalService)
          Sets the layout branch local service.
 void setLayoutBranchPersistence(LayoutBranchPersistence layoutBranchPersistence)
          Sets the layout branch 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 setLayoutRevisionLocalService(LayoutRevisionLocalService layoutRevisionLocalService)
          Sets the layout revision local service.
 void setLayoutRevisionPersistence(LayoutRevisionPersistence layoutRevisionPersistence)
          Sets the layout revision persistence.
 void setLayoutSetBranchLocalService(LayoutSetBranchLocalService layoutSetBranchLocalService)
          Sets the layout set branch local service.
 void setLayoutSetBranchPersistence(LayoutSetBranchPersistence layoutSetBranchPersistence)
          Sets the layout set branch persistence.
 void setLayoutSetLocalService(LayoutSetLocalService layoutSetLocalService)
          Sets the layout set local service.
 void setLayoutSetPersistence(LayoutSetPersistence layoutSetPersistence)
          Sets the layout set 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 setRecentLayoutRevisionLocalService(RecentLayoutRevisionLocalService recentLayoutRevisionLocalService)
          Sets the recent layout revision local service.
 void setRecentLayoutRevisionPersistence(RecentLayoutRevisionPersistence recentLayoutRevisionPersistence)
          Sets the recent layout revision 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.
 void setWorkflowInstanceLinkLocalService(WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService)
          Sets the workflow instance link local service.
 void setWorkflowInstanceLinkPersistence(WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence)
          Sets the workflow instance link persistence.
 LayoutRevision updateLayoutRevision(LayoutRevision layoutRevision)
          Updates the layout revision 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.LayoutRevisionLocalService
addLayoutRevision, deleteLayoutLayoutRevisions, deleteLayoutRevisions, deleteLayoutRevisions, deleteLayoutSetBranchLayoutRevisions, fetchLastLayoutRevision, fetchLatestLayoutRevision, fetchLayoutRevision, getChildLayoutRevisions, getChildLayoutRevisions, getChildLayoutRevisionsCount, getLayoutRevision, getLayoutRevision, getLayoutRevisions, getLayoutRevisions, getLayoutRevisions, getLayoutRevisions, getLayoutRevisions, getLayoutRevisions, getLayoutRevisions, getLayoutRevisionsCount, updateLayoutRevision, updateStatus
 

Field Detail

layoutRevisionLocalService

@BeanReference(type=LayoutRevisionLocalService.class)
protected LayoutRevisionLocalService layoutRevisionLocalService

layoutRevisionPersistence

@BeanReference(type=LayoutRevisionPersistence.class)
protected LayoutRevisionPersistence layoutRevisionPersistence

counterLocalService

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

imageLocalService

@BeanReference(type=ImageLocalService.class)
protected ImageLocalService imageLocalService

imagePersistence

@BeanReference(type=ImagePersistence.class)
protected ImagePersistence imagePersistence

layoutLocalService

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

layoutPersistence

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

layoutFinder

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

layoutBranchLocalService

@BeanReference(type=LayoutBranchLocalService.class)
protected LayoutBranchLocalService layoutBranchLocalService

layoutBranchPersistence

@BeanReference(type=LayoutBranchPersistence.class)
protected LayoutBranchPersistence layoutBranchPersistence

layoutSetLocalService

@BeanReference(type=LayoutSetLocalService.class)
protected LayoutSetLocalService layoutSetLocalService

layoutSetPersistence

@BeanReference(type=LayoutSetPersistence.class)
protected LayoutSetPersistence layoutSetPersistence

layoutSetBranchLocalService

@BeanReference(type=LayoutSetBranchLocalService.class)
protected LayoutSetBranchLocalService layoutSetBranchLocalService

layoutSetBranchPersistence

@BeanReference(type=LayoutSetBranchPersistence.class)
protected LayoutSetBranchPersistence layoutSetBranchPersistence

portletPreferencesLocalService

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

portletPreferencesPersistence

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

portletPreferencesFinder

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

recentLayoutRevisionLocalService

@BeanReference(type=RecentLayoutRevisionLocalService.class)
protected RecentLayoutRevisionLocalService recentLayoutRevisionLocalService

recentLayoutRevisionPersistence

@BeanReference(type=RecentLayoutRevisionPersistence.class)
protected RecentLayoutRevisionPersistence recentLayoutRevisionPersistence

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

workflowInstanceLinkLocalService

@BeanReference(type=WorkflowInstanceLinkLocalService.class)
protected WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService

workflowInstanceLinkPersistence

@BeanReference(type=WorkflowInstanceLinkPersistence.class)
protected WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence

persistedModelLocalServiceRegistry

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

LayoutRevisionLocalServiceBaseImpl

public LayoutRevisionLocalServiceBaseImpl()
Method Detail

addLayoutRevision

@Indexable(type=REINDEX)
public LayoutRevision addLayoutRevision(LayoutRevision layoutRevision)
Adds the layout revision to the database. Also notifies the appropriate model listeners.

Specified by:
addLayoutRevision in interface LayoutRevisionLocalService
Parameters:
layoutRevision - the layout revision
Returns:
the layout revision that was added

createLayoutRevision

public LayoutRevision createLayoutRevision(long layoutRevisionId)
Creates a new layout revision with the primary key. Does not add the layout revision to the database.

Specified by:
createLayoutRevision in interface LayoutRevisionLocalService
Parameters:
layoutRevisionId - the primary key for the new layout revision
Returns:
the new layout revision

deleteLayoutRevision

@Indexable(type=DELETE)
public LayoutRevision deleteLayoutRevision(long layoutRevisionId)
                                    throws PortalException
Deletes the layout revision with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
deleteLayoutRevision in interface LayoutRevisionLocalService
Parameters:
layoutRevisionId - the primary key of the layout revision
Returns:
the layout revision that was removed
Throws:
PortalException - if a layout revision with the primary key could not be found

deleteLayoutRevision

@Indexable(type=DELETE)
public LayoutRevision deleteLayoutRevision(LayoutRevision layoutRevision)
                                    throws PortalException
Deletes the layout revision from the database. Also notifies the appropriate model listeners.

Specified by:
deleteLayoutRevision in interface LayoutRevisionLocalService
Parameters:
layoutRevision - the layout revision
Returns:
the layout revision that was removed
Throws:
PortalException

dynamicQuery

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

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

fetchLayoutRevision

public LayoutRevision fetchLayoutRevision(long layoutRevisionId)
Specified by:
fetchLayoutRevision in interface LayoutRevisionLocalService

getLayoutRevision

public LayoutRevision getLayoutRevision(long layoutRevisionId)
                                 throws PortalException
Returns the layout revision with the primary key.

Specified by:
getLayoutRevision in interface LayoutRevisionLocalService
Parameters:
layoutRevisionId - the primary key of the layout revision
Returns:
the layout revision
Throws:
PortalException - if a layout revision with the primary key could not be found

getActionableDynamicQuery

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

getIndexableActionableDynamicQuery

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

initActionableDynamicQuery

protected void initActionableDynamicQuery(ActionableDynamicQuery actionableDynamicQuery)

deletePersistedModel

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

getPersistedModel

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

getLayoutRevisions

public List<LayoutRevision> getLayoutRevisions(int start,
                                               int end)
Returns a range of all the layout revisions.

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 LayoutRevisionModelImpl. 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:
getLayoutRevisions in interface LayoutRevisionLocalService
Parameters:
start - the lower bound of the range of layout revisions
end - the upper bound of the range of layout revisions (not inclusive)
Returns:
the range of layout revisions

getLayoutRevisionsCount

public int getLayoutRevisionsCount()
Returns the number of layout revisions.

Specified by:
getLayoutRevisionsCount in interface LayoutRevisionLocalService
Returns:
the number of layout revisions

updateLayoutRevision

@Indexable(type=REINDEX)
public LayoutRevision updateLayoutRevision(LayoutRevision layoutRevision)
Updates the layout revision in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Specified by:
updateLayoutRevision in interface LayoutRevisionLocalService
Parameters:
layoutRevision - the layout revision
Returns:
the layout revision that was updated

getLayoutRevisionLocalService

public LayoutRevisionLocalService getLayoutRevisionLocalService()
Returns the layout revision local service.

Returns:
the layout revision local service

setLayoutRevisionLocalService

public void setLayoutRevisionLocalService(LayoutRevisionLocalService layoutRevisionLocalService)
Sets the layout revision local service.

Parameters:
layoutRevisionLocalService - the layout revision local service

getLayoutRevisionPersistence

public LayoutRevisionPersistence getLayoutRevisionPersistence()
Returns the layout revision persistence.

Returns:
the layout revision persistence

setLayoutRevisionPersistence

public void setLayoutRevisionPersistence(LayoutRevisionPersistence layoutRevisionPersistence)
Sets the layout revision persistence.

Parameters:
layoutRevisionPersistence - the layout revision 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

getImageLocalService

public ImageLocalService getImageLocalService()
Returns the image local service.

Returns:
the image local service

setImageLocalService

public void setImageLocalService(ImageLocalService imageLocalService)
Sets the image local service.

Parameters:
imageLocalService - the image local service

getImagePersistence

public ImagePersistence getImagePersistence()
Returns the image persistence.

Returns:
the image persistence

setImagePersistence

public void setImagePersistence(ImagePersistence imagePersistence)
Sets the image persistence.

Parameters:
imagePersistence - the image persistence

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

getLayoutBranchLocalService

public LayoutBranchLocalService getLayoutBranchLocalService()
Returns the layout branch local service.

Returns:
the layout branch local service

setLayoutBranchLocalService

public void setLayoutBranchLocalService(LayoutBranchLocalService layoutBranchLocalService)
Sets the layout branch local service.

Parameters:
layoutBranchLocalService - the layout branch local service

getLayoutBranchPersistence

public LayoutBranchPersistence getLayoutBranchPersistence()
Returns the layout branch persistence.

Returns:
the layout branch persistence

setLayoutBranchPersistence

public void setLayoutBranchPersistence(LayoutBranchPersistence layoutBranchPersistence)
Sets the layout branch persistence.

Parameters:
layoutBranchPersistence - the layout branch persistence

getLayoutSetLocalService

public LayoutSetLocalService getLayoutSetLocalService()
Returns the layout set local service.

Returns:
the layout set local service

setLayoutSetLocalService

public void setLayoutSetLocalService(LayoutSetLocalService layoutSetLocalService)
Sets the layout set local service.

Parameters:
layoutSetLocalService - the layout set local service

getLayoutSetPersistence

public LayoutSetPersistence getLayoutSetPersistence()
Returns the layout set persistence.

Returns:
the layout set persistence

setLayoutSetPersistence

public void setLayoutSetPersistence(LayoutSetPersistence layoutSetPersistence)
Sets the layout set persistence.

Parameters:
layoutSetPersistence - the layout set persistence

getLayoutSetBranchLocalService

public LayoutSetBranchLocalService getLayoutSetBranchLocalService()
Returns the layout set branch local service.

Returns:
the layout set branch local service

setLayoutSetBranchLocalService

public void setLayoutSetBranchLocalService(LayoutSetBranchLocalService layoutSetBranchLocalService)
Sets the layout set branch local service.

Parameters:
layoutSetBranchLocalService - the layout set branch local service

getLayoutSetBranchPersistence

public LayoutSetBranchPersistence getLayoutSetBranchPersistence()
Returns the layout set branch persistence.

Returns:
the layout set branch persistence

setLayoutSetBranchPersistence

public void setLayoutSetBranchPersistence(LayoutSetBranchPersistence layoutSetBranchPersistence)
Sets the layout set branch persistence.

Parameters:
layoutSetBranchPersistence - the layout set branch persistence

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

getRecentLayoutRevisionLocalService

public RecentLayoutRevisionLocalService getRecentLayoutRevisionLocalService()
Returns the recent layout revision local service.

Returns:
the recent layout revision local service

setRecentLayoutRevisionLocalService

public void setRecentLayoutRevisionLocalService(RecentLayoutRevisionLocalService recentLayoutRevisionLocalService)
Sets the recent layout revision local service.

Parameters:
recentLayoutRevisionLocalService - the recent layout revision local service

getRecentLayoutRevisionPersistence

public RecentLayoutRevisionPersistence getRecentLayoutRevisionPersistence()
Returns the recent layout revision persistence.

Returns:
the recent layout revision persistence

setRecentLayoutRevisionPersistence

public void setRecentLayoutRevisionPersistence(RecentLayoutRevisionPersistence recentLayoutRevisionPersistence)
Sets the recent layout revision persistence.

Parameters:
recentLayoutRevisionPersistence - the recent layout revision persistence

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

getWorkflowInstanceLinkLocalService

public WorkflowInstanceLinkLocalService getWorkflowInstanceLinkLocalService()
Returns the workflow instance link local service.

Returns:
the workflow instance link local service

setWorkflowInstanceLinkLocalService

public void setWorkflowInstanceLinkLocalService(WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService)
Sets the workflow instance link local service.

Parameters:
workflowInstanceLinkLocalService - the workflow instance link local service

getWorkflowInstanceLinkPersistence

public WorkflowInstanceLinkPersistence getWorkflowInstanceLinkPersistence()
Returns the workflow instance link persistence.

Returns:
the workflow instance link persistence

setWorkflowInstanceLinkPersistence

public void setWorkflowInstanceLinkPersistence(WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence)
Sets the workflow instance link persistence.

Parameters:
workflowInstanceLinkPersistence - the workflow instance link persistence

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 LayoutRevisionLocalService
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