Class CSDiagramSettingLocalServiceWrapper
- All Implemented Interfaces:
CSDiagramSettingLocalService
,com.liferay.portal.kernel.service.BaseLocalService
,com.liferay.portal.kernel.service.change.tracking.CTService<CSDiagramSetting>
,com.liferay.portal.kernel.service.PersistedModelLocalService
,com.liferay.portal.kernel.service.ServiceWrapper<CSDiagramSettingLocalService>
CSDiagramSettingLocalService
.- See Also:
- Generated:
-
Constructor Summary
ConstructorsConstructorDescriptionCSDiagramSettingLocalServiceWrapper
(CSDiagramSettingLocalService csDiagramSettingLocalService) -
Method Summary
Modifier and TypeMethodDescriptionaddCSDiagramSetting
(long userId, long cpDefinitionId, long cpAttachmentFileEntryId, String color, double radius, String type) addCSDiagramSetting
(CSDiagramSetting csDiagramSetting) Adds the cs diagram setting to the database.createCSDiagramSetting
(long CSDiagramSettingId) Creates a new cs diagram setting with the primary key.com.liferay.portal.kernel.model.PersistedModel
createPersistedModel
(Serializable primaryKeyObj) deleteCSDiagramSetting
(long CSDiagramSettingId) Deletes the cs diagram setting with the primary key from the database.deleteCSDiagramSetting
(CSDiagramSetting csDiagramSetting) Deletes the cs diagram setting from the database.deleteCSDiagramSettingByCPDefinitionId
(long cpDefinitionId) com.liferay.portal.kernel.model.PersistedModel
deletePersistedModel
(com.liferay.portal.kernel.model.PersistedModel persistedModel) <T> T
dslQuery
(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) int
dslQueryCount
(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.long
dynamicQueryCount
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.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.fetchCSDiagramSetting
(long CSDiagramSettingId) fetchCSDiagramSettingByCPDefinitionId
(long cpDefinitionId) fetchCSDiagramSettingByUuidAndCompanyId
(String uuid, long companyId) Returns the cs diagram setting with the matching UUID and company.com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery
com.liferay.portal.kernel.service.persistence.BasePersistence<?>
getCSDiagramSetting
(long CSDiagramSettingId) Returns the cs diagram setting with the primary key.getCSDiagramSettingByCPDefinitionId
(long cpDefinitionId) getCSDiagramSettingByUuidAndCompanyId
(String uuid, long companyId) Returns the cs diagram setting with the matching UUID and company.getCSDiagramSettings
(int start, int end) Returns a range of all the cs diagram settings.int
Returns the number of cs diagram settings.com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CSDiagramSetting>
com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery
getExportActionableDynamicQuery
(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery
Returns the OSGi service identifier.com.liferay.portal.kernel.model.PersistedModel
getPersistedModel
(Serializable primaryKeyObj) void
setWrappedService
(CSDiagramSettingLocalService csDiagramSettingLocalService) updateCSDiagramSetting
(long csDiagramSettingId, long cpAttachmentFileEntryId, String color, double radius, String type) updateCSDiagramSetting
(CSDiagramSetting csDiagramSetting) Updates the cs diagram setting in the database or adds it if it does not yet exist.<R,
E extends Throwable>
RupdateWithUnsafeFunction
(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CSDiagramSetting>, R, E> updateUnsafeFunction) 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
-
CSDiagramSettingLocalServiceWrapper
public CSDiagramSettingLocalServiceWrapper() -
CSDiagramSettingLocalServiceWrapper
public CSDiagramSettingLocalServiceWrapper(CSDiagramSettingLocalService csDiagramSettingLocalService)
-
-
Method Details
-
addCSDiagramSetting
Adds the cs diagram setting to the database. Also notifies the appropriate model listeners.Important: Inspect CSDiagramSettingLocalServiceImpl 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:
addCSDiagramSetting
in interfaceCSDiagramSettingLocalService
- Parameters:
csDiagramSetting
- the cs diagram setting- Returns:
- the cs diagram setting that was added
-
addCSDiagramSetting
public CSDiagramSetting addCSDiagramSetting(long userId, long cpDefinitionId, long cpAttachmentFileEntryId, String color, double radius, String type) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
addCSDiagramSetting
in interfaceCSDiagramSettingLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
createCSDiagramSetting
Creates a new cs diagram setting with the primary key. Does not add the cs diagram setting to the database.- Specified by:
createCSDiagramSetting
in interfaceCSDiagramSettingLocalService
- Parameters:
CSDiagramSettingId
- the primary key for the new cs diagram setting- Returns:
- the new cs diagram setting
-
createPersistedModel
public com.liferay.portal.kernel.model.PersistedModel createPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
createPersistedModel
in interfaceCSDiagramSettingLocalService
- Specified by:
createPersistedModel
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
- Throws:
PortalException
com.liferay.portal.kernel.exception.PortalException
-
deleteCSDiagramSetting
Deletes the cs diagram setting from the database. Also notifies the appropriate model listeners.Important: Inspect CSDiagramSettingLocalServiceImpl 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:
deleteCSDiagramSetting
in interfaceCSDiagramSettingLocalService
- Parameters:
csDiagramSetting
- the cs diagram setting- Returns:
- the cs diagram setting that was removed
-
deleteCSDiagramSetting
public CSDiagramSetting deleteCSDiagramSetting(long CSDiagramSettingId) throws com.liferay.portal.kernel.exception.PortalException Deletes the cs diagram setting with the primary key from the database. Also notifies the appropriate model listeners.Important: Inspect CSDiagramSettingLocalServiceImpl 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:
deleteCSDiagramSetting
in interfaceCSDiagramSettingLocalService
- Parameters:
CSDiagramSettingId
- the primary key of the cs diagram setting- Returns:
- the cs diagram setting that was removed
- Throws:
PortalException
- if a cs diagram setting with the primary key could not be foundcom.liferay.portal.kernel.exception.PortalException
-
deleteCSDiagramSettingByCPDefinitionId
- Specified by:
deleteCSDiagramSettingByCPDefinitionId
in interfaceCSDiagramSettingLocalService
-
deletePersistedModel
public com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deletePersistedModel
in interfaceCSDiagramSettingLocalService
- Specified by:
deletePersistedModel
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
- Throws:
PortalException
com.liferay.portal.kernel.exception.PortalException
-
dslQuery
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQuery
in interfaceCSDiagramSettingLocalService
- Specified by:
dslQuery
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dslQueryCount
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryCount
in interfaceCSDiagramSettingLocalService
- Specified by:
dslQueryCount
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dynamicQuery
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()- Specified by:
dynamicQuery
in interfaceCSDiagramSettingLocalService
-
dynamicQuery
Performs a dynamic query on the database and returns the matching rows.- Specified by:
dynamicQuery
in interfaceCSDiagramSettingLocalService
- Parameters:
dynamicQuery
- the dynamic query- Returns:
- the matching rows
-
dynamicQuery
public <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 - 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.commerce.shop.by.diagram.model.impl.CSDiagramSettingModelImpl
.- Specified by:
dynamicQuery
in interfaceCSDiagramSettingLocalService
- 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(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 - 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.commerce.shop.by.diagram.model.impl.CSDiagramSettingModelImpl
.- Specified by:
dynamicQuery
in interfaceCSDiagramSettingLocalService
- 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
public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.- Specified by:
dynamicQueryCount
in interfaceCSDiagramSettingLocalService
- Parameters:
dynamicQuery
- the dynamic query- Returns:
- the number of rows matching the dynamic query
-
dynamicQueryCount
public 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.- Specified by:
dynamicQueryCount
in interfaceCSDiagramSettingLocalService
- Parameters:
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the query- Returns:
- the number of rows matching the dynamic query
-
fetchCSDiagramSetting
- Specified by:
fetchCSDiagramSetting
in interfaceCSDiagramSettingLocalService
-
fetchCSDiagramSettingByCPDefinitionId
- Specified by:
fetchCSDiagramSettingByCPDefinitionId
in interfaceCSDiagramSettingLocalService
-
fetchCSDiagramSettingByUuidAndCompanyId
Returns the cs diagram setting with the matching UUID and company.- Specified by:
fetchCSDiagramSettingByUuidAndCompanyId
in interfaceCSDiagramSettingLocalService
- Parameters:
uuid
- the cs diagram setting's UUIDcompanyId
- the primary key of the company- Returns:
- the matching cs diagram setting, or
null
if a matching cs diagram setting could not be found
-
getActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()- Specified by:
getActionableDynamicQuery
in interfaceCSDiagramSettingLocalService
-
getCSDiagramSetting
public CSDiagramSetting getCSDiagramSetting(long CSDiagramSettingId) throws com.liferay.portal.kernel.exception.PortalException Returns the cs diagram setting with the primary key.- Specified by:
getCSDiagramSetting
in interfaceCSDiagramSettingLocalService
- Parameters:
CSDiagramSettingId
- the primary key of the cs diagram setting- Returns:
- the cs diagram setting
- Throws:
PortalException
- if a cs diagram setting with the primary key could not be foundcom.liferay.portal.kernel.exception.PortalException
-
getCSDiagramSettingByCPDefinitionId
public CSDiagramSetting getCSDiagramSettingByCPDefinitionId(long cpDefinitionId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCSDiagramSettingByCPDefinitionId
in interfaceCSDiagramSettingLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCSDiagramSettingByUuidAndCompanyId
public CSDiagramSetting getCSDiagramSettingByUuidAndCompanyId(String uuid, long companyId) throws com.liferay.portal.kernel.exception.PortalException Returns the cs diagram setting with the matching UUID and company.- Specified by:
getCSDiagramSettingByUuidAndCompanyId
in interfaceCSDiagramSettingLocalService
- Parameters:
uuid
- the cs diagram setting's UUIDcompanyId
- the primary key of the company- Returns:
- the matching cs diagram setting
- Throws:
PortalException
- if a matching cs diagram setting could not be foundcom.liferay.portal.kernel.exception.PortalException
-
getCSDiagramSettings
Returns a range of all the cs diagram settings.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.commerce.shop.by.diagram.model.impl.CSDiagramSettingModelImpl
.- Specified by:
getCSDiagramSettings
in interfaceCSDiagramSettingLocalService
- Parameters:
start
- the lower bound of the range of cs diagram settingsend
- the upper bound of the range of cs diagram settings (not inclusive)- Returns:
- the range of cs diagram settings
-
getCSDiagramSettingsCount
public int getCSDiagramSettingsCount()Returns the number of cs diagram settings.- Specified by:
getCSDiagramSettingsCount
in interfaceCSDiagramSettingLocalService
- Returns:
- the number of cs diagram settings
-
getExportActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) - Specified by:
getExportActionableDynamicQuery
in interfaceCSDiagramSettingLocalService
-
getIndexableActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()- Specified by:
getIndexableActionableDynamicQuery
in interfaceCSDiagramSettingLocalService
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifier
in interfaceCSDiagramSettingLocalService
- Returns:
- the OSGi service identifier
-
getPersistedModel
public com.liferay.portal.kernel.model.PersistedModel getPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getPersistedModel
in interfaceCSDiagramSettingLocalService
- Specified by:
getPersistedModel
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
- Throws:
PortalException
com.liferay.portal.kernel.exception.PortalException
-
updateCSDiagramSetting
Updates the cs diagram setting in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.Important: Inspect CSDiagramSettingLocalServiceImpl 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:
updateCSDiagramSetting
in interfaceCSDiagramSettingLocalService
- Parameters:
csDiagramSetting
- the cs diagram setting- Returns:
- the cs diagram setting that was updated
-
updateCSDiagramSetting
public CSDiagramSetting updateCSDiagramSetting(long csDiagramSettingId, long cpAttachmentFileEntryId, String color, double radius, String type) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateCSDiagramSetting
in interfaceCSDiagramSettingLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getBasePersistence
public com.liferay.portal.kernel.service.persistence.BasePersistence<?> getBasePersistence()- Specified by:
getBasePersistence
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
getCTPersistence
public com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CSDiagramSetting> getCTPersistence()- Specified by:
getCTPersistence
in interfaceCSDiagramSettingLocalService
- Specified by:
getCTPersistence
in interfacecom.liferay.portal.kernel.service.change.tracking.CTService<CSDiagramSetting>
-
getModelClass
- Specified by:
getModelClass
in interfaceCSDiagramSettingLocalService
- Specified by:
getModelClass
in interfacecom.liferay.portal.kernel.service.change.tracking.CTService<CSDiagramSetting>
-
updateWithUnsafeFunction
public <R,E extends Throwable> R updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CSDiagramSetting>, R, throws EE> updateUnsafeFunction) - Specified by:
updateWithUnsafeFunction
in interfaceCSDiagramSettingLocalService
- Specified by:
updateWithUnsafeFunction
in interfacecom.liferay.portal.kernel.service.change.tracking.CTService<CSDiagramSetting>
- Throws:
E extends Throwable
-
getWrappedService
- Specified by:
getWrappedService
in interfacecom.liferay.portal.kernel.service.ServiceWrapper<CSDiagramSettingLocalService>
-
setWrappedService
- Specified by:
setWrappedService
in interfacecom.liferay.portal.kernel.service.ServiceWrapper<CSDiagramSettingLocalService>
-