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.void
deleteLayoutFriendlyURL
(long plid, String languageId) deleteLayoutFriendlyURL
(LayoutFriendlyURL layoutFriendlyURL) Deletes the layout friendly url from the database.void
deleteLayoutFriendlyURLs
(long plid) deletePersistedModel
(PersistedModel persistedModel) <T> T
dslQuery
(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) int
dslQueryCount
(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.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.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.int
Returns the number of layout friendly urls.int
getLayoutFriendlyURLsCount
(long companyId, String friendlyURL) Returns the OSGi service identifier.getPersistedModel
(Serializable primaryKeyObj) void
setWrappedService
(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, wait
Methods 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:
addLayoutFriendlyURL
in 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:
addLayoutFriendlyURL
in 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:
addLayoutFriendlyURLs
in 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:
createLayoutFriendlyURL
in interfaceLayoutFriendlyURLLocalService
- Parameters:
layoutFriendlyURLId
- the primary key for the new layout friendly url- Returns:
- the new layout friendly url
-
createPersistedModel
- Specified by:
createPersistedModel
in interfaceLayoutFriendlyURLLocalService
- Specified by:
createPersistedModel
in interfacePersistedModelLocalService
- Throws:
PortalException
PortalException
-
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:
deleteLayoutFriendlyURL
in 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:
deleteLayoutFriendlyURL
in 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:
deleteLayoutFriendlyURL
in interfaceLayoutFriendlyURLLocalService
-
deleteLayoutFriendlyURLs
public void deleteLayoutFriendlyURLs(long plid) - Specified by:
deleteLayoutFriendlyURLs
in interfaceLayoutFriendlyURLLocalService
-
deletePersistedModel
- Specified by:
deletePersistedModel
in interfaceLayoutFriendlyURLLocalService
- Specified by:
deletePersistedModel
in interfacePersistedModelLocalService
- Throws:
PortalException
PortalException
-
dslQuery
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQuery
in interfaceLayoutFriendlyURLLocalService
- Specified by:
dslQuery
in interfacePersistedModelLocalService
-
dslQueryCount
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryCount
in interfaceLayoutFriendlyURLLocalService
- Specified by:
dslQueryCount
in interfacePersistedModelLocalService
-
dynamicQuery
- Specified by:
dynamicQuery
in interfaceLayoutFriendlyURLLocalService
-
dynamicQuery
Performs a dynamic query on the database and returns the matching rows.- Specified by:
dynamicQuery
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
tocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.model.impl.LayoutFriendlyURLModelImpl
.- Specified by:
dynamicQuery
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
tocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.model.impl.LayoutFriendlyURLModelImpl
.- Specified by:
dynamicQuery
in 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:
dynamicQueryCount
in 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:
dynamicQueryCount
in 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:
fetchFirstLayoutFriendlyURL
in interfaceLayoutFriendlyURLLocalService
-
fetchLayoutFriendlyURL
- Specified by:
fetchLayoutFriendlyURL
in interfaceLayoutFriendlyURLLocalService
-
fetchLayoutFriendlyURL
public LayoutFriendlyURL fetchLayoutFriendlyURL(long groupId, boolean privateLayout, String friendlyURL, String languageId) - Specified by:
fetchLayoutFriendlyURL
in interfaceLayoutFriendlyURLLocalService
-
fetchLayoutFriendlyURL
- Specified by:
fetchLayoutFriendlyURL
in interfaceLayoutFriendlyURLLocalService
-
fetchLayoutFriendlyURL
- Specified by:
fetchLayoutFriendlyURL
in interfaceLayoutFriendlyURLLocalService
-
fetchLayoutFriendlyURLByUuidAndGroupId
Returns the layout friendly url matching the UUID and group.- Specified by:
fetchLayoutFriendlyURLByUuidAndGroupId
in interfaceLayoutFriendlyURLLocalService
- Parameters:
uuid
- the layout friendly url's UUIDgroupId
- the primary key of the group- Returns:
- the matching layout friendly url, or
null
if a matching layout friendly url could not be found
-
getActionableDynamicQuery
- Specified by:
getActionableDynamicQuery
in interfaceLayoutFriendlyURLLocalService
-
getExportActionableDynamicQuery
public ExportActionableDynamicQuery getExportActionableDynamicQuery(PortletDataContext portletDataContext) - Specified by:
getExportActionableDynamicQuery
in interfaceLayoutFriendlyURLLocalService
-
getIndexableActionableDynamicQuery
- Specified by:
getIndexableActionableDynamicQuery
in interfaceLayoutFriendlyURLLocalService
-
getLayoutFriendlyURL
Returns the layout friendly url with the primary key.- Specified by:
getLayoutFriendlyURL
in 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:
getLayoutFriendlyURL
in interfaceLayoutFriendlyURLLocalService
- Throws:
NoSuchLayoutFriendlyURLException
-
getLayoutFriendlyURL
- Specified by:
getLayoutFriendlyURL
in interfaceLayoutFriendlyURLLocalService
- Throws:
PortalException
-
getLayoutFriendlyURL
public LayoutFriendlyURL getLayoutFriendlyURL(long plid, String languageId, boolean useDefault) throws PortalException - Specified by:
getLayoutFriendlyURL
in 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:
getLayoutFriendlyURLByUuidAndGroupId
in 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:
getLayoutFriendlyURLs
in interfaceLayoutFriendlyURLLocalService
-
getLayoutFriendlyURLs
Returns a range of all the layout friendly urls.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
tocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.model.impl.LayoutFriendlyURLModelImpl
.- Specified by:
getLayoutFriendlyURLs
in 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:
getLayoutFriendlyURLs
in interfaceLayoutFriendlyURLLocalService
-
getLayoutFriendlyURLs
public List<LayoutFriendlyURL> getLayoutFriendlyURLs(long plid, String friendlyURL, int start, int end) - Specified by:
getLayoutFriendlyURLs
in interfaceLayoutFriendlyURLLocalService
-
getLayoutFriendlyURLsByUuidAndCompanyId
Returns all the layout friendly urls matching the UUID and company.- Specified by:
getLayoutFriendlyURLsByUuidAndCompanyId
in 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:
getLayoutFriendlyURLsByUuidAndCompanyId
in 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:
getLayoutFriendlyURLsCount
in interfaceLayoutFriendlyURLLocalService
- Returns:
- the number of layout friendly urls
-
getLayoutFriendlyURLsCount
- Specified by:
getLayoutFriendlyURLsCount
in interfaceLayoutFriendlyURLLocalService
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifier
in interfaceLayoutFriendlyURLLocalService
- Returns:
- the OSGi service identifier
-
getPersistedModel
- Specified by:
getPersistedModel
in interfaceLayoutFriendlyURLLocalService
- Specified by:
getPersistedModel
in interfacePersistedModelLocalService
- Throws:
PortalException
PortalException
-
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:
updateLayoutFriendlyURL
in 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:
updateLayoutFriendlyURL
in 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:
updateLayoutFriendlyURLs
in interfaceLayoutFriendlyURLLocalService
- Throws:
PortalException
-
getBasePersistence
- Specified by:
getBasePersistence
in interfacePersistedModelLocalService
-
getCTPersistence
- Specified by:
getCTPersistence
in interfaceCTService<LayoutFriendlyURL>
- Specified by:
getCTPersistence
in interfaceLayoutFriendlyURLLocalService
-
getModelClass
- Specified by:
getModelClass
in interfaceCTService<LayoutFriendlyURL>
- Specified by:
getModelClass
in interfaceLayoutFriendlyURLLocalService
-
updateWithUnsafeFunction
public <R,E extends Throwable> R updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<CTPersistence<LayoutFriendlyURL>, R, throws EE> updateUnsafeFunction) - Specified by:
updateWithUnsafeFunction
in interfaceCTService<LayoutFriendlyURL>
- Specified by:
updateWithUnsafeFunction
in interfaceLayoutFriendlyURLLocalService
- Throws:
E extends Throwable
-
getWrappedService
- Specified by:
getWrappedService
in interfaceServiceWrapper<LayoutFriendlyURLLocalService>
-
setWrappedService
- Specified by:
setWrappedService
in interfaceServiceWrapper<LayoutFriendlyURLLocalService>
-