public class CommerceBOMDefinitionLocalServiceWrapper extends java.lang.Object implements CommerceBOMDefinitionLocalService, com.liferay.portal.kernel.service.ServiceWrapper<CommerceBOMDefinitionLocalService>
CommerceBOMDefinitionLocalService.CommerceBOMDefinitionLocalService| Constructor and Description |
|---|
CommerceBOMDefinitionLocalServiceWrapper(CommerceBOMDefinitionLocalService commerceBOMDefinitionLocalService) |
| Modifier and Type | Method and Description |
|---|---|
CommerceBOMDefinition |
addCommerceBOMDefinition(CommerceBOMDefinition commerceBOMDefinition)
Adds the commerce bom definition to the database.
|
CommerceBOMDefinition |
addCommerceBOMDefinition(long userId,
long commerceBOMFolderId,
long cpAttachmentFileEntryId,
java.lang.String name,
java.lang.String friendlyUrl) |
CommerceBOMDefinition |
createCommerceBOMDefinition(long commerceBOMDefinitionId)
Creates a new commerce bom definition with the primary key.
|
com.liferay.portal.kernel.model.PersistedModel |
createPersistedModel(java.io.Serializable primaryKeyObj) |
CommerceBOMDefinition |
deleteCommerceBOMDefinition(CommerceBOMDefinition commerceBOMDefinition)
Deletes the commerce bom definition from the database.
|
CommerceBOMDefinition |
deleteCommerceBOMDefinition(long commerceBOMDefinitionId)
Deletes the commerce bom definition with the primary key from the database.
|
void |
deleteCommerceBOMDefinitions(long commerceBOMFolderId) |
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 |
dynamicQuery() |
<T> java.util.List<T> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.
|
<T> java.util.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> java.util.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.
|
CommerceBOMDefinition |
fetchCommerceBOMDefinition(long commerceBOMDefinitionId) |
com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery |
getActionableDynamicQuery() |
CommerceBOMDefinition |
getCommerceBOMDefinition(long commerceBOMDefinitionId)
Returns the commerce bom definition with the primary key.
|
java.util.List<CommerceBOMDefinition> |
getCommerceBOMDefinitions(int start,
int end)
Returns a range of all the commerce bom definitions.
|
int |
getCommerceBOMDefinitionsCount()
Returns the number of commerce bom definitions.
|
com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery() |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
com.liferay.portal.kernel.model.PersistedModel |
getPersistedModel(java.io.Serializable primaryKeyObj) |
CommerceBOMDefinitionLocalService |
getWrappedService() |
void |
setWrappedService(CommerceBOMDefinitionLocalService commerceBOMDefinitionLocalService) |
CommerceBOMDefinition |
updateCommerceBOMDefinition(CommerceBOMDefinition commerceBOMDefinition)
Updates the commerce bom definition in the database or adds it if it does not yet exist.
|
CommerceBOMDefinition |
updateCommerceBOMDefinition(long commerceBOMDefinitionId,
long cpAttachmentFileEntryId,
java.lang.String name) |
public CommerceBOMDefinitionLocalServiceWrapper(CommerceBOMDefinitionLocalService commerceBOMDefinitionLocalService)
public CommerceBOMDefinition addCommerceBOMDefinition(CommerceBOMDefinition commerceBOMDefinition)
Important: Inspect CommerceBOMDefinitionLocalServiceImpl 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.
addCommerceBOMDefinition in interface CommerceBOMDefinitionLocalServicecommerceBOMDefinition - the commerce bom definitionpublic CommerceBOMDefinition addCommerceBOMDefinition(long userId, long commerceBOMFolderId, long cpAttachmentFileEntryId, java.lang.String name, java.lang.String friendlyUrl) throws com.liferay.portal.kernel.exception.PortalException
addCommerceBOMDefinition in interface CommerceBOMDefinitionLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceBOMDefinition createCommerceBOMDefinition(long commerceBOMDefinitionId)
createCommerceBOMDefinition in interface CommerceBOMDefinitionLocalServicecommerceBOMDefinitionId - the primary key for the new commerce bom definitionpublic com.liferay.portal.kernel.model.PersistedModel createPersistedModel(java.io.Serializable primaryKeyObj)
throws com.liferay.portal.kernel.exception.PortalException
createPersistedModel in interface CommerceBOMDefinitionLocalServicecreatePersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicePortalExceptionpublic CommerceBOMDefinition deleteCommerceBOMDefinition(CommerceBOMDefinition commerceBOMDefinition) throws com.liferay.portal.kernel.exception.PortalException
Important: Inspect CommerceBOMDefinitionLocalServiceImpl 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.
deleteCommerceBOMDefinition in interface CommerceBOMDefinitionLocalServicecommerceBOMDefinition - the commerce bom definitionPortalExceptionpublic CommerceBOMDefinition deleteCommerceBOMDefinition(long commerceBOMDefinitionId) throws com.liferay.portal.kernel.exception.PortalException
Important: Inspect CommerceBOMDefinitionLocalServiceImpl 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.
deleteCommerceBOMDefinition in interface CommerceBOMDefinitionLocalServicecommerceBOMDefinitionId - the primary key of the commerce bom definitionPortalException - if a commerce bom definition with the primary key could not be foundpublic void deleteCommerceBOMDefinitions(long commerceBOMFolderId)
throws com.liferay.portal.kernel.exception.PortalException
deleteCommerceBOMDefinitions in interface CommerceBOMDefinitionLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel)
throws com.liferay.portal.kernel.exception.PortalException
deletePersistedModel in interface CommerceBOMDefinitionLocalServicedeletePersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicePortalExceptionpublic <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQuery in interface CommerceBOMDefinitionLocalServicepublic int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQueryCount in interface CommerceBOMDefinitionLocalServicepublic com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
dynamicQuery in interface CommerceBOMDefinitionLocalServicepublic <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery in interface CommerceBOMDefinitionLocalServicedynamicQuery - the dynamic querypublic <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.commerce.bom.model.impl.CommerceBOMDefinitionModelImpl.
dynamicQuery in interface CommerceBOMDefinitionLocalServicedynamicQuery - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)public <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.commerce.bom.model.impl.CommerceBOMDefinitionModelImpl.
dynamicQuery in interface CommerceBOMDefinitionLocalServicedynamicQuery - 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 (optionally null)public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQueryCount in interface CommerceBOMDefinitionLocalServicedynamicQuery - the dynamic querypublic long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
com.liferay.portal.kernel.dao.orm.Projection projection)
dynamicQueryCount in interface CommerceBOMDefinitionLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the querypublic CommerceBOMDefinition fetchCommerceBOMDefinition(long commerceBOMDefinitionId)
fetchCommerceBOMDefinition in interface CommerceBOMDefinitionLocalServicepublic com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery in interface CommerceBOMDefinitionLocalServicepublic CommerceBOMDefinition getCommerceBOMDefinition(long commerceBOMDefinitionId) throws com.liferay.portal.kernel.exception.PortalException
getCommerceBOMDefinition in interface CommerceBOMDefinitionLocalServicecommerceBOMDefinitionId - the primary key of the commerce bom definitionPortalException - if a commerce bom definition with the primary key could not be foundpublic java.util.List<CommerceBOMDefinition> getCommerceBOMDefinitions(int start, int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.commerce.bom.model.impl.CommerceBOMDefinitionModelImpl.
getCommerceBOMDefinitions in interface CommerceBOMDefinitionLocalServicestart - the lower bound of the range of commerce bom definitionsend - the upper bound of the range of commerce bom definitions (not inclusive)public int getCommerceBOMDefinitionsCount()
getCommerceBOMDefinitionsCount in interface CommerceBOMDefinitionLocalServicepublic com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery in interface CommerceBOMDefinitionLocalServicepublic java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface CommerceBOMDefinitionLocalServicepublic com.liferay.portal.kernel.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj)
throws com.liferay.portal.kernel.exception.PortalException
getPersistedModel in interface CommerceBOMDefinitionLocalServicegetPersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicePortalExceptionpublic CommerceBOMDefinition updateCommerceBOMDefinition(CommerceBOMDefinition commerceBOMDefinition)
Important: Inspect CommerceBOMDefinitionLocalServiceImpl 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.
updateCommerceBOMDefinition in interface CommerceBOMDefinitionLocalServicecommerceBOMDefinition - the commerce bom definitionpublic CommerceBOMDefinition updateCommerceBOMDefinition(long commerceBOMDefinitionId, long cpAttachmentFileEntryId, java.lang.String name) throws com.liferay.portal.kernel.exception.PortalException
updateCommerceBOMDefinition in interface CommerceBOMDefinitionLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceBOMDefinitionLocalService getWrappedService()
getWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<CommerceBOMDefinitionLocalService>public void setWrappedService(CommerceBOMDefinitionLocalService commerceBOMDefinitionLocalService)
setWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<CommerceBOMDefinitionLocalService>