Interface LayoutPageTemplateEntryLocalService
- All Superinterfaces:
com.liferay.portal.kernel.service.BaseLocalService,com.liferay.portal.kernel.service.change.tracking.CTService<LayoutPageTemplateEntry>,com.liferay.portal.kernel.service.PersistedModelLocalService
- All Known Implementing Classes:
LayoutPageTemplateEntryLocalServiceWrapper
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionaddGlobalLayoutPageTemplateEntry(com.liferay.portal.kernel.model.LayoutPrototype layoutPrototype) addLayoutPageTemplateEntry(LayoutPageTemplateEntry layoutPageTemplateEntry) Adds the layout page template entry to the database.addLayoutPageTemplateEntry(com.liferay.portal.kernel.model.LayoutPrototype layoutPrototype) addLayoutPageTemplateEntry(String externalReferenceCode, long userId, long groupId, long layoutPageTemplateCollectionId, String layoutPageTemplateEntryKey, long classNameId, long classTypeId, String name, int type, long previewFileEntryId, boolean defaultTemplate, long layoutPrototypeId, long plid, long masterLayoutPlid, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext) addLayoutPageTemplateEntry(String externalReferenceCode, long userId, long groupId, long layoutPageTemplateCollectionId, String layoutPageTemplateEntryKey, long classNameId, long classTypeId, String name, int type, long masterLayoutPlid, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext) addLayoutPageTemplateEntry(String externalReferenceCode, long userId, long groupId, long layoutPageTemplateCollectionId, String layoutPageTemplateEntryKey, String name, int type, long masterLayoutPlid, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext) copyLayoutPageTemplateEntry(long userId, long groupId, long layoutPageTemplateCollectionId, long sourceLayoutPageTemplateEntryId, boolean copyPermissions, com.liferay.portal.kernel.service.ServiceContext serviceContext) createLayoutPageTemplateEntry(long layoutPageTemplateEntryId) Creates a new layout page template entry with the primary key.com.liferay.portal.kernel.model.PersistedModelcreatePersistedModel(Serializable primaryKeyObj) deleteLayoutPageTemplateEntry(long layoutPageTemplateEntryId) Deletes the layout page template entry with the primary key from the database.deleteLayoutPageTemplateEntry(LayoutPageTemplateEntry layoutPageTemplateEntry) Deletes the layout page template entry from the database.deleteLayoutPageTemplateEntry(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.fetchDefaultLayoutPageTemplateEntry(long groupId, long classNameId, long classTypeId) fetchFirstLayoutPageTemplateEntry(long layoutPrototypeId) fetchLayoutPageTemplateEntry(long layoutPageTemplateEntryId) fetchLayoutPageTemplateEntry(long groupId, long layoutPageTemplateCollectionId, String name, int type) fetchLayoutPageTemplateEntry(long groupId, String layoutPageTemplateEntryKey) fetchLayoutPageTemplateEntryByExternalReferenceCode(String externalReferenceCode, long groupId) fetchLayoutPageTemplateEntryByPlid(long plid) fetchLayoutPageTemplateEntryByUuidAndGroupId(String uuid, long groupId) Returns the layout page template entry matching the UUID and group.com.liferay.portal.kernel.dao.orm.ActionableDynamicQuerycom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<LayoutPageTemplateEntry> com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuerygetExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) getFirstLayoutPageTemplateEntry(long layoutPrototypeId) com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuerygetLayoutPageTemplateEntries(int start, int end) Returns a range of all the layout page template entries.getLayoutPageTemplateEntries(long groupId) getLayoutPageTemplateEntries(long groupId, int status) getLayoutPageTemplateEntries(long groupId, long layoutPageTemplateCollectionId) getLayoutPageTemplateEntries(long groupId, long layoutPageTemplateCollectionId, int status) getLayoutPageTemplateEntries(long groupId, long layoutPageTemplateCollectionId, int start, int end) getLayoutPageTemplateEntries(long groupId, long layoutPageTemplateCollectionId, int status, int start, int end) getLayoutPageTemplateEntries(long groupId, long layoutPageTemplateCollectionId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateEntry> orderByComparator) getLayoutPageTemplateEntries(long groupId, long layoutPageTemplateCollectionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateEntry> orderByComparator) getLayoutPageTemplateEntries(long groupId, long layoutPageTemplateCollectionId, String name, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateEntry> orderByComparator) getLayoutPageTemplateEntries(long groupId, long layoutPageTemplateCollectionId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateEntry> orderByComparator) getLayoutPageTemplateEntriesByLayoutPrototypeId(long layoutPrototypeId) getLayoutPageTemplateEntriesByUuidAndCompanyId(String uuid, long companyId) Returns all the layout page template entries matching the UUID and company.getLayoutPageTemplateEntriesByUuidAndCompanyId(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateEntry> orderByComparator) Returns a range of layout page template entries matching the UUID and company.intReturns the number of layout page template entries.getLayoutPageTemplateEntry(long layoutPageTemplateEntryId) Returns the layout page template entry with the primary key.getLayoutPageTemplateEntry(long groupId, String layoutPageTemplateEntryKey) getLayoutPageTemplateEntryByExternalReferenceCode(String externalReferenceCode, long groupId) getLayoutPageTemplateEntryByUuidAndGroupId(String uuid, long groupId) Returns the layout page template entry matching the UUID and group.Returns the OSGi service identifier.com.liferay.portal.kernel.model.PersistedModelgetPersistedModel(Serializable primaryKeyObj) getUniqueLayoutPageTemplateEntryName(long groupId, long layoutPageTemplateCollectionId, String name, int type) moveLayoutPageTemplateEntry(long layoutPageTemplateEntryId, long targetLayoutPageTemplateCollectionId) updateLayoutPageTemplateEntry(long layoutPageTemplateEntryId, boolean defaultTemplate) updateLayoutPageTemplateEntry(long layoutPageTemplateEntryId, long previewFileEntryId) updateLayoutPageTemplateEntry(long layoutPageTemplateEntryId, long classNameId, long classTypeId) updateLayoutPageTemplateEntry(long userId, long layoutPageTemplateEntryId, String name, int status) updateLayoutPageTemplateEntry(long layoutPageTemplateEntryId, String name) updateLayoutPageTemplateEntry(LayoutPageTemplateEntry layoutPageTemplateEntry) Updates the layout page template entry in the database or adds it if it does not yet exist.updateStatus(long userId, long layoutPageTemplateEntryId, int status) <R,E extends Throwable>
RupdateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<LayoutPageTemplateEntry>, R, E> updateUnsafeFunction) Methods inherited from interface com.liferay.portal.kernel.service.PersistedModelLocalService
fetchPersistedModel, getBasePersistence
-
Method Details
-
addGlobalLayoutPageTemplateEntry
LayoutPageTemplateEntry addGlobalLayoutPageTemplateEntry(com.liferay.portal.kernel.model.LayoutPrototype layoutPrototype) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
addLayoutPageTemplateEntry
@Indexable(type=REINDEX) LayoutPageTemplateEntry addLayoutPageTemplateEntry(LayoutPageTemplateEntry layoutPageTemplateEntry) Adds the layout page template entry to the database. Also notifies the appropriate model listeners.Important: Inspect LayoutPageTemplateEntryLocalServiceImpl 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.
- Parameters:
layoutPageTemplateEntry- the layout page template entry- Returns:
- the layout page template entry that was added
-
addLayoutPageTemplateEntry
LayoutPageTemplateEntry addLayoutPageTemplateEntry(com.liferay.portal.kernel.model.LayoutPrototype layoutPrototype) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
addLayoutPageTemplateEntry
LayoutPageTemplateEntry addLayoutPageTemplateEntry(String externalReferenceCode, long userId, long groupId, long layoutPageTemplateCollectionId, String layoutPageTemplateEntryKey, long classNameId, long classTypeId, String name, int type, long previewFileEntryId, boolean defaultTemplate, long layoutPrototypeId, long plid, long masterLayoutPlid, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
addLayoutPageTemplateEntry
LayoutPageTemplateEntry addLayoutPageTemplateEntry(String externalReferenceCode, long userId, long groupId, long layoutPageTemplateCollectionId, String layoutPageTemplateEntryKey, long classNameId, long classTypeId, String name, int type, long masterLayoutPlid, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
addLayoutPageTemplateEntry
LayoutPageTemplateEntry addLayoutPageTemplateEntry(String externalReferenceCode, long userId, long groupId, long layoutPageTemplateCollectionId, String layoutPageTemplateEntryKey, String name, int type, long masterLayoutPlid, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
copyLayoutPageTemplateEntry
LayoutPageTemplateEntry copyLayoutPageTemplateEntry(long userId, long groupId, long layoutPageTemplateCollectionId, long sourceLayoutPageTemplateEntryId, boolean copyPermissions, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws Exception - Throws:
Exception
-
createLayoutPageTemplateEntry
@Transactional(enabled=false) LayoutPageTemplateEntry createLayoutPageTemplateEntry(long layoutPageTemplateEntryId) Creates a new layout page template entry with the primary key. Does not add the layout page template entry to the database.- Parameters:
layoutPageTemplateEntryId- the primary key for the new layout page template entry- Returns:
- the new layout page template entry
-
createPersistedModel
com.liferay.portal.kernel.model.PersistedModel createPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
createPersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteLayoutPageTemplateEntry
@Indexable(type=DELETE) @SystemEvent(type=1) LayoutPageTemplateEntry deleteLayoutPageTemplateEntry(LayoutPageTemplateEntry layoutPageTemplateEntry) throws com.liferay.portal.kernel.exception.PortalException Deletes the layout page template entry from the database. Also notifies the appropriate model listeners.Important: Inspect LayoutPageTemplateEntryLocalServiceImpl 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.
- Parameters:
layoutPageTemplateEntry- the layout page template entry- Returns:
- the layout page template entry that was removed
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteLayoutPageTemplateEntry
@Indexable(type=DELETE) LayoutPageTemplateEntry deleteLayoutPageTemplateEntry(long layoutPageTemplateEntryId) throws com.liferay.portal.kernel.exception.PortalException Deletes the layout page template entry with the primary key from the database. Also notifies the appropriate model listeners.Important: Inspect LayoutPageTemplateEntryLocalServiceImpl 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.
- Parameters:
layoutPageTemplateEntryId- the primary key of the layout page template entry- Returns:
- the layout page template entry that was removed
- Throws:
com.liferay.portal.kernel.exception.PortalException- if a layout page template entry with the primary key could not be found
-
deleteLayoutPageTemplateEntry
LayoutPageTemplateEntry deleteLayoutPageTemplateEntry(String externalReferenceCode, long groupId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deletePersistedModel
com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deletePersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
dslQuery
@Transactional(propagation=SUPPORTS, readOnly=true) <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dslQueryCount
@Transactional(propagation=SUPPORTS, readOnly=true) int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryCountin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dynamicQuery
@Transactional(propagation=SUPPORTS, readOnly=true) com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() -
dynamicQuery
@Transactional(propagation=SUPPORTS, readOnly=true) <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Performs a dynamic query on the database and returns the matching rows.- Parameters:
dynamicQuery- the dynamic query- Returns:
- the matching rows
-
dynamicQuery
@Transactional(propagation=SUPPORTS, readOnly=true) <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.page.template.model.impl.LayoutPageTemplateEntryModelImpl.- 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
@Transactional(propagation=SUPPORTS, readOnly=true) <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.page.template.model.impl.LayoutPageTemplateEntryModelImpl.- 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
@Transactional(propagation=SUPPORTS, readOnly=true) long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.- Parameters:
dynamicQuery- the dynamic query- Returns:
- the number of rows matching the dynamic query
-
dynamicQueryCount
@Transactional(propagation=SUPPORTS, readOnly=true) 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.- Parameters:
dynamicQuery- the dynamic queryprojection- the projection to apply to the query- Returns:
- the number of rows matching the dynamic query
-
fetchDefaultLayoutPageTemplateEntry
@Transactional(propagation=SUPPORTS, readOnly=true) LayoutPageTemplateEntry fetchDefaultLayoutPageTemplateEntry(long groupId, long classNameId, long classTypeId) -
fetchFirstLayoutPageTemplateEntry
@Transactional(propagation=SUPPORTS, readOnly=true) LayoutPageTemplateEntry fetchFirstLayoutPageTemplateEntry(long layoutPrototypeId) -
fetchLayoutPageTemplateEntry
@Transactional(propagation=SUPPORTS, readOnly=true) LayoutPageTemplateEntry fetchLayoutPageTemplateEntry(long layoutPageTemplateEntryId) -
fetchLayoutPageTemplateEntry
@Transactional(propagation=SUPPORTS, readOnly=true) LayoutPageTemplateEntry fetchLayoutPageTemplateEntry(long groupId, long layoutPageTemplateCollectionId, String name, int type) -
fetchLayoutPageTemplateEntry
@Transactional(propagation=SUPPORTS, readOnly=true) LayoutPageTemplateEntry fetchLayoutPageTemplateEntry(long groupId, String layoutPageTemplateEntryKey) -
fetchLayoutPageTemplateEntryByExternalReferenceCode
@Transactional(propagation=SUPPORTS, readOnly=true) LayoutPageTemplateEntry fetchLayoutPageTemplateEntryByExternalReferenceCode(String externalReferenceCode, long groupId) -
fetchLayoutPageTemplateEntryByPlid
@Transactional(propagation=SUPPORTS, readOnly=true) LayoutPageTemplateEntry fetchLayoutPageTemplateEntryByPlid(long plid) -
fetchLayoutPageTemplateEntryByUuidAndGroupId
@Transactional(propagation=SUPPORTS, readOnly=true) LayoutPageTemplateEntry fetchLayoutPageTemplateEntryByUuidAndGroupId(String uuid, long groupId) Returns the layout page template entry matching the UUID and group.- Parameters:
uuid- the layout page template entry's UUIDgroupId- the primary key of the group- Returns:
- the matching layout page template entry, or
nullif a matching layout page template entry could not be found
-
getActionableDynamicQuery
@Transactional(propagation=SUPPORTS, readOnly=true) com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery() -
getExportActionableDynamicQuery
@Transactional(propagation=SUPPORTS, readOnly=true) com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) -
getFirstLayoutPageTemplateEntry
@Transactional(propagation=SUPPORTS, readOnly=true) LayoutPageTemplateEntry getFirstLayoutPageTemplateEntry(long layoutPrototypeId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getIndexableActionableDynamicQuery
@Transactional(propagation=SUPPORTS, readOnly=true) com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery() -
getLayoutPageTemplateEntries
@Transactional(propagation=SUPPORTS, readOnly=true) List<LayoutPageTemplateEntry> getLayoutPageTemplateEntries(int start, int end) Returns a range of all the layout page template 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.page.template.model.impl.LayoutPageTemplateEntryModelImpl.- Parameters:
start- the lower bound of the range of layout page template entriesend- the upper bound of the range of layout page template entries (not inclusive)- Returns:
- the range of layout page template entries
-
getLayoutPageTemplateEntries
@Transactional(propagation=SUPPORTS, readOnly=true) List<LayoutPageTemplateEntry> getLayoutPageTemplateEntries(long groupId) -
getLayoutPageTemplateEntries
@Transactional(propagation=SUPPORTS, readOnly=true) List<LayoutPageTemplateEntry> getLayoutPageTemplateEntries(long groupId, int status) -
getLayoutPageTemplateEntries
@Transactional(propagation=SUPPORTS, readOnly=true) List<LayoutPageTemplateEntry> getLayoutPageTemplateEntries(long groupId, long layoutPageTemplateCollectionId) -
getLayoutPageTemplateEntries
@Transactional(propagation=SUPPORTS, readOnly=true) List<LayoutPageTemplateEntry> getLayoutPageTemplateEntries(long groupId, long layoutPageTemplateCollectionId, int status) -
getLayoutPageTemplateEntries
@Transactional(propagation=SUPPORTS, readOnly=true) List<LayoutPageTemplateEntry> getLayoutPageTemplateEntries(long groupId, long layoutPageTemplateCollectionId, int start, int end) -
getLayoutPageTemplateEntries
@Transactional(propagation=SUPPORTS, readOnly=true) List<LayoutPageTemplateEntry> getLayoutPageTemplateEntries(long groupId, long layoutPageTemplateCollectionId, int status, int start, int end) -
getLayoutPageTemplateEntries
@Transactional(propagation=SUPPORTS, readOnly=true) List<LayoutPageTemplateEntry> getLayoutPageTemplateEntries(long groupId, long layoutPageTemplateCollectionId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateEntry> orderByComparator) -
getLayoutPageTemplateEntries
@Transactional(propagation=SUPPORTS, readOnly=true) List<LayoutPageTemplateEntry> getLayoutPageTemplateEntries(long groupId, long layoutPageTemplateCollectionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateEntry> orderByComparator) -
getLayoutPageTemplateEntries
@Transactional(propagation=SUPPORTS, readOnly=true) List<LayoutPageTemplateEntry> getLayoutPageTemplateEntries(long groupId, long layoutPageTemplateCollectionId, String name, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateEntry> orderByComparator) -
getLayoutPageTemplateEntries
@Transactional(propagation=SUPPORTS, readOnly=true) List<LayoutPageTemplateEntry> getLayoutPageTemplateEntries(long groupId, long layoutPageTemplateCollectionId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateEntry> orderByComparator) -
getLayoutPageTemplateEntriesByLayoutPrototypeId
@Transactional(propagation=SUPPORTS, readOnly=true) List<LayoutPageTemplateEntry> getLayoutPageTemplateEntriesByLayoutPrototypeId(long layoutPrototypeId) -
getLayoutPageTemplateEntriesByUuidAndCompanyId
@Transactional(propagation=SUPPORTS, readOnly=true) List<LayoutPageTemplateEntry> getLayoutPageTemplateEntriesByUuidAndCompanyId(String uuid, long companyId) Returns all the layout page template entries matching the UUID and company.- Parameters:
uuid- the UUID of the layout page template entriescompanyId- the primary key of the company- Returns:
- the matching layout page template entries, or an empty list if no matches were found
-
getLayoutPageTemplateEntriesByUuidAndCompanyId
@Transactional(propagation=SUPPORTS, readOnly=true) List<LayoutPageTemplateEntry> getLayoutPageTemplateEntriesByUuidAndCompanyId(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateEntry> orderByComparator) Returns a range of layout page template entries matching the UUID and company.- Parameters:
uuid- the UUID of the layout page template entriescompanyId- the primary key of the companystart- the lower bound of the range of layout page template entriesend- the upper bound of the range of layout page template entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the range of matching layout page template entries, or an empty list if no matches were found
-
getLayoutPageTemplateEntriesCount
@Transactional(propagation=SUPPORTS, readOnly=true) int getLayoutPageTemplateEntriesCount()Returns the number of layout page template entries.- Returns:
- the number of layout page template entries
-
getLayoutPageTemplateEntry
@Transactional(propagation=SUPPORTS, readOnly=true) LayoutPageTemplateEntry getLayoutPageTemplateEntry(long layoutPageTemplateEntryId) throws com.liferay.portal.kernel.exception.PortalException Returns the layout page template entry with the primary key.- Parameters:
layoutPageTemplateEntryId- the primary key of the layout page template entry- Returns:
- the layout page template entry
- Throws:
com.liferay.portal.kernel.exception.PortalException- if a layout page template entry with the primary key could not be found
-
getLayoutPageTemplateEntry
@Transactional(propagation=SUPPORTS, readOnly=true) LayoutPageTemplateEntry getLayoutPageTemplateEntry(long groupId, String layoutPageTemplateEntryKey) throws NoSuchPageTemplateEntryException - Throws:
NoSuchPageTemplateEntryException
-
getLayoutPageTemplateEntryByExternalReferenceCode
@Transactional(propagation=SUPPORTS, readOnly=true) LayoutPageTemplateEntry getLayoutPageTemplateEntryByExternalReferenceCode(String externalReferenceCode, long groupId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getLayoutPageTemplateEntryByUuidAndGroupId
@Transactional(propagation=SUPPORTS, readOnly=true) LayoutPageTemplateEntry getLayoutPageTemplateEntryByUuidAndGroupId(String uuid, long groupId) throws com.liferay.portal.kernel.exception.PortalException Returns the layout page template entry matching the UUID and group.- Parameters:
uuid- the layout page template entry's UUIDgroupId- the primary key of the group- Returns:
- the matching layout page template entry
- Throws:
com.liferay.portal.kernel.exception.PortalException- if a matching layout page template entry could not be found
-
getOSGiServiceIdentifier
String getOSGiServiceIdentifier()Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
getPersistedModel
@Transactional(propagation=SUPPORTS, readOnly=true) com.liferay.portal.kernel.model.PersistedModel getPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getPersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getUniqueLayoutPageTemplateEntryName
-
moveLayoutPageTemplateEntry
LayoutPageTemplateEntry moveLayoutPageTemplateEntry(long layoutPageTemplateEntryId, long targetLayoutPageTemplateCollectionId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateLayoutPageTemplateEntry
@Indexable(type=REINDEX) LayoutPageTemplateEntry updateLayoutPageTemplateEntry(LayoutPageTemplateEntry layoutPageTemplateEntry) Updates the layout page template entry in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.Important: Inspect LayoutPageTemplateEntryLocalServiceImpl 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.
- Parameters:
layoutPageTemplateEntry- the layout page template entry- Returns:
- the layout page template entry that was updated
-
updateLayoutPageTemplateEntry
LayoutPageTemplateEntry updateLayoutPageTemplateEntry(long layoutPageTemplateEntryId, boolean defaultTemplate) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateLayoutPageTemplateEntry
LayoutPageTemplateEntry updateLayoutPageTemplateEntry(long layoutPageTemplateEntryId, long previewFileEntryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateLayoutPageTemplateEntry
LayoutPageTemplateEntry updateLayoutPageTemplateEntry(long layoutPageTemplateEntryId, long classNameId, long classTypeId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateLayoutPageTemplateEntry
LayoutPageTemplateEntry updateLayoutPageTemplateEntry(long userId, long layoutPageTemplateEntryId, String name, int status) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateLayoutPageTemplateEntry
LayoutPageTemplateEntry updateLayoutPageTemplateEntry(long layoutPageTemplateEntryId, String name) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateStatus
LayoutPageTemplateEntry updateStatus(long userId, long layoutPageTemplateEntryId, int status) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCTPersistence
@Transactional(enabled=false) com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<LayoutPageTemplateEntry> getCTPersistence()- Specified by:
getCTPersistencein interfacecom.liferay.portal.kernel.service.change.tracking.CTService<LayoutPageTemplateEntry>
-
getModelClass
- Specified by:
getModelClassin interfacecom.liferay.portal.kernel.service.change.tracking.CTService<LayoutPageTemplateEntry>
-
updateWithUnsafeFunction
@Transactional(rollbackFor=java.lang.Throwable.class) <R,E extends Throwable> R updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<LayoutPageTemplateEntry>, R, throws EE> updateUnsafeFunction) - Specified by:
updateWithUnsafeFunctionin interfacecom.liferay.portal.kernel.service.change.tracking.CTService<LayoutPageTemplateEntry>- Throws:
E
-