idx int64 0 41.2k | question stringlengths 74 4.04k | target stringlengths 7 750 |
|---|---|---|
31,400 | public com . liferay . commerce . shipping . engine . fixed . service . CommerceShippingFixedOptionService getCommerceShippingFixedOptionService ( ) { return commerceShippingFixedOptionService ; } | Returns the commerce shipping fixed option remote service . |
31,401 | public void setCommerceShippingFixedOptionService ( com . liferay . commerce . shipping . engine . fixed . service . CommerceShippingFixedOptionService commerceShippingFixedOptionService ) { this . commerceShippingFixedOptionService = commerceShippingFixedOptionService ; } | Sets the commerce shipping fixed option remote service . |
31,402 | 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 . |
31,403 | 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 . |
31,404 | 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 . |
31,405 | 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 . |
31,406 | 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 . |
31,407 | public List < CommerceShippingFixedOption > findAll ( ) { return findAll ( QueryUtil . ALL_POS , QueryUtil . ALL_POS , null ) ; } | Returns all the commerce shipping fixed options . |
31,408 | @ Indexable ( type = IndexableType . DELETE ) public CPDefinitionGroupedEntry deleteCPDefinitionGroupedEntry ( CPDefinitionGroupedEntry cpDefinitionGroupedEntry ) { return cpDefinitionGroupedEntryPersistence . remove ( cpDefinitionGroupedEntry ) ; } | Deletes the cp definition grouped entry from the database . Also notifies the appropriate model listeners . |
31,409 | @ Indexable ( type = IndexableType . REINDEX ) 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 . |
31,410 | 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 . |
31,411 | 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 . |
31,412 | 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 . |
31,413 | 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 . |
31,414 | public List < CommerceNotificationTemplateUserSegmentRel > findAll ( ) { return findAll ( QueryUtil . ALL_POS , QueryUtil . ALL_POS , null ) ; } | Returns all the commerce notification template user segment rels . |
31,415 | public com . liferay . commerce . tax . engine . fixed . service . CommerceTaxFixedRateAddressRelService getCommerceTaxFixedRateAddressRelService ( ) { return commerceTaxFixedRateAddressRelService ; } | Returns the commerce tax fixed rate address rel remote service . |
31,416 | 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 . |
31,417 | 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 . |
31,418 | 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 . |
31,419 | 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 . |
31,420 | 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 . |
31,421 | public List < CommerceWarehouseItem > findAll ( ) { return findAll ( QueryUtil . ALL_POS , QueryUtil . ALL_POS , null ) ; } | Returns all the commerce warehouse items . |
31,422 | 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 . |
31,423 | 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 . |
31,424 | 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 . |
31,425 | 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 . |
31,426 | 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 . |
31,427 | 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 . |
31,428 | public List < CommerceShippingFixedOptionRel > findAll ( ) { return findAll ( QueryUtil . ALL_POS , QueryUtil . ALL_POS , null ) ; } | Returns all the commerce shipping fixed option rels . |
31,429 | 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 . |
31,430 | 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 . |
31,431 | 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 . |
31,432 | 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 . |
31,433 | 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 . |
31,434 | 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 . |
31,435 | 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 . |
31,436 | public List < CommerceUserSegmentCriterion > findAll ( ) { return findAll ( QueryUtil . ALL_POS , QueryUtil . ALL_POS , null ) ; } | Returns all the commerce user segment criterions . |
31,437 | 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 . |
31,438 | 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 . |
31,439 | 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 . |
31,440 | 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 . |
31,441 | 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 . |
31,442 | public List < CPDefinitionLink > findAll ( ) { return findAll ( QueryUtil . ALL_POS , QueryUtil . ALL_POS , null ) ; } | Returns all the cp definition links . |
31,443 | 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 . |
31,444 | 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 . |
31,445 | 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 . |
31,446 | 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 . |
31,447 | public List < CommerceNotificationQueueEntry > findAll ( ) { return findAll ( QueryUtil . ALL_POS , QueryUtil . ALL_POS , null ) ; } | Returns all the commerce notification queue entries . |
31,448 | 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 . |
31,449 | 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 . |
31,450 | public void cacheResult ( List < CPDefinitionLocalization > cpDefinitionLocalizations ) { for ( CPDefinitionLocalization cpDefinitionLocalization : cpDefinitionLocalizations ) { if ( entityCache . getResult ( CPDefinitionLocalizationModelImpl . ENTITY_CACHE_ENABLED , CPDefinitionLocalizationImpl . class , cpDefinitionLocalization . getPrimaryKey ( ) ) == null ) { cacheResult ( cpDefinitionLocalization ) ; } else { cpDefinitionLocalization . resetOriginalValues ( ) ; } } } | Caches the cp definition localizations in the entity cache if it is enabled . |
31,451 | public void clearCache ( ) { entityCache . clearCache ( CPDefinitionLocalizationImpl . 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 localizations . |
31,452 | public void clearCache ( CPDefinitionLocalization cpDefinitionLocalization ) { entityCache . removeResult ( CPDefinitionLocalizationModelImpl . ENTITY_CACHE_ENABLED , CPDefinitionLocalizationImpl . class , cpDefinitionLocalization . getPrimaryKey ( ) ) ; finderCache . clearCache ( FINDER_CLASS_NAME_LIST_WITH_PAGINATION ) ; finderCache . clearCache ( FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION ) ; clearUniqueFindersCache ( ( CPDefinitionLocalizationModelImpl ) cpDefinitionLocalization , true ) ; } | Clears the cache for the cp definition localization . |
31,453 | public CPDefinitionLocalization create ( long cpDefinitionLocalizationId ) { CPDefinitionLocalization cpDefinitionLocalization = new CPDefinitionLocalizationImpl ( ) ; cpDefinitionLocalization . setNew ( true ) ; cpDefinitionLocalization . setPrimaryKey ( cpDefinitionLocalizationId ) ; cpDefinitionLocalization . setCompanyId ( companyProvider . getCompanyId ( ) ) ; return cpDefinitionLocalization ; } | Creates a new cp definition localization with the primary key . Does not add the cp definition localization to the database . |
31,454 | public List < CPDefinitionLocalization > findAll ( ) { return findAll ( QueryUtil . ALL_POS , QueryUtil . ALL_POS , null ) ; } | Returns all the cp definition localizations . |
31,455 | public List < CPDefinitionLocalization > findAll ( int start , int end ) { return findAll ( start , end , null ) ; } | Returns a range of all the cp definition localizations . |
31,456 | public int countAll ( ) { Long count = ( Long ) finderCache . getResult ( FINDER_PATH_COUNT_ALL , FINDER_ARGS_EMPTY , this ) ; if ( count == null ) { Session session = null ; try { session = openSession ( ) ; Query q = session . createQuery ( _SQL_COUNT_CPDEFINITIONLOCALIZATION ) ; count = ( Long ) q . uniqueResult ( ) ; finderCache . putResult ( FINDER_PATH_COUNT_ALL , FINDER_ARGS_EMPTY , count ) ; } catch ( Exception e ) { finderCache . removeResult ( FINDER_PATH_COUNT_ALL , FINDER_ARGS_EMPTY ) ; throw processException ( e ) ; } finally { closeSession ( session ) ; } } return count . intValue ( ) ; } | Returns the number of cp definition localizations . |
31,457 | public void cacheResult ( CommerceShipmentItem commerceShipmentItem ) { entityCache . putResult ( CommerceShipmentItemModelImpl . ENTITY_CACHE_ENABLED , CommerceShipmentItemImpl . class , commerceShipmentItem . getPrimaryKey ( ) , commerceShipmentItem ) ; commerceShipmentItem . resetOriginalValues ( ) ; } | Caches the commerce shipment item in the entity cache if it is enabled . |
31,458 | public void cacheResult ( List < CommerceShipmentItem > commerceShipmentItems ) { for ( CommerceShipmentItem commerceShipmentItem : commerceShipmentItems ) { if ( entityCache . getResult ( CommerceShipmentItemModelImpl . ENTITY_CACHE_ENABLED , CommerceShipmentItemImpl . class , commerceShipmentItem . getPrimaryKey ( ) ) == null ) { cacheResult ( commerceShipmentItem ) ; } else { commerceShipmentItem . resetOriginalValues ( ) ; } } } | Caches the commerce shipment items in the entity cache if it is enabled . |
31,459 | public void clearCache ( ) { entityCache . clearCache ( CommerceShipmentItemImpl . 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 shipment items . |
31,460 | public void clearCache ( CommerceShipmentItem commerceShipmentItem ) { entityCache . removeResult ( CommerceShipmentItemModelImpl . ENTITY_CACHE_ENABLED , CommerceShipmentItemImpl . class , commerceShipmentItem . getPrimaryKey ( ) ) ; finderCache . clearCache ( FINDER_CLASS_NAME_LIST_WITH_PAGINATION ) ; finderCache . clearCache ( FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION ) ; } | Clears the cache for the commerce shipment item . |
31,461 | public List < CommerceShipmentItem > findAll ( ) { return findAll ( QueryUtil . ALL_POS , QueryUtil . ALL_POS , null ) ; } | Returns all the commerce shipment items . |
31,462 | @ Indexable ( type = IndexableType . DELETE ) public CommerceCountry deleteCommerceCountry ( long commerceCountryId ) throws PortalException { return commerceCountryPersistence . remove ( commerceCountryId ) ; } | Deletes the commerce country with the primary key from the database . Also notifies the appropriate model listeners . |
31,463 | public List < CommerceCountry > getCommerceCountriesByUuidAndCompanyId ( String uuid , long companyId , int start , int end , OrderByComparator < CommerceCountry > orderByComparator ) { return commerceCountryPersistence . findByUuid_C ( uuid , companyId , start , end , orderByComparator ) ; } | Returns a range of commerce countries matching the UUID and company . |
31,464 | public String getDescription ( String languageId , boolean useDefault ) { return _commerceTaxMethod . getDescription ( languageId , useDefault ) ; } | Returns the localized description of this commerce tax method in the language optionally using the default language if no localization exists for the requested language . |
31,465 | public String getName ( String languageId , boolean useDefault ) { return _commerceTaxMethod . getName ( languageId , useDefault ) ; } | Returns the localized name of this commerce tax method in the language optionally using the default language if no localization exists for the requested language . |
31,466 | public void setNameMap ( Map < java . util . Locale , String > nameMap ) { _commerceTaxMethod . setNameMap ( nameMap ) ; } | Sets the localized names of this commerce tax method from the map of locales and localized names . |
31,467 | public void setNameMap ( Map < java . util . Locale , String > nameMap , java . util . Locale defaultLocale ) { _commerceTaxMethod . setNameMap ( nameMap , defaultLocale ) ; } | Sets the localized names of this commerce tax method from the map of locales and localized names and sets the default locale . |
31,468 | public void setCommerceAccountUserRelService ( com . liferay . commerce . account . service . CommerceAccountUserRelService commerceAccountUserRelService ) { this . commerceAccountUserRelService = commerceAccountUserRelService ; } | Sets the commerce account user rel remote service . |
31,469 | public void cacheResult ( CPInstance cpInstance ) { entityCache . putResult ( CPInstanceModelImpl . ENTITY_CACHE_ENABLED , CPInstanceImpl . class , cpInstance . getPrimaryKey ( ) , cpInstance ) ; finderCache . putResult ( FINDER_PATH_FETCH_BY_UUID_G , new Object [ ] { cpInstance . getUuid ( ) , cpInstance . getGroupId ( ) } , cpInstance ) ; finderCache . putResult ( FINDER_PATH_FETCH_BY_C_C , new Object [ ] { cpInstance . getCPDefinitionId ( ) , cpInstance . getCPInstanceUuid ( ) } , cpInstance ) ; finderCache . putResult ( FINDER_PATH_FETCH_BY_C_S , new Object [ ] { cpInstance . getCPDefinitionId ( ) , cpInstance . getSku ( ) } , cpInstance ) ; finderCache . putResult ( FINDER_PATH_FETCH_BY_C_ERC , new Object [ ] { cpInstance . getCompanyId ( ) , cpInstance . getExternalReferenceCode ( ) } , cpInstance ) ; cpInstance . resetOriginalValues ( ) ; } | Caches the cp instance in the entity cache if it is enabled . |
31,470 | public void cacheResult ( List < CPInstance > cpInstances ) { for ( CPInstance cpInstance : cpInstances ) { if ( entityCache . getResult ( CPInstanceModelImpl . ENTITY_CACHE_ENABLED , CPInstanceImpl . class , cpInstance . getPrimaryKey ( ) ) == null ) { cacheResult ( cpInstance ) ; } else { cpInstance . resetOriginalValues ( ) ; } } } | Caches the cp instances in the entity cache if it is enabled . |
31,471 | public void clearCache ( ) { entityCache . clearCache ( CPInstanceImpl . 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 instances . |
31,472 | public void clearCache ( CPInstance cpInstance ) { entityCache . removeResult ( CPInstanceModelImpl . ENTITY_CACHE_ENABLED , CPInstanceImpl . class , cpInstance . getPrimaryKey ( ) ) ; finderCache . clearCache ( FINDER_CLASS_NAME_LIST_WITH_PAGINATION ) ; finderCache . clearCache ( FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION ) ; clearUniqueFindersCache ( ( CPInstanceModelImpl ) cpInstance , true ) ; } | Clears the cache for the cp instance . |
31,473 | public List < CPInstance > findAll ( ) { return findAll ( QueryUtil . ALL_POS , QueryUtil . ALL_POS , null ) ; } | Returns all the cp instances . |
31,474 | @ Indexable ( type = IndexableType . DELETE ) public CPMeasurementUnit deleteCPMeasurementUnit ( long CPMeasurementUnitId ) throws PortalException { return cpMeasurementUnitPersistence . remove ( CPMeasurementUnitId ) ; } | Deletes the cp measurement unit with the primary key from the database . Also notifies the appropriate model listeners . |
31,475 | @ Indexable ( type = IndexableType . DELETE ) public CPMeasurementUnit deleteCPMeasurementUnit ( CPMeasurementUnit cpMeasurementUnit ) { return cpMeasurementUnitPersistence . remove ( cpMeasurementUnit ) ; } | Deletes the cp measurement unit from the database . Also notifies the appropriate model listeners . |
31,476 | public List < CPMeasurementUnit > getCPMeasurementUnitsByUuidAndCompanyId ( String uuid , long companyId , int start , int end , OrderByComparator < CPMeasurementUnit > orderByComparator ) { return cpMeasurementUnitPersistence . findByUuid_C ( uuid , companyId , start , end , orderByComparator ) ; } | Returns a range of cp measurement units matching the UUID and company . |
31,477 | @ Indexable ( type = IndexableType . REINDEX ) public CPMeasurementUnit updateCPMeasurementUnit ( CPMeasurementUnit cpMeasurementUnit ) { return cpMeasurementUnitPersistence . update ( cpMeasurementUnit ) ; } | Updates the cp measurement unit in the database or adds it if it does not yet exist . Also notifies the appropriate model listeners . |
31,478 | public String getDescription ( String languageId , boolean useDefault ) { return _cpTaxCategory . getDescription ( languageId , useDefault ) ; } | Returns the localized description of this cp tax category in the language optionally using the default language if no localization exists for the requested language . |
31,479 | public String getName ( String languageId , boolean useDefault ) { return _cpTaxCategory . getName ( languageId , useDefault ) ; } | Returns the localized name of this cp tax category in the language optionally using the default language if no localization exists for the requested language . |
31,480 | public void cacheResult ( CommerceTaxFixedRateAddressRel commerceTaxFixedRateAddressRel ) { entityCache . putResult ( CommerceTaxFixedRateAddressRelModelImpl . ENTITY_CACHE_ENABLED , CommerceTaxFixedRateAddressRelImpl . class , commerceTaxFixedRateAddressRel . getPrimaryKey ( ) , commerceTaxFixedRateAddressRel ) ; commerceTaxFixedRateAddressRel . resetOriginalValues ( ) ; } | Caches the commerce tax fixed rate address rel in the entity cache if it is enabled . |
31,481 | public void cacheResult ( List < CommerceTaxFixedRateAddressRel > commerceTaxFixedRateAddressRels ) { for ( CommerceTaxFixedRateAddressRel commerceTaxFixedRateAddressRel : commerceTaxFixedRateAddressRels ) { if ( entityCache . getResult ( CommerceTaxFixedRateAddressRelModelImpl . ENTITY_CACHE_ENABLED , CommerceTaxFixedRateAddressRelImpl . class , commerceTaxFixedRateAddressRel . getPrimaryKey ( ) ) == null ) { cacheResult ( commerceTaxFixedRateAddressRel ) ; } else { commerceTaxFixedRateAddressRel . resetOriginalValues ( ) ; } } } | Caches the commerce tax fixed rate address rels in the entity cache if it is enabled . |
31,482 | public void clearCache ( ) { entityCache . clearCache ( CommerceTaxFixedRateAddressRelImpl . 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 tax fixed rate address rels . |
31,483 | public List < CommerceTaxFixedRateAddressRel > findAll ( ) { return findAll ( QueryUtil . ALL_POS , QueryUtil . ALL_POS , null ) ; } | Returns all the commerce tax fixed rate address rels . |
31,484 | public void cacheResult ( CommerceAccountOrganizationRel commerceAccountOrganizationRel ) { entityCache . putResult ( CommerceAccountOrganizationRelModelImpl . ENTITY_CACHE_ENABLED , CommerceAccountOrganizationRelImpl . class , commerceAccountOrganizationRel . getPrimaryKey ( ) , commerceAccountOrganizationRel ) ; commerceAccountOrganizationRel . resetOriginalValues ( ) ; } | Caches the commerce account organization rel in the entity cache if it is enabled . |
31,485 | public void cacheResult ( List < CommerceAccountOrganizationRel > commerceAccountOrganizationRels ) { for ( CommerceAccountOrganizationRel commerceAccountOrganizationRel : commerceAccountOrganizationRels ) { if ( entityCache . getResult ( CommerceAccountOrganizationRelModelImpl . ENTITY_CACHE_ENABLED , CommerceAccountOrganizationRelImpl . class , commerceAccountOrganizationRel . getPrimaryKey ( ) ) == null ) { cacheResult ( commerceAccountOrganizationRel ) ; } else { commerceAccountOrganizationRel . resetOriginalValues ( ) ; } } } | Caches the commerce account organization rels in the entity cache if it is enabled . |
31,486 | public void clearCache ( ) { entityCache . clearCache ( CommerceAccountOrganizationRelImpl . 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 account organization rels . |
31,487 | public void clearCache ( CommerceAccountOrganizationRel commerceAccountOrganizationRel ) { entityCache . removeResult ( CommerceAccountOrganizationRelModelImpl . ENTITY_CACHE_ENABLED , CommerceAccountOrganizationRelImpl . class , commerceAccountOrganizationRel . getPrimaryKey ( ) ) ; finderCache . clearCache ( FINDER_CLASS_NAME_LIST_WITH_PAGINATION ) ; finderCache . clearCache ( FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION ) ; } | Clears the cache for the commerce account organization rel . |
31,488 | public CommerceAccountOrganizationRel remove ( Serializable primaryKey ) throws NoSuchAccountOrganizationRelException { Session session = null ; try { session = openSession ( ) ; CommerceAccountOrganizationRel commerceAccountOrganizationRel = ( CommerceAccountOrganizationRel ) session . get ( CommerceAccountOrganizationRelImpl . class , primaryKey ) ; if ( commerceAccountOrganizationRel == null ) { if ( _log . isDebugEnabled ( ) ) { _log . debug ( _NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey ) ; } throw new NoSuchAccountOrganizationRelException ( _NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey ) ; } return remove ( commerceAccountOrganizationRel ) ; } catch ( NoSuchAccountOrganizationRelException nsee ) { throw nsee ; } catch ( Exception e ) { throw processException ( e ) ; } finally { closeSession ( session ) ; } } | Removes the commerce account organization rel with the primary key from the database . Also notifies the appropriate model listeners . |
31,489 | public List < CommerceAccountOrganizationRel > findAll ( ) { return findAll ( QueryUtil . ALL_POS , QueryUtil . ALL_POS , null ) ; } | Returns all the commerce account organization rels . |
31,490 | public String getName ( String languageId , boolean useDefault ) { return _cpDefinitionOptionValueRel . getName ( languageId , useDefault ) ; } | Returns the localized name of this cp definition option value rel in the language optionally using the default language if no localization exists for the requested language . |
31,491 | @ Indexable ( type = IndexableType . DELETE ) public CommerceShippingMethod deleteCommerceShippingMethod ( long commerceShippingMethodId ) throws PortalException { return commerceShippingMethodPersistence . remove ( commerceShippingMethodId ) ; } | Deletes the commerce shipping method with the primary key from the database . Also notifies the appropriate model listeners . |
31,492 | @ Indexable ( type = IndexableType . DELETE ) public CommerceDiscountRule deleteCommerceDiscountRule ( long commerceDiscountRuleId ) throws PortalException { return commerceDiscountRulePersistence . remove ( commerceDiscountRuleId ) ; } | Deletes the commerce discount rule with the primary key from the database . Also notifies the appropriate model listeners . |
31,493 | public String getDescription ( java . util . Locale locale ) { return _commercePaymentMethodGroupRel . getDescription ( locale ) ; } | Returns the localized description of this commerce payment method group rel in the language . Uses the default language if no localization exists for the requested language . |
31,494 | public String getDescription ( String languageId , boolean useDefault ) { return _commercePaymentMethodGroupRel . getDescription ( languageId , useDefault ) ; } | Returns the localized description of this commerce payment method group rel in the language optionally using the default language if no localization exists for the requested language . |
31,495 | public String getName ( String languageId , boolean useDefault ) { return _commercePaymentMethodGroupRel . getName ( languageId , useDefault ) ; } | Returns the localized name of this commerce payment method group rel in the language optionally using the default language if no localization exists for the requested language . |
31,496 | public void setDLFileEntryService ( com . liferay . document . library . kernel . service . DLFileEntryService dlFileEntryService ) { this . dlFileEntryService = dlFileEntryService ; } | Sets the document library file entry remote service . |
31,497 | public com . liferay . commerce . model . CommerceAvailabilityEstimate getCommerceAvailabilityEstimate ( long commerceAvailabilityEstimateId ) throws com . liferay . portal . kernel . exception . PortalException { return _commerceAvailabilityEstimateLocalService . getCommerceAvailabilityEstimate ( commerceAvailabilityEstimateId ) ; } | Returns the commerce availability estimate with the primary key . |
31,498 | @ Indexable ( type = IndexableType . DELETE ) public CPDefinitionSpecificationOptionValue deleteCPDefinitionSpecificationOptionValue ( long CPDefinitionSpecificationOptionValueId ) throws PortalException { return cpDefinitionSpecificationOptionValuePersistence . remove ( CPDefinitionSpecificationOptionValueId ) ; } | Deletes the cp definition specification option value with the primary key from the database . Also notifies the appropriate model listeners . |
31,499 | @ Indexable ( type = IndexableType . DELETE ) public CPDefinitionSpecificationOptionValue deleteCPDefinitionSpecificationOptionValue ( CPDefinitionSpecificationOptionValue cpDefinitionSpecificationOptionValue ) { return cpDefinitionSpecificationOptionValuePersistence . remove ( cpDefinitionSpecificationOptionValue ) ; } | Deletes the cp definition specification option value from the database . Also notifies the appropriate model listeners . |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.