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.void
void
deleteNondefaultLayoutSetPrototypes
(long companyId) deletePersistedModel
(PersistedModel persistedModel) <T> T
dslQuery
(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) int
dslQueryCount
(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.long
dynamicQueryCount
(DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.long
dynamicQueryCount
(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) int
Returns 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) int
searchCount
(long companyId, Boolean active) void
setWrappedService
(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, wait
Methods 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:
addLayoutSetPrototype
in 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:
addLayoutSetPrototype
in 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:
addLayoutSetPrototype
in 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:
createLayoutSetPrototype
in interfaceLayoutSetPrototypeLocalService
- Parameters:
layoutSetPrototypeId
- the primary key for the new layout set prototype- Returns:
- the new layout set prototype
-
createPersistedModel
- Specified by:
createPersistedModel
in interfaceLayoutSetPrototypeLocalService
- Specified by:
createPersistedModel
in interfacePersistedModelLocalService
- Throws:
PortalException
PortalException
-
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:
deleteLayoutSetPrototype
in interfaceLayoutSetPrototypeLocalService
- Parameters:
layoutSetPrototype
- the layout set prototype- Returns:
- the layout set prototype that was removed
- Throws:
PortalException
PortalException
-
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:
deleteLayoutSetPrototype
in 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:
deleteLayoutSetPrototypes
in interfaceLayoutSetPrototypeLocalService
- Throws:
PortalException
-
deleteNondefaultLayoutSetPrototypes
- Specified by:
deleteNondefaultLayoutSetPrototypes
in interfaceLayoutSetPrototypeLocalService
- Throws:
PortalException
-
deletePersistedModel
- Specified by:
deletePersistedModel
in interfaceLayoutSetPrototypeLocalService
- Specified by:
deletePersistedModel
in interfacePersistedModelLocalService
- Throws:
PortalException
PortalException
-
dslQuery
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQuery
in interfaceLayoutSetPrototypeLocalService
- Specified by:
dslQuery
in interfacePersistedModelLocalService
-
dslQueryCount
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryCount
in interfaceLayoutSetPrototypeLocalService
- Specified by:
dslQueryCount
in interfacePersistedModelLocalService
-
dynamicQuery
- Specified by:
dynamicQuery
in interfaceLayoutSetPrototypeLocalService
-
dynamicQuery
Performs a dynamic query on the database and returns the matching rows.- Specified by:
dynamicQuery
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
tocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.model.impl.LayoutSetPrototypeModelImpl
.- Specified by:
dynamicQuery
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
tocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.model.impl.LayoutSetPrototypeModelImpl
.- Specified by:
dynamicQuery
in 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:
dynamicQueryCount
in 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:
dynamicQueryCount
in 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:
fetchLayoutSetPrototype
in interfaceLayoutSetPrototypeLocalService
-
fetchLayoutSetPrototypeByUuidAndCompanyId
Returns the layout set prototype with the matching UUID and company.- Specified by:
fetchLayoutSetPrototypeByUuidAndCompanyId
in interfaceLayoutSetPrototypeLocalService
- Parameters:
uuid
- the layout set prototype's UUIDcompanyId
- the primary key of the company- Returns:
- the matching layout set prototype, or
null
if a matching layout set prototype could not be found
-
getActionableDynamicQuery
- Specified by:
getActionableDynamicQuery
in interfaceLayoutSetPrototypeLocalService
-
getExportActionableDynamicQuery
public ExportActionableDynamicQuery getExportActionableDynamicQuery(PortletDataContext portletDataContext) - Specified by:
getExportActionableDynamicQuery
in interfaceLayoutSetPrototypeLocalService
-
getIndexableActionableDynamicQuery
- Specified by:
getIndexableActionableDynamicQuery
in interfaceLayoutSetPrototypeLocalService
-
getLayoutSetPrototype
Returns the layout set prototype with the primary key.- Specified by:
getLayoutSetPrototype
in 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:
getLayoutSetPrototypeByUuidAndCompanyId
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
tocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.model.impl.LayoutSetPrototypeModelImpl
.- Specified by:
getLayoutSetPrototypes
in 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:
getLayoutSetPrototypes
in interfaceLayoutSetPrototypeLocalService
-
getLayoutSetPrototypesCount
public int getLayoutSetPrototypesCount()Returns the number of layout set prototypes.- Specified by:
getLayoutSetPrototypesCount
in interfaceLayoutSetPrototypeLocalService
- Returns:
- the number of layout set prototypes
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifier
in interfaceLayoutSetPrototypeLocalService
- Returns:
- the OSGi service identifier
-
getPersistedModel
- Specified by:
getPersistedModel
in interfaceLayoutSetPrototypeLocalService
- Specified by:
getPersistedModel
in interfacePersistedModelLocalService
- Throws:
PortalException
PortalException
-
search
public List<LayoutSetPrototype> search(long companyId, Boolean active, int start, int end, OrderByComparator<LayoutSetPrototype> orderByComparator) - Specified by:
search
in interfaceLayoutSetPrototypeLocalService
-
searchCount
- Specified by:
searchCount
in 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:
updateLayoutSetPrototype
in 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:
updateLayoutSetPrototype
in 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:
updateLayoutSetPrototype
in interfaceLayoutSetPrototypeLocalService
- Throws:
PortalException
-
updateLayoutSetPrototype
public LayoutSetPrototype updateLayoutSetPrototype(long layoutSetPrototypeId, String settings) throws PortalException - Specified by:
updateLayoutSetPrototype
in interfaceLayoutSetPrototypeLocalService
- Throws:
PortalException
-
getBasePersistence
- Specified by:
getBasePersistence
in interfacePersistedModelLocalService
-
getWrappedService
- Specified by:
getWrappedService
in interfaceServiceWrapper<LayoutSetPrototypeLocalService>
-
setWrappedService
- Specified by:
setWrappedService
in interfaceServiceWrapper<LayoutSetPrototypeLocalService>
-