idx int64 0 165k | question stringlengths 73 4.15k | target stringlengths 5 918 | len_question int64 21 890 | len_target int64 3 255 |
|---|---|---|---|---|
31,300 | @ Override public void cacheResult ( CommerceShipment commerceShipment ) { entityCache . putResult ( CommerceShipmentModelImpl . ENTITY_CACHE_ENABLED , CommerceShipmentImpl . class , commerceShipment . getPrimaryKey ( ) , commerceShipment ) ; commerceShipment . resetOriginalValues ( ) ; } | Caches the commerce shipment in the entity cache if it is enabled . | 72 | 14 |
31,301 | @ Override public void cacheResult ( List < CommerceShipment > commerceShipments ) { for ( CommerceShipment commerceShipment : commerceShipments ) { if ( entityCache . getResult ( CommerceShipmentModelImpl . ENTITY_CACHE_ENABLED , CommerceShipmentImpl . class , commerceShipment . getPrimaryKey ( ) ) == null ) { cacheResult ( commerceShipment ) ; } else { commerceShipment . resetOriginalValues ( ) ; } } } | Caches the commerce shipments in the entity cache if it is enabled . | 103 | 14 |
31,302 | @ Override public void clearCache ( ) { entityCache . clearCache ( CommerceShipmentImpl . 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 shipments . | 97 | 9 |
31,303 | @ Override public void clearCache ( CommerceShipment commerceShipment ) { entityCache . removeResult ( CommerceShipmentModelImpl . ENTITY_CACHE_ENABLED , CommerceShipmentImpl . class , commerceShipment . getPrimaryKey ( ) ) ; finderCache . clearCache ( FINDER_CLASS_NAME_LIST_WITH_PAGINATION ) ; finderCache . clearCache ( FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION ) ; } | Clears the cache for the commerce shipment . | 111 | 9 |
31,304 | @ Override public List < CommerceShipment > findAll ( ) { return findAll ( QueryUtil . ALL_POS , QueryUtil . ALL_POS , null ) ; } | Returns all the commerce shipments . | 39 | 6 |
31,305 | public static com . liferay . commerce . account . model . CommerceAccountUserRel getCommerceAccountUserRel ( com . liferay . commerce . account . service . persistence . CommerceAccountUserRelPK commerceAccountUserRelPK ) throws com . liferay . portal . kernel . exception . PortalException { return getService ( ) . getCommerceAccountUserRel ( commerceAccountUserRelPK ) ; } | Returns the commerce account user rel with the primary key . | 85 | 11 |
31,306 | @ Override public void cacheResult ( CommerceTierPriceEntry commerceTierPriceEntry ) { entityCache . putResult ( CommerceTierPriceEntryModelImpl . ENTITY_CACHE_ENABLED , CommerceTierPriceEntryImpl . class , commerceTierPriceEntry . getPrimaryKey ( ) , commerceTierPriceEntry ) ; finderCache . putResult ( FINDER_PATH_FETCH_BY_UUID_G , new Object [ ] { commerceTierPriceEntry . getUuid ( ) , commerceTierPriceEntry . getGroupId ( ) } , commerceTierPriceEntry ) ; finderCache . putResult ( FINDER_PATH_FETCH_BY_C_M , new Object [ ] { commerceTierPriceEntry . getCommercePriceEntryId ( ) , commerceTierPriceEntry . getMinQuantity ( ) } , commerceTierPriceEntry ) ; finderCache . putResult ( FINDER_PATH_FETCH_BY_C_ERC , new Object [ ] { commerceTierPriceEntry . getCompanyId ( ) , commerceTierPriceEntry . getExternalReferenceCode ( ) } , commerceTierPriceEntry ) ; commerceTierPriceEntry . resetOriginalValues ( ) ; } | Caches the commerce tier price entry in the entity cache if it is enabled . | 254 | 16 |
31,307 | @ Override public void cacheResult ( List < CommerceTierPriceEntry > commerceTierPriceEntries ) { for ( CommerceTierPriceEntry commerceTierPriceEntry : commerceTierPriceEntries ) { if ( entityCache . getResult ( CommerceTierPriceEntryModelImpl . ENTITY_CACHE_ENABLED , CommerceTierPriceEntryImpl . class , commerceTierPriceEntry . getPrimaryKey ( ) ) == null ) { cacheResult ( commerceTierPriceEntry ) ; } else { commerceTierPriceEntry . resetOriginalValues ( ) ; } } } | Caches the commerce tier price entries in the entity cache if it is enabled . | 115 | 16 |
31,308 | @ Override public void clearCache ( ) { entityCache . clearCache ( CommerceTierPriceEntryImpl . 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 tier price entries . | 98 | 11 |
31,309 | @ Override public void clearCache ( CommerceTierPriceEntry commerceTierPriceEntry ) { entityCache . removeResult ( CommerceTierPriceEntryModelImpl . ENTITY_CACHE_ENABLED , CommerceTierPriceEntryImpl . class , commerceTierPriceEntry . getPrimaryKey ( ) ) ; finderCache . clearCache ( FINDER_CLASS_NAME_LIST_WITH_PAGINATION ) ; finderCache . clearCache ( FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION ) ; clearUniqueFindersCache ( ( CommerceTierPriceEntryModelImpl ) commerceTierPriceEntry , true ) ; } | Clears the cache for the commerce tier price entry . | 138 | 11 |
31,310 | @ Override public List < CommerceTierPriceEntry > findAll ( ) { return findAll ( QueryUtil . ALL_POS , QueryUtil . ALL_POS , null ) ; } | Returns all the commerce tier price entries . | 40 | 8 |
31,311 | @ Override public void cacheResult ( CPDefinitionSpecificationOptionValue cpDefinitionSpecificationOptionValue ) { entityCache . putResult ( CPDefinitionSpecificationOptionValueModelImpl . ENTITY_CACHE_ENABLED , CPDefinitionSpecificationOptionValueImpl . class , cpDefinitionSpecificationOptionValue . getPrimaryKey ( ) , cpDefinitionSpecificationOptionValue ) ; finderCache . putResult ( FINDER_PATH_FETCH_BY_UUID_G , new Object [ ] { cpDefinitionSpecificationOptionValue . getUuid ( ) , cpDefinitionSpecificationOptionValue . getGroupId ( ) } , cpDefinitionSpecificationOptionValue ) ; finderCache . putResult ( FINDER_PATH_FETCH_BY_C_CSOVI , new Object [ ] { cpDefinitionSpecificationOptionValue . getCPDefinitionId ( ) , cpDefinitionSpecificationOptionValue . getCPDefinitionSpecificationOptionValueId ( ) } , cpDefinitionSpecificationOptionValue ) ; cpDefinitionSpecificationOptionValue . resetOriginalValues ( ) ; } | Caches the cp definition specification option value in the entity cache if it is enabled . | 238 | 17 |
31,312 | @ Override public void cacheResult ( List < CPDefinitionSpecificationOptionValue > cpDefinitionSpecificationOptionValues ) { for ( CPDefinitionSpecificationOptionValue cpDefinitionSpecificationOptionValue : cpDefinitionSpecificationOptionValues ) { if ( entityCache . getResult ( CPDefinitionSpecificationOptionValueModelImpl . ENTITY_CACHE_ENABLED , CPDefinitionSpecificationOptionValueImpl . class , cpDefinitionSpecificationOptionValue . getPrimaryKey ( ) ) == null ) { cacheResult ( cpDefinitionSpecificationOptionValue ) ; } else { cpDefinitionSpecificationOptionValue . resetOriginalValues ( ) ; } } } | Caches the cp definition specification option values in the entity cache if it is enabled . | 141 | 17 |
31,313 | @ Override public void clearCache ( ) { entityCache . clearCache ( CPDefinitionSpecificationOptionValueImpl . 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 specification option values . | 102 | 12 |
31,314 | @ Override public void clearCache ( CPDefinitionSpecificationOptionValue cpDefinitionSpecificationOptionValue ) { entityCache . removeResult ( CPDefinitionSpecificationOptionValueModelImpl . ENTITY_CACHE_ENABLED , CPDefinitionSpecificationOptionValueImpl . class , cpDefinitionSpecificationOptionValue . getPrimaryKey ( ) ) ; finderCache . clearCache ( FINDER_CLASS_NAME_LIST_WITH_PAGINATION ) ; finderCache . clearCache ( FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION ) ; clearUniqueFindersCache ( ( CPDefinitionSpecificationOptionValueModelImpl ) cpDefinitionSpecificationOptionValue , true ) ; } | Clears the cache for the cp definition specification option value . | 160 | 12 |
31,315 | @ Override public List < CPDefinitionSpecificationOptionValue > findAll ( ) { return findAll ( QueryUtil . ALL_POS , QueryUtil . ALL_POS , null ) ; } | Returns all the cp definition specification option values . | 44 | 9 |
31,316 | @ Indexable ( type = IndexableType . DELETE ) @ Override public CommerceSubscriptionEntry deleteCommerceSubscriptionEntry ( long commerceSubscriptionEntryId ) throws PortalException { return commerceSubscriptionEntryPersistence . remove ( commerceSubscriptionEntryId ) ; } | Deletes the commerce subscription entry with the primary key from the database . Also notifies the appropriate model listeners . | 57 | 22 |
31,317 | @ Override public List < CommerceSubscriptionEntry > getCommerceSubscriptionEntriesByUuidAndCompanyId ( String uuid , long companyId , int start , int end , OrderByComparator < CommerceSubscriptionEntry > orderByComparator ) { return commerceSubscriptionEntryPersistence . findByUuid_C ( uuid , companyId , start , end , orderByComparator ) ; } | Returns a range of commerce subscription entries matching the UUID and company . | 86 | 14 |
31,318 | @ Indexable ( type = IndexableType . DELETE ) @ Override public CommerceTaxMethod deleteCommerceTaxMethod ( long commerceTaxMethodId ) throws PortalException { return commerceTaxMethodPersistence . remove ( commerceTaxMethodId ) ; } | Deletes the commerce tax method with the primary key from the database . Also notifies the appropriate model listeners . | 52 | 22 |
31,319 | @ Indexable ( type = IndexableType . DELETE ) @ Override public CommerceTaxMethod deleteCommerceTaxMethod ( CommerceTaxMethod commerceTaxMethod ) { return commerceTaxMethodPersistence . remove ( commerceTaxMethod ) ; } | Deletes the commerce tax method from the database . Also notifies the appropriate model listeners . | 49 | 18 |
31,320 | @ Indexable ( type = IndexableType . REINDEX ) @ Override public CommerceTaxMethod updateCommerceTaxMethod ( CommerceTaxMethod commerceTaxMethod ) { return commerceTaxMethodPersistence . update ( commerceTaxMethod ) ; } | Updates the commerce tax method in the database or adds it if it does not yet exist . Also notifies the appropriate model listeners . | 49 | 27 |
31,321 | @ Override public com . liferay . commerce . product . model . CProduct getCProduct ( long CProductId ) throws com . liferay . portal . kernel . exception . PortalException { return _cProductLocalService . getCProduct ( CProductId ) ; } | Returns the c product with the primary key . | 62 | 9 |
31,322 | public void setCommerceAccountService ( com . liferay . commerce . account . service . CommerceAccountService commerceAccountService ) { this . commerceAccountService = commerceAccountService ; } | Sets the commerce account remote service . | 38 | 8 |
31,323 | public void setCommerceAccountOrganizationRelService ( com . liferay . commerce . account . service . CommerceAccountOrganizationRelService commerceAccountOrganizationRelService ) { this . commerceAccountOrganizationRelService = commerceAccountOrganizationRelService ; } | Sets the commerce account organization rel remote service . | 53 | 10 |
31,324 | public void setUserGroupRoleService ( com . liferay . portal . kernel . service . UserGroupRoleService userGroupRoleService ) { this . userGroupRoleService = userGroupRoleService ; } | Sets the user group role remote service . | 43 | 9 |
31,325 | @ Indexable ( type = IndexableType . DELETE ) @ Override public CPOptionCategory deleteCPOptionCategory ( long CPOptionCategoryId ) throws PortalException { return cpOptionCategoryPersistence . remove ( CPOptionCategoryId ) ; } | Deletes the cp option category with the primary key from the database . Also notifies the appropriate model listeners . | 55 | 22 |
31,326 | @ Override public List < CPOptionCategory > getCPOptionCategoriesByUuidAndCompanyId ( String uuid , long companyId , int start , int end , OrderByComparator < CPOptionCategory > orderByComparator ) { return cpOptionCategoryPersistence . findByUuid_C ( uuid , companyId , start , end , orderByComparator ) ; } | Returns a range of cp option categories matching the UUID and company . | 84 | 14 |
31,327 | public com . liferay . commerce . tax . engine . fixed . service . CommerceTaxFixedRateService getCommerceTaxFixedRateService ( ) { return commerceTaxFixedRateService ; } | Returns the commerce tax fixed rate remote service . | 39 | 9 |
31,328 | public void setCommerceTaxFixedRateService ( com . liferay . commerce . tax . engine . fixed . service . CommerceTaxFixedRateService commerceTaxFixedRateService ) { this . commerceTaxFixedRateService = commerceTaxFixedRateService ; } | Sets the commerce tax fixed rate remote service . | 52 | 10 |
31,329 | public void setCommerceNotificationTemplateService ( com . liferay . commerce . notification . service . CommerceNotificationTemplateService commerceNotificationTemplateService ) { this . commerceNotificationTemplateService = commerceNotificationTemplateService ; } | Sets the commerce notification template remote service . | 48 | 9 |
31,330 | public void setCommerceNotificationTemplateUserSegmentRelService ( com . liferay . commerce . notification . service . CommerceNotificationTemplateUserSegmentRelService commerceNotificationTemplateUserSegmentRelService ) { this . commerceNotificationTemplateUserSegmentRelService = commerceNotificationTemplateUserSegmentRelService ; } | Sets the commerce notification template user segment rel remote service . | 68 | 12 |
31,331 | public com . liferay . commerce . product . type . grouped . service . CPDefinitionGroupedEntryLocalService getCPDefinitionGroupedEntryLocalService ( ) { return cpDefinitionGroupedEntryLocalService ; } | Returns the cp definition grouped entry local service . | 49 | 9 |
31,332 | public void setCPDefinitionGroupedEntryLocalService ( com . liferay . commerce . product . type . grouped . service . CPDefinitionGroupedEntryLocalService cpDefinitionGroupedEntryLocalService ) { this . cpDefinitionGroupedEntryLocalService = cpDefinitionGroupedEntryLocalService ; } | Sets the cp definition grouped entry local service . | 66 | 10 |
31,333 | @ Override public void cacheResult ( CPMeasurementUnit cpMeasurementUnit ) { entityCache . putResult ( CPMeasurementUnitModelImpl . ENTITY_CACHE_ENABLED , CPMeasurementUnitImpl . class , cpMeasurementUnit . getPrimaryKey ( ) , cpMeasurementUnit ) ; finderCache . putResult ( FINDER_PATH_FETCH_BY_UUID_G , new Object [ ] { cpMeasurementUnit . getUuid ( ) , cpMeasurementUnit . getGroupId ( ) } , cpMeasurementUnit ) ; finderCache . putResult ( FINDER_PATH_FETCH_BY_G_K_T , new Object [ ] { cpMeasurementUnit . getGroupId ( ) , cpMeasurementUnit . getKey ( ) , cpMeasurementUnit . getType ( ) } , cpMeasurementUnit ) ; cpMeasurementUnit . resetOriginalValues ( ) ; } | Caches the cp measurement unit in the entity cache if it is enabled . | 205 | 15 |
31,334 | @ Override public void cacheResult ( List < CPMeasurementUnit > cpMeasurementUnits ) { for ( CPMeasurementUnit cpMeasurementUnit : cpMeasurementUnits ) { if ( entityCache . getResult ( CPMeasurementUnitModelImpl . ENTITY_CACHE_ENABLED , CPMeasurementUnitImpl . class , cpMeasurementUnit . getPrimaryKey ( ) ) == null ) { cacheResult ( cpMeasurementUnit ) ; } else { cpMeasurementUnit . resetOriginalValues ( ) ; } } } | Caches the cp measurement units in the entity cache if it is enabled . | 115 | 15 |
31,335 | @ Override public void clearCache ( ) { entityCache . clearCache ( CPMeasurementUnitImpl . 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 measurement units . | 98 | 10 |
31,336 | @ Override public void clearCache ( CPMeasurementUnit cpMeasurementUnit ) { entityCache . removeResult ( CPMeasurementUnitModelImpl . ENTITY_CACHE_ENABLED , CPMeasurementUnitImpl . class , cpMeasurementUnit . getPrimaryKey ( ) ) ; finderCache . clearCache ( FINDER_CLASS_NAME_LIST_WITH_PAGINATION ) ; finderCache . clearCache ( FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION ) ; clearUniqueFindersCache ( ( CPMeasurementUnitModelImpl ) cpMeasurementUnit , true ) ; } | Clears the cache for the cp measurement unit . | 138 | 10 |
31,337 | @ Override public List < CPMeasurementUnit > findAll ( ) { return findAll ( QueryUtil . ALL_POS , QueryUtil . ALL_POS , null ) ; } | Returns all the cp measurement units . | 40 | 7 |
31,338 | @ Override public com . liferay . commerce . product . model . CPFriendlyURLEntry getCPFriendlyURLEntry ( long CPFriendlyURLEntryId ) throws com . liferay . portal . kernel . exception . PortalException { return _cpFriendlyURLEntryLocalService . getCPFriendlyURLEntry ( CPFriendlyURLEntryId ) ; } | Returns the cp friendly url entry with the primary key . | 90 | 11 |
31,339 | @ Indexable ( type = IndexableType . REINDEX ) @ Override public CommercePaymentMethodGroupRel addCommercePaymentMethodGroupRel ( CommercePaymentMethodGroupRel commercePaymentMethodGroupRel ) { commercePaymentMethodGroupRel . setNew ( true ) ; return commercePaymentMethodGroupRelPersistence . update ( commercePaymentMethodGroupRel ) ; } | Adds the commerce payment method group rel to the database . Also notifies the appropriate model listeners . | 80 | 19 |
31,340 | @ Indexable ( type = IndexableType . DELETE ) @ Override public CommercePaymentMethodGroupRel deleteCommercePaymentMethodGroupRel ( long commercePaymentMethodGroupRelId ) throws PortalException { return commercePaymentMethodGroupRelPersistence . remove ( commercePaymentMethodGroupRelId ) ; } | Deletes the commerce payment method group rel with the primary key from the database . Also notifies the appropriate model listeners . | 67 | 24 |
31,341 | @ Indexable ( type = IndexableType . DELETE ) @ Override public CommerceShippingFixedOptionRel deleteCommerceShippingFixedOptionRel ( long commerceShippingFixedOptionRelId ) throws PortalException { return commerceShippingFixedOptionRelPersistence . remove ( commerceShippingFixedOptionRelId ) ; } | Deletes the commerce shipping fixed option rel with the primary key from the database . Also notifies the appropriate model listeners . | 62 | 24 |
31,342 | @ Indexable ( type = IndexableType . DELETE ) @ Override public CommerceShippingFixedOptionRel deleteCommerceShippingFixedOptionRel ( CommerceShippingFixedOptionRel commerceShippingFixedOptionRel ) { return commerceShippingFixedOptionRelPersistence . remove ( commerceShippingFixedOptionRel ) ; } | Deletes the commerce shipping fixed option rel from the database . Also notifies the appropriate model listeners . | 61 | 20 |
31,343 | @ Indexable ( type = IndexableType . REINDEX ) @ Override public CommerceShippingFixedOptionRel updateCommerceShippingFixedOptionRel ( CommerceShippingFixedOptionRel commerceShippingFixedOptionRel ) { return commerceShippingFixedOptionRelPersistence . update ( commerceShippingFixedOptionRel ) ; } | Updates the commerce shipping fixed option rel in the database or adds it if it does not yet exist . Also notifies the appropriate model listeners . | 61 | 29 |
31,344 | @ Override public void cacheResult ( CommerceDiscountUserSegmentRel commerceDiscountUserSegmentRel ) { entityCache . putResult ( CommerceDiscountUserSegmentRelModelImpl . ENTITY_CACHE_ENABLED , CommerceDiscountUserSegmentRelImpl . class , commerceDiscountUserSegmentRel . getPrimaryKey ( ) , commerceDiscountUserSegmentRel ) ; commerceDiscountUserSegmentRel . resetOriginalValues ( ) ; } | Caches the commerce discount user segment rel in the entity cache if it is enabled . | 100 | 17 |
31,345 | @ Override public void cacheResult ( List < CommerceDiscountUserSegmentRel > commerceDiscountUserSegmentRels ) { for ( CommerceDiscountUserSegmentRel commerceDiscountUserSegmentRel : commerceDiscountUserSegmentRels ) { if ( entityCache . getResult ( CommerceDiscountUserSegmentRelModelImpl . ENTITY_CACHE_ENABLED , CommerceDiscountUserSegmentRelImpl . class , commerceDiscountUserSegmentRel . getPrimaryKey ( ) ) == null ) { cacheResult ( commerceDiscountUserSegmentRel ) ; } else { commerceDiscountUserSegmentRel . resetOriginalValues ( ) ; } } } | Caches the commerce discount user segment rels in the entity cache if it is enabled . | 145 | 18 |
31,346 | @ Override public void clearCache ( ) { entityCache . clearCache ( CommerceDiscountUserSegmentRelImpl . 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 discount user segment rels . | 101 | 13 |
31,347 | @ Override public void clearCache ( CommerceDiscountUserSegmentRel commerceDiscountUserSegmentRel ) { entityCache . removeResult ( CommerceDiscountUserSegmentRelModelImpl . ENTITY_CACHE_ENABLED , CommerceDiscountUserSegmentRelImpl . class , commerceDiscountUserSegmentRel . getPrimaryKey ( ) ) ; finderCache . clearCache ( FINDER_CLASS_NAME_LIST_WITH_PAGINATION ) ; finderCache . clearCache ( FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION ) ; } | Clears the cache for the commerce discount user segment rel . | 131 | 12 |
31,348 | @ Override public List < CommerceDiscountUserSegmentRel > findAll ( ) { return findAll ( QueryUtil . ALL_POS , QueryUtil . ALL_POS , null ) ; } | Returns all the commerce discount user segment rels . | 43 | 10 |
31,349 | @ Indexable ( type = IndexableType . REINDEX ) @ Override public CommerceAccountOrganizationRel updateCommerceAccountOrganizationRel ( CommerceAccountOrganizationRel commerceAccountOrganizationRel ) { return commerceAccountOrganizationRelPersistence . update ( commerceAccountOrganizationRel ) ; } | Updates the commerce account organization rel in the database or adds it if it does not yet exist . Also notifies the appropriate model listeners . | 61 | 28 |
31,350 | public com . liferay . commerce . shipping . engine . fixed . service . CommerceShippingFixedOptionService getCommerceShippingFixedOptionService ( ) { return commerceShippingFixedOptionService ; } | Returns the commerce shipping fixed option remote service . | 39 | 9 |
31,351 | public void setCommerceShippingFixedOptionService ( com . liferay . commerce . shipping . engine . fixed . service . CommerceShippingFixedOptionService commerceShippingFixedOptionService ) { this . commerceShippingFixedOptionService = commerceShippingFixedOptionService ; } | Sets the commerce shipping fixed option remote service . | 52 | 10 |
31,352 | @ Override public void cacheResult ( CommerceShippingFixedOption commerceShippingFixedOption ) { entityCache . putResult ( CommerceShippingFixedOptionModelImpl . ENTITY_CACHE_ENABLED , CommerceShippingFixedOptionImpl . class , commerceShippingFixedOption . getPrimaryKey ( ) , commerceShippingFixedOption ) ; commerceShippingFixedOption . resetOriginalValues ( ) ; } | Caches the commerce shipping fixed option in the entity cache if it is enabled . | 79 | 16 |
31,353 | @ Override public void cacheResult ( List < CommerceShippingFixedOption > commerceShippingFixedOptions ) { for ( CommerceShippingFixedOption commerceShippingFixedOption : commerceShippingFixedOptions ) { if ( entityCache . getResult ( CommerceShippingFixedOptionModelImpl . ENTITY_CACHE_ENABLED , CommerceShippingFixedOptionImpl . class , commerceShippingFixedOption . getPrimaryKey ( ) ) == null ) { cacheResult ( commerceShippingFixedOption ) ; } else { commerceShippingFixedOption . resetOriginalValues ( ) ; } } } | Caches the commerce shipping fixed options in the entity cache if it is enabled . | 113 | 16 |
31,354 | @ Override public void clearCache ( ) { entityCache . clearCache ( CommerceShippingFixedOptionImpl . 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 shipping fixed options . | 98 | 11 |
31,355 | @ Override public void clearCache ( CommerceShippingFixedOption commerceShippingFixedOption ) { entityCache . removeResult ( CommerceShippingFixedOptionModelImpl . ENTITY_CACHE_ENABLED , CommerceShippingFixedOptionImpl . class , commerceShippingFixedOption . getPrimaryKey ( ) ) ; finderCache . clearCache ( FINDER_CLASS_NAME_LIST_WITH_PAGINATION ) ; finderCache . clearCache ( FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION ) ; } | Clears the cache for the commerce shipping fixed option . | 116 | 11 |
31,356 | @ Override public CommerceShippingFixedOption remove ( Serializable primaryKey ) throws NoSuchShippingFixedOptionException { Session session = null ; try { session = openSession ( ) ; CommerceShippingFixedOption commerceShippingFixedOption = ( CommerceShippingFixedOption ) session . get ( CommerceShippingFixedOptionImpl . class , primaryKey ) ; if ( commerceShippingFixedOption == null ) { if ( _log . isDebugEnabled ( ) ) { _log . debug ( _NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey ) ; } throw new NoSuchShippingFixedOptionException ( _NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey ) ; } return remove ( commerceShippingFixedOption ) ; } catch ( NoSuchShippingFixedOptionException nsee ) { throw nsee ; } catch ( Exception e ) { throw processException ( e ) ; } finally { closeSession ( session ) ; } } | Removes the commerce shipping fixed option with the primary key from the database . Also notifies the appropriate model listeners . | 201 | 23 |
31,357 | @ Override public List < CommerceShippingFixedOption > findAll ( ) { return findAll ( QueryUtil . ALL_POS , QueryUtil . ALL_POS , null ) ; } | Returns all the commerce shipping fixed options . | 40 | 8 |
31,358 | @ Indexable ( type = IndexableType . DELETE ) @ Override public CPDefinitionGroupedEntry deleteCPDefinitionGroupedEntry ( CPDefinitionGroupedEntry cpDefinitionGroupedEntry ) { return cpDefinitionGroupedEntryPersistence . remove ( cpDefinitionGroupedEntry ) ; } | Deletes the cp definition grouped entry from the database . Also notifies the appropriate model listeners . | 67 | 19 |
31,359 | @ Indexable ( type = IndexableType . REINDEX ) @ Override public CPDefinitionGroupedEntry updateCPDefinitionGroupedEntry ( CPDefinitionGroupedEntry cpDefinitionGroupedEntry ) { return cpDefinitionGroupedEntryPersistence . update ( cpDefinitionGroupedEntry ) ; } | Updates the cp definition grouped entry in the database or adds it if it does not yet exist . Also notifies the appropriate model listeners . | 67 | 28 |
31,360 | @ Override public void cacheResult ( CommerceNotificationTemplateUserSegmentRel commerceNotificationTemplateUserSegmentRel ) { entityCache . putResult ( CommerceNotificationTemplateUserSegmentRelModelImpl . ENTITY_CACHE_ENABLED , CommerceNotificationTemplateUserSegmentRelImpl . class , commerceNotificationTemplateUserSegmentRel . getPrimaryKey ( ) , commerceNotificationTemplateUserSegmentRel ) ; finderCache . putResult ( FINDER_PATH_FETCH_BY_C_C , new Object [ ] { commerceNotificationTemplateUserSegmentRel . getCommerceNotificationTemplateId ( ) , commerceNotificationTemplateUserSegmentRel . getCommerceUserSegmentEntryId ( ) } , commerceNotificationTemplateUserSegmentRel ) ; commerceNotificationTemplateUserSegmentRel . resetOriginalValues ( ) ; } | Caches the commerce notification template user segment rel in the entity cache if it is enabled . | 183 | 18 |
31,361 | @ Override public void cacheResult ( List < CommerceNotificationTemplateUserSegmentRel > commerceNotificationTemplateUserSegmentRels ) { for ( CommerceNotificationTemplateUserSegmentRel commerceNotificationTemplateUserSegmentRel : commerceNotificationTemplateUserSegmentRels ) { if ( entityCache . getResult ( CommerceNotificationTemplateUserSegmentRelModelImpl . ENTITY_CACHE_ENABLED , CommerceNotificationTemplateUserSegmentRelImpl . class , commerceNotificationTemplateUserSegmentRel . getPrimaryKey ( ) ) == null ) { cacheResult ( commerceNotificationTemplateUserSegmentRel ) ; } else { commerceNotificationTemplateUserSegmentRel . resetOriginalValues ( ) ; } } } | Caches the commerce notification template user segment rels in the entity cache if it is enabled . | 155 | 19 |
31,362 | @ Override public void clearCache ( ) { entityCache . clearCache ( CommerceNotificationTemplateUserSegmentRelImpl . 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 template user segment rels . | 102 | 14 |
31,363 | @ Override public void clearCache ( CommerceNotificationTemplateUserSegmentRel commerceNotificationTemplateUserSegmentRel ) { entityCache . removeResult ( CommerceNotificationTemplateUserSegmentRelModelImpl . ENTITY_CACHE_ENABLED , CommerceNotificationTemplateUserSegmentRelImpl . class , commerceNotificationTemplateUserSegmentRel . getPrimaryKey ( ) ) ; finderCache . clearCache ( FINDER_CLASS_NAME_LIST_WITH_PAGINATION ) ; finderCache . clearCache ( FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION ) ; clearUniqueFindersCache ( ( CommerceNotificationTemplateUserSegmentRelModelImpl ) commerceNotificationTemplateUserSegmentRel , true ) ; } | Clears the cache for the commerce notification template user segment rel . | 166 | 13 |
31,364 | @ Override public List < CommerceNotificationTemplateUserSegmentRel > findAll ( ) { return findAll ( QueryUtil . ALL_POS , QueryUtil . ALL_POS , null ) ; } | Returns all the commerce notification template user segment rels . | 44 | 11 |
31,365 | public com . liferay . commerce . tax . engine . fixed . service . CommerceTaxFixedRateAddressRelService getCommerceTaxFixedRateAddressRelService ( ) { return commerceTaxFixedRateAddressRelService ; } | Returns the commerce tax fixed rate address rel remote service . | 45 | 11 |
31,366 | public void setCommerceTaxFixedRateAddressRelService ( com . liferay . commerce . tax . engine . fixed . service . CommerceTaxFixedRateAddressRelService commerceTaxFixedRateAddressRelService ) { this . commerceTaxFixedRateAddressRelService = commerceTaxFixedRateAddressRelService ; } | Sets the commerce tax fixed rate address rel remote service . | 62 | 12 |
31,367 | @ Override public void cacheResult ( CommerceWarehouseItem commerceWarehouseItem ) { entityCache . putResult ( CommerceWarehouseItemModelImpl . ENTITY_CACHE_ENABLED , CommerceWarehouseItemImpl . class , commerceWarehouseItem . getPrimaryKey ( ) , commerceWarehouseItem ) ; finderCache . putResult ( FINDER_PATH_FETCH_BY_CWI_CPIU , new Object [ ] { commerceWarehouseItem . getCommerceWarehouseId ( ) , commerceWarehouseItem . getCPInstanceUuid ( ) } , commerceWarehouseItem ) ; commerceWarehouseItem . resetOriginalValues ( ) ; } | Caches the commerce warehouse item in the entity cache if it is enabled . | 142 | 15 |
31,368 | @ Override public void cacheResult ( List < CommerceWarehouseItem > commerceWarehouseItems ) { for ( CommerceWarehouseItem commerceWarehouseItem : commerceWarehouseItems ) { if ( entityCache . getResult ( CommerceWarehouseItemModelImpl . ENTITY_CACHE_ENABLED , CommerceWarehouseItemImpl . class , commerceWarehouseItem . getPrimaryKey ( ) ) == null ) { cacheResult ( commerceWarehouseItem ) ; } else { commerceWarehouseItem . resetOriginalValues ( ) ; } } } | Caches the commerce warehouse items in the entity cache if it is enabled . | 113 | 15 |
31,369 | @ Override public void clearCache ( ) { entityCache . clearCache ( CommerceWarehouseItemImpl . 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 warehouse items . | 98 | 10 |
31,370 | @ Override public void clearCache ( CommerceWarehouseItem commerceWarehouseItem ) { entityCache . removeResult ( CommerceWarehouseItemModelImpl . ENTITY_CACHE_ENABLED , CommerceWarehouseItemImpl . class , commerceWarehouseItem . getPrimaryKey ( ) ) ; finderCache . clearCache ( FINDER_CLASS_NAME_LIST_WITH_PAGINATION ) ; finderCache . clearCache ( FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION ) ; clearUniqueFindersCache ( ( CommerceWarehouseItemModelImpl ) commerceWarehouseItem , true ) ; } | Clears the cache for the commerce warehouse item . | 138 | 10 |
31,371 | @ Override public List < CommerceWarehouseItem > findAll ( ) { return findAll ( QueryUtil . ALL_POS , QueryUtil . ALL_POS , null ) ; } | Returns all the commerce warehouse items . | 40 | 7 |
31,372 | @ Override public String getName ( String languageId , boolean useDefault ) { return _commerceOrderItem . getName ( languageId , useDefault ) ; } | Returns the localized name of this commerce order item in the language optionally using the default language if no localization exists for the requested language . | 34 | 26 |
31,373 | @ Override public void cacheResult ( CommerceShippingFixedOptionRel commerceShippingFixedOptionRel ) { entityCache . putResult ( CommerceShippingFixedOptionRelModelImpl . ENTITY_CACHE_ENABLED , CommerceShippingFixedOptionRelImpl . class , commerceShippingFixedOptionRel . getPrimaryKey ( ) , commerceShippingFixedOptionRel ) ; commerceShippingFixedOptionRel . resetOriginalValues ( ) ; } | Caches the commerce shipping fixed option rel in the entity cache if it is enabled . | 86 | 17 |
31,374 | @ Override public void cacheResult ( List < CommerceShippingFixedOptionRel > commerceShippingFixedOptionRels ) { for ( CommerceShippingFixedOptionRel commerceShippingFixedOptionRel : commerceShippingFixedOptionRels ) { if ( entityCache . getResult ( CommerceShippingFixedOptionRelModelImpl . ENTITY_CACHE_ENABLED , CommerceShippingFixedOptionRelImpl . class , commerceShippingFixedOptionRel . getPrimaryKey ( ) ) == null ) { cacheResult ( commerceShippingFixedOptionRel ) ; } else { commerceShippingFixedOptionRel . resetOriginalValues ( ) ; } } } | Caches the commerce shipping fixed option rels in the entity cache if it is enabled . | 125 | 18 |
31,375 | @ Override public void clearCache ( ) { entityCache . clearCache ( CommerceShippingFixedOptionRelImpl . 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 shipping fixed option rels . | 99 | 13 |
31,376 | @ Override public void clearCache ( CommerceShippingFixedOptionRel commerceShippingFixedOptionRel ) { entityCache . removeResult ( CommerceShippingFixedOptionRelModelImpl . ENTITY_CACHE_ENABLED , CommerceShippingFixedOptionRelImpl . class , commerceShippingFixedOptionRel . getPrimaryKey ( ) ) ; finderCache . clearCache ( FINDER_CLASS_NAME_LIST_WITH_PAGINATION ) ; finderCache . clearCache ( FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION ) ; } | Clears the cache for the commerce shipping fixed option rel . | 121 | 12 |
31,377 | @ Override public CommerceShippingFixedOptionRel remove ( Serializable primaryKey ) throws NoSuchShippingFixedOptionRelException { Session session = null ; try { session = openSession ( ) ; CommerceShippingFixedOptionRel commerceShippingFixedOptionRel = ( CommerceShippingFixedOptionRel ) session . get ( CommerceShippingFixedOptionRelImpl . class , primaryKey ) ; if ( commerceShippingFixedOptionRel == null ) { if ( _log . isDebugEnabled ( ) ) { _log . debug ( _NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey ) ; } throw new NoSuchShippingFixedOptionRelException ( _NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey ) ; } return remove ( commerceShippingFixedOptionRel ) ; } catch ( NoSuchShippingFixedOptionRelException nsee ) { throw nsee ; } catch ( Exception e ) { throw processException ( e ) ; } finally { closeSession ( session ) ; } } | Removes the commerce shipping fixed option rel with the primary key from the database . Also notifies the appropriate model listeners . | 211 | 24 |
31,378 | @ Override public List < CommerceShippingFixedOptionRel > findAll ( ) { return findAll ( QueryUtil . ALL_POS , QueryUtil . ALL_POS , null ) ; } | Returns all the commerce shipping fixed option rels . | 41 | 10 |
31,379 | @ Override public List < CPDAvailabilityEstimate > getCPDAvailabilityEstimatesByUuidAndCompanyId ( String uuid , long companyId , int start , int end , OrderByComparator < CPDAvailabilityEstimate > orderByComparator ) { return cpdAvailabilityEstimatePersistence . findByUuid_C ( uuid , companyId , start , end , orderByComparator ) ; } | Returns a range of cpd availability estimates matching the UUID and company . | 92 | 15 |
31,380 | @ Override public List < CommerceRegion > getCommerceRegionsByUuidAndCompanyId ( String uuid , long companyId , int start , int end , OrderByComparator < CommerceRegion > orderByComparator ) { return commerceRegionPersistence . findByUuid_C ( uuid , companyId , start , end , orderByComparator ) ; } | Returns a range of commerce regions matching the UUID and company . | 78 | 13 |
31,381 | @ Override public com . liferay . commerce . model . CommerceOrderNote getCommerceOrderNote ( long commerceOrderNoteId ) throws com . liferay . portal . kernel . exception . PortalException { return _commerceOrderNoteLocalService . getCommerceOrderNote ( commerceOrderNoteId ) ; } | Returns the commerce order note with the primary key . | 64 | 10 |
31,382 | @ Override public void cacheResult ( CommerceUserSegmentCriterion commerceUserSegmentCriterion ) { entityCache . putResult ( CommerceUserSegmentCriterionModelImpl . ENTITY_CACHE_ENABLED , CommerceUserSegmentCriterionImpl . class , commerceUserSegmentCriterion . getPrimaryKey ( ) , commerceUserSegmentCriterion ) ; commerceUserSegmentCriterion . resetOriginalValues ( ) ; } | Caches the commerce user segment criterion in the entity cache if it is enabled . | 93 | 16 |
31,383 | @ Override public void cacheResult ( List < CommerceUserSegmentCriterion > commerceUserSegmentCriterions ) { for ( CommerceUserSegmentCriterion commerceUserSegmentCriterion : commerceUserSegmentCriterions ) { if ( entityCache . getResult ( CommerceUserSegmentCriterionModelImpl . ENTITY_CACHE_ENABLED , CommerceUserSegmentCriterionImpl . class , commerceUserSegmentCriterion . getPrimaryKey ( ) ) == null ) { cacheResult ( commerceUserSegmentCriterion ) ; } else { commerceUserSegmentCriterion . resetOriginalValues ( ) ; } } } | Caches the commerce user segment criterions in the entity cache if it is enabled . | 135 | 18 |
31,384 | @ Override public void clearCache ( ) { entityCache . clearCache ( CommerceUserSegmentCriterionImpl . 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 criterions . | 100 | 13 |
31,385 | @ Override public CommerceUserSegmentCriterion remove ( Serializable primaryKey ) throws NoSuchUserSegmentCriterionException { Session session = null ; try { session = openSession ( ) ; CommerceUserSegmentCriterion commerceUserSegmentCriterion = ( CommerceUserSegmentCriterion ) session . get ( CommerceUserSegmentCriterionImpl . class , primaryKey ) ; if ( commerceUserSegmentCriterion == null ) { if ( _log . isDebugEnabled ( ) ) { _log . debug ( _NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey ) ; } throw new NoSuchUserSegmentCriterionException ( _NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey ) ; } return remove ( commerceUserSegmentCriterion ) ; } catch ( NoSuchUserSegmentCriterionException nsee ) { throw nsee ; } catch ( Exception e ) { throw processException ( e ) ; } finally { closeSession ( session ) ; } } | Removes the commerce user segment criterion with the primary key from the database . Also notifies the appropriate model listeners . | 221 | 23 |
31,386 | @ Override public List < CommerceUserSegmentCriterion > findAll ( ) { return findAll ( QueryUtil . ALL_POS , QueryUtil . ALL_POS , null ) ; } | Returns all the commerce user segment criterions . | 42 | 10 |
31,387 | @ Override public void cacheResult ( CPDefinitionLink cpDefinitionLink ) { entityCache . putResult ( CPDefinitionLinkModelImpl . ENTITY_CACHE_ENABLED , CPDefinitionLinkImpl . class , cpDefinitionLink . getPrimaryKey ( ) , cpDefinitionLink ) ; finderCache . putResult ( FINDER_PATH_FETCH_BY_UUID_G , new Object [ ] { cpDefinitionLink . getUuid ( ) , cpDefinitionLink . getGroupId ( ) } , cpDefinitionLink ) ; finderCache . putResult ( FINDER_PATH_FETCH_BY_C_C_T , new Object [ ] { cpDefinitionLink . getCPDefinitionId ( ) , cpDefinitionLink . getCProductId ( ) , cpDefinitionLink . getType ( ) } , cpDefinitionLink ) ; cpDefinitionLink . resetOriginalValues ( ) ; } | Caches the cp definition link in the entity cache if it is enabled . | 203 | 15 |
31,388 | @ Override public void cacheResult ( List < CPDefinitionLink > cpDefinitionLinks ) { for ( CPDefinitionLink cpDefinitionLink : cpDefinitionLinks ) { if ( entityCache . getResult ( CPDefinitionLinkModelImpl . ENTITY_CACHE_ENABLED , CPDefinitionLinkImpl . class , cpDefinitionLink . getPrimaryKey ( ) ) == null ) { cacheResult ( cpDefinitionLink ) ; } else { cpDefinitionLink . resetOriginalValues ( ) ; } } } | Caches the cp definition links in the entity cache if it is enabled . | 111 | 15 |
31,389 | @ Override public void clearCache ( ) { entityCache . clearCache ( CPDefinitionLinkImpl . 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 links . | 99 | 10 |
31,390 | @ Override public void clearCache ( CPDefinitionLink cpDefinitionLink ) { entityCache . removeResult ( CPDefinitionLinkModelImpl . ENTITY_CACHE_ENABLED , CPDefinitionLinkImpl . class , cpDefinitionLink . getPrimaryKey ( ) ) ; finderCache . clearCache ( FINDER_CLASS_NAME_LIST_WITH_PAGINATION ) ; finderCache . clearCache ( FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION ) ; clearUniqueFindersCache ( ( CPDefinitionLinkModelImpl ) cpDefinitionLink , true ) ; } | Clears the cache for the cp definition link . | 139 | 10 |
31,391 | @ Override public CPDefinitionLink remove ( Serializable primaryKey ) throws NoSuchCPDefinitionLinkException { Session session = null ; try { session = openSession ( ) ; CPDefinitionLink cpDefinitionLink = ( CPDefinitionLink ) session . get ( CPDefinitionLinkImpl . class , primaryKey ) ; if ( cpDefinitionLink == null ) { if ( _log . isDebugEnabled ( ) ) { _log . debug ( _NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey ) ; } throw new NoSuchCPDefinitionLinkException ( _NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey ) ; } return remove ( cpDefinitionLink ) ; } catch ( NoSuchCPDefinitionLinkException nsee ) { throw nsee ; } catch ( Exception e ) { throw processException ( e ) ; } finally { closeSession ( session ) ; } } | Removes the cp definition link with the primary key from the database . Also notifies the appropriate model listeners . | 208 | 22 |
31,392 | @ Override public List < CPDefinitionLink > findAll ( ) { return findAll ( QueryUtil . ALL_POS , QueryUtil . ALL_POS , null ) ; } | Returns all the cp definition links . | 41 | 7 |
31,393 | @ Override public void cacheResult ( CommerceNotificationQueueEntry commerceNotificationQueueEntry ) { entityCache . putResult ( CommerceNotificationQueueEntryModelImpl . ENTITY_CACHE_ENABLED , CommerceNotificationQueueEntryImpl . class , commerceNotificationQueueEntry . getPrimaryKey ( ) , commerceNotificationQueueEntry ) ; commerceNotificationQueueEntry . resetOriginalValues ( ) ; } | Caches the commerce notification queue entry in the entity cache if it is enabled . | 86 | 16 |
31,394 | @ Override public void cacheResult ( List < CommerceNotificationQueueEntry > commerceNotificationQueueEntries ) { for ( CommerceNotificationQueueEntry commerceNotificationQueueEntry : commerceNotificationQueueEntries ) { if ( entityCache . getResult ( CommerceNotificationQueueEntryModelImpl . ENTITY_CACHE_ENABLED , CommerceNotificationQueueEntryImpl . class , commerceNotificationQueueEntry . getPrimaryKey ( ) ) == null ) { cacheResult ( commerceNotificationQueueEntry ) ; } else { commerceNotificationQueueEntry . resetOriginalValues ( ) ; } } } | Caches the commerce notification queue entries in the entity cache if it is enabled . | 125 | 16 |
31,395 | @ Override public void clearCache ( ) { entityCache . clearCache ( CommerceNotificationQueueEntryImpl . 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 queue entries . | 99 | 11 |
31,396 | @ Override public void clearCache ( CommerceNotificationQueueEntry commerceNotificationQueueEntry ) { entityCache . removeResult ( CommerceNotificationQueueEntryModelImpl . ENTITY_CACHE_ENABLED , CommerceNotificationQueueEntryImpl . class , commerceNotificationQueueEntry . getPrimaryKey ( ) ) ; finderCache . clearCache ( FINDER_CLASS_NAME_LIST_WITH_PAGINATION ) ; finderCache . clearCache ( FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION ) ; } | Clears the cache for the commerce notification queue entry . | 121 | 11 |
31,397 | @ Override public List < CommerceNotificationQueueEntry > findAll ( ) { return findAll ( QueryUtil . ALL_POS , QueryUtil . ALL_POS , null ) ; } | Returns all the commerce notification queue entries . | 41 | 8 |
31,398 | @ Override public com . liferay . commerce . price . list . model . CommercePriceListUserSegmentEntryRel getCommercePriceListUserSegmentEntryRel ( long commercePriceListUserSegmentEntryRelId ) throws com . liferay . portal . kernel . exception . PortalException { return _commercePriceListUserSegmentEntryRelLocalService . getCommercePriceListUserSegmentEntryRel ( commercePriceListUserSegmentEntryRelId ) ; } | Returns the commerce price list user segment entry rel with the primary key . | 98 | 14 |
31,399 | @ Override public void cacheResult ( CPDefinitionLocalization cpDefinitionLocalization ) { entityCache . putResult ( CPDefinitionLocalizationModelImpl . ENTITY_CACHE_ENABLED , CPDefinitionLocalizationImpl . class , cpDefinitionLocalization . getPrimaryKey ( ) , cpDefinitionLocalization ) ; finderCache . putResult ( FINDER_PATH_FETCH_BY_CPDEFINITIONID_LANGUAGEID , new Object [ ] { cpDefinitionLocalization . getCPDefinitionId ( ) , cpDefinitionLocalization . getLanguageId ( ) } , cpDefinitionLocalization ) ; cpDefinitionLocalization . resetOriginalValues ( ) ; } | Caches the cp definition localization in the entity cache if it is enabled . | 154 | 15 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.