idx
int64
0
41.2k
question
stringlengths
74
4.04k
target
stringlengths
7
750
30,900
public void setCPRuleService ( com . liferay . commerce . product . service . CPRuleService cpRuleService ) { this . cpRuleService = cpRuleService ; }
Sets the cp rule remote service .
30,901
public void setCPRuleAssetCategoryRelLocalService ( com . liferay . commerce . product . service . CPRuleAssetCategoryRelLocalService cpRuleAssetCategoryRelLocalService ) { this . cpRuleAssetCategoryRelLocalService = cpRuleAssetCategoryRelLocalService ; }
Sets the cp rule asset category rel local service .
30,902
public void setCPRuleAssetCategoryRelService ( com . liferay . commerce . product . service . CPRuleAssetCategoryRelService cpRuleAssetCategoryRelService ) { this . cpRuleAssetCategoryRelService = cpRuleAssetCategoryRelService ; }
Sets the cp rule asset category rel remote service .
30,903
public void setCPRuleUserSegmentRelLocalService ( com . liferay . commerce . product . service . CPRuleUserSegmentRelLocalService cpRuleUserSegmentRelLocalService ) { this . cpRuleUserSegmentRelLocalService = cpRuleUserSegmentRelLocalService ; }
Sets the cp rule user segment rel local service .
30,904
public void setCPRuleUserSegmentRelService ( com . liferay . commerce . product . service . CPRuleUserSegmentRelService cpRuleUserSegmentRelService ) { this . cpRuleUserSegmentRelService = cpRuleUserSegmentRelService ; }
Sets the cp rule user segment rel remote service .
30,905
public void setCPSpecificationOptionLocalService ( com . liferay . commerce . product . service . CPSpecificationOptionLocalService cpSpecificationOptionLocalService ) { this . cpSpecificationOptionLocalService = cpSpecificationOptionLocalService ; }
Sets the cp specification option local service .
30,906
public void setCPSpecificationOptionService ( com . liferay . commerce . product . service . CPSpecificationOptionService cpSpecificationOptionService ) { this . cpSpecificationOptionService = cpSpecificationOptionService ; }
Sets the cp specification option remote service .
30,907
public void setCPTaxCategoryLocalService ( com . liferay . commerce . product . service . CPTaxCategoryLocalService cpTaxCategoryLocalService ) { this . cpTaxCategoryLocalService = cpTaxCategoryLocalService ; }
Sets the cp tax category local service .
30,908
public void setClassNameService ( com . liferay . portal . kernel . service . ClassNameService classNameService ) { this . classNameService = classNameService ; }
Sets the class name remote service .
30,909
public void setUserService ( com . liferay . portal . kernel . service . UserService userService ) { this . userService = userService ; }
Sets the user remote service .
30,910
public void cacheResult ( CPRuleUserSegmentRel cpRuleUserSegmentRel ) { entityCache . putResult ( CPRuleUserSegmentRelModelImpl . ENTITY_CACHE_ENABLED , CPRuleUserSegmentRelImpl . class , cpRuleUserSegmentRel . getPrimaryKey ( ) , cpRuleUserSegmentRel ) ; cpRuleUserSegmentRel . resetOriginalValues ( ) ; }
Caches the cp rule user segment rel in the entity cache if it is enabled .
30,911
public void cacheResult ( List < CPRuleUserSegmentRel > cpRuleUserSegmentRels ) { for ( CPRuleUserSegmentRel cpRuleUserSegmentRel : cpRuleUserSegmentRels ) { if ( entityCache . getResult ( CPRuleUserSegmentRelModelImpl . ENTITY_CACHE_ENABLED , CPRuleUserSegmentRelImpl . class , cpRuleUserSegmentRel . getPrimaryKey ( ) ) == null ) { cacheResult ( cpRuleUserSegmentRel ) ; } else { cpRuleUserSegmentRel . resetOriginalValues ( ) ; } } }
Caches the cp rule user segment rels in the entity cache if it is enabled .
30,912
public void clearCache ( ) { entityCache . clearCache ( CPRuleUserSegmentRelImpl . class ) ; finderCache . clearCache ( FINDER_CLASS_NAME_ENTITY ) ; finderCache . clearCache ( FINDER_CLASS_NAME_LIST_WITH_PAGINATION ) ; finderCache . clearCache ( FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION ) ; }
Clears the cache for all cp rule user segment rels .
30,913
public void clearCache ( CPRuleUserSegmentRel cpRuleUserSegmentRel ) { entityCache . removeResult ( CPRuleUserSegmentRelModelImpl . ENTITY_CACHE_ENABLED , CPRuleUserSegmentRelImpl . class , cpRuleUserSegmentRel . getPrimaryKey ( ) ) ; finderCache . clearCache ( FINDER_CLASS_NAME_LIST_WITH_PAGINATION ) ; finderCache . clearCache ( FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION ) ; }
Clears the cache for the cp rule user segment rel .
30,914
public List < CPRuleUserSegmentRel > findAll ( ) { return findAll ( QueryUtil . ALL_POS , QueryUtil . ALL_POS , null ) ; }
Returns all the cp rule user segment rels .
30,915
@ Indexable ( type = IndexableType . DELETE ) public CommerceAddressRestriction deleteCommerceAddressRestriction ( long commerceAddressRestrictionId ) throws PortalException { return commerceAddressRestrictionPersistence . remove ( commerceAddressRestrictionId ) ; }
Deletes the commerce address restriction with the primary key from the database . Also notifies the appropriate model listeners .
30,916
@ Indexable ( type = IndexableType . REINDEX ) public CPDefinitionOptionValueRel addCPDefinitionOptionValueRel ( CPDefinitionOptionValueRel cpDefinitionOptionValueRel ) { cpDefinitionOptionValueRel . setNew ( true ) ; return cpDefinitionOptionValueRelPersistence . update ( cpDefinitionOptionValueRel ) ; }
Adds the cp definition option value rel to the database . Also notifies the appropriate model listeners .
30,917
public void setExpandoRowLocalService ( com . liferay . expando . kernel . service . ExpandoRowLocalService expandoRowLocalService ) { this . expandoRowLocalService = expandoRowLocalService ; }
Sets the expando row local service .
30,918
public String getDescription ( String languageId , boolean useDefault ) { return _cpOptionCategory . getDescription ( languageId , useDefault ) ; }
Returns the localized description of this cp option category in the language optionally using the default language if no localization exists for the requested language .
30,919
public String getTitle ( String languageId , boolean useDefault ) { return _cpOptionCategory . getTitle ( languageId , useDefault ) ; }
Returns the localized title of this cp option category in the language optionally using the default language if no localization exists for the requested language .
30,920
public void setTitle ( String title , java . util . Locale locale , java . util . Locale defaultLocale ) { _cpOptionCategory . setTitle ( title , locale , defaultLocale ) ; }
Sets the localized title of this cp option category in the language and sets the default locale .
30,921
@ Indexable ( type = IndexableType . DELETE ) public CommerceOrderNote deleteCommerceOrderNote ( long commerceOrderNoteId ) throws PortalException { return commerceOrderNotePersistence . remove ( commerceOrderNoteId ) ; }
Deletes the commerce order note with the primary key from the database . Also notifies the appropriate model listeners .
30,922
public CommerceOrderNote fetchCommerceOrderNoteByReferenceCode ( long companyId , String externalReferenceCode ) { return commerceOrderNotePersistence . fetchByC_ERC ( companyId , null ) ; }
Returns the commerce order note with the matching external reference code and company .
30,923
public void cacheResult ( CProduct cProduct ) { entityCache . putResult ( CProductModelImpl . ENTITY_CACHE_ENABLED , CProductImpl . class , cProduct . getPrimaryKey ( ) , cProduct ) ; finderCache . putResult ( FINDER_PATH_FETCH_BY_UUID_G , new Object [ ] { cProduct . getUuid ( ) , cProduct . getGroupId ( ) } , cProduct ) ; cProduct . resetOriginalValues ( ) ; }
Caches the c product in the entity cache if it is enabled .
30,924
public void cacheResult ( List < CProduct > cProducts ) { for ( CProduct cProduct : cProducts ) { if ( entityCache . getResult ( CProductModelImpl . ENTITY_CACHE_ENABLED , CProductImpl . class , cProduct . getPrimaryKey ( ) ) == null ) { cacheResult ( cProduct ) ; } else { cProduct . resetOriginalValues ( ) ; } } }
Caches the c products in the entity cache if it is enabled .
30,925
public void clearCache ( ) { entityCache . clearCache ( CProductImpl . class ) ; finderCache . clearCache ( FINDER_CLASS_NAME_ENTITY ) ; finderCache . clearCache ( FINDER_CLASS_NAME_LIST_WITH_PAGINATION ) ; finderCache . clearCache ( FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION ) ; }
Clears the cache for all c products .
30,926
public void clearCache ( CProduct cProduct ) { entityCache . removeResult ( CProductModelImpl . ENTITY_CACHE_ENABLED , CProductImpl . class , cProduct . getPrimaryKey ( ) ) ; finderCache . clearCache ( FINDER_CLASS_NAME_LIST_WITH_PAGINATION ) ; finderCache . clearCache ( FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION ) ; clearUniqueFindersCache ( ( CProductModelImpl ) cProduct , true ) ; }
Clears the cache for the c product .
30,927
public List < CProduct > findAll ( ) { return findAll ( QueryUtil . ALL_POS , QueryUtil . ALL_POS , null ) ; }
Returns all the c products .
30,928
public com . liferay . commerce . shipping . engine . fixed . model . CommerceShippingFixedOptionRel getCommerceShippingFixedOptionRel ( long commerceShippingFixedOptionRelId ) throws com . liferay . portal . kernel . exception . PortalException { return _commerceShippingFixedOptionRelLocalService . getCommerceShippingFixedOptionRel ( commerceShippingFixedOptionRelId ) ; }
Returns the commerce shipping fixed option rel with the primary key .
30,929
public void setCommerceDiscountLocalService ( com . liferay . commerce . discount . service . CommerceDiscountLocalService commerceDiscountLocalService ) { this . commerceDiscountLocalService = commerceDiscountLocalService ; }
Sets the commerce discount local service .
30,930
public void setCommerceDiscountService ( com . liferay . commerce . discount . service . CommerceDiscountService commerceDiscountService ) { this . commerceDiscountService = commerceDiscountService ; }
Sets the commerce discount remote service .
30,931
public void setCommerceDiscountRelLocalService ( com . liferay . commerce . discount . service . CommerceDiscountRelLocalService commerceDiscountRelLocalService ) { this . commerceDiscountRelLocalService = commerceDiscountRelLocalService ; }
Sets the commerce discount rel local service .
30,932
public void setCommerceDiscountRuleLocalService ( com . liferay . commerce . discount . service . CommerceDiscountRuleLocalService commerceDiscountRuleLocalService ) { this . commerceDiscountRuleLocalService = commerceDiscountRuleLocalService ; }
Sets the commerce discount rule local service .
30,933
public void setCommerceDiscountRuleService ( com . liferay . commerce . discount . service . CommerceDiscountRuleService commerceDiscountRuleService ) { this . commerceDiscountRuleService = commerceDiscountRuleService ; }
Sets the commerce discount rule remote service .
30,934
public void setCommerceDiscountUsageEntryLocalService ( com . liferay . commerce . discount . service . CommerceDiscountUsageEntryLocalService commerceDiscountUsageEntryLocalService ) { this . commerceDiscountUsageEntryLocalService = commerceDiscountUsageEntryLocalService ; }
Sets the commerce discount usage entry local service .
30,935
public void setCommerceDiscountUserSegmentRelLocalService ( com . liferay . commerce . discount . service . CommerceDiscountUserSegmentRelLocalService commerceDiscountUserSegmentRelLocalService ) { this . commerceDiscountUserSegmentRelLocalService = commerceDiscountUserSegmentRelLocalService ; }
Sets the commerce discount user segment rel local service .
30,936
public void setCommerceDiscountUserSegmentRelService ( com . liferay . commerce . discount . service . CommerceDiscountUserSegmentRelService commerceDiscountUserSegmentRelService ) { this . commerceDiscountUserSegmentRelService = commerceDiscountUserSegmentRelService ; }
Sets the commerce discount user segment rel remote service .
30,937
public CPOption fetchCPOptionByReferenceCode ( long companyId , String externalReferenceCode ) { return cpOptionPersistence . fetchByC_ERC ( companyId , null ) ; }
Returns the cp option with the matching external reference code and company .
30,938
public List < CPOption > getCPOptionsByUuidAndCompanyId ( String uuid , long companyId , int start , int end , OrderByComparator < CPOption > orderByComparator ) { return cpOptionPersistence . findByUuid_C ( uuid , companyId , start , end , orderByComparator ) ; }
Returns a range of cp options matching the UUID and company .
30,939
public void cacheResult ( CPOptionValue cpOptionValue ) { entityCache . putResult ( CPOptionValueModelImpl . ENTITY_CACHE_ENABLED , CPOptionValueImpl . class , cpOptionValue . getPrimaryKey ( ) , cpOptionValue ) ; finderCache . putResult ( FINDER_PATH_FETCH_BY_UUID_G , new Object [ ] { cpOptionValue . getUuid ( ) , cpOptionValue . getGroupId ( ) } , cpOptionValue ) ; finderCache . putResult ( FINDER_PATH_FETCH_BY_C_K , new Object [ ] { cpOptionValue . getCPOptionId ( ) , cpOptionValue . getKey ( ) } , cpOptionValue ) ; finderCache . putResult ( FINDER_PATH_FETCH_BY_C_ERC , new Object [ ] { cpOptionValue . getCompanyId ( ) , cpOptionValue . getExternalReferenceCode ( ) } , cpOptionValue ) ; cpOptionValue . resetOriginalValues ( ) ; }
Caches the cp option value in the entity cache if it is enabled .
30,940
public void cacheResult ( List < CPOptionValue > cpOptionValues ) { for ( CPOptionValue cpOptionValue : cpOptionValues ) { if ( entityCache . getResult ( CPOptionValueModelImpl . ENTITY_CACHE_ENABLED , CPOptionValueImpl . class , cpOptionValue . getPrimaryKey ( ) ) == null ) { cacheResult ( cpOptionValue ) ; } else { cpOptionValue . resetOriginalValues ( ) ; } } }
Caches the cp option values in the entity cache if it is enabled .
30,941
public void clearCache ( ) { entityCache . clearCache ( CPOptionValueImpl . class ) ; finderCache . clearCache ( FINDER_CLASS_NAME_ENTITY ) ; finderCache . clearCache ( FINDER_CLASS_NAME_LIST_WITH_PAGINATION ) ; finderCache . clearCache ( FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION ) ; }
Clears the cache for all cp option values .
30,942
public void clearCache ( CPOptionValue cpOptionValue ) { entityCache . removeResult ( CPOptionValueModelImpl . ENTITY_CACHE_ENABLED , CPOptionValueImpl . class , cpOptionValue . getPrimaryKey ( ) ) ; finderCache . clearCache ( FINDER_CLASS_NAME_LIST_WITH_PAGINATION ) ; finderCache . clearCache ( FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION ) ; clearUniqueFindersCache ( ( CPOptionValueModelImpl ) cpOptionValue , true ) ; }
Clears the cache for the cp option value .
30,943
public List < CPOptionValue > findAll ( ) { return findAll ( QueryUtil . ALL_POS , QueryUtil . ALL_POS , null ) ; }
Returns all the cp option values .
30,944
public void cacheResult ( CommerceOrderPayment commerceOrderPayment ) { entityCache . putResult ( CommerceOrderPaymentModelImpl . ENTITY_CACHE_ENABLED , CommerceOrderPaymentImpl . class , commerceOrderPayment . getPrimaryKey ( ) , commerceOrderPayment ) ; commerceOrderPayment . resetOriginalValues ( ) ; }
Caches the commerce order payment in the entity cache if it is enabled .
30,945
public void cacheResult ( List < CommerceOrderPayment > commerceOrderPayments ) { for ( CommerceOrderPayment commerceOrderPayment : commerceOrderPayments ) { if ( entityCache . getResult ( CommerceOrderPaymentModelImpl . ENTITY_CACHE_ENABLED , CommerceOrderPaymentImpl . class , commerceOrderPayment . getPrimaryKey ( ) ) == null ) { cacheResult ( commerceOrderPayment ) ; } else { commerceOrderPayment . resetOriginalValues ( ) ; } } }
Caches the commerce order payments in the entity cache if it is enabled .
30,946
public void clearCache ( ) { entityCache . clearCache ( CommerceOrderPaymentImpl . class ) ; finderCache . clearCache ( FINDER_CLASS_NAME_ENTITY ) ; finderCache . clearCache ( FINDER_CLASS_NAME_LIST_WITH_PAGINATION ) ; finderCache . clearCache ( FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION ) ; }
Clears the cache for all commerce order payments .
30,947
public void clearCache ( CommerceOrderPayment commerceOrderPayment ) { entityCache . removeResult ( CommerceOrderPaymentModelImpl . ENTITY_CACHE_ENABLED , CommerceOrderPaymentImpl . class , commerceOrderPayment . getPrimaryKey ( ) ) ; finderCache . clearCache ( FINDER_CLASS_NAME_LIST_WITH_PAGINATION ) ; finderCache . clearCache ( FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION ) ; }
Clears the cache for the commerce order payment .
30,948
public List < CommerceOrderPayment > findAll ( ) { return findAll ( QueryUtil . ALL_POS , QueryUtil . ALL_POS , null ) ; }
Returns all the commerce order payments .
30,949
public String getValue ( java . util . Locale locale ) { return _cpDefinitionSpecificationOptionValue . getValue ( locale ) ; }
Returns the localized value of this cp definition specification option value in the language . Uses the default language if no localization exists for the requested language .
30,950
public String getValue ( String languageId , boolean useDefault ) { return _cpDefinitionSpecificationOptionValue . getValue ( languageId , useDefault ) ; }
Returns the localized value of this cp definition specification option value in the language optionally using the default language if no localization exists for the requested language .
30,951
public void setValue ( String value , java . util . Locale locale ) { _cpDefinitionSpecificationOptionValue . setValue ( value , locale ) ; }
Sets the localized value of this cp definition specification option value in the language .
30,952
public void setValueMap ( Map < java . util . Locale , String > valueMap ) { _cpDefinitionSpecificationOptionValue . setValueMap ( valueMap ) ; }
Sets the localized values of this cp definition specification option value from the map of locales and localized values .
30,953
public void setValueMap ( Map < java . util . Locale , String > valueMap , java . util . Locale defaultLocale ) { _cpDefinitionSpecificationOptionValue . setValueMap ( valueMap , defaultLocale ) ; }
Sets the localized values of this cp definition specification option value from the map of locales and localized values and sets the default locale .
30,954
@ Indexable ( type = IndexableType . DELETE ) public CPDisplayLayout deleteCPDisplayLayout ( long CPDisplayLayoutId ) throws PortalException { return cpDisplayLayoutPersistence . remove ( CPDisplayLayoutId ) ; }
Deletes the cp display layout with the primary key from the database . Also notifies the appropriate model listeners .
30,955
@ Indexable ( type = IndexableType . DELETE ) public CPDisplayLayout deleteCPDisplayLayout ( CPDisplayLayout cpDisplayLayout ) { return cpDisplayLayoutPersistence . remove ( cpDisplayLayout ) ; }
Deletes the cp display layout from the database . Also notifies the appropriate model listeners .
30,956
public List < CPDisplayLayout > getCPDisplayLayoutsByUuidAndCompanyId ( String uuid , long companyId , int start , int end , OrderByComparator < CPDisplayLayout > orderByComparator ) { return cpDisplayLayoutPersistence . findByUuid_C ( uuid , companyId , start , end , orderByComparator ) ; }
Returns a range of cp display layouts matching the UUID and company .
30,957
public void setCommerceDiscountRelService ( com . liferay . commerce . discount . service . CommerceDiscountRelService commerceDiscountRelService ) { this . commerceDiscountRelService = commerceDiscountRelService ; }
Sets the commerce discount rel remote service .
30,958
public com . liferay . commerce . tax . model . CommerceTaxMethod getCommerceTaxMethod ( long commerceTaxMethodId ) throws com . liferay . portal . kernel . exception . PortalException { return _commerceTaxMethodLocalService . getCommerceTaxMethod ( commerceTaxMethodId ) ; }
Returns the commerce tax method with the primary key .
30,959
@ Indexable ( type = IndexableType . DELETE ) public CPInstance deleteCPInstance ( long CPInstanceId ) throws PortalException { return cpInstancePersistence . remove ( CPInstanceId ) ; }
Deletes the cp instance with the primary key from the database . Also notifies the appropriate model listeners .
30,960
public List < CPInstance > getCPInstancesByUuidAndCompanyId ( String uuid , long companyId , int start , int end , OrderByComparator < CPInstance > orderByComparator ) { return cpInstancePersistence . findByUuid_C ( uuid , companyId , start , end , orderByComparator ) ; }
Returns a range of cp instances matching the UUID and company .
30,961
public void setWorkflowInstanceLinkLocalService ( com . liferay . portal . kernel . service . WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService ) { this . workflowInstanceLinkLocalService = workflowInstanceLinkLocalService ; }
Sets the workflow instance link local service .
30,962
public void setCPTaxCategoryService ( com . liferay . commerce . product . service . CPTaxCategoryService cpTaxCategoryService ) { this . cpTaxCategoryService = cpTaxCategoryService ; }
Sets the cp tax category remote service .
30,963
public void setCommerceUserSegmentCriterionLocalService ( com . liferay . commerce . user . segment . service . CommerceUserSegmentCriterionLocalService commerceUserSegmentCriterionLocalService ) { this . commerceUserSegmentCriterionLocalService = commerceUserSegmentCriterionLocalService ; }
Sets the commerce user segment criterion local service .
30,964
public void setCommerceUserSegmentEntryLocalService ( com . liferay . commerce . user . segment . service . CommerceUserSegmentEntryLocalService commerceUserSegmentEntryLocalService ) { this . commerceUserSegmentEntryLocalService = commerceUserSegmentEntryLocalService ; }
Sets the commerce user segment entry local service .
30,965
public void setCommerceUserSegmentEntryService ( com . liferay . commerce . user . segment . service . CommerceUserSegmentEntryService commerceUserSegmentEntryService ) { this . commerceUserSegmentEntryService = commerceUserSegmentEntryService ; }
Sets the commerce user segment entry remote service .
30,966
@ Indexable ( type = IndexableType . DELETE ) public CommerceNotificationAttachment deleteCommerceNotificationAttachment ( CommerceNotificationAttachment commerceNotificationAttachment ) { return commerceNotificationAttachmentPersistence . remove ( commerceNotificationAttachment ) ; }
Deletes the commerce notification attachment from the database . Also notifies the appropriate model listeners .
30,967
public void setCommerceNotificationTemplateUserSegmentRelLocalService ( com . liferay . commerce . notification . service . CommerceNotificationTemplateUserSegmentRelLocalService commerceNotificationTemplateUserSegmentRelLocalService ) { this . commerceNotificationTemplateUserSegmentRelLocalService = commerceNotificationTemplateUserSegmentRelLocalService ; }
Sets the commerce notification template user segment rel local service .
30,968
public void setDLAppLocalService ( com . liferay . document . library . kernel . service . DLAppLocalService dlAppLocalService ) { this . dlAppLocalService = dlAppLocalService ; }
Sets the dl app local service .
30,969
public void setCommercePriceEntryLocalService ( com . liferay . commerce . price . list . service . CommercePriceEntryLocalService commercePriceEntryLocalService ) { this . commercePriceEntryLocalService = commercePriceEntryLocalService ; }
Sets the commerce price entry local service .
30,970
public void setCommercePriceEntryService ( com . liferay . commerce . price . list . service . CommercePriceEntryService commercePriceEntryService ) { this . commercePriceEntryService = commercePriceEntryService ; }
Sets the commerce price entry remote service .
30,971
public void setCommercePriceListLocalService ( com . liferay . commerce . price . list . service . CommercePriceListLocalService commercePriceListLocalService ) { this . commercePriceListLocalService = commercePriceListLocalService ; }
Sets the commerce price list local service .
30,972
public void setCommercePriceListService ( com . liferay . commerce . price . list . service . CommercePriceListService commercePriceListService ) { this . commercePriceListService = commercePriceListService ; }
Sets the commerce price list remote service .
30,973
public void setCommercePriceListAccountRelLocalService ( com . liferay . commerce . price . list . service . CommercePriceListAccountRelLocalService commercePriceListAccountRelLocalService ) { this . commercePriceListAccountRelLocalService = commercePriceListAccountRelLocalService ; }
Sets the commerce price list account rel local service .
30,974
public void setCommercePriceListUserSegmentEntryRelLocalService ( com . liferay . commerce . price . list . service . CommercePriceListUserSegmentEntryRelLocalService commercePriceListUserSegmentEntryRelLocalService ) { this . commercePriceListUserSegmentEntryRelLocalService = commercePriceListUserSegmentEntryRelLocalService ; }
Sets the commerce price list user segment entry rel local service .
30,975
public void setCommercePriceListUserSegmentEntryRelService ( com . liferay . commerce . price . list . service . CommercePriceListUserSegmentEntryRelService commercePriceListUserSegmentEntryRelService ) { this . commercePriceListUserSegmentEntryRelService = commercePriceListUserSegmentEntryRelService ; }
Sets the commerce price list user segment entry rel remote service .
30,976
public void setCommerceTierPriceEntryLocalService ( com . liferay . commerce . price . list . service . CommerceTierPriceEntryLocalService commerceTierPriceEntryLocalService ) { this . commerceTierPriceEntryLocalService = commerceTierPriceEntryLocalService ; }
Sets the commerce tier price entry local service .
30,977
public void setCommerceTierPriceEntryService ( com . liferay . commerce . price . list . service . CommerceTierPriceEntryService commerceTierPriceEntryService ) { this . commerceTierPriceEntryService = commerceTierPriceEntryService ; }
Sets the commerce tier price entry remote service .
30,978
@ Indexable ( type = IndexableType . DELETE ) public CommerceVirtualOrderItem deleteCommerceVirtualOrderItem ( long commerceVirtualOrderItemId ) throws PortalException { return commerceVirtualOrderItemPersistence . remove ( commerceVirtualOrderItemId ) ; }
Deletes the commerce virtual order item with the primary key from the database . Also notifies the appropriate model listeners .
30,979
public List < CommerceVirtualOrderItem > getCommerceVirtualOrderItemsByUuidAndCompanyId ( String uuid , long companyId , int start , int end , OrderByComparator < CommerceVirtualOrderItem > orderByComparator ) { return commerceVirtualOrderItemPersistence . findByUuid_C ( uuid , companyId , start , end , orderByComparator ) ; }
Returns a range of commerce virtual order items matching the UUID and company .
30,980
@ Indexable ( type = IndexableType . REINDEX ) public CommerceVirtualOrderItem updateCommerceVirtualOrderItem ( CommerceVirtualOrderItem commerceVirtualOrderItem ) { return commerceVirtualOrderItemPersistence . update ( commerceVirtualOrderItem ) ; }
Updates the commerce virtual order item in the database or adds it if it does not yet exist . Also notifies the appropriate model listeners .
30,981
public void setAssetCategoryLocalService ( com . liferay . asset . kernel . service . AssetCategoryLocalService assetCategoryLocalService ) { this . assetCategoryLocalService = assetCategoryLocalService ; }
Sets the asset category local service .
30,982
public void setAssetCategoryService ( com . liferay . asset . kernel . service . AssetCategoryService assetCategoryService ) { this . assetCategoryService = assetCategoryService ; }
Sets the asset category remote service .
30,983
public void setAssetEntryLocalService ( com . liferay . asset . kernel . service . AssetEntryLocalService assetEntryLocalService ) { this . assetEntryLocalService = assetEntryLocalService ; }
Sets the asset entry local service .
30,984
public void setAssetEntryService ( com . liferay . asset . kernel . service . AssetEntryService assetEntryService ) { this . assetEntryService = assetEntryService ; }
Sets the asset entry remote service .
30,985
public void setAssetLinkLocalService ( com . liferay . asset . kernel . service . AssetLinkLocalService assetLinkLocalService ) { this . assetLinkLocalService = assetLinkLocalService ; }
Sets the asset link local service .
30,986
public void setTrashEntryLocalService ( com . liferay . trash . kernel . service . TrashEntryLocalService trashEntryLocalService ) { this . trashEntryLocalService = trashEntryLocalService ; }
Sets the trash entry local service .
30,987
public void setTrashEntryService ( com . liferay . trash . kernel . service . TrashEntryService trashEntryService ) { this . trashEntryService = trashEntryService ; }
Sets the trash entry remote service .
30,988
@ Indexable ( type = IndexableType . DELETE ) public CommerceWishList deleteCommerceWishList ( long commerceWishListId ) throws PortalException { return commerceWishListPersistence . remove ( commerceWishListId ) ; }
Deletes the commerce wish list with the primary key from the database . Also notifies the appropriate model listeners .
30,989
@ Indexable ( type = IndexableType . DELETE ) public CommerceWishList deleteCommerceWishList ( CommerceWishList commerceWishList ) { return commerceWishListPersistence . remove ( commerceWishList ) ; }
Deletes the commerce wish list from the database . Also notifies the appropriate model listeners .
30,990
public void setCommerceWishListItemLocalService ( com . liferay . commerce . wish . list . service . CommerceWishListItemLocalService commerceWishListItemLocalService ) { this . commerceWishListItemLocalService = commerceWishListItemLocalService ; }
Sets the commerce wish list item local service .
30,991
@ Indexable ( type = IndexableType . DELETE ) public CommercePriceListUserSegmentEntryRel deleteCommercePriceListUserSegmentEntryRel ( long commercePriceListUserSegmentEntryRelId ) throws PortalException { return commercePriceListUserSegmentEntryRelPersistence . remove ( commercePriceListUserSegmentEntryRelId ) ; }
Deletes the commerce price list user segment entry rel with the primary key from the database . Also notifies the appropriate model listeners .
30,992
public List < CommercePriceListUserSegmentEntryRel > getCommercePriceListUserSegmentEntryRelsByUuidAndCompanyId ( String uuid , long companyId , int start , int end , OrderByComparator < CommercePriceListUserSegmentEntryRel > orderByComparator ) { return commercePriceListUserSegmentEntryRelPersistence . findByUuid_C ( uuid , companyId , start , end , orderByComparator ) ; }
Returns a range of commerce price list user segment entry rels matching the UUID and company .
30,993
public String getDescription ( String languageId , boolean useDefault ) { return _cpSpecificationOption . getDescription ( languageId , useDefault ) ; }
Returns the localized description of this cp specification option in the language optionally using the default language if no localization exists for the requested language .
30,994
public String getTitle ( String languageId , boolean useDefault ) { return _cpSpecificationOption . getTitle ( languageId , useDefault ) ; }
Returns the localized title of this cp specification option in the language optionally using the default language if no localization exists for the requested language .
30,995
public void setDescription ( String description , java . util . Locale locale ) { _cpSpecificationOption . setDescription ( description , locale ) ; }
Sets the localized description of this cp specification option in the language .
30,996
public void setDescriptionMap ( Map < java . util . Locale , String > descriptionMap ) { _cpSpecificationOption . setDescriptionMap ( descriptionMap ) ; }
Sets the localized descriptions of this cp specification option from the map of locales and localized descriptions .
30,997
public void setTitleMap ( Map < java . util . Locale , String > titleMap , java . util . Locale defaultLocale ) { _cpSpecificationOption . setTitleMap ( titleMap , defaultLocale ) ; }
Sets the localized titles of this cp specification option from the map of locales and localized titles and sets the default locale .
30,998
public void cacheResult ( CPAttachmentFileEntry cpAttachmentFileEntry ) { entityCache . putResult ( CPAttachmentFileEntryModelImpl . ENTITY_CACHE_ENABLED , CPAttachmentFileEntryImpl . class , cpAttachmentFileEntry . getPrimaryKey ( ) , cpAttachmentFileEntry ) ; finderCache . putResult ( FINDER_PATH_FETCH_BY_UUID_G , new Object [ ] { cpAttachmentFileEntry . getUuid ( ) , cpAttachmentFileEntry . getGroupId ( ) } , cpAttachmentFileEntry ) ; finderCache . putResult ( FINDER_PATH_FETCH_BY_C_C_F , new Object [ ] { cpAttachmentFileEntry . getClassNameId ( ) , cpAttachmentFileEntry . getClassPK ( ) , cpAttachmentFileEntry . getFileEntryId ( ) } , cpAttachmentFileEntry ) ; finderCache . putResult ( FINDER_PATH_FETCH_BY_C_ERC , new Object [ ] { cpAttachmentFileEntry . getCompanyId ( ) , cpAttachmentFileEntry . getExternalReferenceCode ( ) } , cpAttachmentFileEntry ) ; cpAttachmentFileEntry . resetOriginalValues ( ) ; }
Caches the cp attachment file entry in the entity cache if it is enabled .
30,999
public void cacheResult ( List < CPAttachmentFileEntry > cpAttachmentFileEntries ) { for ( CPAttachmentFileEntry cpAttachmentFileEntry : cpAttachmentFileEntries ) { if ( entityCache . getResult ( CPAttachmentFileEntryModelImpl . ENTITY_CACHE_ENABLED , CPAttachmentFileEntryImpl . class , cpAttachmentFileEntry . getPrimaryKey ( ) ) == null ) { cacheResult ( cpAttachmentFileEntry ) ; } else { cpAttachmentFileEntry . resetOriginalValues ( ) ; } } }
Caches the cp attachment file entries in the entity cache if it is enabled .