public class CPDefinitionOptionRelLocalServiceWrapper extends java.lang.Object implements CPDefinitionOptionRelLocalService, com.liferay.portal.kernel.service.ServiceWrapper<CPDefinitionOptionRelLocalService>
CPDefinitionOptionRelLocalService
.CPDefinitionOptionRelLocalService
Constructor and Description |
---|
CPDefinitionOptionRelLocalServiceWrapper() |
CPDefinitionOptionRelLocalServiceWrapper(CPDefinitionOptionRelLocalService cpDefinitionOptionRelLocalService) |
Modifier and Type | Method and Description |
---|---|
CPDefinitionOptionRel |
addCPDefinitionOptionRel(CPDefinitionOptionRel cpDefinitionOptionRel)
Adds the cp definition option rel to the database.
|
CPDefinitionOptionRel |
addCPDefinitionOptionRel(long cpDefinitionId,
long cpOptionId,
boolean importOptionValue,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
CPDefinitionOptionRel |
addCPDefinitionOptionRel(long cpDefinitionId,
long cpOptionId,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.lang.String ddmFormFieldTypeName,
double priority,
boolean facetable,
boolean required,
boolean skuContributor,
boolean importOptionValue,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
CPDefinitionOptionRel |
addCPDefinitionOptionRel(long cpDefinitionId,
long cpOptionId,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.lang.String ddmFormFieldTypeName,
double priority,
boolean facetable,
boolean required,
boolean skuContributor,
boolean importOptionValue,
java.lang.String priceType,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
CPDefinitionOptionRel |
addCPDefinitionOptionRel(long cpDefinitionId,
long cpOptionId,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
CPDefinitionOptionRel |
createCPDefinitionOptionRel(long CPDefinitionOptionRelId)
Creates a new cp definition option rel with the primary key.
|
com.liferay.portal.kernel.model.PersistedModel |
createPersistedModel(java.io.Serializable primaryKeyObj) |
CPDefinitionOptionRel |
deleteCPDefinitionOptionRel(CPDefinitionOptionRel cpDefinitionOptionRel)
Deletes the cp definition option rel from the database.
|
CPDefinitionOptionRel |
deleteCPDefinitionOptionRel(long CPDefinitionOptionRelId)
Deletes the cp definition option rel with the primary key from the database.
|
void |
deleteCPDefinitionOptionRels(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 |
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.
|
CPDefinitionOptionRel |
fetchCPDefinitionOptionRel(long CPDefinitionOptionRelId) |
CPDefinitionOptionRel |
fetchCPDefinitionOptionRel(long cpDefinitionId,
long cpOptionId) |
CPDefinitionOptionRel |
fetchCPDefinitionOptionRelByKey(long cpDefinitionId,
java.lang.String key) |
CPDefinitionOptionRel |
fetchCPDefinitionOptionRelByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the cp definition option rel matching the UUID and group.
|
com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery |
getActionableDynamicQuery() |
CPDefinitionOptionRel |
getCPDefinitionOptionRel(long CPDefinitionOptionRelId)
Returns the cp definition option rel with the primary key.
|
CPDefinitionOptionRel |
getCPDefinitionOptionRelByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the cp definition option rel matching the UUID and group.
|
java.util.Map<java.lang.Long,java.util.List<java.lang.Long>> |
getCPDefinitionOptionRelCPDefinitionOptionValueRelIds(long cpDefinitionId,
boolean skuContributorsOnly,
java.lang.String json) |
java.util.Map<java.lang.Long,java.util.List<java.lang.Long>> |
getCPDefinitionOptionRelCPDefinitionOptionValueRelIds(long cpDefinitionId,
java.lang.String json) |
java.util.Map<java.lang.String,java.util.List<java.lang.String>> |
getCPDefinitionOptionRelKeysCPDefinitionOptionValueRelKeys(long cpInstanceId) |
java.util.List<CPDefinitionOptionRel> |
getCPDefinitionOptionRels(int start,
int end)
Returns a range of all the cp definition option rels.
|
java.util.List<CPDefinitionOptionRel> |
getCPDefinitionOptionRels(long cpDefinitionId) |
java.util.List<CPDefinitionOptionRel> |
getCPDefinitionOptionRels(long cpDefinitionId,
boolean skuContributor) |
java.util.List<CPDefinitionOptionRel> |
getCPDefinitionOptionRels(long cpDefinitionId,
int start,
int end) |
java.util.List<CPDefinitionOptionRel> |
getCPDefinitionOptionRels(long cpDefinitionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) |
java.util.List<CPDefinitionOptionRel> |
getCPDefinitionOptionRelsByUuidAndCompanyId(java.lang.String uuid,
long companyId)
Returns all the cp definition option rels matching the UUID and company.
|
java.util.List<CPDefinitionOptionRel> |
getCPDefinitionOptionRelsByUuidAndCompanyId(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator)
Returns a range of cp definition option rels matching the UUID and company.
|
int |
getCPDefinitionOptionRelsCount()
Returns the number of cp definition option rels.
|
int |
getCPDefinitionOptionRelsCount(long cpDefinitionId) |
int |
getCPDefinitionOptionRelsCount(long cpDefinitionId,
boolean skuContributor) |
com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery |
getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) |
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) |
CPDefinitionOptionRelLocalService |
getWrappedService() |
boolean |
hasCPDefinitionPriceContributorCPDefinitionOptionRels(long cpDefinitionId) |
boolean |
hasCPDefinitionRequiredCPDefinitionOptionRels(long cpDefinitionId) |
boolean |
hasLinkedCPInstanceCPDefinitionOptionRels(long cpDefinitionId) |
com.liferay.portal.kernel.search.Hits |
search(com.liferay.portal.kernel.search.SearchContext searchContext) |
com.liferay.portal.kernel.search.BaseModelSearchResult<CPDefinitionOptionRel> |
searchCPDefinitionOptionRels(long companyId,
long groupId,
long cpDefinitionId,
java.lang.String keywords,
int start,
int end,
com.liferay.portal.kernel.search.Sort sort)
Deprecated.
As of Cavanaugh (7.4.x), replaced by
searchCPDefinitionOptionRels(long, long, long, String, int,
int, Sort[]) |
com.liferay.portal.kernel.search.BaseModelSearchResult<CPDefinitionOptionRel> |
searchCPDefinitionOptionRels(long companyId,
long groupId,
long cpDefinitionId,
java.lang.String keywords,
int start,
int end,
com.liferay.portal.kernel.search.Sort[] sorts) |
int |
searchCPDefinitionOptionRelsCount(long companyId,
long groupId,
long cpDefinitionId,
java.lang.String keywords) |
void |
setWrappedService(CPDefinitionOptionRelLocalService cpDefinitionOptionRelLocalService) |
CPDefinitionOptionRel |
updateCPDefinitionOptionRel(CPDefinitionOptionRel cpDefinitionOptionRel)
Updates the cp definition option rel in the database or adds it if it does not yet exist.
|
CPDefinitionOptionRel |
updateCPDefinitionOptionRel(long cpDefinitionOptionRelId,
long cpOptionId,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.lang.String ddmFormFieldTypeName,
double priority,
boolean facetable,
boolean required,
boolean skuContributor,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
CPDefinitionOptionRel |
updateCPDefinitionOptionRel(long cpDefinitionOptionRelId,
long cpOptionId,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.lang.String ddmFormFieldTypeName,
double priority,
boolean facetable,
boolean required,
boolean skuContributor,
java.lang.String priceType,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
public CPDefinitionOptionRelLocalServiceWrapper()
public CPDefinitionOptionRelLocalServiceWrapper(CPDefinitionOptionRelLocalService cpDefinitionOptionRelLocalService)
public CPDefinitionOptionRel addCPDefinitionOptionRel(CPDefinitionOptionRel cpDefinitionOptionRel)
Important: Inspect CPDefinitionOptionRelLocalServiceImpl 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.
addCPDefinitionOptionRel
in interface CPDefinitionOptionRelLocalService
cpDefinitionOptionRel
- the cp definition option relpublic CPDefinitionOptionRel addCPDefinitionOptionRel(long cpDefinitionId, long cpOptionId, boolean importOptionValue, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
addCPDefinitionOptionRel
in interface CPDefinitionOptionRelLocalService
com.liferay.portal.kernel.exception.PortalException
public CPDefinitionOptionRel addCPDefinitionOptionRel(long cpDefinitionId, long cpOptionId, java.util.Map<java.util.Locale,java.lang.String> nameMap, java.util.Map<java.util.Locale,java.lang.String> descriptionMap, java.lang.String ddmFormFieldTypeName, double priority, boolean facetable, boolean required, boolean skuContributor, boolean importOptionValue, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
addCPDefinitionOptionRel
in interface CPDefinitionOptionRelLocalService
com.liferay.portal.kernel.exception.PortalException
public CPDefinitionOptionRel addCPDefinitionOptionRel(long cpDefinitionId, long cpOptionId, java.util.Map<java.util.Locale,java.lang.String> nameMap, java.util.Map<java.util.Locale,java.lang.String> descriptionMap, java.lang.String ddmFormFieldTypeName, double priority, boolean facetable, boolean required, boolean skuContributor, boolean importOptionValue, java.lang.String priceType, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
addCPDefinitionOptionRel
in interface CPDefinitionOptionRelLocalService
com.liferay.portal.kernel.exception.PortalException
public CPDefinitionOptionRel addCPDefinitionOptionRel(long cpDefinitionId, long cpOptionId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
addCPDefinitionOptionRel
in interface CPDefinitionOptionRelLocalService
com.liferay.portal.kernel.exception.PortalException
public CPDefinitionOptionRel createCPDefinitionOptionRel(long CPDefinitionOptionRelId)
createCPDefinitionOptionRel
in interface CPDefinitionOptionRelLocalService
CPDefinitionOptionRelId
- the primary key for the new cp definition option relpublic com.liferay.portal.kernel.model.PersistedModel createPersistedModel(java.io.Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
createPersistedModel
in interface CPDefinitionOptionRelLocalService
createPersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
PortalException
public CPDefinitionOptionRel deleteCPDefinitionOptionRel(CPDefinitionOptionRel cpDefinitionOptionRel) throws com.liferay.portal.kernel.exception.PortalException
Important: Inspect CPDefinitionOptionRelLocalServiceImpl 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.
deleteCPDefinitionOptionRel
in interface CPDefinitionOptionRelLocalService
cpDefinitionOptionRel
- the cp definition option relPortalException
public CPDefinitionOptionRel deleteCPDefinitionOptionRel(long CPDefinitionOptionRelId) throws com.liferay.portal.kernel.exception.PortalException
Important: Inspect CPDefinitionOptionRelLocalServiceImpl 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.
deleteCPDefinitionOptionRel
in interface CPDefinitionOptionRelLocalService
CPDefinitionOptionRelId
- the primary key of the cp definition option relPortalException
- if a cp definition option rel with the primary key could not be foundpublic void deleteCPDefinitionOptionRels(long cpDefinitionId) throws com.liferay.portal.kernel.exception.PortalException
deleteCPDefinitionOptionRels
in interface CPDefinitionOptionRelLocalService
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) throws com.liferay.portal.kernel.exception.PortalException
deletePersistedModel
in interface CPDefinitionOptionRelLocalService
deletePersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
PortalException
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQuery
in interface CPDefinitionOptionRelLocalService
dslQuery
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQueryCount
in interface CPDefinitionOptionRelLocalService
dslQueryCount
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
dynamicQuery
in interface CPDefinitionOptionRelLocalService
public <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery
in interface CPDefinitionOptionRelLocalService
dynamicQuery
- 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.product.model.impl.CPDefinitionOptionRelModelImpl
.
dynamicQuery
in interface CPDefinitionOptionRelLocalService
dynamicQuery
- 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.product.model.impl.CPDefinitionOptionRelModelImpl
.
dynamicQuery
in interface CPDefinitionOptionRelLocalService
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 (optionally null
)public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQueryCount
in interface CPDefinitionOptionRelLocalService
dynamicQuery
- the dynamic querypublic long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection)
dynamicQueryCount
in interface CPDefinitionOptionRelLocalService
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the querypublic CPDefinitionOptionRel fetchCPDefinitionOptionRel(long CPDefinitionOptionRelId)
fetchCPDefinitionOptionRel
in interface CPDefinitionOptionRelLocalService
public CPDefinitionOptionRel fetchCPDefinitionOptionRel(long cpDefinitionId, long cpOptionId)
fetchCPDefinitionOptionRel
in interface CPDefinitionOptionRelLocalService
public CPDefinitionOptionRel fetchCPDefinitionOptionRelByKey(long cpDefinitionId, java.lang.String key)
fetchCPDefinitionOptionRelByKey
in interface CPDefinitionOptionRelLocalService
public CPDefinitionOptionRel fetchCPDefinitionOptionRelByUuidAndGroupId(java.lang.String uuid, long groupId)
fetchCPDefinitionOptionRelByUuidAndGroupId
in interface CPDefinitionOptionRelLocalService
uuid
- the cp definition option rel's UUIDgroupId
- the primary key of the groupnull
if a matching cp definition option rel could not be foundpublic com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery
in interface CPDefinitionOptionRelLocalService
public CPDefinitionOptionRel getCPDefinitionOptionRel(long CPDefinitionOptionRelId) throws com.liferay.portal.kernel.exception.PortalException
getCPDefinitionOptionRel
in interface CPDefinitionOptionRelLocalService
CPDefinitionOptionRelId
- the primary key of the cp definition option relPortalException
- if a cp definition option rel with the primary key could not be foundpublic CPDefinitionOptionRel getCPDefinitionOptionRelByUuidAndGroupId(java.lang.String uuid, long groupId) throws com.liferay.portal.kernel.exception.PortalException
getCPDefinitionOptionRelByUuidAndGroupId
in interface CPDefinitionOptionRelLocalService
uuid
- the cp definition option rel's UUIDgroupId
- the primary key of the groupPortalException
- if a matching cp definition option rel could not be foundpublic java.util.Map<java.lang.Long,java.util.List<java.lang.Long>> getCPDefinitionOptionRelCPDefinitionOptionValueRelIds(long cpDefinitionId, boolean skuContributorsOnly, java.lang.String json) throws com.liferay.portal.kernel.exception.PortalException
getCPDefinitionOptionRelCPDefinitionOptionValueRelIds
in interface CPDefinitionOptionRelLocalService
com.liferay.portal.kernel.exception.PortalException
public java.util.Map<java.lang.Long,java.util.List<java.lang.Long>> getCPDefinitionOptionRelCPDefinitionOptionValueRelIds(long cpDefinitionId, java.lang.String json) throws com.liferay.portal.kernel.exception.PortalException
getCPDefinitionOptionRelCPDefinitionOptionValueRelIds
in interface CPDefinitionOptionRelLocalService
com.liferay.portal.kernel.exception.PortalException
public java.util.Map<java.lang.String,java.util.List<java.lang.String>> getCPDefinitionOptionRelKeysCPDefinitionOptionValueRelKeys(long cpInstanceId) throws com.liferay.portal.kernel.exception.PortalException
getCPDefinitionOptionRelKeysCPDefinitionOptionValueRelKeys
in interface CPDefinitionOptionRelLocalService
com.liferay.portal.kernel.exception.PortalException
public java.util.List<CPDefinitionOptionRel> getCPDefinitionOptionRels(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.product.model.impl.CPDefinitionOptionRelModelImpl
.
getCPDefinitionOptionRels
in interface CPDefinitionOptionRelLocalService
start
- the lower bound of the range of cp definition option relsend
- the upper bound of the range of cp definition option rels (not inclusive)public java.util.List<CPDefinitionOptionRel> getCPDefinitionOptionRels(long cpDefinitionId)
getCPDefinitionOptionRels
in interface CPDefinitionOptionRelLocalService
public java.util.List<CPDefinitionOptionRel> getCPDefinitionOptionRels(long cpDefinitionId, boolean skuContributor)
getCPDefinitionOptionRels
in interface CPDefinitionOptionRelLocalService
public java.util.List<CPDefinitionOptionRel> getCPDefinitionOptionRels(long cpDefinitionId, int start, int end)
getCPDefinitionOptionRels
in interface CPDefinitionOptionRelLocalService
public java.util.List<CPDefinitionOptionRel> getCPDefinitionOptionRels(long cpDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator)
getCPDefinitionOptionRels
in interface CPDefinitionOptionRelLocalService
public java.util.List<CPDefinitionOptionRel> getCPDefinitionOptionRelsByUuidAndCompanyId(java.lang.String uuid, long companyId)
getCPDefinitionOptionRelsByUuidAndCompanyId
in interface CPDefinitionOptionRelLocalService
uuid
- the UUID of the cp definition option relscompanyId
- the primary key of the companypublic java.util.List<CPDefinitionOptionRel> getCPDefinitionOptionRelsByUuidAndCompanyId(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator)
getCPDefinitionOptionRelsByUuidAndCompanyId
in interface CPDefinitionOptionRelLocalService
uuid
- the UUID of the cp definition option relscompanyId
- the primary key of the companystart
- the lower bound of the range of cp definition option relsend
- the upper bound of the range of cp definition option rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public int getCPDefinitionOptionRelsCount()
getCPDefinitionOptionRelsCount
in interface CPDefinitionOptionRelLocalService
public int getCPDefinitionOptionRelsCount(long cpDefinitionId)
getCPDefinitionOptionRelsCount
in interface CPDefinitionOptionRelLocalService
public int getCPDefinitionOptionRelsCount(long cpDefinitionId, boolean skuContributor)
getCPDefinitionOptionRelsCount
in interface CPDefinitionOptionRelLocalService
public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext)
getExportActionableDynamicQuery
in interface CPDefinitionOptionRelLocalService
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery
in interface CPDefinitionOptionRelLocalService
public java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier
in interface CPDefinitionOptionRelLocalService
public com.liferay.portal.kernel.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
getPersistedModel
in interface CPDefinitionOptionRelLocalService
getPersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
PortalException
public boolean hasCPDefinitionPriceContributorCPDefinitionOptionRels(long cpDefinitionId)
hasCPDefinitionPriceContributorCPDefinitionOptionRels
in interface CPDefinitionOptionRelLocalService
public boolean hasCPDefinitionRequiredCPDefinitionOptionRels(long cpDefinitionId)
hasCPDefinitionRequiredCPDefinitionOptionRels
in interface CPDefinitionOptionRelLocalService
public boolean hasLinkedCPInstanceCPDefinitionOptionRels(long cpDefinitionId)
hasLinkedCPInstanceCPDefinitionOptionRels
in interface CPDefinitionOptionRelLocalService
public com.liferay.portal.kernel.search.Hits search(com.liferay.portal.kernel.search.SearchContext searchContext)
search
in interface CPDefinitionOptionRelLocalService
@Deprecated public com.liferay.portal.kernel.search.BaseModelSearchResult<CPDefinitionOptionRel> searchCPDefinitionOptionRels(long companyId, long groupId, long cpDefinitionId, java.lang.String keywords, int start, int end, com.liferay.portal.kernel.search.Sort sort) throws com.liferay.portal.kernel.exception.PortalException
searchCPDefinitionOptionRels(long, long, long, String, int,
int, Sort[])
searchCPDefinitionOptionRels
in interface CPDefinitionOptionRelLocalService
companyId
- groupId
- cpDefinitionId
- keywords
- start
- end
- sort
- PortalException
public com.liferay.portal.kernel.search.BaseModelSearchResult<CPDefinitionOptionRel> searchCPDefinitionOptionRels(long companyId, long groupId, long cpDefinitionId, java.lang.String keywords, int start, int end, com.liferay.portal.kernel.search.Sort[] sorts) throws com.liferay.portal.kernel.exception.PortalException
searchCPDefinitionOptionRels
in interface CPDefinitionOptionRelLocalService
com.liferay.portal.kernel.exception.PortalException
public int searchCPDefinitionOptionRelsCount(long companyId, long groupId, long cpDefinitionId, java.lang.String keywords) throws com.liferay.portal.kernel.exception.PortalException
searchCPDefinitionOptionRelsCount
in interface CPDefinitionOptionRelLocalService
com.liferay.portal.kernel.exception.PortalException
public CPDefinitionOptionRel updateCPDefinitionOptionRel(CPDefinitionOptionRel cpDefinitionOptionRel)
Important: Inspect CPDefinitionOptionRelLocalServiceImpl 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.
updateCPDefinitionOptionRel
in interface CPDefinitionOptionRelLocalService
cpDefinitionOptionRel
- the cp definition option relpublic CPDefinitionOptionRel updateCPDefinitionOptionRel(long cpDefinitionOptionRelId, long cpOptionId, java.util.Map<java.util.Locale,java.lang.String> nameMap, java.util.Map<java.util.Locale,java.lang.String> descriptionMap, java.lang.String ddmFormFieldTypeName, double priority, boolean facetable, boolean required, boolean skuContributor, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
updateCPDefinitionOptionRel
in interface CPDefinitionOptionRelLocalService
com.liferay.portal.kernel.exception.PortalException
public CPDefinitionOptionRel updateCPDefinitionOptionRel(long cpDefinitionOptionRelId, long cpOptionId, java.util.Map<java.util.Locale,java.lang.String> nameMap, java.util.Map<java.util.Locale,java.lang.String> descriptionMap, java.lang.String ddmFormFieldTypeName, double priority, boolean facetable, boolean required, boolean skuContributor, java.lang.String priceType, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
updateCPDefinitionOptionRel
in interface CPDefinitionOptionRelLocalService
com.liferay.portal.kernel.exception.PortalException
public CPDefinitionOptionRelLocalService getWrappedService()
getWrappedService
in interface com.liferay.portal.kernel.service.ServiceWrapper<CPDefinitionOptionRelLocalService>
public void setWrappedService(CPDefinitionOptionRelLocalService cpDefinitionOptionRelLocalService)
setWrappedService
in interface com.liferay.portal.kernel.service.ServiceWrapper<CPDefinitionOptionRelLocalService>