Class LayoutRevisionLocalServiceWrapper
- All Implemented Interfaces:
BaseLocalService,LayoutRevisionLocalService,PersistedModelLocalService,ServiceWrapper<LayoutRevisionLocalService>
LayoutRevisionLocalService.- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Constructor Summary
ConstructorsConstructorDescriptionLayoutRevisionLocalServiceWrapper(LayoutRevisionLocalService layoutRevisionLocalService) -
Method Summary
Modifier and TypeMethodDescriptionaddLayoutRevision(long userId, long layoutSetBranchId, long layoutBranchId, long parentLayoutRevisionId, boolean head, long plid, long portletPreferencesPlid, boolean privateLayout, String name, String title, String description, String keywords, String robots, String typeSettings, boolean iconImage, long iconImageId, String themeId, String colorSchemeId, String css, ServiceContext serviceContext) addLayoutRevision(LayoutRevision layoutRevision) Adds the layout revision to the database.createLayoutRevision(long layoutRevisionId) Creates a new layout revision with the primary key.createPersistedModel(Serializable primaryKeyObj) voiddeleteLayoutLayoutRevisions(long plid) deleteLayoutRevision(long layoutRevisionId) Deletes the layout revision with the primary key from the database.deleteLayoutRevision(LayoutRevision layoutRevision) Deletes the layout revision from the database.voiddeleteLayoutRevisions(long layoutSetBranchId, long plid) voiddeleteLayoutRevisions(long layoutSetBranchId, long layoutBranchId, long plid) voiddeleteLayoutSetBranchLayoutRevisions(long layoutSetBranchId) deletePersistedModel(PersistedModel persistedModel) <T> TdslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) intdslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) <T> List<T>dynamicQuery(DynamicQuery dynamicQuery) Performs a dynamic query on the database and returns the matching rows.<T> List<T>dynamicQuery(DynamicQuery dynamicQuery, int start, int end) Performs a dynamic query on the database and returns a range of the matching rows.<T> List<T>dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<T> orderByComparator) Performs a dynamic query on the database and returns an ordered range of the matching rows.longdynamicQueryCount(DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.longdynamicQueryCount(DynamicQuery dynamicQuery, Projection projection) Returns the number of rows matching the dynamic query.fetchLastLayoutRevision(long plid, boolean head) fetchLatestLayoutRevision(long layoutSetBranchId, long plid) fetchLatestLayoutRevision(long layoutSetBranchId, long layoutBranchId, long plid) fetchLayoutRevision(long layoutRevisionId) fetchLayoutRevision(long layoutSetBranchId, long layoutBranchId, boolean head, long plid) getChildLayoutRevisions(long layoutSetBranchId, long parentLayoutRevisionId, long plid) getChildLayoutRevisions(long layoutSetBranchId, long parentLayoutRevision, long plid, int start, int end, OrderByComparator<LayoutRevision> orderByComparator) intgetChildLayoutRevisionsCount(long layoutSetBranchId, long parentLayoutRevision, long plid) getLayoutRevision(long layoutRevisionId) Returns the layout revision with the primary key.getLayoutRevision(long layoutSetBranchId, long layoutBranchId, long plid) getLayoutRevisions(int start, int end) Returns a range of all the layout revisions.getLayoutRevisions(long plid) getLayoutRevisions(long layoutSetBranchId, boolean head) getLayoutRevisions(long layoutSetBranchId, boolean head, int status) getLayoutRevisions(long layoutSetBranchId, int status) getLayoutRevisions(long layoutSetBranchId, long plid) getLayoutRevisions(long layoutSetBranchId, long plid, boolean head) getLayoutRevisions(long layoutSetBranchId, long plid, int status) getLayoutRevisions(long layoutSetBranchId, long plid, int start, int end, OrderByComparator<LayoutRevision> orderByComparator) getLayoutRevisions(long layoutSetBranchId, long layoutBranchId, long plid, int start, int end, OrderByComparator<LayoutRevision> orderByComparator) getLayoutRevisionsByStatus(int status) intReturns the number of layout revisions.intgetLayoutRevisionsCount(long plid) intgetLayoutRevisionsCount(long layoutSetBranchId, long layoutBranchId, long plid) Returns the OSGi service identifier.getPersistedModel(Serializable primaryKeyObj) voidsetWrappedService(LayoutRevisionLocalService layoutRevisionLocalService) updateLayoutRevision(long userId, long layoutRevisionId, long layoutBranchId, String name, String title, String description, String keywords, String robots, String typeSettings, boolean iconImage, long iconImageId, String themeId, String colorSchemeId, String css, ServiceContext serviceContext) updateLayoutRevision(LayoutRevision layoutRevision) Updates the layout revision in the database or adds it if it does not yet exist.updateStatus(long userId, long layoutRevisionId, int status, ServiceContext serviceContext) 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
-
LayoutRevisionLocalServiceWrapper
public LayoutRevisionLocalServiceWrapper() -
LayoutRevisionLocalServiceWrapper
-
-
Method Details
-
addLayoutRevision
Adds the layout revision to the database. Also notifies the appropriate model listeners.Important: Inspect LayoutRevisionLocalServiceImpl 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:
addLayoutRevisionin interfaceLayoutRevisionLocalService- Parameters:
layoutRevision- the layout revision- Returns:
- the layout revision that was added
-
addLayoutRevision
public LayoutRevision addLayoutRevision(long userId, long layoutSetBranchId, long layoutBranchId, long parentLayoutRevisionId, boolean head, long plid, long portletPreferencesPlid, boolean privateLayout, String name, String title, String description, String keywords, String robots, String typeSettings, boolean iconImage, long iconImageId, String themeId, String colorSchemeId, String css, ServiceContext serviceContext) throws PortalException - Specified by:
addLayoutRevisionin interfaceLayoutRevisionLocalService- Throws:
PortalException
-
createLayoutRevision
Creates a new layout revision with the primary key. Does not add the layout revision to the database.- Specified by:
createLayoutRevisionin interfaceLayoutRevisionLocalService- Parameters:
layoutRevisionId- the primary key for the new layout revision- Returns:
- the new layout revision
-
createPersistedModel
- Specified by:
createPersistedModelin interfaceLayoutRevisionLocalService- Specified by:
createPersistedModelin interfacePersistedModelLocalService- Throws:
PortalExceptionPortalException
-
deleteLayoutLayoutRevisions
- Specified by:
deleteLayoutLayoutRevisionsin interfaceLayoutRevisionLocalService- Throws:
PortalException
-
deleteLayoutRevision
Deletes the layout revision from the database. Also notifies the appropriate model listeners.Important: Inspect LayoutRevisionLocalServiceImpl 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:
deleteLayoutRevisionin interfaceLayoutRevisionLocalService- Parameters:
layoutRevision- the layout revision- Returns:
- the layout revision that was removed
- Throws:
PortalExceptionPortalException
-
deleteLayoutRevision
Deletes the layout revision with the primary key from the database. Also notifies the appropriate model listeners.Important: Inspect LayoutRevisionLocalServiceImpl 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:
deleteLayoutRevisionin interfaceLayoutRevisionLocalService- Parameters:
layoutRevisionId- the primary key of the layout revision- Returns:
- the layout revision that was removed
- Throws:
PortalException- if a layout revision with the primary key could not be foundPortalException
-
deleteLayoutRevisions
- Specified by:
deleteLayoutRevisionsin interfaceLayoutRevisionLocalService- Throws:
PortalException
-
deleteLayoutRevisions
public void deleteLayoutRevisions(long layoutSetBranchId, long layoutBranchId, long plid) throws PortalException - Specified by:
deleteLayoutRevisionsin interfaceLayoutRevisionLocalService- Throws:
PortalException
-
deleteLayoutSetBranchLayoutRevisions
- Specified by:
deleteLayoutSetBranchLayoutRevisionsin interfaceLayoutRevisionLocalService- Throws:
PortalException
-
deletePersistedModel
- Specified by:
deletePersistedModelin interfaceLayoutRevisionLocalService- Specified by:
deletePersistedModelin interfacePersistedModelLocalService- Throws:
PortalExceptionPortalException
-
dslQuery
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryin interfaceLayoutRevisionLocalService- Specified by:
dslQueryin interfacePersistedModelLocalService
-
dslQueryCount
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryCountin interfaceLayoutRevisionLocalService- Specified by:
dslQueryCountin interfacePersistedModelLocalService
-
dynamicQuery
- Specified by:
dynamicQueryin interfaceLayoutRevisionLocalService
-
dynamicQuery
Performs a dynamic query on the database and returns the matching rows.- Specified by:
dynamicQueryin interfaceLayoutRevisionLocalService- Parameters:
dynamicQuery- the dynamic query- Returns:
- the matching rows
-
dynamicQuery
Performs a dynamic query on the database and returns a range of the matching rows.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.model.impl.LayoutRevisionModelImpl.- Specified by:
dynamicQueryin interfaceLayoutRevisionLocalService- Parameters:
dynamicQuery- the dynamic querystart- the lower bound of the range of model instancesend- the upper bound of the range of model instances (not inclusive)- Returns:
- the range of matching rows
-
dynamicQuery
public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<T> orderByComparator) Performs a dynamic query on the database and returns an ordered range of the matching rows.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.model.impl.LayoutRevisionModelImpl.- Specified by:
dynamicQueryin interfaceLayoutRevisionLocalService- Parameters:
dynamicQuery- the dynamic querystart- the lower bound of the range of model instancesend- the upper bound of the range of model instances (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching rows
-
dynamicQueryCount
Returns the number of rows matching the dynamic query.- Specified by:
dynamicQueryCountin interfaceLayoutRevisionLocalService- Parameters:
dynamicQuery- the dynamic query- Returns:
- the number of rows matching the dynamic query
-
dynamicQueryCount
Returns the number of rows matching the dynamic query.- Specified by:
dynamicQueryCountin interfaceLayoutRevisionLocalService- Parameters:
dynamicQuery- the dynamic queryprojection- the projection to apply to the query- Returns:
- the number of rows matching the dynamic query
-
fetchLastLayoutRevision
- Specified by:
fetchLastLayoutRevisionin interfaceLayoutRevisionLocalService
-
fetchLatestLayoutRevision
- Specified by:
fetchLatestLayoutRevisionin interfaceLayoutRevisionLocalService
-
fetchLatestLayoutRevision
public LayoutRevision fetchLatestLayoutRevision(long layoutSetBranchId, long layoutBranchId, long plid) - Specified by:
fetchLatestLayoutRevisionin interfaceLayoutRevisionLocalService
-
fetchLayoutRevision
- Specified by:
fetchLayoutRevisionin interfaceLayoutRevisionLocalService
-
fetchLayoutRevision
public LayoutRevision fetchLayoutRevision(long layoutSetBranchId, long layoutBranchId, boolean head, long plid) - Specified by:
fetchLayoutRevisionin interfaceLayoutRevisionLocalService
-
getActionableDynamicQuery
- Specified by:
getActionableDynamicQueryin interfaceLayoutRevisionLocalService
-
getChildLayoutRevisions
public List<LayoutRevision> getChildLayoutRevisions(long layoutSetBranchId, long parentLayoutRevisionId, long plid) - Specified by:
getChildLayoutRevisionsin interfaceLayoutRevisionLocalService
-
getChildLayoutRevisions
public List<LayoutRevision> getChildLayoutRevisions(long layoutSetBranchId, long parentLayoutRevision, long plid, int start, int end, OrderByComparator<LayoutRevision> orderByComparator) - Specified by:
getChildLayoutRevisionsin interfaceLayoutRevisionLocalService
-
getChildLayoutRevisionsCount
public int getChildLayoutRevisionsCount(long layoutSetBranchId, long parentLayoutRevision, long plid) - Specified by:
getChildLayoutRevisionsCountin interfaceLayoutRevisionLocalService
-
getIndexableActionableDynamicQuery
- Specified by:
getIndexableActionableDynamicQueryin interfaceLayoutRevisionLocalService
-
getLayoutRevision
Returns the layout revision with the primary key.- Specified by:
getLayoutRevisionin interfaceLayoutRevisionLocalService- Parameters:
layoutRevisionId- the primary key of the layout revision- Returns:
- the layout revision
- Throws:
PortalException- if a layout revision with the primary key could not be foundPortalException
-
getLayoutRevision
public LayoutRevision getLayoutRevision(long layoutSetBranchId, long layoutBranchId, long plid) throws PortalException - Specified by:
getLayoutRevisionin interfaceLayoutRevisionLocalService- Throws:
PortalException
-
getLayoutRevisions
Returns a range of all the layout revisions.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.model.impl.LayoutRevisionModelImpl.- Specified by:
getLayoutRevisionsin interfaceLayoutRevisionLocalService- Parameters:
start- the lower bound of the range of layout revisionsend- the upper bound of the range of layout revisions (not inclusive)- Returns:
- the range of layout revisions
-
getLayoutRevisions
- Specified by:
getLayoutRevisionsin interfaceLayoutRevisionLocalService
-
getLayoutRevisions
- Specified by:
getLayoutRevisionsin interfaceLayoutRevisionLocalService
-
getLayoutRevisions
- Specified by:
getLayoutRevisionsin interfaceLayoutRevisionLocalService
-
getLayoutRevisions
- Specified by:
getLayoutRevisionsin interfaceLayoutRevisionLocalService
-
getLayoutRevisions
- Specified by:
getLayoutRevisionsin interfaceLayoutRevisionLocalService
-
getLayoutRevisions
- Specified by:
getLayoutRevisionsin interfaceLayoutRevisionLocalService
-
getLayoutRevisions
- Specified by:
getLayoutRevisionsin interfaceLayoutRevisionLocalService
-
getLayoutRevisions
public List<LayoutRevision> getLayoutRevisions(long layoutSetBranchId, long plid, int start, int end, OrderByComparator<LayoutRevision> orderByComparator) - Specified by:
getLayoutRevisionsin interfaceLayoutRevisionLocalService
-
getLayoutRevisions
public List<LayoutRevision> getLayoutRevisions(long layoutSetBranchId, long layoutBranchId, long plid, int start, int end, OrderByComparator<LayoutRevision> orderByComparator) - Specified by:
getLayoutRevisionsin interfaceLayoutRevisionLocalService
-
getLayoutRevisionsByStatus
- Specified by:
getLayoutRevisionsByStatusin interfaceLayoutRevisionLocalService
-
getLayoutRevisionsCount
public int getLayoutRevisionsCount()Returns the number of layout revisions.- Specified by:
getLayoutRevisionsCountin interfaceLayoutRevisionLocalService- Returns:
- the number of layout revisions
-
getLayoutRevisionsCount
public int getLayoutRevisionsCount(long plid) - Specified by:
getLayoutRevisionsCountin interfaceLayoutRevisionLocalService
-
getLayoutRevisionsCount
public int getLayoutRevisionsCount(long layoutSetBranchId, long layoutBranchId, long plid) - Specified by:
getLayoutRevisionsCountin interfaceLayoutRevisionLocalService
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifierin interfaceLayoutRevisionLocalService- Returns:
- the OSGi service identifier
-
getPersistedModel
- Specified by:
getPersistedModelin interfaceLayoutRevisionLocalService- Specified by:
getPersistedModelin interfacePersistedModelLocalService- Throws:
PortalExceptionPortalException
-
updateLayoutRevision
Updates the layout revision in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.Important: Inspect LayoutRevisionLocalServiceImpl 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:
updateLayoutRevisionin interfaceLayoutRevisionLocalService- Parameters:
layoutRevision- the layout revision- Returns:
- the layout revision that was updated
-
updateLayoutRevision
public LayoutRevision updateLayoutRevision(long userId, long layoutRevisionId, long layoutBranchId, String name, String title, String description, String keywords, String robots, String typeSettings, boolean iconImage, long iconImageId, String themeId, String colorSchemeId, String css, ServiceContext serviceContext) throws PortalException - Specified by:
updateLayoutRevisionin interfaceLayoutRevisionLocalService- Throws:
PortalException
-
updateStatus
public LayoutRevision updateStatus(long userId, long layoutRevisionId, int status, ServiceContext serviceContext) throws PortalException - Specified by:
updateStatusin interfaceLayoutRevisionLocalService- Throws:
PortalException
-
getBasePersistence
- Specified by:
getBasePersistencein interfacePersistedModelLocalService
-
getWrappedService
- Specified by:
getWrappedServicein interfaceServiceWrapper<LayoutRevisionLocalService>
-
setWrappedService
- Specified by:
setWrappedServicein interfaceServiceWrapper<LayoutRevisionLocalService>
-