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.PersistedModelcreatePersistedModel(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.PersistedModeldeletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) <T> TdslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) intdslQueryCount(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.longdynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.longdynamicQueryCount(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.ActionableDynamicQuerycom.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.ExportActionableDynamicQuerygetExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuerygetLayoutUtilityPageEntries(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.intReturns the number of layout utility page entries.intgetLayoutUtilityPageEntriesCount(long groupId) intgetLayoutUtilityPageEntriesCount(long groupId, String[] types) intgetLayoutUtilityPageEntriesCount(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.PersistedModelgetPersistedModel(Serializable primaryKeyObj) setDefaultLayoutUtilityPageEntry(long layoutUtilityPageEntryId) voidsetWrappedService(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, waitMethods 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:
addLayoutUtilityPageEntryin 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:
addLayoutUtilityPageEntryin 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:
copyLayoutUtilityPageEntryin 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:
createLayoutUtilityPageEntryin 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:
createPersistedModelin interfaceLayoutUtilityPageEntryLocalService- Specified by:
createPersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Throws:
PortalExceptioncom.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:
deleteLayoutUtilityPageEntryin interfaceLayoutUtilityPageEntryLocalService- Parameters:
layoutUtilityPageEntry- the layout utility page entry- Returns:
- the layout utility page entry that was removed
- Throws:
PortalExceptioncom.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:
deleteLayoutUtilityPageEntryin 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:
deleteLayoutUtilityPageEntryin 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:
deletePersistedModelin interfaceLayoutUtilityPageEntryLocalService- Specified by:
deletePersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Throws:
PortalExceptioncom.liferay.portal.kernel.exception.PortalException
-
dslQuery
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryin interfaceLayoutUtilityPageEntryLocalService- Specified by:
dslQueryin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dslQueryCount
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryCountin interfaceLayoutUtilityPageEntryLocalService- Specified by:
dslQueryCountin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dynamicQuery
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()- Specified by:
dynamicQueryin interfaceLayoutUtilityPageEntryLocalService
-
dynamicQuery
Performs a dynamic query on the database and returns the matching rows.- Specified by:
dynamicQueryin 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 - 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.layout.utility.page.model.impl.LayoutUtilityPageEntryModelImpl.- Specified by:
dynamicQueryin 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 - 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.layout.utility.page.model.impl.LayoutUtilityPageEntryModelImpl.- Specified by:
dynamicQueryin 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:
dynamicQueryCountin 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:
dynamicQueryCountin 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:
fetchDefaultLayoutUtilityPageEntryin interfaceLayoutUtilityPageEntryLocalService
-
fetchLayoutUtilityPageEntry
- Specified by:
fetchLayoutUtilityPageEntryin interfaceLayoutUtilityPageEntryLocalService
-
fetchLayoutUtilityPageEntry
- Specified by:
fetchLayoutUtilityPageEntryin interfaceLayoutUtilityPageEntryLocalService
-
fetchLayoutUtilityPageEntryByExternalReferenceCode
public LayoutUtilityPageEntry fetchLayoutUtilityPageEntryByExternalReferenceCode(String externalReferenceCode, long groupId) - Specified by:
fetchLayoutUtilityPageEntryByExternalReferenceCodein interfaceLayoutUtilityPageEntryLocalService
-
fetchLayoutUtilityPageEntryByPlid
- Specified by:
fetchLayoutUtilityPageEntryByPlidin interfaceLayoutUtilityPageEntryLocalService
-
fetchLayoutUtilityPageEntryByUuidAndGroupId
public LayoutUtilityPageEntry fetchLayoutUtilityPageEntryByUuidAndGroupId(String uuid, long groupId) Returns the layout utility page entry matching the UUID and group.- Specified by:
fetchLayoutUtilityPageEntryByUuidAndGroupIdin interfaceLayoutUtilityPageEntryLocalService- Parameters:
uuid- the layout utility page entry's UUIDgroupId- the primary key of the group- Returns:
- the matching layout utility page entry, or
nullif a matching layout utility page entry could not be found
-
getActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()- Specified by:
getActionableDynamicQueryin interfaceLayoutUtilityPageEntryLocalService
-
getDefaultLayoutUtilityPageEntry
public LayoutUtilityPageEntry getDefaultLayoutUtilityPageEntry(long groupId, String type) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getDefaultLayoutUtilityPageEntryin 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:
getExportActionableDynamicQueryin interfaceLayoutUtilityPageEntryLocalService
-
getIndexableActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()- Specified by:
getIndexableActionableDynamicQueryin interfaceLayoutUtilityPageEntryLocalService
-
getLayoutUtilityPageEntries
Returns a range of all the layout utility page entries.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.layout.utility.page.model.impl.LayoutUtilityPageEntryModelImpl.- Specified by:
getLayoutUtilityPageEntriesin 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:
getLayoutUtilityPageEntriesin interfaceLayoutUtilityPageEntryLocalService
-
getLayoutUtilityPageEntries
public List<LayoutUtilityPageEntry> getLayoutUtilityPageEntries(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutUtilityPageEntry> orderByComparator) - Specified by:
getLayoutUtilityPageEntriesin interfaceLayoutUtilityPageEntryLocalService
-
getLayoutUtilityPageEntries
public List<LayoutUtilityPageEntry> getLayoutUtilityPageEntries(long groupId, String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutUtilityPageEntry> orderByComparator) - Specified by:
getLayoutUtilityPageEntriesin 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:
getLayoutUtilityPageEntriesin interfaceLayoutUtilityPageEntryLocalService
-
getLayoutUtilityPageEntries
public List<LayoutUtilityPageEntry> getLayoutUtilityPageEntries(long groupId, String[] types, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutUtilityPageEntry> orderByComparator) - Specified by:
getLayoutUtilityPageEntriesin interfaceLayoutUtilityPageEntryLocalService
-
getLayoutUtilityPageEntriesByUuidAndCompanyId
public List<LayoutUtilityPageEntry> getLayoutUtilityPageEntriesByUuidAndCompanyId(String uuid, long companyId) Returns all the layout utility page entries matching the UUID and company.- Specified by:
getLayoutUtilityPageEntriesByUuidAndCompanyIdin 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:
getLayoutUtilityPageEntriesByUuidAndCompanyIdin 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:
getLayoutUtilityPageEntriesCountin interfaceLayoutUtilityPageEntryLocalService- Returns:
- the number of layout utility page entries
-
getLayoutUtilityPageEntriesCount
public int getLayoutUtilityPageEntriesCount(long groupId) - Specified by:
getLayoutUtilityPageEntriesCountin interfaceLayoutUtilityPageEntryLocalService
-
getLayoutUtilityPageEntriesCount
- Specified by:
getLayoutUtilityPageEntriesCountin interfaceLayoutUtilityPageEntryLocalService
-
getLayoutUtilityPageEntriesCount
- Specified by:
getLayoutUtilityPageEntriesCountin 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:
getLayoutUtilityPageEntryin 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:
getLayoutUtilityPageEntryByExternalReferenceCodein 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:
getLayoutUtilityPageEntryByUuidAndGroupIdin 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:
getOSGiServiceIdentifierin 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:
getPersistedModelin interfaceLayoutUtilityPageEntryLocalService- Specified by:
getPersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Throws:
PortalExceptioncom.liferay.portal.kernel.exception.PortalException
-
setDefaultLayoutUtilityPageEntry
public LayoutUtilityPageEntry setDefaultLayoutUtilityPageEntry(long layoutUtilityPageEntryId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
setDefaultLayoutUtilityPageEntryin 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:
updateLayoutUtilityPageEntryin 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:
updateLayoutUtilityPageEntryin interfaceLayoutUtilityPageEntryLocalService
-
updateLayoutUtilityPageEntry
public LayoutUtilityPageEntry updateLayoutUtilityPageEntry(long layoutUtilityPageEntryId, String name) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateLayoutUtilityPageEntryin interfaceLayoutUtilityPageEntryLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getBasePersistence
public com.liferay.portal.kernel.service.persistence.BasePersistence<?> getBasePersistence()- Specified by:
getBasePersistencein interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
getCTPersistence
public com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<LayoutUtilityPageEntry> getCTPersistence()- Specified by:
getCTPersistencein interfacecom.liferay.portal.kernel.service.change.tracking.CTService<LayoutUtilityPageEntry>- Specified by:
getCTPersistencein interfaceLayoutUtilityPageEntryLocalService
-
getModelClass
- Specified by:
getModelClassin interfacecom.liferay.portal.kernel.service.change.tracking.CTService<LayoutUtilityPageEntry>- Specified by:
getModelClassin 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:
updateWithUnsafeFunctionin interfacecom.liferay.portal.kernel.service.change.tracking.CTService<LayoutUtilityPageEntry>- Specified by:
updateWithUnsafeFunctionin interfaceLayoutUtilityPageEntryLocalService- Throws:
E extends Throwable
-
getWrappedService
- Specified by:
getWrappedServicein interfacecom.liferay.portal.kernel.service.ServiceWrapper<LayoutUtilityPageEntryLocalService>
-
setWrappedService
public void setWrappedService(LayoutUtilityPageEntryLocalService layoutUtilityPageEntryLocalService) - Specified by:
setWrappedServicein interfacecom.liferay.portal.kernel.service.ServiceWrapper<LayoutUtilityPageEntryLocalService>
-