Class LayoutFriendlyURLLocalServiceWrapper
- All Implemented Interfaces:
BaseLocalService,CTService<LayoutFriendlyURL>,LayoutFriendlyURLLocalService,PersistedModelLocalService,ServiceWrapper<LayoutFriendlyURLLocalService>
LayoutFriendlyURLLocalService.- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Constructor Summary
ConstructorsConstructorDescriptionLayoutFriendlyURLLocalServiceWrapper(LayoutFriendlyURLLocalService layoutFriendlyURLLocalService) -
Method Summary
Modifier and TypeMethodDescriptionaddLayoutFriendlyURL(long userId, long companyId, long groupId, long plid, boolean privateLayout, String friendlyURL, String languageId, ServiceContext serviceContext) addLayoutFriendlyURL(LayoutFriendlyURL layoutFriendlyURL) Adds the layout friendly url to the database.addLayoutFriendlyURLs(long userId, long companyId, long groupId, long plid, boolean privateLayout, Map<Locale, String> friendlyURLMap, ServiceContext serviceContext) createLayoutFriendlyURL(long layoutFriendlyURLId) Creates a new layout friendly url with the primary key.createPersistedModel(Serializable primaryKeyObj) deleteLayoutFriendlyURL(long layoutFriendlyURLId) Deletes the layout friendly url with the primary key from the database.voiddeleteLayoutFriendlyURL(long plid, String languageId) deleteLayoutFriendlyURL(LayoutFriendlyURL layoutFriendlyURL) Deletes the layout friendly url from the database.voiddeleteLayoutFriendlyURLs(long plid) deletePersistedModel(PersistedModel persistedModel) <T> TdslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) intdslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) <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.longdynamicQueryCount(DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.longdynamicQueryCount(DynamicQuery dynamicQuery, Projection projection) Returns the number of rows matching the dynamic query.fetchFirstLayoutFriendlyURL(long groupId, boolean privateLayout, String friendlyURL) fetchLayoutFriendlyURL(long layoutFriendlyURLId) fetchLayoutFriendlyURL(long groupId, boolean privateLayout, String friendlyURL, String languageId) fetchLayoutFriendlyURL(long plid, String languageId) fetchLayoutFriendlyURL(long plid, String languageId, boolean useDefault) fetchLayoutFriendlyURLByUuidAndGroupId(String uuid, long groupId) Returns the layout friendly url matching the UUID and group.getExportActionableDynamicQuery(PortletDataContext portletDataContext) getLayoutFriendlyURL(long layoutFriendlyURLId) Returns the layout friendly url with the primary key.getLayoutFriendlyURL(long groupId, boolean privateLayout, String friendlyURL, String languageId) getLayoutFriendlyURL(long plid, String languageId) getLayoutFriendlyURL(long plid, String languageId, boolean useDefault) getLayoutFriendlyURLByUuidAndGroupId(String uuid, long groupId) Returns the layout friendly url matching the UUID and group.getLayoutFriendlyURLs(int start, int end) Returns a range of all the layout friendly urls.getLayoutFriendlyURLs(long plid) getLayoutFriendlyURLs(long plid, String friendlyURL, int start, int end) getLayoutFriendlyURLs(Group siteGroup, List<Layout> layouts, String languageId) getLayoutFriendlyURLsByUuidAndCompanyId(String uuid, long companyId) Returns all the layout friendly urls matching the UUID and company.getLayoutFriendlyURLsByUuidAndCompanyId(String uuid, long companyId, int start, int end, OrderByComparator<LayoutFriendlyURL> orderByComparator) Returns a range of layout friendly urls matching the UUID and company.intReturns the number of layout friendly urls.intgetLayoutFriendlyURLsCount(long companyId, String friendlyURL) Returns the OSGi service identifier.getPersistedModel(Serializable primaryKeyObj) voidsetWrappedService(LayoutFriendlyURLLocalService layoutFriendlyURLLocalService) updateLayoutFriendlyURL(long userId, long companyId, long groupId, long plid, boolean privateLayout, String friendlyURL, String languageId, ServiceContext serviceContext) updateLayoutFriendlyURL(LayoutFriendlyURL layoutFriendlyURL) Updates the layout friendly url in the database or adds it if it does not yet exist.updateLayoutFriendlyURLs(long userId, long companyId, long groupId, long plid, boolean privateLayout, Map<Locale, String> friendlyURLMap, ServiceContext serviceContext) <R,E extends Throwable>
RupdateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<CTPersistence<LayoutFriendlyURL>, R, E> updateUnsafeFunction) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.liferay.portal.kernel.service.PersistedModelLocalService
fetchPersistedModel
-
Constructor Details
-
LayoutFriendlyURLLocalServiceWrapper
public LayoutFriendlyURLLocalServiceWrapper() -
LayoutFriendlyURLLocalServiceWrapper
public LayoutFriendlyURLLocalServiceWrapper(LayoutFriendlyURLLocalService layoutFriendlyURLLocalService)
-
-
Method Details
-
addLayoutFriendlyURL
Adds the layout friendly url to the database. Also notifies the appropriate model listeners.Important: Inspect LayoutFriendlyURLLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Specified by:
addLayoutFriendlyURLin interfaceLayoutFriendlyURLLocalService- Parameters:
layoutFriendlyURL- the layout friendly url- Returns:
- the layout friendly url that was added
-
addLayoutFriendlyURL
public LayoutFriendlyURL addLayoutFriendlyURL(long userId, long companyId, long groupId, long plid, boolean privateLayout, String friendlyURL, String languageId, ServiceContext serviceContext) throws PortalException - Specified by:
addLayoutFriendlyURLin interfaceLayoutFriendlyURLLocalService- Throws:
PortalException
-
addLayoutFriendlyURLs
public List<LayoutFriendlyURL> addLayoutFriendlyURLs(long userId, long companyId, long groupId, long plid, boolean privateLayout, Map<Locale, String> friendlyURLMap, ServiceContext serviceContext) throws PortalException- Specified by:
addLayoutFriendlyURLsin interfaceLayoutFriendlyURLLocalService- Throws:
PortalException
-
createLayoutFriendlyURL
Creates a new layout friendly url with the primary key. Does not add the layout friendly url to the database.- Specified by:
createLayoutFriendlyURLin interfaceLayoutFriendlyURLLocalService- Parameters:
layoutFriendlyURLId- the primary key for the new layout friendly url- Returns:
- the new layout friendly url
-
createPersistedModel
- Specified by:
createPersistedModelin interfaceLayoutFriendlyURLLocalService- Specified by:
createPersistedModelin interfacePersistedModelLocalService- Throws:
PortalExceptionPortalException
-
deleteLayoutFriendlyURL
Deletes the layout friendly url from the database. Also notifies the appropriate model listeners.Important: Inspect LayoutFriendlyURLLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Specified by:
deleteLayoutFriendlyURLin interfaceLayoutFriendlyURLLocalService- Parameters:
layoutFriendlyURL- the layout friendly url- Returns:
- the layout friendly url that was removed
-
deleteLayoutFriendlyURL
Deletes the layout friendly url with the primary key from the database. Also notifies the appropriate model listeners.Important: Inspect LayoutFriendlyURLLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Specified by:
deleteLayoutFriendlyURLin interfaceLayoutFriendlyURLLocalService- Parameters:
layoutFriendlyURLId- the primary key of the layout friendly url- Returns:
- the layout friendly url that was removed
- Throws:
PortalException- if a layout friendly url with the primary key could not be foundPortalException
-
deleteLayoutFriendlyURL
- Specified by:
deleteLayoutFriendlyURLin interfaceLayoutFriendlyURLLocalService
-
deleteLayoutFriendlyURLs
public void deleteLayoutFriendlyURLs(long plid) - Specified by:
deleteLayoutFriendlyURLsin interfaceLayoutFriendlyURLLocalService
-
deletePersistedModel
- Specified by:
deletePersistedModelin interfaceLayoutFriendlyURLLocalService- Specified by:
deletePersistedModelin interfacePersistedModelLocalService- Throws:
PortalExceptionPortalException
-
dslQuery
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryin interfaceLayoutFriendlyURLLocalService- Specified by:
dslQueryin interfacePersistedModelLocalService
-
dslQueryCount
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryCountin interfaceLayoutFriendlyURLLocalService- Specified by:
dslQueryCountin interfacePersistedModelLocalService
-
dynamicQuery
- Specified by:
dynamicQueryin interfaceLayoutFriendlyURLLocalService
-
dynamicQuery
Performs a dynamic query on the database and returns the matching rows.- Specified by:
dynamicQueryin interfaceLayoutFriendlyURLLocalService- Parameters:
dynamicQuery- the dynamic query- Returns:
- the matching rows
-
dynamicQuery
Performs a dynamic query on the database and returns a range of the matching rows.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.model.impl.LayoutFriendlyURLModelImpl.- Specified by:
dynamicQueryin interfaceLayoutFriendlyURLLocalService- Parameters:
dynamicQuery- the dynamic querystart- the lower bound of the range of model instancesend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.model.impl.LayoutFriendlyURLModelImpl.- Specified by:
dynamicQueryin interfaceLayoutFriendlyURLLocalService- Parameters:
dynamicQuery- 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 (optionallynull)- Returns:
- the ordered range of matching rows
-
dynamicQueryCount
Returns the number of rows matching the dynamic query.- Specified by:
dynamicQueryCountin interfaceLayoutFriendlyURLLocalService- Parameters:
dynamicQuery- the dynamic query- Returns:
- the number of rows matching the dynamic query
-
dynamicQueryCount
Returns the number of rows matching the dynamic query.- Specified by:
dynamicQueryCountin interfaceLayoutFriendlyURLLocalService- Parameters:
dynamicQuery- the dynamic queryprojection- the projection to apply to the query- Returns:
- the number of rows matching the dynamic query
-
fetchFirstLayoutFriendlyURL
public LayoutFriendlyURL fetchFirstLayoutFriendlyURL(long groupId, boolean privateLayout, String friendlyURL) - Specified by:
fetchFirstLayoutFriendlyURLin interfaceLayoutFriendlyURLLocalService
-
fetchLayoutFriendlyURL
- Specified by:
fetchLayoutFriendlyURLin interfaceLayoutFriendlyURLLocalService
-
fetchLayoutFriendlyURL
public LayoutFriendlyURL fetchLayoutFriendlyURL(long groupId, boolean privateLayout, String friendlyURL, String languageId) - Specified by:
fetchLayoutFriendlyURLin interfaceLayoutFriendlyURLLocalService
-
fetchLayoutFriendlyURL
- Specified by:
fetchLayoutFriendlyURLin interfaceLayoutFriendlyURLLocalService
-
fetchLayoutFriendlyURL
- Specified by:
fetchLayoutFriendlyURLin interfaceLayoutFriendlyURLLocalService
-
fetchLayoutFriendlyURLByUuidAndGroupId
Returns the layout friendly url matching the UUID and group.- Specified by:
fetchLayoutFriendlyURLByUuidAndGroupIdin interfaceLayoutFriendlyURLLocalService- Parameters:
uuid- the layout friendly url's UUIDgroupId- the primary key of the group- Returns:
- the matching layout friendly url, or
nullif a matching layout friendly url could not be found
-
getActionableDynamicQuery
- Specified by:
getActionableDynamicQueryin interfaceLayoutFriendlyURLLocalService
-
getExportActionableDynamicQuery
public ExportActionableDynamicQuery getExportActionableDynamicQuery(PortletDataContext portletDataContext) - Specified by:
getExportActionableDynamicQueryin interfaceLayoutFriendlyURLLocalService
-
getIndexableActionableDynamicQuery
- Specified by:
getIndexableActionableDynamicQueryin interfaceLayoutFriendlyURLLocalService
-
getLayoutFriendlyURL
Returns the layout friendly url with the primary key.- Specified by:
getLayoutFriendlyURLin interfaceLayoutFriendlyURLLocalService- Parameters:
layoutFriendlyURLId- the primary key of the layout friendly url- Returns:
- the layout friendly url
- Throws:
PortalException- if a layout friendly url with the primary key could not be foundPortalException
-
getLayoutFriendlyURL
public LayoutFriendlyURL getLayoutFriendlyURL(long groupId, boolean privateLayout, String friendlyURL, String languageId) throws NoSuchLayoutFriendlyURLException - Specified by:
getLayoutFriendlyURLin interfaceLayoutFriendlyURLLocalService- Throws:
NoSuchLayoutFriendlyURLException
-
getLayoutFriendlyURL
- Specified by:
getLayoutFriendlyURLin interfaceLayoutFriendlyURLLocalService- Throws:
PortalException
-
getLayoutFriendlyURL
public LayoutFriendlyURL getLayoutFriendlyURL(long plid, String languageId, boolean useDefault) throws PortalException - Specified by:
getLayoutFriendlyURLin interfaceLayoutFriendlyURLLocalService- Throws:
PortalException
-
getLayoutFriendlyURLByUuidAndGroupId
public LayoutFriendlyURL getLayoutFriendlyURLByUuidAndGroupId(String uuid, long groupId) throws PortalException Returns the layout friendly url matching the UUID and group.- Specified by:
getLayoutFriendlyURLByUuidAndGroupIdin interfaceLayoutFriendlyURLLocalService- Parameters:
uuid- the layout friendly url's UUIDgroupId- the primary key of the group- Returns:
- the matching layout friendly url
- Throws:
PortalException- if a matching layout friendly url could not be foundPortalException
-
getLayoutFriendlyURLs
public Map<Long,String> getLayoutFriendlyURLs(Group siteGroup, List<Layout> layouts, String languageId) - Specified by:
getLayoutFriendlyURLsin interfaceLayoutFriendlyURLLocalService
-
getLayoutFriendlyURLs
Returns a range of all the layout friendly urls.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.model.impl.LayoutFriendlyURLModelImpl.- Specified by:
getLayoutFriendlyURLsin interfaceLayoutFriendlyURLLocalService- Parameters:
start- the lower bound of the range of layout friendly urlsend- the upper bound of the range of layout friendly urls (not inclusive)- Returns:
- the range of layout friendly urls
-
getLayoutFriendlyURLs
- Specified by:
getLayoutFriendlyURLsin interfaceLayoutFriendlyURLLocalService
-
getLayoutFriendlyURLs
public List<LayoutFriendlyURL> getLayoutFriendlyURLs(long plid, String friendlyURL, int start, int end) - Specified by:
getLayoutFriendlyURLsin interfaceLayoutFriendlyURLLocalService
-
getLayoutFriendlyURLsByUuidAndCompanyId
Returns all the layout friendly urls matching the UUID and company.- Specified by:
getLayoutFriendlyURLsByUuidAndCompanyIdin interfaceLayoutFriendlyURLLocalService- Parameters:
uuid- the UUID of the layout friendly urlscompanyId- the primary key of the company- Returns:
- the matching layout friendly urls, or an empty list if no matches were found
-
getLayoutFriendlyURLsByUuidAndCompanyId
public List<LayoutFriendlyURL> getLayoutFriendlyURLsByUuidAndCompanyId(String uuid, long companyId, int start, int end, OrderByComparator<LayoutFriendlyURL> orderByComparator) Returns a range of layout friendly urls matching the UUID and company.- Specified by:
getLayoutFriendlyURLsByUuidAndCompanyIdin interfaceLayoutFriendlyURLLocalService- Parameters:
uuid- the UUID of the layout friendly urlscompanyId- the primary key of the companystart- the lower bound of the range of layout friendly urlsend- the upper bound of the range of layout friendly urls (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the range of matching layout friendly urls, or an empty list if no matches were found
-
getLayoutFriendlyURLsCount
public int getLayoutFriendlyURLsCount()Returns the number of layout friendly urls.- Specified by:
getLayoutFriendlyURLsCountin interfaceLayoutFriendlyURLLocalService- Returns:
- the number of layout friendly urls
-
getLayoutFriendlyURLsCount
- Specified by:
getLayoutFriendlyURLsCountin interfaceLayoutFriendlyURLLocalService
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifierin interfaceLayoutFriendlyURLLocalService- Returns:
- the OSGi service identifier
-
getPersistedModel
- Specified by:
getPersistedModelin interfaceLayoutFriendlyURLLocalService- Specified by:
getPersistedModelin interfacePersistedModelLocalService- Throws:
PortalExceptionPortalException
-
updateLayoutFriendlyURL
Updates the layout friendly url in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.Important: Inspect LayoutFriendlyURLLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Specified by:
updateLayoutFriendlyURLin interfaceLayoutFriendlyURLLocalService- Parameters:
layoutFriendlyURL- the layout friendly url- Returns:
- the layout friendly url that was updated
-
updateLayoutFriendlyURL
public LayoutFriendlyURL updateLayoutFriendlyURL(long userId, long companyId, long groupId, long plid, boolean privateLayout, String friendlyURL, String languageId, ServiceContext serviceContext) throws PortalException - Specified by:
updateLayoutFriendlyURLin interfaceLayoutFriendlyURLLocalService- Throws:
PortalException
-
updateLayoutFriendlyURLs
public List<LayoutFriendlyURL> updateLayoutFriendlyURLs(long userId, long companyId, long groupId, long plid, boolean privateLayout, Map<Locale, String> friendlyURLMap, ServiceContext serviceContext) throws PortalException- Specified by:
updateLayoutFriendlyURLsin interfaceLayoutFriendlyURLLocalService- Throws:
PortalException
-
getBasePersistence
- Specified by:
getBasePersistencein interfacePersistedModelLocalService
-
getCTPersistence
- Specified by:
getCTPersistencein interfaceCTService<LayoutFriendlyURL>- Specified by:
getCTPersistencein interfaceLayoutFriendlyURLLocalService
-
getModelClass
- Specified by:
getModelClassin interfaceCTService<LayoutFriendlyURL>- Specified by:
getModelClassin interfaceLayoutFriendlyURLLocalService
-
updateWithUnsafeFunction
public <R,E extends Throwable> R updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<CTPersistence<LayoutFriendlyURL>, R, throws EE> updateUnsafeFunction) - Specified by:
updateWithUnsafeFunctionin interfaceCTService<LayoutFriendlyURL>- Specified by:
updateWithUnsafeFunctionin interfaceLayoutFriendlyURLLocalService- Throws:
E extends Throwable
-
getWrappedService
- Specified by:
getWrappedServicein interfaceServiceWrapper<LayoutFriendlyURLLocalService>
-
setWrappedService
- Specified by:
setWrappedServicein interfaceServiceWrapper<LayoutFriendlyURLLocalService>
-