idx int64 0 165k | question stringlengths 73 4.15k | target stringlengths 5 918 | len_question int64 21 890 | len_target int64 3 255 |
|---|---|---|---|---|
30,900 | @ Override 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 . | 37 | 28 |
30,901 | @ Override 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 . | 37 | 16 |
30,902 | @ Override 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 . | 41 | 22 |
30,903 | @ Override 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 . | 55 | 27 |
30,904 | @ Indexable ( type = IndexableType . DELETE ) @ Override 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 . | 60 | 22 |
30,905 | @ Indexable ( type = IndexableType . DELETE ) @ Override public CPDisplayLayout deleteCPDisplayLayout ( CPDisplayLayout cpDisplayLayout ) { return cpDisplayLayoutPersistence . remove ( cpDisplayLayout ) ; } | Deletes the cp display layout from the database . Also notifies the appropriate model listeners . | 55 | 18 |
30,906 | @ Override 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 . | 88 | 14 |
30,907 | public void setCommerceDiscountRelService ( com . liferay . commerce . discount . service . CommerceDiscountRelService commerceDiscountRelService ) { this . commerceDiscountRelService = commerceDiscountRelService ; } | Sets the commerce discount rel remote service . | 48 | 9 |
30,908 | @ Override 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 . | 66 | 10 |
30,909 | @ Indexable ( type = IndexableType . DELETE ) @ Override 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 . | 47 | 21 |
30,910 | @ Override 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 . | 78 | 13 |
30,911 | public void setWorkflowInstanceLinkLocalService ( com . liferay . portal . kernel . service . WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService ) { this . workflowInstanceLinkLocalService = workflowInstanceLinkLocalService ; } | Sets the workflow instance link local service . | 50 | 9 |
30,912 | public void setCPTaxCategoryService ( com . liferay . commerce . product . service . CPTaxCategoryService cpTaxCategoryService ) { this . cpTaxCategoryService = cpTaxCategoryService ; } | Sets the cp tax category remote service . | 44 | 9 |
30,913 | public void setCommerceUserSegmentCriterionLocalService ( com . liferay . commerce . user . segment . service . CommerceUserSegmentCriterionLocalService commerceUserSegmentCriterionLocalService ) { this . commerceUserSegmentCriterionLocalService = commerceUserSegmentCriterionLocalService ; } | Sets the commerce user segment criterion local service . | 65 | 10 |
30,914 | public void setCommerceUserSegmentEntryLocalService ( com . liferay . commerce . user . segment . service . CommerceUserSegmentEntryLocalService commerceUserSegmentEntryLocalService ) { this . commerceUserSegmentEntryLocalService = commerceUserSegmentEntryLocalService ; } | Sets the commerce user segment entry local service . | 60 | 10 |
30,915 | public void setCommerceUserSegmentEntryService ( com . liferay . commerce . user . segment . service . CommerceUserSegmentEntryService commerceUserSegmentEntryService ) { this . commerceUserSegmentEntryService = commerceUserSegmentEntryService ; } | Sets the commerce user segment entry remote service . | 55 | 10 |
30,916 | @ Indexable ( type = IndexableType . DELETE ) @ Override public CommerceNotificationAttachment deleteCommerceNotificationAttachment ( CommerceNotificationAttachment commerceNotificationAttachment ) { return commerceNotificationAttachmentPersistence . remove ( commerceNotificationAttachment ) ; } | Deletes the commerce notification attachment from the database . Also notifies the appropriate model listeners . | 61 | 18 |
30,917 | public void setCommerceNotificationTemplateUserSegmentRelLocalService ( com . liferay . commerce . notification . service . CommerceNotificationTemplateUserSegmentRelLocalService commerceNotificationTemplateUserSegmentRelLocalService ) { this . commerceNotificationTemplateUserSegmentRelLocalService = commerceNotificationTemplateUserSegmentRelLocalService ; } | Sets the commerce notification template user segment rel local service . | 73 | 12 |
30,918 | public void setDLAppLocalService ( com . liferay . document . library . kernel . service . DLAppLocalService dlAppLocalService ) { this . dlAppLocalService = dlAppLocalService ; } | Sets the dl app local service . | 48 | 9 |
30,919 | public void setCommercePriceEntryLocalService ( com . liferay . commerce . price . list . service . CommercePriceEntryLocalService commercePriceEntryLocalService ) { this . commercePriceEntryLocalService = commercePriceEntryLocalService ; } | Sets the commerce price entry local service . | 50 | 9 |
30,920 | public void setCommercePriceEntryService ( com . liferay . commerce . price . list . service . CommercePriceEntryService commercePriceEntryService ) { this . commercePriceEntryService = commercePriceEntryService ; } | Sets the commerce price entry remote service . | 45 | 9 |
30,921 | public void setCommercePriceListLocalService ( com . liferay . commerce . price . list . service . CommercePriceListLocalService commercePriceListLocalService ) { this . commercePriceListLocalService = commercePriceListLocalService ; } | Sets the commerce price list local service . | 50 | 9 |
30,922 | public void setCommercePriceListService ( com . liferay . commerce . price . list . service . CommercePriceListService commercePriceListService ) { this . commercePriceListService = commercePriceListService ; } | Sets the commerce price list remote service . | 45 | 9 |
30,923 | public void setCommercePriceListAccountRelLocalService ( com . liferay . commerce . price . list . service . CommercePriceListAccountRelLocalService commercePriceListAccountRelLocalService ) { this . commercePriceListAccountRelLocalService = commercePriceListAccountRelLocalService ; } | Sets the commerce price list account rel local service . | 60 | 11 |
30,924 | 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 . | 75 | 13 |
30,925 | 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 . | 70 | 13 |
30,926 | public void setCommerceTierPriceEntryLocalService ( com . liferay . commerce . price . list . service . CommerceTierPriceEntryLocalService commerceTierPriceEntryLocalService ) { this . commerceTierPriceEntryLocalService = commerceTierPriceEntryLocalService ; } | Sets the commerce tier price entry local service . | 55 | 10 |
30,927 | public void setCommerceTierPriceEntryService ( com . liferay . commerce . price . list . service . CommerceTierPriceEntryService commerceTierPriceEntryService ) { this . commerceTierPriceEntryService = commerceTierPriceEntryService ; } | Sets the commerce tier price entry remote service . | 50 | 10 |
30,928 | @ Indexable ( type = IndexableType . DELETE ) @ Override 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 . | 57 | 23 |
30,929 | @ Override 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 . | 85 | 15 |
30,930 | @ Indexable ( type = IndexableType . REINDEX ) @ Override 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 . | 55 | 28 |
30,931 | public void setAssetCategoryLocalService ( com . liferay . asset . kernel . service . AssetCategoryLocalService assetCategoryLocalService ) { this . assetCategoryLocalService = assetCategoryLocalService ; } | Sets the asset category local service . | 43 | 8 |
30,932 | public void setAssetCategoryService ( com . liferay . asset . kernel . service . AssetCategoryService assetCategoryService ) { this . assetCategoryService = assetCategoryService ; } | Sets the asset category remote service . | 38 | 8 |
30,933 | public void setAssetEntryLocalService ( com . liferay . asset . kernel . service . AssetEntryLocalService assetEntryLocalService ) { this . assetEntryLocalService = assetEntryLocalService ; } | Sets the asset entry local service . | 43 | 8 |
30,934 | public void setAssetEntryService ( com . liferay . asset . kernel . service . AssetEntryService assetEntryService ) { this . assetEntryService = assetEntryService ; } | Sets the asset entry remote service . | 38 | 8 |
30,935 | public void setAssetLinkLocalService ( com . liferay . asset . kernel . service . AssetLinkLocalService assetLinkLocalService ) { this . assetLinkLocalService = assetLinkLocalService ; } | Sets the asset link local service . | 43 | 8 |
30,936 | public void setTrashEntryLocalService ( com . liferay . trash . kernel . service . TrashEntryLocalService trashEntryLocalService ) { this . trashEntryLocalService = trashEntryLocalService ; } | Sets the trash entry local service . | 44 | 8 |
30,937 | public void setTrashEntryService ( com . liferay . trash . kernel . service . TrashEntryService trashEntryService ) { this . trashEntryService = trashEntryService ; } | Sets the trash entry remote service . | 39 | 8 |
30,938 | @ Indexable ( type = IndexableType . DELETE ) @ Override 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 . | 57 | 22 |
30,939 | @ Indexable ( type = IndexableType . DELETE ) @ Override public CommerceWishList deleteCommerceWishList ( CommerceWishList commerceWishList ) { return commerceWishListPersistence . remove ( commerceWishList ) ; } | Deletes the commerce wish list from the database . Also notifies the appropriate model listeners . | 55 | 18 |
30,940 | public void setCommerceWishListItemLocalService ( com . liferay . commerce . wish . list . service . CommerceWishListItemLocalService commerceWishListItemLocalService ) { this . commerceWishListItemLocalService = commerceWishListItemLocalService ; } | Sets the commerce wish list item local service . | 60 | 10 |
30,941 | @ Indexable ( type = IndexableType . DELETE ) @ Override 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 . | 77 | 26 |
30,942 | @ Override 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 . | 102 | 19 |
30,943 | @ Override 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 . | 35 | 26 |
30,944 | @ Override 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 . | 35 | 26 |
30,945 | @ Override 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 . | 35 | 14 |
30,946 | @ Override 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 . | 39 | 20 |
30,947 | @ Override 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 . | 53 | 25 |
30,948 | @ Override 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 . | 287 | 16 |
30,949 | @ Override 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 . | 129 | 16 |
30,950 | @ Override public void clearCache ( ) { entityCache . clearCache ( CPAttachmentFileEntryImpl . 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 attachment file entries . | 100 | 11 |
30,951 | @ Override public void clearCache ( CPAttachmentFileEntry cpAttachmentFileEntry ) { entityCache . removeResult ( CPAttachmentFileEntryModelImpl . ENTITY_CACHE_ENABLED , CPAttachmentFileEntryImpl . class , cpAttachmentFileEntry . getPrimaryKey ( ) ) ; finderCache . clearCache ( FINDER_CLASS_NAME_LIST_WITH_PAGINATION ) ; finderCache . clearCache ( FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION ) ; clearUniqueFindersCache ( ( CPAttachmentFileEntryModelImpl ) cpAttachmentFileEntry , true ) ; } | Clears the cache for the cp attachment file entry . | 149 | 11 |
30,952 | @ Override public List < CPAttachmentFileEntry > findAll ( ) { return findAll ( QueryUtil . ALL_POS , QueryUtil . ALL_POS , null ) ; } | Returns all the cp attachment file entries . | 42 | 8 |
30,953 | @ Indexable ( type = IndexableType . DELETE ) @ Override public CPDefinitionLink deleteCPDefinitionLink ( long CPDefinitionLinkId ) throws PortalException { return cpDefinitionLinkPersistence . remove ( CPDefinitionLinkId ) ; } | Deletes the cp definition link with the primary key from the database . Also notifies the appropriate model listeners . | 60 | 22 |
30,954 | @ Indexable ( type = IndexableType . DELETE ) @ Override public CPDefinitionLink deleteCPDefinitionLink ( CPDefinitionLink cpDefinitionLink ) { return cpDefinitionLinkPersistence . remove ( cpDefinitionLink ) ; } | Deletes the cp definition link from the database . Also notifies the appropriate model listeners . | 55 | 18 |
30,955 | @ Override public List < CPDefinitionLink > getCPDefinitionLinksByUuidAndCompanyId ( String uuid , long companyId , int start , int end , OrderByComparator < CPDefinitionLink > orderByComparator ) { return cpDefinitionLinkPersistence . findByUuid_C ( uuid , companyId , start , end , orderByComparator ) ; } | Returns a range of cp definition links matching the UUID and company . | 87 | 14 |
30,956 | @ Indexable ( type = IndexableType . REINDEX ) @ Override public CPDefinitionLink updateCPDefinitionLink ( CPDefinitionLink cpDefinitionLink ) { return cpDefinitionLinkPersistence . update ( cpDefinitionLink ) ; } | Updates the cp definition link in the database or adds it if it does not yet exist . Also notifies the appropriate model listeners . | 55 | 27 |
30,957 | @ Override public void cacheResult ( CommercePriceListAccountRel commercePriceListAccountRel ) { entityCache . putResult ( CommercePriceListAccountRelModelImpl . ENTITY_CACHE_ENABLED , CommercePriceListAccountRelImpl . class , commercePriceListAccountRel . getPrimaryKey ( ) , commercePriceListAccountRel ) ; finderCache . putResult ( FINDER_PATH_FETCH_BY_UUID_G , new Object [ ] { commercePriceListAccountRel . getUuid ( ) , commercePriceListAccountRel . getGroupId ( ) } , commercePriceListAccountRel ) ; finderCache . putResult ( FINDER_PATH_FETCH_BY_C_C , new Object [ ] { commercePriceListAccountRel . getCommerceAccountId ( ) , commercePriceListAccountRel . getCommercePriceListId ( ) } , commercePriceListAccountRel ) ; commercePriceListAccountRel . resetOriginalValues ( ) ; } | Caches the commerce price list account rel in the entity cache if it is enabled . | 210 | 17 |
30,958 | @ Override public void cacheResult ( List < CommercePriceListAccountRel > commercePriceListAccountRels ) { for ( CommercePriceListAccountRel commercePriceListAccountRel : commercePriceListAccountRels ) { if ( entityCache . getResult ( CommercePriceListAccountRelModelImpl . ENTITY_CACHE_ENABLED , CommercePriceListAccountRelImpl . class , commercePriceListAccountRel . getPrimaryKey ( ) ) == null ) { cacheResult ( commercePriceListAccountRel ) ; } else { commercePriceListAccountRel . resetOriginalValues ( ) ; } } } | Caches the commerce price list account rels in the entity cache if it is enabled . | 125 | 18 |
30,959 | @ Override public void clearCache ( ) { entityCache . clearCache ( CommercePriceListAccountRelImpl . 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 price list account rels . | 99 | 13 |
30,960 | @ Override public void clearCache ( CommercePriceListAccountRel commercePriceListAccountRel ) { entityCache . removeResult ( CommercePriceListAccountRelModelImpl . ENTITY_CACHE_ENABLED , CommercePriceListAccountRelImpl . class , commercePriceListAccountRel . getPrimaryKey ( ) ) ; finderCache . clearCache ( FINDER_CLASS_NAME_LIST_WITH_PAGINATION ) ; finderCache . clearCache ( FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION ) ; clearUniqueFindersCache ( ( CommercePriceListAccountRelModelImpl ) commercePriceListAccountRel , true ) ; } | Clears the cache for the commerce price list account rel . | 145 | 12 |
30,961 | @ Override public List < CommercePriceListAccountRel > findAll ( ) { return findAll ( QueryUtil . ALL_POS , QueryUtil . ALL_POS , null ) ; } | Returns all the commerce price list account rels . | 41 | 10 |
30,962 | @ Override public com . liferay . commerce . discount . model . CommerceDiscountUsageEntry getCommerceDiscountUsageEntry ( long commerceDiscountUsageEntryId ) throws com . liferay . portal . kernel . exception . PortalException { return _commerceDiscountUsageEntryLocalService . getCommerceDiscountUsageEntry ( commerceDiscountUsageEntryId ) ; } | Returns the commerce discount usage entry with the primary key . | 78 | 11 |
30,963 | @ Override public String getDescription ( String languageId , boolean useDefault ) { return _cpDefinitionOptionRel . getDescription ( languageId , useDefault ) ; } | Returns the localized description of this cp definition option rel in the language optionally using the default language if no localization exists for the requested language . | 35 | 27 |
30,964 | @ Override public String getName ( String languageId , boolean useDefault ) { return _cpDefinitionOptionRel . getName ( languageId , useDefault ) ; } | Returns the localized name of this cp definition option rel in the language optionally using the default language if no localization exists for the requested language . | 35 | 27 |
30,965 | public static com . liferay . commerce . model . CommerceShipment getCommerceShipment ( long commerceShipmentId ) throws com . liferay . portal . kernel . exception . PortalException { return getService ( ) . getCommerceShipment ( commerceShipmentId ) ; } | Returns the commerce shipment with the primary key . | 60 | 9 |
30,966 | @ Override public String getDescription ( String languageId , boolean useDefault ) { return _commerceShippingMethod . getDescription ( languageId , useDefault ) ; } | Returns the localized description of this commerce shipping method in the language optionally using the default language if no localization exists for the requested language . | 34 | 26 |
30,967 | @ Override public String getName ( String languageId , boolean useDefault ) { return _commerceShippingMethod . getName ( languageId , useDefault ) ; } | Returns the localized name of this commerce shipping method in the language optionally using the default language if no localization exists for the requested language . | 34 | 26 |
30,968 | @ Override public void cacheResult ( CommerceUserSegmentEntry commerceUserSegmentEntry ) { entityCache . putResult ( CommerceUserSegmentEntryModelImpl . ENTITY_CACHE_ENABLED , CommerceUserSegmentEntryImpl . class , commerceUserSegmentEntry . getPrimaryKey ( ) , commerceUserSegmentEntry ) ; finderCache . putResult ( FINDER_PATH_FETCH_BY_G_K , new Object [ ] { commerceUserSegmentEntry . getGroupId ( ) , commerceUserSegmentEntry . getKey ( ) } , commerceUserSegmentEntry ) ; commerceUserSegmentEntry . resetOriginalValues ( ) ; } | Caches the commerce user segment entry in the entity cache if it is enabled . | 145 | 16 |
30,969 | @ Override public void cacheResult ( List < CommerceUserSegmentEntry > commerceUserSegmentEntries ) { for ( CommerceUserSegmentEntry commerceUserSegmentEntry : commerceUserSegmentEntries ) { if ( entityCache . getResult ( CommerceUserSegmentEntryModelImpl . ENTITY_CACHE_ENABLED , CommerceUserSegmentEntryImpl . class , commerceUserSegmentEntry . getPrimaryKey ( ) ) == null ) { cacheResult ( commerceUserSegmentEntry ) ; } else { commerceUserSegmentEntry . resetOriginalValues ( ) ; } } } | Caches the commerce user segment entries in the entity cache if it is enabled . | 125 | 16 |
30,970 | @ Override public void clearCache ( ) { entityCache . clearCache ( CommerceUserSegmentEntryImpl . 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 user segment entries . | 99 | 11 |
30,971 | @ Override public void clearCache ( CommerceUserSegmentEntry commerceUserSegmentEntry ) { entityCache . removeResult ( CommerceUserSegmentEntryModelImpl . ENTITY_CACHE_ENABLED , CommerceUserSegmentEntryImpl . class , commerceUserSegmentEntry . getPrimaryKey ( ) ) ; finderCache . clearCache ( FINDER_CLASS_NAME_LIST_WITH_PAGINATION ) ; finderCache . clearCache ( FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION ) ; clearUniqueFindersCache ( ( CommerceUserSegmentEntryModelImpl ) commerceUserSegmentEntry , true ) ; } | Clears the cache for the commerce user segment entry . | 145 | 11 |
30,972 | @ Override public List < CommerceUserSegmentEntry > findAll ( ) { return findAll ( QueryUtil . ALL_POS , QueryUtil . ALL_POS , null ) ; } | Returns all the commerce user segment entries . | 41 | 8 |
30,973 | @ Override public void cacheResult ( CPDAvailabilityEstimate cpdAvailabilityEstimate ) { entityCache . putResult ( CPDAvailabilityEstimateModelImpl . ENTITY_CACHE_ENABLED , CPDAvailabilityEstimateImpl . class , cpdAvailabilityEstimate . getPrimaryKey ( ) , cpdAvailabilityEstimate ) ; finderCache . putResult ( FINDER_PATH_FETCH_BY_UUID_G , new Object [ ] { cpdAvailabilityEstimate . getUuid ( ) , cpdAvailabilityEstimate . getGroupId ( ) } , cpdAvailabilityEstimate ) ; finderCache . putResult ( FINDER_PATH_FETCH_BY_CPRODUCTID , new Object [ ] { cpdAvailabilityEstimate . getCProductId ( ) } , cpdAvailabilityEstimate ) ; cpdAvailabilityEstimate . resetOriginalValues ( ) ; } | Caches the cpd availability estimate in the entity cache if it is enabled . | 201 | 16 |
30,974 | @ Override public void cacheResult ( List < CPDAvailabilityEstimate > cpdAvailabilityEstimates ) { for ( CPDAvailabilityEstimate cpdAvailabilityEstimate : cpdAvailabilityEstimates ) { if ( entityCache . getResult ( CPDAvailabilityEstimateModelImpl . ENTITY_CACHE_ENABLED , CPDAvailabilityEstimateImpl . class , cpdAvailabilityEstimate . getPrimaryKey ( ) ) == null ) { cacheResult ( cpdAvailabilityEstimate ) ; } else { cpdAvailabilityEstimate . resetOriginalValues ( ) ; } } } | Caches the cpd availability estimates in the entity cache if it is enabled . | 127 | 16 |
30,975 | @ Override public void clearCache ( ) { entityCache . clearCache ( CPDAvailabilityEstimateImpl . 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 cpd availability estimates . | 100 | 11 |
30,976 | @ Override public void clearCache ( CPDAvailabilityEstimate cpdAvailabilityEstimate ) { entityCache . removeResult ( CPDAvailabilityEstimateModelImpl . ENTITY_CACHE_ENABLED , CPDAvailabilityEstimateImpl . class , cpdAvailabilityEstimate . getPrimaryKey ( ) ) ; finderCache . clearCache ( FINDER_CLASS_NAME_LIST_WITH_PAGINATION ) ; finderCache . clearCache ( FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION ) ; clearUniqueFindersCache ( ( CPDAvailabilityEstimateModelImpl ) cpdAvailabilityEstimate , true ) ; } | Clears the cache for the cpd availability estimate . | 149 | 11 |
30,977 | @ Override public List < CPDAvailabilityEstimate > findAll ( ) { return findAll ( QueryUtil . ALL_POS , QueryUtil . ALL_POS , null ) ; } | Returns all the cpd availability estimates . | 42 | 8 |
30,978 | @ Override public void cacheResult ( CPOption cpOption ) { entityCache . putResult ( CPOptionModelImpl . ENTITY_CACHE_ENABLED , CPOptionImpl . class , cpOption . getPrimaryKey ( ) , cpOption ) ; finderCache . putResult ( FINDER_PATH_FETCH_BY_UUID_G , new Object [ ] { cpOption . getUuid ( ) , cpOption . getGroupId ( ) } , cpOption ) ; finderCache . putResult ( FINDER_PATH_FETCH_BY_G_K , new Object [ ] { cpOption . getGroupId ( ) , cpOption . getKey ( ) } , cpOption ) ; finderCache . putResult ( FINDER_PATH_FETCH_BY_C_ERC , new Object [ ] { cpOption . getCompanyId ( ) , cpOption . getExternalReferenceCode ( ) } , cpOption ) ; cpOption . resetOriginalValues ( ) ; } | Caches the cp option in the entity cache if it is enabled . | 222 | 14 |
30,979 | @ Override public void cacheResult ( List < CPOption > cpOptions ) { for ( CPOption cpOption : cpOptions ) { if ( entityCache . getResult ( CPOptionModelImpl . ENTITY_CACHE_ENABLED , CPOptionImpl . class , cpOption . getPrimaryKey ( ) ) == null ) { cacheResult ( cpOption ) ; } else { cpOption . resetOriginalValues ( ) ; } } } | Caches the cp options in the entity cache if it is enabled . | 97 | 14 |
30,980 | @ Override public void clearCache ( ) { entityCache . clearCache ( CPOptionImpl . 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 options . | 97 | 9 |
30,981 | @ Override public void clearCache ( CPOption cpOption ) { entityCache . removeResult ( CPOptionModelImpl . ENTITY_CACHE_ENABLED , CPOptionImpl . class , cpOption . getPrimaryKey ( ) ) ; finderCache . clearCache ( FINDER_CLASS_NAME_LIST_WITH_PAGINATION ) ; finderCache . clearCache ( FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION ) ; clearUniqueFindersCache ( ( CPOptionModelImpl ) cpOption , true ) ; } | Clears the cache for the cp option . | 128 | 9 |
30,982 | @ Override public List < CPOption > findAll ( ) { return findAll ( QueryUtil . ALL_POS , QueryUtil . ALL_POS , null ) ; } | Returns all the cp options . | 39 | 6 |
30,983 | @ Override public void cacheResult ( CPDefinitionInventory cpDefinitionInventory ) { entityCache . putResult ( CPDefinitionInventoryModelImpl . ENTITY_CACHE_ENABLED , CPDefinitionInventoryImpl . class , cpDefinitionInventory . getPrimaryKey ( ) , cpDefinitionInventory ) ; finderCache . putResult ( FINDER_PATH_FETCH_BY_UUID_G , new Object [ ] { cpDefinitionInventory . getUuid ( ) , cpDefinitionInventory . getGroupId ( ) } , cpDefinitionInventory ) ; finderCache . putResult ( FINDER_PATH_FETCH_BY_CPDEFINITIONID , new Object [ ] { cpDefinitionInventory . getCPDefinitionId ( ) } , cpDefinitionInventory ) ; cpDefinitionInventory . resetOriginalValues ( ) ; } | Caches the cp definition inventory in the entity cache if it is enabled . | 195 | 15 |
30,984 | @ Override public void cacheResult ( List < CPDefinitionInventory > cpDefinitionInventories ) { for ( CPDefinitionInventory cpDefinitionInventory : cpDefinitionInventories ) { if ( entityCache . getResult ( CPDefinitionInventoryModelImpl . ENTITY_CACHE_ENABLED , CPDefinitionInventoryImpl . class , cpDefinitionInventory . getPrimaryKey ( ) ) == null ) { cacheResult ( cpDefinitionInventory ) ; } else { cpDefinitionInventory . resetOriginalValues ( ) ; } } } | Caches the cp definition inventories in the entity cache if it is enabled . | 123 | 16 |
30,985 | @ Override public void clearCache ( ) { entityCache . clearCache ( CPDefinitionInventoryImpl . 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 definition inventories . | 100 | 11 |
30,986 | @ Override public void clearCache ( CPDefinitionInventory cpDefinitionInventory ) { entityCache . removeResult ( CPDefinitionInventoryModelImpl . ENTITY_CACHE_ENABLED , CPDefinitionInventoryImpl . class , cpDefinitionInventory . getPrimaryKey ( ) ) ; finderCache . clearCache ( FINDER_CLASS_NAME_LIST_WITH_PAGINATION ) ; finderCache . clearCache ( FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION ) ; clearUniqueFindersCache ( ( CPDefinitionInventoryModelImpl ) cpDefinitionInventory , true ) ; } | Clears the cache for the cp definition inventory . | 146 | 10 |
30,987 | @ Override public List < CPDefinitionInventory > findAll ( ) { return findAll ( QueryUtil . ALL_POS , QueryUtil . ALL_POS , null ) ; } | Returns all the cp definition inventories . | 42 | 8 |
30,988 | @ Override public void cacheResult ( CommerceCountry commerceCountry ) { entityCache . putResult ( CommerceCountryModelImpl . ENTITY_CACHE_ENABLED , CommerceCountryImpl . class , commerceCountry . getPrimaryKey ( ) , commerceCountry ) ; finderCache . putResult ( FINDER_PATH_FETCH_BY_UUID_G , new Object [ ] { commerceCountry . getUuid ( ) , commerceCountry . getGroupId ( ) } , commerceCountry ) ; finderCache . putResult ( FINDER_PATH_FETCH_BY_G_TW , new Object [ ] { commerceCountry . getGroupId ( ) , commerceCountry . getTwoLettersISOCode ( ) } , commerceCountry ) ; finderCache . putResult ( FINDER_PATH_FETCH_BY_G_N , new Object [ ] { commerceCountry . getGroupId ( ) , commerceCountry . getNumericISOCode ( ) } , commerceCountry ) ; commerceCountry . resetOriginalValues ( ) ; } | Caches the commerce country in the entity cache if it is enabled . | 226 | 14 |
30,989 | @ Override public void cacheResult ( List < CommerceCountry > commerceCountries ) { for ( CommerceCountry commerceCountry : commerceCountries ) { if ( entityCache . getResult ( CommerceCountryModelImpl . ENTITY_CACHE_ENABLED , CommerceCountryImpl . class , commerceCountry . getPrimaryKey ( ) ) == null ) { cacheResult ( commerceCountry ) ; } else { commerceCountry . resetOriginalValues ( ) ; } } } | Caches the commerce countries in the entity cache if it is enabled . | 95 | 14 |
30,990 | @ Override public void clearCache ( ) { entityCache . clearCache ( CommerceCountryImpl . 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 countries . | 96 | 9 |
30,991 | @ Override public void clearCache ( CommerceCountry commerceCountry ) { entityCache . removeResult ( CommerceCountryModelImpl . ENTITY_CACHE_ENABLED , CommerceCountryImpl . class , commerceCountry . getPrimaryKey ( ) ) ; finderCache . clearCache ( FINDER_CLASS_NAME_LIST_WITH_PAGINATION ) ; finderCache . clearCache ( FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION ) ; clearUniqueFindersCache ( ( CommerceCountryModelImpl ) commerceCountry , true ) ; } | Clears the cache for the commerce country . | 124 | 9 |
30,992 | @ Override public List < CommerceCountry > findAll ( ) { return findAll ( QueryUtil . ALL_POS , QueryUtil . ALL_POS , null ) ; } | Returns all the commerce countries . | 38 | 6 |
30,993 | @ Override public void cacheResult ( CommerceNotificationTemplate commerceNotificationTemplate ) { entityCache . putResult ( CommerceNotificationTemplateModelImpl . ENTITY_CACHE_ENABLED , CommerceNotificationTemplateImpl . class , commerceNotificationTemplate . getPrimaryKey ( ) , commerceNotificationTemplate ) ; finderCache . putResult ( FINDER_PATH_FETCH_BY_UUID_G , new Object [ ] { commerceNotificationTemplate . getUuid ( ) , commerceNotificationTemplate . getGroupId ( ) } , commerceNotificationTemplate ) ; commerceNotificationTemplate . resetOriginalValues ( ) ; } | Caches the commerce notification template in the entity cache if it is enabled . | 137 | 15 |
30,994 | @ Override public void cacheResult ( List < CommerceNotificationTemplate > commerceNotificationTemplates ) { for ( CommerceNotificationTemplate commerceNotificationTemplate : commerceNotificationTemplates ) { if ( entityCache . getResult ( CommerceNotificationTemplateModelImpl . ENTITY_CACHE_ENABLED , CommerceNotificationTemplateImpl . class , commerceNotificationTemplate . getPrimaryKey ( ) ) == null ) { cacheResult ( commerceNotificationTemplate ) ; } else { commerceNotificationTemplate . resetOriginalValues ( ) ; } } } | Caches the commerce notification templates in the entity cache if it is enabled . | 115 | 15 |
30,995 | @ Override public void clearCache ( ) { entityCache . clearCache ( CommerceNotificationTemplateImpl . 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 notification templates . | 98 | 10 |
30,996 | @ Override public void clearCache ( CommerceNotificationTemplate commerceNotificationTemplate ) { entityCache . removeResult ( CommerceNotificationTemplateModelImpl . ENTITY_CACHE_ENABLED , CommerceNotificationTemplateImpl . class , commerceNotificationTemplate . getPrimaryKey ( ) ) ; finderCache . clearCache ( FINDER_CLASS_NAME_LIST_WITH_PAGINATION ) ; finderCache . clearCache ( FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION ) ; clearUniqueFindersCache ( ( CommerceNotificationTemplateModelImpl ) commerceNotificationTemplate , true ) ; } | Clears the cache for the commerce notification template . | 138 | 10 |
30,997 | @ Override public List < CommerceNotificationTemplate > findAll ( ) { return findAll ( QueryUtil . ALL_POS , QueryUtil . ALL_POS , null ) ; } | Returns all the commerce notification templates . | 40 | 7 |
30,998 | @ Override public void cacheResult ( CommerceAddress commerceAddress ) { entityCache . putResult ( CommerceAddressModelImpl . ENTITY_CACHE_ENABLED , CommerceAddressImpl . class , commerceAddress . getPrimaryKey ( ) , commerceAddress ) ; commerceAddress . resetOriginalValues ( ) ; } | Caches the commerce address in the entity cache if it is enabled . | 65 | 14 |
30,999 | @ Override public void cacheResult ( List < CommerceAddress > commerceAddresses ) { for ( CommerceAddress commerceAddress : commerceAddresses ) { if ( entityCache . getResult ( CommerceAddressModelImpl . ENTITY_CACHE_ENABLED , CommerceAddressImpl . class , commerceAddress . getPrimaryKey ( ) ) == null ) { cacheResult ( commerceAddress ) ; } else { commerceAddress . resetOriginalValues ( ) ; } } } | Caches the commerce addresses in the entity cache if it is enabled . | 95 | 14 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.