Class CSDiagramEntryLocalServiceWrapper
- All Implemented Interfaces:
CSDiagramEntryLocalService
,com.liferay.portal.kernel.service.BaseLocalService
,com.liferay.portal.kernel.service.change.tracking.CTService<CSDiagramEntry>
,com.liferay.portal.kernel.service.PersistedModelLocalService
,com.liferay.portal.kernel.service.ServiceWrapper<CSDiagramEntryLocalService>
CSDiagramEntryLocalService
.- See Also:
- Generated:
-
Constructor Summary
ConstructorsConstructorDescriptionCSDiagramEntryLocalServiceWrapper
(CSDiagramEntryLocalService csDiagramEntryLocalService) -
Method Summary
Modifier and TypeMethodDescriptionaddCSDiagramEntry
(long userId, long cpDefinitionId, long cpInstanceId, long cProductId, boolean diagram, int quantity, String sequence, String sku, com.liferay.portal.kernel.service.ServiceContext serviceContext) addCSDiagramEntry
(CSDiagramEntry csDiagramEntry) Adds the cs diagram entry to the database.createCSDiagramEntry
(long CSDiagramEntryId) Creates a new cs diagram entry with the primary key.com.liferay.portal.kernel.model.PersistedModel
createPersistedModel
(Serializable primaryKeyObj) void
deleteCSDiagramEntries
(long cpDefinitionId) deleteCSDiagramEntry
(long CSDiagramEntryId) Deletes the cs diagram entry with the primary key from the database.deleteCSDiagramEntry
(CSDiagramEntry csDiagramEntry) Deletes the cs diagram entry from the database.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.fetchCSDiagramEntry
(long CSDiagramEntryId) fetchCSDiagramEntry
(long cpDefinitionId, String sequence) com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery
com.liferay.portal.kernel.service.persistence.BasePersistence<?>
getCPDefinitionRelatedCSDiagramEntries
(long cpDefinitionId) getCProductCSDiagramEntries
(long cProductId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> orderByComparator) getCSDiagramEntries
(int start, int end) Returns a range of all the cs diagram entries.getCSDiagramEntries
(long cpDefinitionId, int start, int end) int
Returns the number of cs diagram entries.int
getCSDiagramEntriesCount
(long cpDefinitionId) getCSDiagramEntry
(long CSDiagramEntryId) Returns the cs diagram entry with the primary key.getCSDiagramEntry
(long cpDefinitionId, String sequence) com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CSDiagramEntry>
com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery
Returns the OSGi service identifier.com.liferay.portal.kernel.model.PersistedModel
getPersistedModel
(Serializable primaryKeyObj) void
setWrappedService
(CSDiagramEntryLocalService csDiagramEntryLocalService) updateCSDiagramEntry
(long csDiagramEntryId, long cpInstanceId, long cProductId, boolean diagram, int quantity, String sequence, String sku, com.liferay.portal.kernel.service.ServiceContext serviceContext) updateCSDiagramEntry
(CSDiagramEntry csDiagramEntry) Updates the cs diagram entry 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<CSDiagramEntry>, 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
-
CSDiagramEntryLocalServiceWrapper
public CSDiagramEntryLocalServiceWrapper() -
CSDiagramEntryLocalServiceWrapper
-
-
Method Details
-
addCSDiagramEntry
Adds the cs diagram entry to the database. Also notifies the appropriate model listeners.Important: Inspect CSDiagramEntryLocalServiceImpl 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:
addCSDiagramEntry
in interfaceCSDiagramEntryLocalService
- Parameters:
csDiagramEntry
- the cs diagram entry- Returns:
- the cs diagram entry that was added
-
addCSDiagramEntry
public CSDiagramEntry addCSDiagramEntry(long userId, long cpDefinitionId, long cpInstanceId, long cProductId, boolean diagram, int quantity, String sequence, String sku, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
addCSDiagramEntry
in interfaceCSDiagramEntryLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
createCSDiagramEntry
Creates a new cs diagram entry with the primary key. Does not add the cs diagram entry to the database.- Specified by:
createCSDiagramEntry
in interfaceCSDiagramEntryLocalService
- Parameters:
CSDiagramEntryId
- the primary key for the new cs diagram entry- Returns:
- the new cs diagram entry
-
createPersistedModel
public com.liferay.portal.kernel.model.PersistedModel createPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
createPersistedModel
in interfaceCSDiagramEntryLocalService
- Specified by:
createPersistedModel
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
- Throws:
PortalException
com.liferay.portal.kernel.exception.PortalException
-
deleteCSDiagramEntries
public void deleteCSDiagramEntries(long cpDefinitionId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteCSDiagramEntries
in interfaceCSDiagramEntryLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteCSDiagramEntry
public CSDiagramEntry deleteCSDiagramEntry(CSDiagramEntry csDiagramEntry) throws com.liferay.portal.kernel.exception.PortalException Deletes the cs diagram entry from the database. Also notifies the appropriate model listeners.Important: Inspect CSDiagramEntryLocalServiceImpl 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:
deleteCSDiagramEntry
in interfaceCSDiagramEntryLocalService
- Parameters:
csDiagramEntry
- the cs diagram entry- Returns:
- the cs diagram entry that was removed
- Throws:
PortalException
com.liferay.portal.kernel.exception.PortalException
-
deleteCSDiagramEntry
public CSDiagramEntry deleteCSDiagramEntry(long CSDiagramEntryId) throws com.liferay.portal.kernel.exception.PortalException Deletes the cs diagram entry with the primary key from the database. Also notifies the appropriate model listeners.Important: Inspect CSDiagramEntryLocalServiceImpl 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:
deleteCSDiagramEntry
in interfaceCSDiagramEntryLocalService
- Parameters:
CSDiagramEntryId
- the primary key of the cs diagram entry- Returns:
- the cs diagram entry that was removed
- Throws:
PortalException
- if a cs diagram entry with the primary key could not be foundcom.liferay.portal.kernel.exception.PortalException
-
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 interfaceCSDiagramEntryLocalService
- 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 interfaceCSDiagramEntryLocalService
- 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 interfaceCSDiagramEntryLocalService
- Specified by:
dslQueryCount
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dynamicQuery
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()- Specified by:
dynamicQuery
in interfaceCSDiagramEntryLocalService
-
dynamicQuery
Performs a dynamic query on the database and returns the matching rows.- Specified by:
dynamicQuery
in interfaceCSDiagramEntryLocalService
- 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.CSDiagramEntryModelImpl
.- Specified by:
dynamicQuery
in interfaceCSDiagramEntryLocalService
- 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.CSDiagramEntryModelImpl
.- Specified by:
dynamicQuery
in interfaceCSDiagramEntryLocalService
- 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 interfaceCSDiagramEntryLocalService
- 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 interfaceCSDiagramEntryLocalService
- Parameters:
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the query- Returns:
- the number of rows matching the dynamic query
-
fetchCSDiagramEntry
- Specified by:
fetchCSDiagramEntry
in interfaceCSDiagramEntryLocalService
-
fetchCSDiagramEntry
- Specified by:
fetchCSDiagramEntry
in interfaceCSDiagramEntryLocalService
-
getActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()- Specified by:
getActionableDynamicQuery
in interfaceCSDiagramEntryLocalService
-
getCPDefinitionRelatedCSDiagramEntries
- Specified by:
getCPDefinitionRelatedCSDiagramEntries
in interfaceCSDiagramEntryLocalService
-
getCProductCSDiagramEntries
public List<CSDiagramEntry> getCProductCSDiagramEntries(long cProductId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCProductCSDiagramEntries
in interfaceCSDiagramEntryLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCSDiagramEntries
Returns a range of all the cs diagram entries.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.CSDiagramEntryModelImpl
.- Specified by:
getCSDiagramEntries
in interfaceCSDiagramEntryLocalService
- Parameters:
start
- the lower bound of the range of cs diagram entriesend
- the upper bound of the range of cs diagram entries (not inclusive)- Returns:
- the range of cs diagram entries
-
getCSDiagramEntries
- Specified by:
getCSDiagramEntries
in interfaceCSDiagramEntryLocalService
-
getCSDiagramEntriesCount
public int getCSDiagramEntriesCount()Returns the number of cs diagram entries.- Specified by:
getCSDiagramEntriesCount
in interfaceCSDiagramEntryLocalService
- Returns:
- the number of cs diagram entries
-
getCSDiagramEntriesCount
public int getCSDiagramEntriesCount(long cpDefinitionId) - Specified by:
getCSDiagramEntriesCount
in interfaceCSDiagramEntryLocalService
-
getCSDiagramEntry
public CSDiagramEntry getCSDiagramEntry(long CSDiagramEntryId) throws com.liferay.portal.kernel.exception.PortalException Returns the cs diagram entry with the primary key.- Specified by:
getCSDiagramEntry
in interfaceCSDiagramEntryLocalService
- Parameters:
CSDiagramEntryId
- the primary key of the cs diagram entry- Returns:
- the cs diagram entry
- Throws:
PortalException
- if a cs diagram entry with the primary key could not be foundcom.liferay.portal.kernel.exception.PortalException
-
getCSDiagramEntry
public CSDiagramEntry getCSDiagramEntry(long cpDefinitionId, String sequence) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCSDiagramEntry
in interfaceCSDiagramEntryLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getIndexableActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()- Specified by:
getIndexableActionableDynamicQuery
in interfaceCSDiagramEntryLocalService
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifier
in interfaceCSDiagramEntryLocalService
- 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 interfaceCSDiagramEntryLocalService
- Specified by:
getPersistedModel
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
- Throws:
PortalException
com.liferay.portal.kernel.exception.PortalException
-
updateCSDiagramEntry
Updates the cs diagram entry in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.Important: Inspect CSDiagramEntryLocalServiceImpl 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:
updateCSDiagramEntry
in interfaceCSDiagramEntryLocalService
- Parameters:
csDiagramEntry
- the cs diagram entry- Returns:
- the cs diagram entry that was updated
-
updateCSDiagramEntry
public CSDiagramEntry updateCSDiagramEntry(long csDiagramEntryId, long cpInstanceId, long cProductId, boolean diagram, int quantity, String sequence, String sku, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateCSDiagramEntry
in interfaceCSDiagramEntryLocalService
- 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<CSDiagramEntry> getCTPersistence()- Specified by:
getCTPersistence
in interfaceCSDiagramEntryLocalService
- Specified by:
getCTPersistence
in interfacecom.liferay.portal.kernel.service.change.tracking.CTService<CSDiagramEntry>
-
getModelClass
- Specified by:
getModelClass
in interfaceCSDiagramEntryLocalService
- Specified by:
getModelClass
in interfacecom.liferay.portal.kernel.service.change.tracking.CTService<CSDiagramEntry>
-
updateWithUnsafeFunction
public <R,E extends Throwable> R updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CSDiagramEntry>, R, throws EE> updateUnsafeFunction) - Specified by:
updateWithUnsafeFunction
in interfaceCSDiagramEntryLocalService
- Specified by:
updateWithUnsafeFunction
in interfacecom.liferay.portal.kernel.service.change.tracking.CTService<CSDiagramEntry>
- Throws:
E extends Throwable
-
getWrappedService
- Specified by:
getWrappedService
in interfacecom.liferay.portal.kernel.service.ServiceWrapper<CSDiagramEntryLocalService>
-
setWrappedService
- Specified by:
setWrappedService
in interfacecom.liferay.portal.kernel.service.ServiceWrapper<CSDiagramEntryLocalService>
-