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 commerceOptionTypeKey,
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 commerceOptionTypeKey,
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() |
com.liferay.portal.kernel.service.persistence.BasePersistence<?> |
getBasePersistence() |
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,
com.liferay.portal.kernel.json.JSONArray skuOptionJSONArray) |
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.service.persistence.change.tracking.CTPersistence<CPDefinitionOptionRel> |
getCTPersistence() |
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.Class<CPDefinitionOptionRel> |
getModelClass() |
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[] 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 commerceOptionTypeKey,
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 commerceOptionTypeKey,
java.lang.String infoItemServiceKey,
double priority,
boolean definedExternally,
boolean facetable,
boolean required,
boolean skuContributor,
java.lang.String priceType,
java.lang.String typeSettings,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
<R,E extends java.lang.Throwable> |
updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CPDefinitionOptionRel>,R,E> updateUnsafeFunction) |
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 CPDefinitionOptionRelLocalServicecpDefinitionOptionRel - 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 CPDefinitionOptionRelLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic 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 commerceOptionTypeKey, 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 CPDefinitionOptionRelLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic 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 commerceOptionTypeKey, 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 CPDefinitionOptionRelLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CPDefinitionOptionRel addCPDefinitionOptionRel(long cpDefinitionId, long cpOptionId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
addCPDefinitionOptionRel in interface CPDefinitionOptionRelLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CPDefinitionOptionRel createCPDefinitionOptionRel(long CPDefinitionOptionRelId)
createCPDefinitionOptionRel in interface CPDefinitionOptionRelLocalServiceCPDefinitionOptionRelId - 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 CPDefinitionOptionRelLocalServicecreatePersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicePortalExceptionpublic 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 CPDefinitionOptionRelLocalServicecpDefinitionOptionRel - the cp definition option relPortalExceptionpublic 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 CPDefinitionOptionRelLocalServiceCPDefinitionOptionRelId - 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 CPDefinitionOptionRelLocalServicecom.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 CPDefinitionOptionRelLocalServicedeletePersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicePortalExceptionpublic <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQuery in interface CPDefinitionOptionRelLocalServicedslQuery in interface com.liferay.portal.kernel.service.PersistedModelLocalServicepublic int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQueryCount in interface CPDefinitionOptionRelLocalServicedslQueryCount in interface com.liferay.portal.kernel.service.PersistedModelLocalServicepublic com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
dynamicQuery in interface CPDefinitionOptionRelLocalServicepublic <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery in interface CPDefinitionOptionRelLocalServicedynamicQuery - 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 CPDefinitionOptionRelLocalServicedynamicQuery - 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 CPDefinitionOptionRelLocalServicedynamicQuery - 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 CPDefinitionOptionRelLocalServicedynamicQuery - the dynamic querypublic long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
com.liferay.portal.kernel.dao.orm.Projection projection)
dynamicQueryCount in interface CPDefinitionOptionRelLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the querypublic CPDefinitionOptionRel fetchCPDefinitionOptionRel(long CPDefinitionOptionRelId)
fetchCPDefinitionOptionRel in interface CPDefinitionOptionRelLocalServicepublic CPDefinitionOptionRel fetchCPDefinitionOptionRel(long cpDefinitionId, long cpOptionId)
fetchCPDefinitionOptionRel in interface CPDefinitionOptionRelLocalServicepublic CPDefinitionOptionRel fetchCPDefinitionOptionRelByKey(long cpDefinitionId, java.lang.String key)
fetchCPDefinitionOptionRelByKey in interface CPDefinitionOptionRelLocalServicepublic CPDefinitionOptionRel fetchCPDefinitionOptionRelByUuidAndGroupId(java.lang.String uuid, long groupId)
fetchCPDefinitionOptionRelByUuidAndGroupId in interface CPDefinitionOptionRelLocalServiceuuid - 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 CPDefinitionOptionRelLocalServicepublic CPDefinitionOptionRel getCPDefinitionOptionRel(long CPDefinitionOptionRelId) throws com.liferay.portal.kernel.exception.PortalException
getCPDefinitionOptionRel in interface CPDefinitionOptionRelLocalServiceCPDefinitionOptionRelId - 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 CPDefinitionOptionRelLocalServiceuuid - 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,
com.liferay.portal.kernel.json.JSONArray skuOptionJSONArray)
throws com.liferay.portal.kernel.exception.PortalException
getCPDefinitionOptionRelCPDefinitionOptionValueRelIds in interface CPDefinitionOptionRelLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic 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 CPDefinitionOptionRelLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic 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 CPDefinitionOptionRelLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic 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 CPDefinitionOptionRelLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic 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 CPDefinitionOptionRelLocalServicestart - 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 CPDefinitionOptionRelLocalServicepublic java.util.List<CPDefinitionOptionRel> getCPDefinitionOptionRels(long cpDefinitionId, boolean skuContributor)
getCPDefinitionOptionRels in interface CPDefinitionOptionRelLocalServicepublic java.util.List<CPDefinitionOptionRel> getCPDefinitionOptionRels(long cpDefinitionId, int start, int end)
getCPDefinitionOptionRels in interface CPDefinitionOptionRelLocalServicepublic java.util.List<CPDefinitionOptionRel> getCPDefinitionOptionRels(long cpDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator)
getCPDefinitionOptionRels in interface CPDefinitionOptionRelLocalServicepublic java.util.List<CPDefinitionOptionRel> getCPDefinitionOptionRelsByUuidAndCompanyId(java.lang.String uuid, long companyId)
getCPDefinitionOptionRelsByUuidAndCompanyId in interface CPDefinitionOptionRelLocalServiceuuid - 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 CPDefinitionOptionRelLocalServiceuuid - 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 CPDefinitionOptionRelLocalServicepublic int getCPDefinitionOptionRelsCount(long cpDefinitionId)
getCPDefinitionOptionRelsCount in interface CPDefinitionOptionRelLocalServicepublic int getCPDefinitionOptionRelsCount(long cpDefinitionId,
boolean skuContributor)
getCPDefinitionOptionRelsCount in interface CPDefinitionOptionRelLocalServicepublic com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext)
getExportActionableDynamicQuery in interface CPDefinitionOptionRelLocalServicepublic com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery in interface CPDefinitionOptionRelLocalServicepublic java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface CPDefinitionOptionRelLocalServicepublic com.liferay.portal.kernel.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj)
throws com.liferay.portal.kernel.exception.PortalException
getPersistedModel in interface CPDefinitionOptionRelLocalServicegetPersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicePortalExceptionpublic boolean hasCPDefinitionPriceContributorCPDefinitionOptionRels(long cpDefinitionId)
hasCPDefinitionPriceContributorCPDefinitionOptionRels in interface CPDefinitionOptionRelLocalServicepublic boolean hasCPDefinitionRequiredCPDefinitionOptionRels(long cpDefinitionId)
hasCPDefinitionRequiredCPDefinitionOptionRels in interface CPDefinitionOptionRelLocalServicepublic boolean hasLinkedCPInstanceCPDefinitionOptionRels(long cpDefinitionId)
hasLinkedCPInstanceCPDefinitionOptionRels in interface CPDefinitionOptionRelLocalServicepublic com.liferay.portal.kernel.search.Hits search(com.liferay.portal.kernel.search.SearchContext searchContext)
search in interface CPDefinitionOptionRelLocalServicepublic 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 CPDefinitionOptionRelLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic int searchCPDefinitionOptionRelsCount(long companyId,
long groupId,
long cpDefinitionId,
java.lang.String keywords)
throws com.liferay.portal.kernel.exception.PortalException
searchCPDefinitionOptionRelsCount in interface CPDefinitionOptionRelLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic 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 CPDefinitionOptionRelLocalServicecpDefinitionOptionRel - 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 commerceOptionTypeKey, 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 CPDefinitionOptionRelLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic 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 commerceOptionTypeKey, java.lang.String infoItemServiceKey, double priority, boolean definedExternally, boolean facetable, boolean required, boolean skuContributor, java.lang.String priceType, java.lang.String typeSettings, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
updateCPDefinitionOptionRel in interface CPDefinitionOptionRelLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic com.liferay.portal.kernel.service.persistence.BasePersistence<?> getBasePersistence()
getBasePersistence in interface com.liferay.portal.kernel.service.PersistedModelLocalServicepublic com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CPDefinitionOptionRel> getCTPersistence()
getCTPersistence in interface CPDefinitionOptionRelLocalServicegetCTPersistence in interface com.liferay.portal.kernel.service.change.tracking.CTService<CPDefinitionOptionRel>public java.lang.Class<CPDefinitionOptionRel> getModelClass()
getModelClass in interface CPDefinitionOptionRelLocalServicegetModelClass in interface com.liferay.portal.kernel.service.change.tracking.CTService<CPDefinitionOptionRel>public <R,E extends java.lang.Throwable> R updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CPDefinitionOptionRel>,R,E> updateUnsafeFunction) throws E extends java.lang.Throwable
updateWithUnsafeFunction in interface CPDefinitionOptionRelLocalServiceupdateWithUnsafeFunction in interface com.liferay.portal.kernel.service.change.tracking.CTService<CPDefinitionOptionRel>E extends java.lang.Throwablepublic 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>