Class LayoutSetPrototypeLocalServiceWrapper
- All Implemented Interfaces:
BaseLocalService,LayoutSetPrototypeLocalService,PersistedModelLocalService,ServiceWrapper<LayoutSetPrototypeLocalService>
LayoutSetPrototypeLocalService.- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Constructor Summary
ConstructorsConstructorDescriptionLayoutSetPrototypeLocalServiceWrapper(LayoutSetPrototypeLocalService layoutSetPrototypeLocalService) -
Method Summary
Modifier and TypeMethodDescriptionaddLayoutSetPrototype(long userId, long companyId, Map<Locale, String> nameMap, Map<Locale, String> descriptionMap, boolean active, boolean layoutsUpdateable, boolean readyForPropagation, ServiceContext serviceContext) addLayoutSetPrototype(long userId, long companyId, Map<Locale, String> nameMap, Map<Locale, String> descriptionMap, boolean active, boolean layoutsUpdateable, ServiceContext serviceContext) addLayoutSetPrototype(LayoutSetPrototype layoutSetPrototype) Adds the layout set prototype to the database.createLayoutSetPrototype(long layoutSetPrototypeId) Creates a new layout set prototype with the primary key.createPersistedModel(Serializable primaryKeyObj) deleteLayoutSetPrototype(long layoutSetPrototypeId) Deletes the layout set prototype with the primary key from the database.deleteLayoutSetPrototype(LayoutSetPrototype layoutSetPrototype) Deletes the layout set prototype from the database.voidvoiddeleteNondefaultLayoutSetPrototypes(long companyId) 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.fetchLayoutSetPrototype(long layoutSetPrototypeId) fetchLayoutSetPrototypeByUuidAndCompanyId(String uuid, long companyId) Returns the layout set prototype with the matching UUID and company.getExportActionableDynamicQuery(PortletDataContext portletDataContext) getLayoutSetPrototype(long layoutSetPrototypeId) Returns the layout set prototype with the primary key.getLayoutSetPrototypeByUuidAndCompanyId(String uuid, long companyId) Returns the layout set prototype with the matching UUID and company.getLayoutSetPrototypes(int start, int end) Returns a range of all the layout set prototypes.getLayoutSetPrototypes(long companyId) intReturns the number of layout set prototypes.Returns the OSGi service identifier.getPersistedModel(Serializable primaryKeyObj) search(long companyId, Boolean active, int start, int end, OrderByComparator<LayoutSetPrototype> orderByComparator) intsearchCount(long companyId, Boolean active) voidsetWrappedService(LayoutSetPrototypeLocalService layoutSetPrototypeLocalService) updateLayoutSetPrototype(long layoutSetPrototypeId, String settings) updateLayoutSetPrototype(long layoutSetPrototypeId, Map<Locale, String> nameMap, Map<Locale, String> descriptionMap, boolean active, boolean layoutsUpdateable, boolean readyForPropagation, ServiceContext serviceContext) updateLayoutSetPrototype(long layoutSetPrototypeId, Map<Locale, String> nameMap, Map<Locale, String> descriptionMap, boolean active, boolean layoutsUpdateable, ServiceContext serviceContext) updateLayoutSetPrototype(LayoutSetPrototype layoutSetPrototype) Updates the layout set prototype in the database or adds it if it does not yet exist.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
-
LayoutSetPrototypeLocalServiceWrapper
public LayoutSetPrototypeLocalServiceWrapper() -
LayoutSetPrototypeLocalServiceWrapper
public LayoutSetPrototypeLocalServiceWrapper(LayoutSetPrototypeLocalService layoutSetPrototypeLocalService)
-
-
Method Details
-
addLayoutSetPrototype
Adds the layout set prototype to the database. Also notifies the appropriate model listeners.Important: Inspect LayoutSetPrototypeLocalServiceImpl 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:
addLayoutSetPrototypein interfaceLayoutSetPrototypeLocalService- Parameters:
layoutSetPrototype- the layout set prototype- Returns:
- the layout set prototype that was added
-
addLayoutSetPrototype
public LayoutSetPrototype addLayoutSetPrototype(long userId, long companyId, Map<Locale, String> nameMap, Map<Locale, throws PortalExceptionString> descriptionMap, boolean active, boolean layoutsUpdateable, boolean readyForPropagation, ServiceContext serviceContext) - Specified by:
addLayoutSetPrototypein interfaceLayoutSetPrototypeLocalService- Throws:
PortalException
-
addLayoutSetPrototype
public LayoutSetPrototype addLayoutSetPrototype(long userId, long companyId, Map<Locale, String> nameMap, Map<Locale, throws PortalExceptionString> descriptionMap, boolean active, boolean layoutsUpdateable, ServiceContext serviceContext) - Specified by:
addLayoutSetPrototypein interfaceLayoutSetPrototypeLocalService- Throws:
PortalException
-
createLayoutSetPrototype
Creates a new layout set prototype with the primary key. Does not add the layout set prototype to the database.- Specified by:
createLayoutSetPrototypein interfaceLayoutSetPrototypeLocalService- Parameters:
layoutSetPrototypeId- the primary key for the new layout set prototype- Returns:
- the new layout set prototype
-
createPersistedModel
- Specified by:
createPersistedModelin interfaceLayoutSetPrototypeLocalService- Specified by:
createPersistedModelin interfacePersistedModelLocalService- Throws:
PortalExceptionPortalException
-
deleteLayoutSetPrototype
public LayoutSetPrototype deleteLayoutSetPrototype(LayoutSetPrototype layoutSetPrototype) throws PortalException Deletes the layout set prototype from the database. Also notifies the appropriate model listeners.Important: Inspect LayoutSetPrototypeLocalServiceImpl 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:
deleteLayoutSetPrototypein interfaceLayoutSetPrototypeLocalService- Parameters:
layoutSetPrototype- the layout set prototype- Returns:
- the layout set prototype that was removed
- Throws:
PortalExceptionPortalException
-
deleteLayoutSetPrototype
public LayoutSetPrototype deleteLayoutSetPrototype(long layoutSetPrototypeId) throws PortalException Deletes the layout set prototype with the primary key from the database. Also notifies the appropriate model listeners.Important: Inspect LayoutSetPrototypeLocalServiceImpl 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:
deleteLayoutSetPrototypein interfaceLayoutSetPrototypeLocalService- Parameters:
layoutSetPrototypeId- the primary key of the layout set prototype- Returns:
- the layout set prototype that was removed
- Throws:
PortalException- if a layout set prototype with the primary key could not be foundPortalException
-
deleteLayoutSetPrototypes
- Specified by:
deleteLayoutSetPrototypesin interfaceLayoutSetPrototypeLocalService- Throws:
PortalException
-
deleteNondefaultLayoutSetPrototypes
- Specified by:
deleteNondefaultLayoutSetPrototypesin interfaceLayoutSetPrototypeLocalService- Throws:
PortalException
-
deletePersistedModel
- Specified by:
deletePersistedModelin interfaceLayoutSetPrototypeLocalService- Specified by:
deletePersistedModelin interfacePersistedModelLocalService- Throws:
PortalExceptionPortalException
-
dslQuery
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryin interfaceLayoutSetPrototypeLocalService- Specified by:
dslQueryin interfacePersistedModelLocalService
-
dslQueryCount
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryCountin interfaceLayoutSetPrototypeLocalService- Specified by:
dslQueryCountin interfacePersistedModelLocalService
-
dynamicQuery
- Specified by:
dynamicQueryin interfaceLayoutSetPrototypeLocalService
-
dynamicQuery
Performs a dynamic query on the database and returns the matching rows.- Specified by:
dynamicQueryin interfaceLayoutSetPrototypeLocalService- 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.LayoutSetPrototypeModelImpl.- Specified by:
dynamicQueryin interfaceLayoutSetPrototypeLocalService- 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.LayoutSetPrototypeModelImpl.- Specified by:
dynamicQueryin interfaceLayoutSetPrototypeLocalService- 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 interfaceLayoutSetPrototypeLocalService- 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 interfaceLayoutSetPrototypeLocalService- Parameters:
dynamicQuery- the dynamic queryprojection- the projection to apply to the query- Returns:
- the number of rows matching the dynamic query
-
fetchLayoutSetPrototype
- Specified by:
fetchLayoutSetPrototypein interfaceLayoutSetPrototypeLocalService
-
fetchLayoutSetPrototypeByUuidAndCompanyId
Returns the layout set prototype with the matching UUID and company.- Specified by:
fetchLayoutSetPrototypeByUuidAndCompanyIdin interfaceLayoutSetPrototypeLocalService- Parameters:
uuid- the layout set prototype's UUIDcompanyId- the primary key of the company- Returns:
- the matching layout set prototype, or
nullif a matching layout set prototype could not be found
-
getActionableDynamicQuery
- Specified by:
getActionableDynamicQueryin interfaceLayoutSetPrototypeLocalService
-
getExportActionableDynamicQuery
public ExportActionableDynamicQuery getExportActionableDynamicQuery(PortletDataContext portletDataContext) - Specified by:
getExportActionableDynamicQueryin interfaceLayoutSetPrototypeLocalService
-
getIndexableActionableDynamicQuery
- Specified by:
getIndexableActionableDynamicQueryin interfaceLayoutSetPrototypeLocalService
-
getLayoutSetPrototype
Returns the layout set prototype with the primary key.- Specified by:
getLayoutSetPrototypein interfaceLayoutSetPrototypeLocalService- Parameters:
layoutSetPrototypeId- the primary key of the layout set prototype- Returns:
- the layout set prototype
- Throws:
PortalException- if a layout set prototype with the primary key could not be foundPortalException
-
getLayoutSetPrototypeByUuidAndCompanyId
public LayoutSetPrototype getLayoutSetPrototypeByUuidAndCompanyId(String uuid, long companyId) throws PortalException Returns the layout set prototype with the matching UUID and company.- Specified by:
getLayoutSetPrototypeByUuidAndCompanyIdin interfaceLayoutSetPrototypeLocalService- Parameters:
uuid- the layout set prototype's UUIDcompanyId- the primary key of the company- Returns:
- the matching layout set prototype
- Throws:
PortalException- if a matching layout set prototype could not be foundPortalException
-
getLayoutSetPrototypes
Returns a range of all the layout set prototypes.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.LayoutSetPrototypeModelImpl.- Specified by:
getLayoutSetPrototypesin interfaceLayoutSetPrototypeLocalService- Parameters:
start- the lower bound of the range of layout set prototypesend- the upper bound of the range of layout set prototypes (not inclusive)- Returns:
- the range of layout set prototypes
-
getLayoutSetPrototypes
- Specified by:
getLayoutSetPrototypesin interfaceLayoutSetPrototypeLocalService
-
getLayoutSetPrototypesCount
public int getLayoutSetPrototypesCount()Returns the number of layout set prototypes.- Specified by:
getLayoutSetPrototypesCountin interfaceLayoutSetPrototypeLocalService- Returns:
- the number of layout set prototypes
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifierin interfaceLayoutSetPrototypeLocalService- Returns:
- the OSGi service identifier
-
getPersistedModel
- Specified by:
getPersistedModelin interfaceLayoutSetPrototypeLocalService- Specified by:
getPersistedModelin interfacePersistedModelLocalService- Throws:
PortalExceptionPortalException
-
search
public List<LayoutSetPrototype> search(long companyId, Boolean active, int start, int end, OrderByComparator<LayoutSetPrototype> orderByComparator) - Specified by:
searchin interfaceLayoutSetPrototypeLocalService
-
searchCount
- Specified by:
searchCountin interfaceLayoutSetPrototypeLocalService
-
updateLayoutSetPrototype
Updates the layout set prototype in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.Important: Inspect LayoutSetPrototypeLocalServiceImpl 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:
updateLayoutSetPrototypein interfaceLayoutSetPrototypeLocalService- Parameters:
layoutSetPrototype- the layout set prototype- Returns:
- the layout set prototype that was updated
-
updateLayoutSetPrototype
public LayoutSetPrototype updateLayoutSetPrototype(long layoutSetPrototypeId, Map<Locale, String> nameMap, Map<Locale, throws PortalExceptionString> descriptionMap, boolean active, boolean layoutsUpdateable, boolean readyForPropagation, ServiceContext serviceContext) - Specified by:
updateLayoutSetPrototypein interfaceLayoutSetPrototypeLocalService- Throws:
PortalException
-
updateLayoutSetPrototype
public LayoutSetPrototype updateLayoutSetPrototype(long layoutSetPrototypeId, Map<Locale, String> nameMap, Map<Locale, throws PortalExceptionString> descriptionMap, boolean active, boolean layoutsUpdateable, ServiceContext serviceContext) - Specified by:
updateLayoutSetPrototypein interfaceLayoutSetPrototypeLocalService- Throws:
PortalException
-
updateLayoutSetPrototype
public LayoutSetPrototype updateLayoutSetPrototype(long layoutSetPrototypeId, String settings) throws PortalException - Specified by:
updateLayoutSetPrototypein interfaceLayoutSetPrototypeLocalService- Throws:
PortalException
-
getBasePersistence
- Specified by:
getBasePersistencein interfacePersistedModelLocalService
-
getWrappedService
- Specified by:
getWrappedServicein interfaceServiceWrapper<LayoutSetPrototypeLocalService>
-
setWrappedService
- Specified by:
setWrappedServicein interfaceServiceWrapper<LayoutSetPrototypeLocalService>
-