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.PersistedModelcreatePersistedModel(Serializable primaryKeyObj) voiddeleteCSDiagramEntries(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.PersistedModeldeletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) <T> TdslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) intdslQueryCount(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.longdynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.longdynamicQueryCount(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.ActionableDynamicQuerycom.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) intReturns the number of cs diagram entries.intgetCSDiagramEntriesCount(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.IndexableActionableDynamicQueryReturns the OSGi service identifier.com.liferay.portal.kernel.model.PersistedModelgetPersistedModel(Serializable primaryKeyObj) voidsetWrappedService(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, waitMethods 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:
addCSDiagramEntryin 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:
addCSDiagramEntryin 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:
createCSDiagramEntryin 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:
createPersistedModelin interfaceCSDiagramEntryLocalService- Specified by:
createPersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Throws:
PortalExceptioncom.liferay.portal.kernel.exception.PortalException
-
deleteCSDiagramEntries
public void deleteCSDiagramEntries(long cpDefinitionId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteCSDiagramEntriesin 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:
deleteCSDiagramEntryin interfaceCSDiagramEntryLocalService- Parameters:
csDiagramEntry- the cs diagram entry- Returns:
- the cs diagram entry that was removed
- Throws:
PortalExceptioncom.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:
deleteCSDiagramEntryin 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:
deletePersistedModelin interfaceCSDiagramEntryLocalService- Specified by:
deletePersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Throws:
PortalExceptioncom.liferay.portal.kernel.exception.PortalException
-
dslQuery
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryin interfaceCSDiagramEntryLocalService- Specified by:
dslQueryin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dslQueryCount
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryCountin interfaceCSDiagramEntryLocalService- Specified by:
dslQueryCountin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dynamicQuery
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()- Specified by:
dynamicQueryin interfaceCSDiagramEntryLocalService
-
dynamicQuery
Performs a dynamic query on the database and returns the matching rows.- Specified by:
dynamicQueryin 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 - 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.commerce.shop.by.diagram.model.impl.CSDiagramEntryModelImpl.- Specified by:
dynamicQueryin 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 - 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.commerce.shop.by.diagram.model.impl.CSDiagramEntryModelImpl.- Specified by:
dynamicQueryin 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:
dynamicQueryCountin 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:
dynamicQueryCountin 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:
fetchCSDiagramEntryin interfaceCSDiagramEntryLocalService
-
fetchCSDiagramEntry
- Specified by:
fetchCSDiagramEntryin interfaceCSDiagramEntryLocalService
-
getActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()- Specified by:
getActionableDynamicQueryin interfaceCSDiagramEntryLocalService
-
getCPDefinitionRelatedCSDiagramEntries
- Specified by:
getCPDefinitionRelatedCSDiagramEntriesin 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:
getCProductCSDiagramEntriesin 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 - 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.commerce.shop.by.diagram.model.impl.CSDiagramEntryModelImpl.- Specified by:
getCSDiagramEntriesin 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:
getCSDiagramEntriesin interfaceCSDiagramEntryLocalService
-
getCSDiagramEntriesCount
public int getCSDiagramEntriesCount()Returns the number of cs diagram entries.- Specified by:
getCSDiagramEntriesCountin interfaceCSDiagramEntryLocalService- Returns:
- the number of cs diagram entries
-
getCSDiagramEntriesCount
public int getCSDiagramEntriesCount(long cpDefinitionId) - Specified by:
getCSDiagramEntriesCountin 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:
getCSDiagramEntryin 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:
getCSDiagramEntryin interfaceCSDiagramEntryLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getIndexableActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()- Specified by:
getIndexableActionableDynamicQueryin interfaceCSDiagramEntryLocalService
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifierin 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:
getPersistedModelin interfaceCSDiagramEntryLocalService- Specified by:
getPersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Throws:
PortalExceptioncom.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:
updateCSDiagramEntryin 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:
updateCSDiagramEntryin interfaceCSDiagramEntryLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getBasePersistence
public com.liferay.portal.kernel.service.persistence.BasePersistence<?> getBasePersistence()- Specified by:
getBasePersistencein interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
getCTPersistence
public com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CSDiagramEntry> getCTPersistence()- Specified by:
getCTPersistencein interfaceCSDiagramEntryLocalService- Specified by:
getCTPersistencein interfacecom.liferay.portal.kernel.service.change.tracking.CTService<CSDiagramEntry>
-
getModelClass
- Specified by:
getModelClassin interfaceCSDiagramEntryLocalService- Specified by:
getModelClassin 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:
updateWithUnsafeFunctionin interfaceCSDiagramEntryLocalService- Specified by:
updateWithUnsafeFunctionin interfacecom.liferay.portal.kernel.service.change.tracking.CTService<CSDiagramEntry>- Throws:
E extends Throwable
-
getWrappedService
- Specified by:
getWrappedServicein interfacecom.liferay.portal.kernel.service.ServiceWrapper<CSDiagramEntryLocalService>
-
setWrappedService
- Specified by:
setWrappedServicein interfacecom.liferay.portal.kernel.service.ServiceWrapper<CSDiagramEntryLocalService>
-