Class LayoutUtilityPageEntryLocalServiceWrapper
- All Implemented Interfaces:
LayoutUtilityPageEntryLocalService
,com.liferay.portal.kernel.service.BaseLocalService
,com.liferay.portal.kernel.service.change.tracking.CTService<LayoutUtilityPageEntry>
,com.liferay.portal.kernel.service.PersistedModelLocalService
,com.liferay.portal.kernel.service.ServiceWrapper<LayoutUtilityPageEntryLocalService>
LayoutUtilityPageEntryLocalService
.- See Also:
- Generated:
-
Constructor Summary
ConstructorsConstructorDescriptionLayoutUtilityPageEntryLocalServiceWrapper
(LayoutUtilityPageEntryLocalService layoutUtilityPageEntryLocalService) -
Method Summary
Modifier and TypeMethodDescriptionaddLayoutUtilityPageEntry
(LayoutUtilityPageEntry layoutUtilityPageEntry) Adds the layout utility page entry to the database.addLayoutUtilityPageEntry
(String externalReferenceCode, long userId, long groupId, long plid, long previewFileEntryId, boolean defaultLayoutUtilityPageEntry, String name, String type, long masterLayoutPlid, com.liferay.portal.kernel.service.ServiceContext serviceContext) copyLayoutUtilityPageEntry
(long userId, long groupId, long sourceLayoutUtilityPageEntryId, com.liferay.portal.kernel.service.ServiceContext serviceContext) createLayoutUtilityPageEntry
(long LayoutUtilityPageEntryId) Creates a new layout utility page entry with the primary key.com.liferay.portal.kernel.model.PersistedModel
createPersistedModel
(Serializable primaryKeyObj) deleteLayoutUtilityPageEntry
(long LayoutUtilityPageEntryId) Deletes the layout utility page entry with the primary key from the database.deleteLayoutUtilityPageEntry
(LayoutUtilityPageEntry layoutUtilityPageEntry) Deletes the layout utility page entry from the database.deleteLayoutUtilityPageEntry
(String externalReferenceCode, long groupId) com.liferay.portal.kernel.model.PersistedModel
deletePersistedModel
(com.liferay.portal.kernel.model.PersistedModel persistedModel) <T> T
dslQuery
(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) int
dslQueryCount
(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) com.liferay.portal.kernel.dao.orm.DynamicQuery
<T> List<T>
dynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Performs a dynamic query on the database and returns the matching rows.<T> List<T>
dynamicQuery
(com.liferay.portal.kernel.dao.orm.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
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator) Performs a dynamic query on the database and returns an ordered range of the matching rows.long
dynamicQueryCount
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.long
dynamicQueryCount
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection) Returns the number of rows matching the dynamic query.fetchDefaultLayoutUtilityPageEntry
(long groupId, String type) fetchLayoutUtilityPageEntry
(long LayoutUtilityPageEntryId) fetchLayoutUtilityPageEntry
(long groupId, String name, String type) fetchLayoutUtilityPageEntryByExternalReferenceCode
(String externalReferenceCode, long groupId) fetchLayoutUtilityPageEntryByPlid
(long plid) fetchLayoutUtilityPageEntryByUuidAndGroupId
(String uuid, long groupId) Returns the layout utility page entry matching the UUID and group.com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery
com.liferay.portal.kernel.service.persistence.BasePersistence<?>
com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<LayoutUtilityPageEntry>
getDefaultLayoutUtilityPageEntry
(long groupId, String type) com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery
getExportActionableDynamicQuery
(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery
getLayoutUtilityPageEntries
(int start, int end) Returns a range of all the layout utility page entries.getLayoutUtilityPageEntries
(long groupId) getLayoutUtilityPageEntries
(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutUtilityPageEntry> orderByComparator) getLayoutUtilityPageEntries
(long groupId, String[] types, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutUtilityPageEntry> orderByComparator) getLayoutUtilityPageEntries
(long groupId, String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutUtilityPageEntry> orderByComparator) getLayoutUtilityPageEntries
(long groupId, String keyword, String[] types, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutUtilityPageEntry> orderByComparator) getLayoutUtilityPageEntriesByUuidAndCompanyId
(String uuid, long companyId) Returns all the layout utility page entries matching the UUID and company.getLayoutUtilityPageEntriesByUuidAndCompanyId
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutUtilityPageEntry> orderByComparator) Returns a range of layout utility page entries matching the UUID and company.int
Returns the number of layout utility page entries.int
getLayoutUtilityPageEntriesCount
(long groupId) int
getLayoutUtilityPageEntriesCount
(long groupId, String[] types) int
getLayoutUtilityPageEntriesCount
(long groupId, String keyword, String[] types) getLayoutUtilityPageEntry
(long LayoutUtilityPageEntryId) Returns the layout utility page entry with the primary key.getLayoutUtilityPageEntryByExternalReferenceCode
(String externalReferenceCode, long groupId) getLayoutUtilityPageEntryByUuidAndGroupId
(String uuid, long groupId) Returns the layout utility page entry matching the UUID and group.Returns the OSGi service identifier.com.liferay.portal.kernel.model.PersistedModel
getPersistedModel
(Serializable primaryKeyObj) setDefaultLayoutUtilityPageEntry
(long layoutUtilityPageEntryId) void
setWrappedService
(LayoutUtilityPageEntryLocalService layoutUtilityPageEntryLocalService) updateLayoutUtilityPageEntry
(long layoutUtilityPageEntryId, long previewFileEntryId) updateLayoutUtilityPageEntry
(long layoutUtilityPageEntryId, String name) updateLayoutUtilityPageEntry
(LayoutUtilityPageEntry layoutUtilityPageEntry) Updates the layout utility page entry in the database or adds it if it does not yet exist.<R,
E extends Throwable>
RupdateWithUnsafeFunction
(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<LayoutUtilityPageEntry>, 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
-
LayoutUtilityPageEntryLocalServiceWrapper
public LayoutUtilityPageEntryLocalServiceWrapper() -
LayoutUtilityPageEntryLocalServiceWrapper
public LayoutUtilityPageEntryLocalServiceWrapper(LayoutUtilityPageEntryLocalService layoutUtilityPageEntryLocalService)
-
-
Method Details
-
addLayoutUtilityPageEntry
public LayoutUtilityPageEntry addLayoutUtilityPageEntry(LayoutUtilityPageEntry layoutUtilityPageEntry) Adds the layout utility page entry to the database. Also notifies the appropriate model listeners.Important: Inspect LayoutUtilityPageEntryLocalServiceImpl 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:
addLayoutUtilityPageEntry
in interfaceLayoutUtilityPageEntryLocalService
- Parameters:
layoutUtilityPageEntry
- the layout utility page entry- Returns:
- the layout utility page entry that was added
-
addLayoutUtilityPageEntry
public LayoutUtilityPageEntry addLayoutUtilityPageEntry(String externalReferenceCode, long userId, long groupId, long plid, long previewFileEntryId, boolean defaultLayoutUtilityPageEntry, String name, String type, long masterLayoutPlid, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
addLayoutUtilityPageEntry
in interfaceLayoutUtilityPageEntryLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
copyLayoutUtilityPageEntry
public LayoutUtilityPageEntry copyLayoutUtilityPageEntry(long userId, long groupId, long sourceLayoutUtilityPageEntryId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws Exception - Specified by:
copyLayoutUtilityPageEntry
in interfaceLayoutUtilityPageEntryLocalService
- Throws:
Exception
-
createLayoutUtilityPageEntry
Creates a new layout utility page entry with the primary key. Does not add the layout utility page entry to the database.- Specified by:
createLayoutUtilityPageEntry
in interfaceLayoutUtilityPageEntryLocalService
- Parameters:
LayoutUtilityPageEntryId
- the primary key for the new layout utility page entry- Returns:
- the new layout utility page entry
-
createPersistedModel
public com.liferay.portal.kernel.model.PersistedModel createPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
createPersistedModel
in interfaceLayoutUtilityPageEntryLocalService
- Specified by:
createPersistedModel
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
- Throws:
PortalException
com.liferay.portal.kernel.exception.PortalException
-
deleteLayoutUtilityPageEntry
public LayoutUtilityPageEntry deleteLayoutUtilityPageEntry(LayoutUtilityPageEntry layoutUtilityPageEntry) throws com.liferay.portal.kernel.exception.PortalException Deletes the layout utility page entry from the database. Also notifies the appropriate model listeners.Important: Inspect LayoutUtilityPageEntryLocalServiceImpl 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:
deleteLayoutUtilityPageEntry
in interfaceLayoutUtilityPageEntryLocalService
- Parameters:
layoutUtilityPageEntry
- the layout utility page entry- Returns:
- the layout utility page entry that was removed
- Throws:
PortalException
com.liferay.portal.kernel.exception.PortalException
-
deleteLayoutUtilityPageEntry
public LayoutUtilityPageEntry deleteLayoutUtilityPageEntry(long LayoutUtilityPageEntryId) throws com.liferay.portal.kernel.exception.PortalException Deletes the layout utility page entry with the primary key from the database. Also notifies the appropriate model listeners.Important: Inspect LayoutUtilityPageEntryLocalServiceImpl 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:
deleteLayoutUtilityPageEntry
in interfaceLayoutUtilityPageEntryLocalService
- Parameters:
LayoutUtilityPageEntryId
- the primary key of the layout utility page entry- Returns:
- the layout utility page entry that was removed
- Throws:
PortalException
- if a layout utility page entry with the primary key could not be foundcom.liferay.portal.kernel.exception.PortalException
-
deleteLayoutUtilityPageEntry
public LayoutUtilityPageEntry deleteLayoutUtilityPageEntry(String externalReferenceCode, long groupId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteLayoutUtilityPageEntry
in interfaceLayoutUtilityPageEntryLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deletePersistedModel
public com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deletePersistedModel
in interfaceLayoutUtilityPageEntryLocalService
- Specified by:
deletePersistedModel
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
- Throws:
PortalException
com.liferay.portal.kernel.exception.PortalException
-
dslQuery
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQuery
in interfaceLayoutUtilityPageEntryLocalService
- Specified by:
dslQuery
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dslQueryCount
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryCount
in interfaceLayoutUtilityPageEntryLocalService
- Specified by:
dslQueryCount
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dynamicQuery
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()- Specified by:
dynamicQuery
in interfaceLayoutUtilityPageEntryLocalService
-
dynamicQuery
Performs a dynamic query on the database and returns the matching rows.- Specified by:
dynamicQuery
in interfaceLayoutUtilityPageEntryLocalService
- Parameters:
dynamicQuery
- the dynamic query- Returns:
- the matching rows
-
dynamicQuery
public <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.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
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.layout.utility.page.model.impl.LayoutUtilityPageEntryModelImpl
.- Specified by:
dynamicQuery
in interfaceLayoutUtilityPageEntryLocalService
- 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(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.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.layout.utility.page.model.impl.LayoutUtilityPageEntryModelImpl
.- Specified by:
dynamicQuery
in interfaceLayoutUtilityPageEntryLocalService
- 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
public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.- Specified by:
dynamicQueryCount
in interfaceLayoutUtilityPageEntryLocalService
- Parameters:
dynamicQuery
- the dynamic query- Returns:
- the number of rows matching the dynamic query
-
dynamicQueryCount
public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection) Returns the number of rows matching the dynamic query.- Specified by:
dynamicQueryCount
in interfaceLayoutUtilityPageEntryLocalService
- Parameters:
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the query- Returns:
- the number of rows matching the dynamic query
-
fetchDefaultLayoutUtilityPageEntry
- Specified by:
fetchDefaultLayoutUtilityPageEntry
in interfaceLayoutUtilityPageEntryLocalService
-
fetchLayoutUtilityPageEntry
- Specified by:
fetchLayoutUtilityPageEntry
in interfaceLayoutUtilityPageEntryLocalService
-
fetchLayoutUtilityPageEntry
- Specified by:
fetchLayoutUtilityPageEntry
in interfaceLayoutUtilityPageEntryLocalService
-
fetchLayoutUtilityPageEntryByExternalReferenceCode
public LayoutUtilityPageEntry fetchLayoutUtilityPageEntryByExternalReferenceCode(String externalReferenceCode, long groupId) - Specified by:
fetchLayoutUtilityPageEntryByExternalReferenceCode
in interfaceLayoutUtilityPageEntryLocalService
-
fetchLayoutUtilityPageEntryByPlid
- Specified by:
fetchLayoutUtilityPageEntryByPlid
in interfaceLayoutUtilityPageEntryLocalService
-
fetchLayoutUtilityPageEntryByUuidAndGroupId
public LayoutUtilityPageEntry fetchLayoutUtilityPageEntryByUuidAndGroupId(String uuid, long groupId) Returns the layout utility page entry matching the UUID and group.- Specified by:
fetchLayoutUtilityPageEntryByUuidAndGroupId
in interfaceLayoutUtilityPageEntryLocalService
- Parameters:
uuid
- the layout utility page entry's UUIDgroupId
- the primary key of the group- Returns:
- the matching layout utility page entry, or
null
if a matching layout utility page entry could not be found
-
getActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()- Specified by:
getActionableDynamicQuery
in interfaceLayoutUtilityPageEntryLocalService
-
getDefaultLayoutUtilityPageEntry
public LayoutUtilityPageEntry getDefaultLayoutUtilityPageEntry(long groupId, String type) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getDefaultLayoutUtilityPageEntry
in interfaceLayoutUtilityPageEntryLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getExportActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) - Specified by:
getExportActionableDynamicQuery
in interfaceLayoutUtilityPageEntryLocalService
-
getIndexableActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()- Specified by:
getIndexableActionableDynamicQuery
in interfaceLayoutUtilityPageEntryLocalService
-
getLayoutUtilityPageEntries
Returns a range of all the layout utility page entries.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.layout.utility.page.model.impl.LayoutUtilityPageEntryModelImpl
.- Specified by:
getLayoutUtilityPageEntries
in interfaceLayoutUtilityPageEntryLocalService
- Parameters:
start
- the lower bound of the range of layout utility page entriesend
- the upper bound of the range of layout utility page entries (not inclusive)- Returns:
- the range of layout utility page entries
-
getLayoutUtilityPageEntries
- Specified by:
getLayoutUtilityPageEntries
in interfaceLayoutUtilityPageEntryLocalService
-
getLayoutUtilityPageEntries
public List<LayoutUtilityPageEntry> getLayoutUtilityPageEntries(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutUtilityPageEntry> orderByComparator) - Specified by:
getLayoutUtilityPageEntries
in interfaceLayoutUtilityPageEntryLocalService
-
getLayoutUtilityPageEntries
public List<LayoutUtilityPageEntry> getLayoutUtilityPageEntries(long groupId, String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutUtilityPageEntry> orderByComparator) - Specified by:
getLayoutUtilityPageEntries
in interfaceLayoutUtilityPageEntryLocalService
-
getLayoutUtilityPageEntries
public List<LayoutUtilityPageEntry> getLayoutUtilityPageEntries(long groupId, String keyword, String[] types, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutUtilityPageEntry> orderByComparator) - Specified by:
getLayoutUtilityPageEntries
in interfaceLayoutUtilityPageEntryLocalService
-
getLayoutUtilityPageEntries
public List<LayoutUtilityPageEntry> getLayoutUtilityPageEntries(long groupId, String[] types, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutUtilityPageEntry> orderByComparator) - Specified by:
getLayoutUtilityPageEntries
in interfaceLayoutUtilityPageEntryLocalService
-
getLayoutUtilityPageEntriesByUuidAndCompanyId
public List<LayoutUtilityPageEntry> getLayoutUtilityPageEntriesByUuidAndCompanyId(String uuid, long companyId) Returns all the layout utility page entries matching the UUID and company.- Specified by:
getLayoutUtilityPageEntriesByUuidAndCompanyId
in interfaceLayoutUtilityPageEntryLocalService
- Parameters:
uuid
- the UUID of the layout utility page entriescompanyId
- the primary key of the company- Returns:
- the matching layout utility page entries, or an empty list if no matches were found
-
getLayoutUtilityPageEntriesByUuidAndCompanyId
public List<LayoutUtilityPageEntry> getLayoutUtilityPageEntriesByUuidAndCompanyId(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutUtilityPageEntry> orderByComparator) Returns a range of layout utility page entries matching the UUID and company.- Specified by:
getLayoutUtilityPageEntriesByUuidAndCompanyId
in interfaceLayoutUtilityPageEntryLocalService
- Parameters:
uuid
- the UUID of the layout utility page entriescompanyId
- the primary key of the companystart
- the lower bound of the range of layout utility page entriesend
- the upper bound of the range of layout utility page entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the range of matching layout utility page entries, or an empty list if no matches were found
-
getLayoutUtilityPageEntriesCount
public int getLayoutUtilityPageEntriesCount()Returns the number of layout utility page entries.- Specified by:
getLayoutUtilityPageEntriesCount
in interfaceLayoutUtilityPageEntryLocalService
- Returns:
- the number of layout utility page entries
-
getLayoutUtilityPageEntriesCount
public int getLayoutUtilityPageEntriesCount(long groupId) - Specified by:
getLayoutUtilityPageEntriesCount
in interfaceLayoutUtilityPageEntryLocalService
-
getLayoutUtilityPageEntriesCount
- Specified by:
getLayoutUtilityPageEntriesCount
in interfaceLayoutUtilityPageEntryLocalService
-
getLayoutUtilityPageEntriesCount
- Specified by:
getLayoutUtilityPageEntriesCount
in interfaceLayoutUtilityPageEntryLocalService
-
getLayoutUtilityPageEntry
public LayoutUtilityPageEntry getLayoutUtilityPageEntry(long LayoutUtilityPageEntryId) throws com.liferay.portal.kernel.exception.PortalException Returns the layout utility page entry with the primary key.- Specified by:
getLayoutUtilityPageEntry
in interfaceLayoutUtilityPageEntryLocalService
- Parameters:
LayoutUtilityPageEntryId
- the primary key of the layout utility page entry- Returns:
- the layout utility page entry
- Throws:
PortalException
- if a layout utility page entry with the primary key could not be foundcom.liferay.portal.kernel.exception.PortalException
-
getLayoutUtilityPageEntryByExternalReferenceCode
public LayoutUtilityPageEntry getLayoutUtilityPageEntryByExternalReferenceCode(String externalReferenceCode, long groupId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getLayoutUtilityPageEntryByExternalReferenceCode
in interfaceLayoutUtilityPageEntryLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getLayoutUtilityPageEntryByUuidAndGroupId
public LayoutUtilityPageEntry getLayoutUtilityPageEntryByUuidAndGroupId(String uuid, long groupId) throws com.liferay.portal.kernel.exception.PortalException Returns the layout utility page entry matching the UUID and group.- Specified by:
getLayoutUtilityPageEntryByUuidAndGroupId
in interfaceLayoutUtilityPageEntryLocalService
- Parameters:
uuid
- the layout utility page entry's UUIDgroupId
- the primary key of the group- Returns:
- the matching layout utility page entry
- Throws:
PortalException
- if a matching layout utility page entry could not be foundcom.liferay.portal.kernel.exception.PortalException
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifier
in interfaceLayoutUtilityPageEntryLocalService
- Returns:
- the OSGi service identifier
-
getPersistedModel
public com.liferay.portal.kernel.model.PersistedModel getPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getPersistedModel
in interfaceLayoutUtilityPageEntryLocalService
- Specified by:
getPersistedModel
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
- Throws:
PortalException
com.liferay.portal.kernel.exception.PortalException
-
setDefaultLayoutUtilityPageEntry
public LayoutUtilityPageEntry setDefaultLayoutUtilityPageEntry(long layoutUtilityPageEntryId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
setDefaultLayoutUtilityPageEntry
in interfaceLayoutUtilityPageEntryLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateLayoutUtilityPageEntry
public LayoutUtilityPageEntry updateLayoutUtilityPageEntry(LayoutUtilityPageEntry layoutUtilityPageEntry) Updates the layout utility page entry in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.Important: Inspect LayoutUtilityPageEntryLocalServiceImpl 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:
updateLayoutUtilityPageEntry
in interfaceLayoutUtilityPageEntryLocalService
- Parameters:
layoutUtilityPageEntry
- the layout utility page entry- Returns:
- the layout utility page entry that was updated
-
updateLayoutUtilityPageEntry
public LayoutUtilityPageEntry updateLayoutUtilityPageEntry(long layoutUtilityPageEntryId, long previewFileEntryId) - Specified by:
updateLayoutUtilityPageEntry
in interfaceLayoutUtilityPageEntryLocalService
-
updateLayoutUtilityPageEntry
public LayoutUtilityPageEntry updateLayoutUtilityPageEntry(long layoutUtilityPageEntryId, String name) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateLayoutUtilityPageEntry
in interfaceLayoutUtilityPageEntryLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getBasePersistence
public com.liferay.portal.kernel.service.persistence.BasePersistence<?> getBasePersistence()- Specified by:
getBasePersistence
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
getCTPersistence
public com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<LayoutUtilityPageEntry> getCTPersistence()- Specified by:
getCTPersistence
in interfacecom.liferay.portal.kernel.service.change.tracking.CTService<LayoutUtilityPageEntry>
- Specified by:
getCTPersistence
in interfaceLayoutUtilityPageEntryLocalService
-
getModelClass
- Specified by:
getModelClass
in interfacecom.liferay.portal.kernel.service.change.tracking.CTService<LayoutUtilityPageEntry>
- Specified by:
getModelClass
in interfaceLayoutUtilityPageEntryLocalService
-
updateWithUnsafeFunction
public <R,E extends Throwable> R updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<LayoutUtilityPageEntry>, R, throws EE> updateUnsafeFunction) - Specified by:
updateWithUnsafeFunction
in interfacecom.liferay.portal.kernel.service.change.tracking.CTService<LayoutUtilityPageEntry>
- Specified by:
updateWithUnsafeFunction
in interfaceLayoutUtilityPageEntryLocalService
- Throws:
E extends Throwable
-
getWrappedService
- Specified by:
getWrappedService
in interfacecom.liferay.portal.kernel.service.ServiceWrapper<LayoutUtilityPageEntryLocalService>
-
setWrappedService
public void setWrappedService(LayoutUtilityPageEntryLocalService layoutUtilityPageEntryLocalService) - Specified by:
setWrappedService
in interfacecom.liferay.portal.kernel.service.ServiceWrapper<LayoutUtilityPageEntryLocalService>
-