Class PluginSettingLocalServiceWrapper
- All Implemented Interfaces:
BaseLocalService,PersistedModelLocalService,PluginSettingLocalService,ServiceWrapper<PluginSettingLocalService>
PluginSettingLocalService.- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Constructor Summary
ConstructorsConstructorDescriptionPluginSettingLocalServiceWrapper(PluginSettingLocalService pluginSettingLocalService) -
Method Summary
Modifier and TypeMethodDescriptionaddPluginSetting(PluginSetting pluginSetting) Adds the plugin setting to the database.voidcheckPermission(long userId, String pluginId, String pluginType) createPersistedModel(Serializable primaryKeyObj) createPluginSetting(long pluginSettingId) Creates a new plugin setting with the primary key.deletePersistedModel(PersistedModel persistedModel) deletePluginSetting(long pluginSettingId) Deletes the plugin setting with the primary key from the database.deletePluginSetting(PluginSetting pluginSetting) Deletes the plugin setting from the database.<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.fetchPluginSetting(long pluginSettingId) Returns the OSGi service identifier.getPersistedModel(Serializable primaryKeyObj) getPluginSetting(long pluginSettingId) Returns the plugin setting with the primary key.getPluginSetting(long companyId, String pluginId, String pluginType) getPluginSettings(int start, int end) Returns a range of all the plugin settings.intReturns the number of plugin settings.booleanhasPermission(long userId, String pluginId, String pluginType) voidsetWrappedService(PluginSettingLocalService pluginSettingLocalService) updatePluginSetting(long companyId, String pluginId, String pluginType, String roles, boolean active) updatePluginSetting(PluginSetting pluginSetting) Updates the plugin setting 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
-
PluginSettingLocalServiceWrapper
public PluginSettingLocalServiceWrapper() -
PluginSettingLocalServiceWrapper
-
-
Method Details
-
addPluginSetting
Adds the plugin setting to the database. Also notifies the appropriate model listeners.Important: Inspect PluginSettingLocalServiceImpl 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:
addPluginSettingin interfacePluginSettingLocalService- Parameters:
pluginSetting- the plugin setting- Returns:
- the plugin setting that was added
-
checkPermission
- Specified by:
checkPermissionin interfacePluginSettingLocalService- Throws:
PortalException
-
createPersistedModel
- Specified by:
createPersistedModelin interfacePersistedModelLocalService- Specified by:
createPersistedModelin interfacePluginSettingLocalService- Throws:
PortalExceptionPortalException
-
createPluginSetting
Creates a new plugin setting with the primary key. Does not add the plugin setting to the database.- Specified by:
createPluginSettingin interfacePluginSettingLocalService- Parameters:
pluginSettingId- the primary key for the new plugin setting- Returns:
- the new plugin setting
-
deletePersistedModel
- Specified by:
deletePersistedModelin interfacePersistedModelLocalService- Specified by:
deletePersistedModelin interfacePluginSettingLocalService- Throws:
PortalExceptionPortalException
-
deletePluginSetting
Deletes the plugin setting with the primary key from the database. Also notifies the appropriate model listeners.Important: Inspect PluginSettingLocalServiceImpl 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:
deletePluginSettingin interfacePluginSettingLocalService- Parameters:
pluginSettingId- the primary key of the plugin setting- Returns:
- the plugin setting that was removed
- Throws:
PortalException- if a plugin setting with the primary key could not be foundPortalException
-
deletePluginSetting
Deletes the plugin setting from the database. Also notifies the appropriate model listeners.Important: Inspect PluginSettingLocalServiceImpl 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:
deletePluginSettingin interfacePluginSettingLocalService- Parameters:
pluginSetting- the plugin setting- Returns:
- the plugin setting that was removed
-
dslQuery
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryin interfacePersistedModelLocalService- Specified by:
dslQueryin interfacePluginSettingLocalService
-
dslQueryCount
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryCountin interfacePersistedModelLocalService- Specified by:
dslQueryCountin interfacePluginSettingLocalService
-
dynamicQuery
- Specified by:
dynamicQueryin interfacePluginSettingLocalService
-
dynamicQuery
Performs a dynamic query on the database and returns the matching rows.- Specified by:
dynamicQueryin interfacePluginSettingLocalService- 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.PluginSettingModelImpl.- Specified by:
dynamicQueryin interfacePluginSettingLocalService- 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.PluginSettingModelImpl.- Specified by:
dynamicQueryin interfacePluginSettingLocalService- 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 interfacePluginSettingLocalService- 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 interfacePluginSettingLocalService- Parameters:
dynamicQuery- the dynamic queryprojection- the projection to apply to the query- Returns:
- the number of rows matching the dynamic query
-
fetchPluginSetting
- Specified by:
fetchPluginSettingin interfacePluginSettingLocalService
-
getActionableDynamicQuery
- Specified by:
getActionableDynamicQueryin interfacePluginSettingLocalService
-
getDefaultPluginSetting
- Specified by:
getDefaultPluginSettingin interfacePluginSettingLocalService
-
getIndexableActionableDynamicQuery
- Specified by:
getIndexableActionableDynamicQueryin interfacePluginSettingLocalService
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifierin interfacePluginSettingLocalService- Returns:
- the OSGi service identifier
-
getPersistedModel
- Specified by:
getPersistedModelin interfacePersistedModelLocalService- Specified by:
getPersistedModelin interfacePluginSettingLocalService- Throws:
PortalExceptionPortalException
-
getPluginSetting
Returns the plugin setting with the primary key.- Specified by:
getPluginSettingin interfacePluginSettingLocalService- Parameters:
pluginSettingId- the primary key of the plugin setting- Returns:
- the plugin setting
- Throws:
PortalException- if a plugin setting with the primary key could not be foundPortalException
-
getPluginSetting
- Specified by:
getPluginSettingin interfacePluginSettingLocalService
-
getPluginSettings
Returns a range of all the plugin settings.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.PluginSettingModelImpl.- Specified by:
getPluginSettingsin interfacePluginSettingLocalService- Parameters:
start- the lower bound of the range of plugin settingsend- the upper bound of the range of plugin settings (not inclusive)- Returns:
- the range of plugin settings
-
getPluginSettingsCount
public int getPluginSettingsCount()Returns the number of plugin settings.- Specified by:
getPluginSettingsCountin interfacePluginSettingLocalService- Returns:
- the number of plugin settings
-
hasPermission
- Specified by:
hasPermissionin interfacePluginSettingLocalService
-
updatePluginSetting
public PluginSetting updatePluginSetting(long companyId, String pluginId, String pluginType, String roles, boolean active) - Specified by:
updatePluginSettingin interfacePluginSettingLocalService
-
updatePluginSetting
Updates the plugin setting in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.Important: Inspect PluginSettingLocalServiceImpl 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:
updatePluginSettingin interfacePluginSettingLocalService- Parameters:
pluginSetting- the plugin setting- Returns:
- the plugin setting that was updated
-
getBasePersistence
- Specified by:
getBasePersistencein interfacePersistedModelLocalService
-
getWrappedService
- Specified by:
getWrappedServicein interfaceServiceWrapper<PluginSettingLocalService>
-
setWrappedService
- Specified by:
setWrappedServicein interfaceServiceWrapper<PluginSettingLocalService>
-