idx
int64
0
41.2k
question
stringlengths
74
4.04k
target
stringlengths
7
750
31,300
@ Indexable ( type = IndexableType . DELETE ) public CommerceAccountUserRel deleteCommerceAccountUserRel ( CommerceAccountUserRelPK commerceAccountUserRelPK ) throws PortalException { return commerceAccountUserRelPersistence . remove ( commerceAccountUserRelPK ) ; }
Deletes the commerce account user rel with the primary key from the database . Also notifies the appropriate model listeners .
31,301
@ Indexable ( type = IndexableType . DELETE ) public CommerceAccountUserRel deleteCommerceAccountUserRel ( CommerceAccountUserRel commerceAccountUserRel ) { return commerceAccountUserRelPersistence . remove ( commerceAccountUserRel ) ; }
Deletes the commerce account user rel from the database . Also notifies the appropriate model listeners .
31,302
public void setCommerceAccountLocalService ( com . liferay . commerce . account . service . CommerceAccountLocalService commerceAccountLocalService ) { this . commerceAccountLocalService = commerceAccountLocalService ; }
Sets the commerce account local service .
31,303
public void setUserGroupRoleLocalService ( com . liferay . portal . kernel . service . UserGroupRoleLocalService userGroupRoleLocalService ) { this . userGroupRoleLocalService = userGroupRoleLocalService ; }
Sets the user group role local service .
31,304
@ Indexable ( type = IndexableType . DELETE ) public CPTaxCategory deleteCPTaxCategory ( long CPTaxCategoryId ) throws PortalException { return cpTaxCategoryPersistence . remove ( CPTaxCategoryId ) ; }
Deletes the cp tax category with the primary key from the database . Also notifies the appropriate model listeners .
31,305
public void cacheResult ( CPTaxCategory cpTaxCategory ) { entityCache . putResult ( CPTaxCategoryModelImpl . ENTITY_CACHE_ENABLED , CPTaxCategoryImpl . class , cpTaxCategory . getPrimaryKey ( ) , cpTaxCategory ) ; cpTaxCategory . resetOriginalValues ( ) ; }
Caches the cp tax category in the entity cache if it is enabled .
31,306
public void cacheResult ( List < CPTaxCategory > cpTaxCategories ) { for ( CPTaxCategory cpTaxCategory : cpTaxCategories ) { if ( entityCache . getResult ( CPTaxCategoryModelImpl . ENTITY_CACHE_ENABLED , CPTaxCategoryImpl . class , cpTaxCategory . getPrimaryKey ( ) ) == null ) { cacheResult ( cpTaxCategory ) ; } else { cpTaxCategory . resetOriginalValues ( ) ; } } }
Caches the cp tax categories in the entity cache if it is enabled .
31,307
public void clearCache ( ) { entityCache . clearCache ( CPTaxCategoryImpl . 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 tax categories .
31,308
public void clearCache ( CPTaxCategory cpTaxCategory ) { entityCache . removeResult ( CPTaxCategoryModelImpl . ENTITY_CACHE_ENABLED , CPTaxCategoryImpl . class , cpTaxCategory . getPrimaryKey ( ) ) ; finderCache . clearCache ( FINDER_CLASS_NAME_LIST_WITH_PAGINATION ) ; finderCache . clearCache ( FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION ) ; }
Clears the cache for the cp tax category .
31,309
public List < CPTaxCategory > findAll ( ) { return findAll ( QueryUtil . ALL_POS , QueryUtil . ALL_POS , null ) ; }
Returns all the cp tax categories .
31,310
public void cacheResult ( CommerceAccount commerceAccount ) { entityCache . putResult ( CommerceAccountModelImpl . ENTITY_CACHE_ENABLED , CommerceAccountImpl . class , commerceAccount . getPrimaryKey ( ) , commerceAccount ) ; finderCache . putResult ( FINDER_PATH_FETCH_BY_C_ERC , new Object [ ] { commerceAccount . getCompanyId ( ) , commerceAccount . getExternalReferenceCode ( ) } , commerceAccount ) ; commerceAccount . resetOriginalValues ( ) ; }
Caches the commerce account in the entity cache if it is enabled .
31,311
public void cacheResult ( List < CommerceAccount > commerceAccounts ) { for ( CommerceAccount commerceAccount : commerceAccounts ) { if ( entityCache . getResult ( CommerceAccountModelImpl . ENTITY_CACHE_ENABLED , CommerceAccountImpl . class , commerceAccount . getPrimaryKey ( ) ) == null ) { cacheResult ( commerceAccount ) ; } else { commerceAccount . resetOriginalValues ( ) ; } } }
Caches the commerce accounts in the entity cache if it is enabled .
31,312
public void clearCache ( ) { entityCache . clearCache ( CommerceAccountImpl . 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 accounts .
31,313
public void clearCache ( CommerceAccount commerceAccount ) { entityCache . removeResult ( CommerceAccountModelImpl . ENTITY_CACHE_ENABLED , CommerceAccountImpl . class , commerceAccount . getPrimaryKey ( ) ) ; finderCache . clearCache ( FINDER_CLASS_NAME_LIST_WITH_PAGINATION ) ; finderCache . clearCache ( FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION ) ; clearUniqueFindersCache ( ( CommerceAccountModelImpl ) commerceAccount , true ) ; }
Clears the cache for the commerce account .
31,314
public List < CommerceAccount > findAll ( ) { return findAll ( QueryUtil . ALL_POS , QueryUtil . ALL_POS , null ) ; }
Returns all the commerce accounts .
31,315
@ Indexable ( type = IndexableType . REINDEX ) public CommerceDiscountUserSegmentRel addCommerceDiscountUserSegmentRel ( CommerceDiscountUserSegmentRel commerceDiscountUserSegmentRel ) { commerceDiscountUserSegmentRel . setNew ( true ) ; return commerceDiscountUserSegmentRelPersistence . update ( commerceDiscountUserSegmentRel ) ; }
Adds the commerce discount user segment rel to the database . Also notifies the appropriate model listeners .
31,316
@ Indexable ( type = IndexableType . DELETE ) public CPOptionValue deleteCPOptionValue ( long CPOptionValueId ) throws PortalException { return cpOptionValuePersistence . remove ( CPOptionValueId ) ; }
Deletes the cp option value with the primary key from the database . Also notifies the appropriate model listeners .
31,317
public List < CPOptionValue > getCPOptionValuesByUuidAndCompanyId ( String uuid , long companyId , int start , int end , OrderByComparator < CPOptionValue > orderByComparator ) { return cpOptionValuePersistence . findByUuid_C ( uuid , companyId , start , end , orderByComparator ) ; }
Returns a range of cp option values matching the UUID and company .
31,318
public String getDescription ( String languageId , boolean useDefault ) { return _cpOption . getDescription ( languageId , useDefault ) ; }
Returns the localized description of this cp option in the language optionally using the default language if no localization exists for the requested language .
31,319
public String getName ( String languageId , boolean useDefault ) { return _cpOption . getName ( languageId , useDefault ) ; }
Returns the localized name of this cp option in the language optionally using the default language if no localization exists for the requested language .
31,320
public void setDescriptionMap ( Map < java . util . Locale , String > descriptionMap , java . util . Locale defaultLocale ) { _cpOption . setDescriptionMap ( descriptionMap , defaultLocale ) ; }
Sets the localized descriptions of this cp option from the map of locales and localized descriptions and sets the default locale .
31,321
public void cacheResult ( CommercePriceListUserSegmentEntryRel commercePriceListUserSegmentEntryRel ) { entityCache . putResult ( CommercePriceListUserSegmentEntryRelModelImpl . ENTITY_CACHE_ENABLED , CommercePriceListUserSegmentEntryRelImpl . class , commercePriceListUserSegmentEntryRel . getPrimaryKey ( ) , commercePriceListUserSegmentEntryRel ) ; finderCache . putResult ( FINDER_PATH_FETCH_BY_UUID_G , new Object [ ] { commercePriceListUserSegmentEntryRel . getUuid ( ) , commercePriceListUserSegmentEntryRel . getGroupId ( ) } , commercePriceListUserSegmentEntryRel ) ; finderCache . putResult ( FINDER_PATH_FETCH_BY_C_C , new Object [ ] { commercePriceListUserSegmentEntryRel . getCommercePriceListId ( ) , commercePriceListUserSegmentEntryRel . getCommerceUserSegmentEntryId ( ) } , commercePriceListUserSegmentEntryRel ) ; commercePriceListUserSegmentEntryRel . resetOriginalValues ( ) ; }
Caches the commerce price list user segment entry rel in the entity cache if it is enabled .
31,322
public void cacheResult ( List < CommercePriceListUserSegmentEntryRel > commercePriceListUserSegmentEntryRels ) { for ( CommercePriceListUserSegmentEntryRel commercePriceListUserSegmentEntryRel : commercePriceListUserSegmentEntryRels ) { if ( entityCache . getResult ( CommercePriceListUserSegmentEntryRelModelImpl . ENTITY_CACHE_ENABLED , CommercePriceListUserSegmentEntryRelImpl . class , commercePriceListUserSegmentEntryRel . getPrimaryKey ( ) ) == null ) { cacheResult ( commercePriceListUserSegmentEntryRel ) ; } else { commercePriceListUserSegmentEntryRel . resetOriginalValues ( ) ; } } }
Caches the commerce price list user segment entry rels in the entity cache if it is enabled .
31,323
public void clearCache ( ) { entityCache . clearCache ( CommercePriceListUserSegmentEntryRelImpl . 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 user segment entry rels .
31,324
public void clearCache ( CommercePriceListUserSegmentEntryRel commercePriceListUserSegmentEntryRel ) { entityCache . removeResult ( CommercePriceListUserSegmentEntryRelModelImpl . ENTITY_CACHE_ENABLED , CommercePriceListUserSegmentEntryRelImpl . class , commercePriceListUserSegmentEntryRel . getPrimaryKey ( ) ) ; finderCache . clearCache ( FINDER_CLASS_NAME_LIST_WITH_PAGINATION ) ; finderCache . clearCache ( FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION ) ; clearUniqueFindersCache ( ( CommercePriceListUserSegmentEntryRelModelImpl ) commercePriceListUserSegmentEntryRel , true ) ; }
Clears the cache for the commerce price list user segment entry rel .
31,325
public List < CommercePriceListUserSegmentEntryRel > findAll ( ) { return findAll ( QueryUtil . ALL_POS , QueryUtil . ALL_POS , null ) ; }
Returns all the commerce price list user segment entry rels .
31,326
@ Indexable ( type = IndexableType . DELETE ) public CommercePriceListAccountRel deleteCommercePriceListAccountRel ( long commercePriceListAccountRelId ) throws PortalException { return commercePriceListAccountRelPersistence . remove ( commercePriceListAccountRelId ) ; }
Deletes the commerce price list account rel with the primary key from the database . Also notifies the appropriate model listeners .
31,327
public List < CommercePriceListAccountRel > getCommercePriceListAccountRelsByUuidAndCompanyId ( String uuid , long companyId , int start , int end , OrderByComparator < CommercePriceListAccountRel > orderByComparator ) { return commercePriceListAccountRelPersistence . findByUuid_C ( uuid , companyId , start , end , orderByComparator ) ; }
Returns a range of commerce price list account rels matching the UUID and company .
31,328
public void cacheResult ( CommercePaymentMethodGroupRel commercePaymentMethodGroupRel ) { entityCache . putResult ( CommercePaymentMethodGroupRelModelImpl . ENTITY_CACHE_ENABLED , CommercePaymentMethodGroupRelImpl . class , commercePaymentMethodGroupRel . getPrimaryKey ( ) , commercePaymentMethodGroupRel ) ; finderCache . putResult ( FINDER_PATH_FETCH_BY_G_E , new Object [ ] { commercePaymentMethodGroupRel . getGroupId ( ) , commercePaymentMethodGroupRel . getEngineKey ( ) } , commercePaymentMethodGroupRel ) ; commercePaymentMethodGroupRel . resetOriginalValues ( ) ; }
Caches the commerce payment method group rel in the entity cache if it is enabled .
31,329
public void cacheResult ( List < CommercePaymentMethodGroupRel > commercePaymentMethodGroupRels ) { for ( CommercePaymentMethodGroupRel commercePaymentMethodGroupRel : commercePaymentMethodGroupRels ) { if ( entityCache . getResult ( CommercePaymentMethodGroupRelModelImpl . ENTITY_CACHE_ENABLED , CommercePaymentMethodGroupRelImpl . class , commercePaymentMethodGroupRel . getPrimaryKey ( ) ) == null ) { cacheResult ( commercePaymentMethodGroupRel ) ; } else { commercePaymentMethodGroupRel . resetOriginalValues ( ) ; } } }
Caches the commerce payment method group rels in the entity cache if it is enabled .
31,330
public void clearCache ( ) { entityCache . clearCache ( CommercePaymentMethodGroupRelImpl . 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 payment method group rels .
31,331
public void clearCache ( CommercePaymentMethodGroupRel commercePaymentMethodGroupRel ) { entityCache . removeResult ( CommercePaymentMethodGroupRelModelImpl . ENTITY_CACHE_ENABLED , CommercePaymentMethodGroupRelImpl . class , commercePaymentMethodGroupRel . getPrimaryKey ( ) ) ; finderCache . clearCache ( FINDER_CLASS_NAME_LIST_WITH_PAGINATION ) ; finderCache . clearCache ( FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION ) ; clearUniqueFindersCache ( ( CommercePaymentMethodGroupRelModelImpl ) commercePaymentMethodGroupRel , true ) ; }
Clears the cache for the commerce payment method group rel .
31,332
public CommercePaymentMethodGroupRel remove ( Serializable primaryKey ) throws NoSuchPaymentMethodGroupRelException { Session session = null ; try { session = openSession ( ) ; CommercePaymentMethodGroupRel commercePaymentMethodGroupRel = ( CommercePaymentMethodGroupRel ) session . get ( CommercePaymentMethodGroupRelImpl . class , primaryKey ) ; if ( commercePaymentMethodGroupRel == null ) { if ( _log . isDebugEnabled ( ) ) { _log . debug ( _NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey ) ; } throw new NoSuchPaymentMethodGroupRelException ( _NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey ) ; } return remove ( commercePaymentMethodGroupRel ) ; } catch ( NoSuchPaymentMethodGroupRelException nsee ) { throw nsee ; } catch ( Exception e ) { throw processException ( e ) ; } finally { closeSession ( session ) ; } }
Removes the commerce payment method group rel with the primary key from the database . Also notifies the appropriate model listeners .
31,333
public List < CommercePaymentMethodGroupRel > findAll ( ) { return findAll ( QueryUtil . ALL_POS , QueryUtil . ALL_POS , null ) ; }
Returns all the commerce payment method group rels .
31,334
@ Indexable ( type = IndexableType . DELETE ) public CommercePriceList deleteCommercePriceList ( long commercePriceListId ) throws PortalException { return commercePriceListPersistence . remove ( commercePriceListId ) ; }
Deletes the commerce price list with the primary key from the database . Also notifies the appropriate model listeners .
31,335
public CommercePriceList fetchCommercePriceListByReferenceCode ( long companyId , String externalReferenceCode ) { return commercePriceListPersistence . fetchByC_ERC ( companyId , null ) ; }
Returns the commerce price list with the matching external reference code and company .
31,336
public List < CommercePriceList > getCommercePriceListsByUuidAndCompanyId ( String uuid , long companyId , int start , int end , OrderByComparator < CommercePriceList > orderByComparator ) { return commercePriceListPersistence . findByUuid_C ( uuid , companyId , start , end , orderByComparator ) ; }
Returns a range of commerce price lists matching the UUID and company .
31,337
public void cacheResult ( CommerceVirtualOrderItem commerceVirtualOrderItem ) { entityCache . putResult ( CommerceVirtualOrderItemModelImpl . ENTITY_CACHE_ENABLED , CommerceVirtualOrderItemImpl . class , commerceVirtualOrderItem . getPrimaryKey ( ) , commerceVirtualOrderItem ) ; finderCache . putResult ( FINDER_PATH_FETCH_BY_UUID_G , new Object [ ] { commerceVirtualOrderItem . getUuid ( ) , commerceVirtualOrderItem . getGroupId ( ) } , commerceVirtualOrderItem ) ; finderCache . putResult ( FINDER_PATH_FETCH_BY_COMMERCEORDERITEMID , new Object [ ] { commerceVirtualOrderItem . getCommerceOrderItemId ( ) } , commerceVirtualOrderItem ) ; commerceVirtualOrderItem . resetOriginalValues ( ) ; }
Caches the commerce virtual order item in the entity cache if it is enabled .
31,338
public void cacheResult ( List < CommerceVirtualOrderItem > commerceVirtualOrderItems ) { for ( CommerceVirtualOrderItem commerceVirtualOrderItem : commerceVirtualOrderItems ) { if ( entityCache . getResult ( CommerceVirtualOrderItemModelImpl . ENTITY_CACHE_ENABLED , CommerceVirtualOrderItemImpl . class , commerceVirtualOrderItem . getPrimaryKey ( ) ) == null ) { cacheResult ( commerceVirtualOrderItem ) ; } else { commerceVirtualOrderItem . resetOriginalValues ( ) ; } } }
Caches the commerce virtual order items in the entity cache if it is enabled .
31,339
public void clearCache ( ) { entityCache . clearCache ( CommerceVirtualOrderItemImpl . 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 virtual order items .
31,340
public void clearCache ( CommerceVirtualOrderItem commerceVirtualOrderItem ) { entityCache . removeResult ( CommerceVirtualOrderItemModelImpl . ENTITY_CACHE_ENABLED , CommerceVirtualOrderItemImpl . class , commerceVirtualOrderItem . getPrimaryKey ( ) ) ; finderCache . clearCache ( FINDER_CLASS_NAME_LIST_WITH_PAGINATION ) ; finderCache . clearCache ( FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION ) ; clearUniqueFindersCache ( ( CommerceVirtualOrderItemModelImpl ) commerceVirtualOrderItem , true ) ; }
Clears the cache for the commerce virtual order item .
31,341
public CommerceVirtualOrderItem remove ( Serializable primaryKey ) throws NoSuchVirtualOrderItemException { Session session = null ; try { session = openSession ( ) ; CommerceVirtualOrderItem commerceVirtualOrderItem = ( CommerceVirtualOrderItem ) session . get ( CommerceVirtualOrderItemImpl . class , primaryKey ) ; if ( commerceVirtualOrderItem == null ) { if ( _log . isDebugEnabled ( ) ) { _log . debug ( _NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey ) ; } throw new NoSuchVirtualOrderItemException ( _NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey ) ; } return remove ( commerceVirtualOrderItem ) ; } catch ( NoSuchVirtualOrderItemException nsee ) { throw nsee ; } catch ( Exception e ) { throw processException ( e ) ; } finally { closeSession ( session ) ; } }
Removes the commerce virtual order item with the primary key from the database . Also notifies the appropriate model listeners .
31,342
public List < CommerceVirtualOrderItem > findAll ( ) { return findAll ( QueryUtil . ALL_POS , QueryUtil . ALL_POS , null ) ; }
Returns all the commerce virtual order items .
31,343
@ Indexable ( type = IndexableType . DELETE ) public CPAttachmentFileEntry deleteCPAttachmentFileEntry ( long CPAttachmentFileEntryId ) throws PortalException { return cpAttachmentFileEntryPersistence . remove ( CPAttachmentFileEntryId ) ; }
Deletes the cp attachment file entry with the primary key from the database . Also notifies the appropriate model listeners .
31,344
public CPAttachmentFileEntry fetchCPAttachmentFileEntryByReferenceCode ( long companyId , String externalReferenceCode ) { return cpAttachmentFileEntryPersistence . fetchByC_ERC ( companyId , null ) ; }
Returns the cp attachment file entry with the matching external reference code and company .
31,345
public List < CPAttachmentFileEntry > getCPAttachmentFileEntriesByUuidAndCompanyId ( String uuid , long companyId , int start , int end , OrderByComparator < CPAttachmentFileEntry > orderByComparator ) { return cpAttachmentFileEntryPersistence . findByUuid_C ( uuid , companyId , start , end , orderByComparator ) ; }
Returns a range of cp attachment file entries matching the UUID and company .
31,346
@ Indexable ( type = IndexableType . REINDEX ) public CPAttachmentFileEntry updateCPAttachmentFileEntry ( CPAttachmentFileEntry cpAttachmentFileEntry ) { return cpAttachmentFileEntryPersistence . update ( cpAttachmentFileEntry ) ; }
Updates the cp attachment file entry in the database or adds it if it does not yet exist . Also notifies the appropriate model listeners .
31,347
public void setDLFileEntryLocalService ( com . liferay . document . library . kernel . service . DLFileEntryLocalService dlFileEntryLocalService ) { this . dlFileEntryLocalService = dlFileEntryLocalService ; }
Sets the document library file entry local service .
31,348
@ Indexable ( type = IndexableType . REINDEX ) public CommerceNotificationTemplate addCommerceNotificationTemplate ( CommerceNotificationTemplate commerceNotificationTemplate ) { commerceNotificationTemplate . setNew ( true ) ; return commerceNotificationTemplatePersistence . update ( commerceNotificationTemplate ) ; }
Adds the commerce notification template to the database . Also notifies the appropriate model listeners .
31,349
public List < CommerceNotificationTemplate > getCommerceNotificationTemplatesByUuidAndCompanyId ( String uuid , long companyId , int start , int end , OrderByComparator < CommerceNotificationTemplate > orderByComparator ) { return commerceNotificationTemplatePersistence . findByUuid_C ( uuid , companyId , start , end , orderByComparator ) ; }
Returns a range of commerce notification templates matching the UUID and company .
31,350
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 .
31,351
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 .
31,352
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 .
31,353
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 .
31,354
public List < CommerceShipment > findAll ( ) { return findAll ( QueryUtil . ALL_POS , QueryUtil . ALL_POS , null ) ; }
Returns all the commerce shipments .
31,355
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 .
31,356
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 .
31,357
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 .
31,358
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 .
31,359
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 .
31,360
public List < CommerceTierPriceEntry > findAll ( ) { return findAll ( QueryUtil . ALL_POS , QueryUtil . ALL_POS , null ) ; }
Returns all the commerce tier price entries .
31,361
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 .
31,362
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 .
31,363
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 .
31,364
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 .
31,365
public List < CPDefinitionSpecificationOptionValue > findAll ( ) { return findAll ( QueryUtil . ALL_POS , QueryUtil . ALL_POS , null ) ; }
Returns all the cp definition specification option values .
31,366
@ Indexable ( type = IndexableType . DELETE ) 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 .
31,367
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 .
31,368
@ Indexable ( type = IndexableType . DELETE ) 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 .
31,369
@ Indexable ( type = IndexableType . DELETE ) public CommerceTaxMethod deleteCommerceTaxMethod ( CommerceTaxMethod commerceTaxMethod ) { return commerceTaxMethodPersistence . remove ( commerceTaxMethod ) ; }
Deletes the commerce tax method from the database . Also notifies the appropriate model listeners .
31,370
@ Indexable ( type = IndexableType . REINDEX ) 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 .
31,371
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 .
31,372
public void setCommerceAccountService ( com . liferay . commerce . account . service . CommerceAccountService commerceAccountService ) { this . commerceAccountService = commerceAccountService ; }
Sets the commerce account remote service .
31,373
public void setCommerceAccountOrganizationRelService ( com . liferay . commerce . account . service . CommerceAccountOrganizationRelService commerceAccountOrganizationRelService ) { this . commerceAccountOrganizationRelService = commerceAccountOrganizationRelService ; }
Sets the commerce account organization rel remote service .
31,374
public void setUserGroupRoleService ( com . liferay . portal . kernel . service . UserGroupRoleService userGroupRoleService ) { this . userGroupRoleService = userGroupRoleService ; }
Sets the user group role remote service .
31,375
@ Indexable ( type = IndexableType . DELETE ) 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 .
31,376
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 .
31,377
public com . liferay . commerce . tax . engine . fixed . service . CommerceTaxFixedRateService getCommerceTaxFixedRateService ( ) { return commerceTaxFixedRateService ; }
Returns the commerce tax fixed rate remote service .
31,378
public void setCommerceTaxFixedRateService ( com . liferay . commerce . tax . engine . fixed . service . CommerceTaxFixedRateService commerceTaxFixedRateService ) { this . commerceTaxFixedRateService = commerceTaxFixedRateService ; }
Sets the commerce tax fixed rate remote service .
31,379
public void setCommerceNotificationTemplateService ( com . liferay . commerce . notification . service . CommerceNotificationTemplateService commerceNotificationTemplateService ) { this . commerceNotificationTemplateService = commerceNotificationTemplateService ; }
Sets the commerce notification template remote service .
31,380
public void setCommerceNotificationTemplateUserSegmentRelService ( com . liferay . commerce . notification . service . CommerceNotificationTemplateUserSegmentRelService commerceNotificationTemplateUserSegmentRelService ) { this . commerceNotificationTemplateUserSegmentRelService = commerceNotificationTemplateUserSegmentRelService ; }
Sets the commerce notification template user segment rel remote service .
31,381
public com . liferay . commerce . product . type . grouped . service . CPDefinitionGroupedEntryLocalService getCPDefinitionGroupedEntryLocalService ( ) { return cpDefinitionGroupedEntryLocalService ; }
Returns the cp definition grouped entry local service .
31,382
public void setCPDefinitionGroupedEntryLocalService ( com . liferay . commerce . product . type . grouped . service . CPDefinitionGroupedEntryLocalService cpDefinitionGroupedEntryLocalService ) { this . cpDefinitionGroupedEntryLocalService = cpDefinitionGroupedEntryLocalService ; }
Sets the cp definition grouped entry local service .
31,383
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 .
31,384
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 .
31,385
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 .
31,386
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 .
31,387
public List < CPMeasurementUnit > findAll ( ) { return findAll ( QueryUtil . ALL_POS , QueryUtil . ALL_POS , null ) ; }
Returns all the cp measurement units .
31,388
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 .
31,389
@ Indexable ( type = IndexableType . REINDEX ) 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 .
31,390
@ Indexable ( type = IndexableType . DELETE ) 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 .
31,391
@ Indexable ( type = IndexableType . DELETE ) 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 .
31,392
@ Indexable ( type = IndexableType . DELETE ) 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 .
31,393
@ Indexable ( type = IndexableType . REINDEX ) 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 .
31,394
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 .
31,395
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 .
31,396
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 .
31,397
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 .
31,398
public List < CommerceDiscountUserSegmentRel > findAll ( ) { return findAll ( QueryUtil . ALL_POS , QueryUtil . ALL_POS , null ) ; }
Returns all the commerce discount user segment rels .
31,399
@ Indexable ( type = IndexableType . REINDEX ) 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 .