id int32 0 165k | repo stringlengths 7 58 | path stringlengths 12 218 | func_name stringlengths 3 140 | original_string stringlengths 73 34.1k | language stringclasses 1
value | code stringlengths 73 34.1k | code_tokens list | docstring stringlengths 3 16k | docstring_tokens list | sha stringlengths 40 40 | url stringlengths 105 339 |
|---|---|---|---|---|---|---|---|---|---|---|---|
54,100 | liferay/com-liferay-commerce | commerce-notification-service/src/main/java/com/liferay/commerce/notification/service/persistence/impl/CommerceNotificationTemplatePersistenceImpl.java | CommerceNotificationTemplatePersistenceImpl.findAll | @Override
public List<CommerceNotificationTemplate> findAll() {
return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
} | java | @Override
public List<CommerceNotificationTemplate> findAll() {
return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
} | [
"@",
"Override",
"public",
"List",
"<",
"CommerceNotificationTemplate",
">",
"findAll",
"(",
")",
"{",
"return",
"findAll",
"(",
"QueryUtil",
".",
"ALL_POS",
",",
"QueryUtil",
".",
"ALL_POS",
",",
"null",
")",
";",
"}"
] | Returns all the commerce notification templates.
@return the commerce notification templates | [
"Returns",
"all",
"the",
"commerce",
"notification",
"templates",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-notification-service/src/main/java/com/liferay/commerce/notification/service/persistence/impl/CommerceNotificationTemplatePersistenceImpl.java#L5161-L5164 |
54,101 | liferay/com-liferay-commerce | commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceAddressPersistenceImpl.java | CommerceAddressPersistenceImpl.cacheResult | @Override
public void cacheResult(CommerceAddress commerceAddress) {
entityCache.putResult(CommerceAddressModelImpl.ENTITY_CACHE_ENABLED,
CommerceAddressImpl.class, commerceAddress.getPrimaryKey(),
commerceAddress);
commerceAddress.resetOriginalValues();
} | java | @Override
public void cacheResult(CommerceAddress commerceAddress) {
entityCache.putResult(CommerceAddressModelImpl.ENTITY_CACHE_ENABLED,
CommerceAddressImpl.class, commerceAddress.getPrimaryKey(),
commerceAddress);
commerceAddress.resetOriginalValues();
} | [
"@",
"Override",
"public",
"void",
"cacheResult",
"(",
"CommerceAddress",
"commerceAddress",
")",
"{",
"entityCache",
".",
"putResult",
"(",
"CommerceAddressModelImpl",
".",
"ENTITY_CACHE_ENABLED",
",",
"CommerceAddressImpl",
".",
"class",
",",
"commerceAddress",
".",
... | Caches the commerce address in the entity cache if it is enabled.
@param commerceAddress the commerce address | [
"Caches",
"the",
"commerce",
"address",
"in",
"the",
"entity",
"cache",
"if",
"it",
"is",
"enabled",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceAddressPersistenceImpl.java#L3550-L3557 |
54,102 | liferay/com-liferay-commerce | commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceAddressPersistenceImpl.java | CommerceAddressPersistenceImpl.cacheResult | @Override
public void cacheResult(List<CommerceAddress> commerceAddresses) {
for (CommerceAddress commerceAddress : commerceAddresses) {
if (entityCache.getResult(
CommerceAddressModelImpl.ENTITY_CACHE_ENABLED,
CommerceAddressImpl.class,
commerceAddress.getPrimaryKey()) == null) {
cacheResul... | java | @Override
public void cacheResult(List<CommerceAddress> commerceAddresses) {
for (CommerceAddress commerceAddress : commerceAddresses) {
if (entityCache.getResult(
CommerceAddressModelImpl.ENTITY_CACHE_ENABLED,
CommerceAddressImpl.class,
commerceAddress.getPrimaryKey()) == null) {
cacheResul... | [
"@",
"Override",
"public",
"void",
"cacheResult",
"(",
"List",
"<",
"CommerceAddress",
">",
"commerceAddresses",
")",
"{",
"for",
"(",
"CommerceAddress",
"commerceAddress",
":",
"commerceAddresses",
")",
"{",
"if",
"(",
"entityCache",
".",
"getResult",
"(",
"Com... | Caches the commerce addresses in the entity cache if it is enabled.
@param commerceAddresses the commerce addresses | [
"Caches",
"the",
"commerce",
"addresses",
"in",
"the",
"entity",
"cache",
"if",
"it",
"is",
"enabled",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceAddressPersistenceImpl.java#L3564-L3577 |
54,103 | liferay/com-liferay-commerce | commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceAddressPersistenceImpl.java | CommerceAddressPersistenceImpl.clearCache | @Override
public void clearCache() {
entityCache.clearCache(CommerceAddressImpl.class);
finderCache.clearCache(FINDER_CLASS_NAME_ENTITY);
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
} | java | @Override
public void clearCache() {
entityCache.clearCache(CommerceAddressImpl.class);
finderCache.clearCache(FINDER_CLASS_NAME_ENTITY);
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
} | [
"@",
"Override",
"public",
"void",
"clearCache",
"(",
")",
"{",
"entityCache",
".",
"clearCache",
"(",
"CommerceAddressImpl",
".",
"class",
")",
";",
"finderCache",
".",
"clearCache",
"(",
"FINDER_CLASS_NAME_ENTITY",
")",
";",
"finderCache",
".",
"clearCache",
"... | Clears the cache for all commerce addresses.
<p>
The {@link EntityCache} and {@link FinderCache} are both cleared by this method.
</p> | [
"Clears",
"the",
"cache",
"for",
"all",
"commerce",
"addresses",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceAddressPersistenceImpl.java#L3586-L3593 |
54,104 | liferay/com-liferay-commerce | commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceAddressPersistenceImpl.java | CommerceAddressPersistenceImpl.clearCache | @Override
public void clearCache(CommerceAddress commerceAddress) {
entityCache.removeResult(CommerceAddressModelImpl.ENTITY_CACHE_ENABLED,
CommerceAddressImpl.class, commerceAddress.getPrimaryKey());
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
finderCache.clearCache(FINDER_CLASS_NAME_LIS... | java | @Override
public void clearCache(CommerceAddress commerceAddress) {
entityCache.removeResult(CommerceAddressModelImpl.ENTITY_CACHE_ENABLED,
CommerceAddressImpl.class, commerceAddress.getPrimaryKey());
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
finderCache.clearCache(FINDER_CLASS_NAME_LIS... | [
"@",
"Override",
"public",
"void",
"clearCache",
"(",
"CommerceAddress",
"commerceAddress",
")",
"{",
"entityCache",
".",
"removeResult",
"(",
"CommerceAddressModelImpl",
".",
"ENTITY_CACHE_ENABLED",
",",
"CommerceAddressImpl",
".",
"class",
",",
"commerceAddress",
".",... | Clears the cache for the commerce address.
<p>
The {@link EntityCache} and {@link FinderCache} are both cleared by this method.
</p> | [
"Clears",
"the",
"cache",
"for",
"the",
"commerce",
"address",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceAddressPersistenceImpl.java#L3602-L3609 |
54,105 | liferay/com-liferay-commerce | commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceAddressPersistenceImpl.java | CommerceAddressPersistenceImpl.findAll | @Override
public List<CommerceAddress> findAll() {
return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
} | java | @Override
public List<CommerceAddress> findAll() {
return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
} | [
"@",
"Override",
"public",
"List",
"<",
"CommerceAddress",
">",
"findAll",
"(",
")",
"{",
"return",
"findAll",
"(",
"QueryUtil",
".",
"ALL_POS",
",",
"QueryUtil",
".",
"ALL_POS",
",",
"null",
")",
";",
"}"
] | Returns all the commerce addresses.
@return the commerce addresses | [
"Returns",
"all",
"the",
"commerce",
"addresses",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceAddressPersistenceImpl.java#L4199-L4202 |
54,106 | liferay/com-liferay-commerce | commerce-shipping-engine-fixed-service/src/main/java/com/liferay/commerce/shipping/engine/fixed/service/base/CommerceShippingFixedOptionServiceBaseImpl.java | CommerceShippingFixedOptionServiceBaseImpl.getCommerceShippingFixedOptionLocalService | public com.liferay.commerce.shipping.engine.fixed.service.CommerceShippingFixedOptionLocalService getCommerceShippingFixedOptionLocalService() {
return commerceShippingFixedOptionLocalService;
} | java | public com.liferay.commerce.shipping.engine.fixed.service.CommerceShippingFixedOptionLocalService getCommerceShippingFixedOptionLocalService() {
return commerceShippingFixedOptionLocalService;
} | [
"public",
"com",
".",
"liferay",
".",
"commerce",
".",
"shipping",
".",
"engine",
".",
"fixed",
".",
"service",
".",
"CommerceShippingFixedOptionLocalService",
"getCommerceShippingFixedOptionLocalService",
"(",
")",
"{",
"return",
"commerceShippingFixedOptionLocalService",
... | Returns the commerce shipping fixed option local service.
@return the commerce shipping fixed option local service | [
"Returns",
"the",
"commerce",
"shipping",
"fixed",
"option",
"local",
"service",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-shipping-engine-fixed-service/src/main/java/com/liferay/commerce/shipping/engine/fixed/service/base/CommerceShippingFixedOptionServiceBaseImpl.java#L64-L66 |
54,107 | liferay/com-liferay-commerce | commerce-shipping-engine-fixed-service/src/main/java/com/liferay/commerce/shipping/engine/fixed/service/base/CommerceShippingFixedOptionServiceBaseImpl.java | CommerceShippingFixedOptionServiceBaseImpl.setCommerceShippingFixedOptionLocalService | public void setCommerceShippingFixedOptionLocalService(
com.liferay.commerce.shipping.engine.fixed.service.CommerceShippingFixedOptionLocalService commerceShippingFixedOptionLocalService) {
this.commerceShippingFixedOptionLocalService = commerceShippingFixedOptionLocalService;
} | java | public void setCommerceShippingFixedOptionLocalService(
com.liferay.commerce.shipping.engine.fixed.service.CommerceShippingFixedOptionLocalService commerceShippingFixedOptionLocalService) {
this.commerceShippingFixedOptionLocalService = commerceShippingFixedOptionLocalService;
} | [
"public",
"void",
"setCommerceShippingFixedOptionLocalService",
"(",
"com",
".",
"liferay",
".",
"commerce",
".",
"shipping",
".",
"engine",
".",
"fixed",
".",
"service",
".",
"CommerceShippingFixedOptionLocalService",
"commerceShippingFixedOptionLocalService",
")",
"{",
... | Sets the commerce shipping fixed option local service.
@param commerceShippingFixedOptionLocalService the commerce shipping fixed option local service | [
"Sets",
"the",
"commerce",
"shipping",
"fixed",
"option",
"local",
"service",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-shipping-engine-fixed-service/src/main/java/com/liferay/commerce/shipping/engine/fixed/service/base/CommerceShippingFixedOptionServiceBaseImpl.java#L73-L76 |
54,108 | liferay/com-liferay-commerce | commerce-shipping-engine-fixed-service/src/main/java/com/liferay/commerce/shipping/engine/fixed/service/base/CommerceShippingFixedOptionServiceBaseImpl.java | CommerceShippingFixedOptionServiceBaseImpl.getCommerceShippingFixedOptionRelLocalService | public com.liferay.commerce.shipping.engine.fixed.service.CommerceShippingFixedOptionRelLocalService getCommerceShippingFixedOptionRelLocalService() {
return commerceShippingFixedOptionRelLocalService;
} | java | public com.liferay.commerce.shipping.engine.fixed.service.CommerceShippingFixedOptionRelLocalService getCommerceShippingFixedOptionRelLocalService() {
return commerceShippingFixedOptionRelLocalService;
} | [
"public",
"com",
".",
"liferay",
".",
"commerce",
".",
"shipping",
".",
"engine",
".",
"fixed",
".",
"service",
".",
"CommerceShippingFixedOptionRelLocalService",
"getCommerceShippingFixedOptionRelLocalService",
"(",
")",
"{",
"return",
"commerceShippingFixedOptionRelLocalS... | Returns the commerce shipping fixed option rel local service.
@return the commerce shipping fixed option rel local service | [
"Returns",
"the",
"commerce",
"shipping",
"fixed",
"option",
"rel",
"local",
"service",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-shipping-engine-fixed-service/src/main/java/com/liferay/commerce/shipping/engine/fixed/service/base/CommerceShippingFixedOptionServiceBaseImpl.java#L121-L123 |
54,109 | liferay/com-liferay-commerce | commerce-shipping-engine-fixed-service/src/main/java/com/liferay/commerce/shipping/engine/fixed/service/base/CommerceShippingFixedOptionServiceBaseImpl.java | CommerceShippingFixedOptionServiceBaseImpl.setCommerceShippingFixedOptionRelLocalService | public void setCommerceShippingFixedOptionRelLocalService(
com.liferay.commerce.shipping.engine.fixed.service.CommerceShippingFixedOptionRelLocalService commerceShippingFixedOptionRelLocalService) {
this.commerceShippingFixedOptionRelLocalService = commerceShippingFixedOptionRelLocalService;
} | java | public void setCommerceShippingFixedOptionRelLocalService(
com.liferay.commerce.shipping.engine.fixed.service.CommerceShippingFixedOptionRelLocalService commerceShippingFixedOptionRelLocalService) {
this.commerceShippingFixedOptionRelLocalService = commerceShippingFixedOptionRelLocalService;
} | [
"public",
"void",
"setCommerceShippingFixedOptionRelLocalService",
"(",
"com",
".",
"liferay",
".",
"commerce",
".",
"shipping",
".",
"engine",
".",
"fixed",
".",
"service",
".",
"CommerceShippingFixedOptionRelLocalService",
"commerceShippingFixedOptionRelLocalService",
")",
... | Sets the commerce shipping fixed option rel local service.
@param commerceShippingFixedOptionRelLocalService the commerce shipping fixed option rel local service | [
"Sets",
"the",
"commerce",
"shipping",
"fixed",
"option",
"rel",
"local",
"service",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-shipping-engine-fixed-service/src/main/java/com/liferay/commerce/shipping/engine/fixed/service/base/CommerceShippingFixedOptionServiceBaseImpl.java#L130-L133 |
54,110 | liferay/com-liferay-commerce | commerce-shipping-engine-fixed-service/src/main/java/com/liferay/commerce/shipping/engine/fixed/service/base/CommerceShippingFixedOptionServiceBaseImpl.java | CommerceShippingFixedOptionServiceBaseImpl.getCommerceShippingFixedOptionRelService | public com.liferay.commerce.shipping.engine.fixed.service.CommerceShippingFixedOptionRelService getCommerceShippingFixedOptionRelService() {
return commerceShippingFixedOptionRelService;
} | java | public com.liferay.commerce.shipping.engine.fixed.service.CommerceShippingFixedOptionRelService getCommerceShippingFixedOptionRelService() {
return commerceShippingFixedOptionRelService;
} | [
"public",
"com",
".",
"liferay",
".",
"commerce",
".",
"shipping",
".",
"engine",
".",
"fixed",
".",
"service",
".",
"CommerceShippingFixedOptionRelService",
"getCommerceShippingFixedOptionRelService",
"(",
")",
"{",
"return",
"commerceShippingFixedOptionRelService",
";",... | Returns the commerce shipping fixed option rel remote service.
@return the commerce shipping fixed option rel remote service | [
"Returns",
"the",
"commerce",
"shipping",
"fixed",
"option",
"rel",
"remote",
"service",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-shipping-engine-fixed-service/src/main/java/com/liferay/commerce/shipping/engine/fixed/service/base/CommerceShippingFixedOptionServiceBaseImpl.java#L140-L142 |
54,111 | liferay/com-liferay-commerce | commerce-shipping-engine-fixed-service/src/main/java/com/liferay/commerce/shipping/engine/fixed/service/base/CommerceShippingFixedOptionServiceBaseImpl.java | CommerceShippingFixedOptionServiceBaseImpl.setCommerceShippingFixedOptionRelService | public void setCommerceShippingFixedOptionRelService(
com.liferay.commerce.shipping.engine.fixed.service.CommerceShippingFixedOptionRelService commerceShippingFixedOptionRelService) {
this.commerceShippingFixedOptionRelService = commerceShippingFixedOptionRelService;
} | java | public void setCommerceShippingFixedOptionRelService(
com.liferay.commerce.shipping.engine.fixed.service.CommerceShippingFixedOptionRelService commerceShippingFixedOptionRelService) {
this.commerceShippingFixedOptionRelService = commerceShippingFixedOptionRelService;
} | [
"public",
"void",
"setCommerceShippingFixedOptionRelService",
"(",
"com",
".",
"liferay",
".",
"commerce",
".",
"shipping",
".",
"engine",
".",
"fixed",
".",
"service",
".",
"CommerceShippingFixedOptionRelService",
"commerceShippingFixedOptionRelService",
")",
"{",
"this"... | Sets the commerce shipping fixed option rel remote service.
@param commerceShippingFixedOptionRelService the commerce shipping fixed option rel remote service | [
"Sets",
"the",
"commerce",
"shipping",
"fixed",
"option",
"rel",
"remote",
"service",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-shipping-engine-fixed-service/src/main/java/com/liferay/commerce/shipping/engine/fixed/service/base/CommerceShippingFixedOptionServiceBaseImpl.java#L149-L152 |
54,112 | liferay/com-liferay-commerce | commerce-discount-service/src/main/java/com/liferay/commerce/discount/service/base/CommerceDiscountRelLocalServiceBaseImpl.java | CommerceDiscountRelLocalServiceBaseImpl.addCommerceDiscountRel | @Indexable(type = IndexableType.REINDEX)
@Override
public CommerceDiscountRel addCommerceDiscountRel(
CommerceDiscountRel commerceDiscountRel) {
commerceDiscountRel.setNew(true);
return commerceDiscountRelPersistence.update(commerceDiscountRel);
} | java | @Indexable(type = IndexableType.REINDEX)
@Override
public CommerceDiscountRel addCommerceDiscountRel(
CommerceDiscountRel commerceDiscountRel) {
commerceDiscountRel.setNew(true);
return commerceDiscountRelPersistence.update(commerceDiscountRel);
} | [
"@",
"Indexable",
"(",
"type",
"=",
"IndexableType",
".",
"REINDEX",
")",
"@",
"Override",
"public",
"CommerceDiscountRel",
"addCommerceDiscountRel",
"(",
"CommerceDiscountRel",
"commerceDiscountRel",
")",
"{",
"commerceDiscountRel",
".",
"setNew",
"(",
"true",
")",
... | Adds the commerce discount rel to the database. Also notifies the appropriate model listeners.
@param commerceDiscountRel the commerce discount rel
@return the commerce discount rel that was added | [
"Adds",
"the",
"commerce",
"discount",
"rel",
"to",
"the",
"database",
".",
"Also",
"notifies",
"the",
"appropriate",
"model",
"listeners",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-discount-service/src/main/java/com/liferay/commerce/discount/service/base/CommerceDiscountRelLocalServiceBaseImpl.java#L87-L94 |
54,113 | liferay/com-liferay-commerce | commerce-discount-service/src/main/java/com/liferay/commerce/discount/service/base/CommerceDiscountRelLocalServiceBaseImpl.java | CommerceDiscountRelLocalServiceBaseImpl.deleteCommerceDiscountRel | @Indexable(type = IndexableType.DELETE)
@Override
public CommerceDiscountRel deleteCommerceDiscountRel(
long commerceDiscountRelId) throws PortalException {
return commerceDiscountRelPersistence.remove(commerceDiscountRelId);
} | java | @Indexable(type = IndexableType.DELETE)
@Override
public CommerceDiscountRel deleteCommerceDiscountRel(
long commerceDiscountRelId) throws PortalException {
return commerceDiscountRelPersistence.remove(commerceDiscountRelId);
} | [
"@",
"Indexable",
"(",
"type",
"=",
"IndexableType",
".",
"DELETE",
")",
"@",
"Override",
"public",
"CommerceDiscountRel",
"deleteCommerceDiscountRel",
"(",
"long",
"commerceDiscountRelId",
")",
"throws",
"PortalException",
"{",
"return",
"commerceDiscountRelPersistence",... | Deletes the commerce discount rel with the primary key from the database. Also notifies the appropriate model listeners.
@param commerceDiscountRelId the primary key of the commerce discount rel
@return the commerce discount rel that was removed
@throws PortalException if a commerce discount rel with the primary key c... | [
"Deletes",
"the",
"commerce",
"discount",
"rel",
"with",
"the",
"primary",
"key",
"from",
"the",
"database",
".",
"Also",
"notifies",
"the",
"appropriate",
"model",
"listeners",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-discount-service/src/main/java/com/liferay/commerce/discount/service/base/CommerceDiscountRelLocalServiceBaseImpl.java#L116-L121 |
54,114 | liferay/com-liferay-commerce | commerce-shipping-engine-fixed-api/src/main/java/com/liferay/commerce/shipping/engine/fixed/model/CommerceShippingFixedOptionWrapper.java | CommerceShippingFixedOptionWrapper.getDescription | @Override
public String getDescription(String languageId, boolean useDefault) {
return _commerceShippingFixedOption.getDescription(languageId,
useDefault);
} | java | @Override
public String getDescription(String languageId, boolean useDefault) {
return _commerceShippingFixedOption.getDescription(languageId,
useDefault);
} | [
"@",
"Override",
"public",
"String",
"getDescription",
"(",
"String",
"languageId",
",",
"boolean",
"useDefault",
")",
"{",
"return",
"_commerceShippingFixedOption",
".",
"getDescription",
"(",
"languageId",
",",
"useDefault",
")",
";",
"}"
] | Returns the localized description of this commerce shipping fixed option in the language, optionally using the default language if no localization exists for the requested language.
@param languageId the ID of the language
@param useDefault whether to use the default language if no localization exists for the requeste... | [
"Returns",
"the",
"localized",
"description",
"of",
"this",
"commerce",
"shipping",
"fixed",
"option",
"in",
"the",
"language",
"optionally",
"using",
"the",
"default",
"language",
"if",
"no",
"localization",
"exists",
"for",
"the",
"requested",
"language",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-shipping-engine-fixed-api/src/main/java/com/liferay/commerce/shipping/engine/fixed/model/CommerceShippingFixedOptionWrapper.java#L281-L285 |
54,115 | liferay/com-liferay-commerce | commerce-shipping-engine-fixed-api/src/main/java/com/liferay/commerce/shipping/engine/fixed/model/CommerceShippingFixedOptionWrapper.java | CommerceShippingFixedOptionWrapper.getName | @Override
public String getName(String languageId, boolean useDefault) {
return _commerceShippingFixedOption.getName(languageId, useDefault);
} | java | @Override
public String getName(String languageId, boolean useDefault) {
return _commerceShippingFixedOption.getName(languageId, useDefault);
} | [
"@",
"Override",
"public",
"String",
"getName",
"(",
"String",
"languageId",
",",
"boolean",
"useDefault",
")",
"{",
"return",
"_commerceShippingFixedOption",
".",
"getName",
"(",
"languageId",
",",
"useDefault",
")",
";",
"}"
] | Returns the localized name of this commerce shipping fixed option in the language, optionally using the default language if no localization exists for the requested language.
@param languageId the ID of the language
@param useDefault whether to use the default language if no localization exists for the requested langu... | [
"Returns",
"the",
"localized",
"name",
"of",
"this",
"commerce",
"shipping",
"fixed",
"option",
"in",
"the",
"language",
"optionally",
"using",
"the",
"default",
"language",
"if",
"no",
"localization",
"exists",
"for",
"the",
"requested",
"language",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-shipping-engine-fixed-api/src/main/java/com/liferay/commerce/shipping/engine/fixed/model/CommerceShippingFixedOptionWrapper.java#L383-L386 |
54,116 | liferay/com-liferay-commerce | commerce-service/src/main/java/com/liferay/commerce/service/base/CommerceShipmentLocalServiceBaseImpl.java | CommerceShipmentLocalServiceBaseImpl.deleteCommerceShipment | @Indexable(type = IndexableType.DELETE)
@Override
public CommerceShipment deleteCommerceShipment(long commerceShipmentId)
throws PortalException {
return commerceShipmentPersistence.remove(commerceShipmentId);
} | java | @Indexable(type = IndexableType.DELETE)
@Override
public CommerceShipment deleteCommerceShipment(long commerceShipmentId)
throws PortalException {
return commerceShipmentPersistence.remove(commerceShipmentId);
} | [
"@",
"Indexable",
"(",
"type",
"=",
"IndexableType",
".",
"DELETE",
")",
"@",
"Override",
"public",
"CommerceShipment",
"deleteCommerceShipment",
"(",
"long",
"commerceShipmentId",
")",
"throws",
"PortalException",
"{",
"return",
"commerceShipmentPersistence",
".",
"r... | Deletes the commerce shipment with the primary key from the database. Also notifies the appropriate model listeners.
@param commerceShipmentId the primary key of the commerce shipment
@return the commerce shipment that was removed
@throws PortalException if a commerce shipment with the primary key could not be found | [
"Deletes",
"the",
"commerce",
"shipment",
"with",
"the",
"primary",
"key",
"from",
"the",
"database",
".",
"Also",
"notifies",
"the",
"appropriate",
"model",
"listeners",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-service/src/main/java/com/liferay/commerce/service/base/CommerceShipmentLocalServiceBaseImpl.java#L133-L138 |
54,117 | liferay/com-liferay-commerce | commerce-product-api/src/main/java/com/liferay/commerce/product/service/CPRuleUserSegmentRelLocalServiceWrapper.java | CPRuleUserSegmentRelLocalServiceWrapper.getCPRuleUserSegmentRel | @Override
public com.liferay.commerce.product.model.CPRuleUserSegmentRel getCPRuleUserSegmentRel(
long CPRuleUserSegmentRelId)
throws com.liferay.portal.kernel.exception.PortalException {
return _cpRuleUserSegmentRelLocalService.getCPRuleUserSegmentRel(CPRuleUserSegmentRelId);
} | java | @Override
public com.liferay.commerce.product.model.CPRuleUserSegmentRel getCPRuleUserSegmentRel(
long CPRuleUserSegmentRelId)
throws com.liferay.portal.kernel.exception.PortalException {
return _cpRuleUserSegmentRelLocalService.getCPRuleUserSegmentRel(CPRuleUserSegmentRelId);
} | [
"@",
"Override",
"public",
"com",
".",
"liferay",
".",
"commerce",
".",
"product",
".",
"model",
".",
"CPRuleUserSegmentRel",
"getCPRuleUserSegmentRel",
"(",
"long",
"CPRuleUserSegmentRelId",
")",
"throws",
"com",
".",
"liferay",
".",
"portal",
".",
"kernel",
".... | Returns the cp rule user segment rel with the primary key.
@param CPRuleUserSegmentRelId the primary key of the cp rule user segment rel
@return the cp rule user segment rel
@throws PortalException if a cp rule user segment rel with the primary key could not be found | [
"Returns",
"the",
"cp",
"rule",
"user",
"segment",
"rel",
"with",
"the",
"primary",
"key",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-api/src/main/java/com/liferay/commerce/product/service/CPRuleUserSegmentRelLocalServiceWrapper.java#L225-L230 |
54,118 | liferay/com-liferay-commerce | commerce-currency-service/src/main/java/com/liferay/commerce/currency/service/persistence/impl/CommerceCurrencyPersistenceImpl.java | CommerceCurrencyPersistenceImpl.cacheResult | @Override
public void cacheResult(CommerceCurrency commerceCurrency) {
entityCache.putResult(CommerceCurrencyModelImpl.ENTITY_CACHE_ENABLED,
CommerceCurrencyImpl.class, commerceCurrency.getPrimaryKey(),
commerceCurrency);
finderCache.putResult(FINDER_PATH_FETCH_BY_UUID_G,
new Object[] {
commerceCurre... | java | @Override
public void cacheResult(CommerceCurrency commerceCurrency) {
entityCache.putResult(CommerceCurrencyModelImpl.ENTITY_CACHE_ENABLED,
CommerceCurrencyImpl.class, commerceCurrency.getPrimaryKey(),
commerceCurrency);
finderCache.putResult(FINDER_PATH_FETCH_BY_UUID_G,
new Object[] {
commerceCurre... | [
"@",
"Override",
"public",
"void",
"cacheResult",
"(",
"CommerceCurrency",
"commerceCurrency",
")",
"{",
"entityCache",
".",
"putResult",
"(",
"CommerceCurrencyModelImpl",
".",
"ENTITY_CACHE_ENABLED",
",",
"CommerceCurrencyImpl",
".",
"class",
",",
"commerceCurrency",
"... | Caches the commerce currency in the entity cache if it is enabled.
@param commerceCurrency the commerce currency | [
"Caches",
"the",
"commerce",
"currency",
"in",
"the",
"entity",
"cache",
"if",
"it",
"is",
"enabled",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-currency-service/src/main/java/com/liferay/commerce/currency/service/persistence/impl/CommerceCurrencyPersistenceImpl.java#L3950-L3967 |
54,119 | liferay/com-liferay-commerce | commerce-currency-service/src/main/java/com/liferay/commerce/currency/service/persistence/impl/CommerceCurrencyPersistenceImpl.java | CommerceCurrencyPersistenceImpl.cacheResult | @Override
public void cacheResult(List<CommerceCurrency> commerceCurrencies) {
for (CommerceCurrency commerceCurrency : commerceCurrencies) {
if (entityCache.getResult(
CommerceCurrencyModelImpl.ENTITY_CACHE_ENABLED,
CommerceCurrencyImpl.class,
commerceCurrency.getPrimaryKey()) == null) {
ca... | java | @Override
public void cacheResult(List<CommerceCurrency> commerceCurrencies) {
for (CommerceCurrency commerceCurrency : commerceCurrencies) {
if (entityCache.getResult(
CommerceCurrencyModelImpl.ENTITY_CACHE_ENABLED,
CommerceCurrencyImpl.class,
commerceCurrency.getPrimaryKey()) == null) {
ca... | [
"@",
"Override",
"public",
"void",
"cacheResult",
"(",
"List",
"<",
"CommerceCurrency",
">",
"commerceCurrencies",
")",
"{",
"for",
"(",
"CommerceCurrency",
"commerceCurrency",
":",
"commerceCurrencies",
")",
"{",
"if",
"(",
"entityCache",
".",
"getResult",
"(",
... | Caches the commerce currencies in the entity cache if it is enabled.
@param commerceCurrencies the commerce currencies | [
"Caches",
"the",
"commerce",
"currencies",
"in",
"the",
"entity",
"cache",
"if",
"it",
"is",
"enabled",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-currency-service/src/main/java/com/liferay/commerce/currency/service/persistence/impl/CommerceCurrencyPersistenceImpl.java#L3974-L3987 |
54,120 | liferay/com-liferay-commerce | commerce-currency-service/src/main/java/com/liferay/commerce/currency/service/persistence/impl/CommerceCurrencyPersistenceImpl.java | CommerceCurrencyPersistenceImpl.clearCache | @Override
public void clearCache() {
entityCache.clearCache(CommerceCurrencyImpl.class);
finderCache.clearCache(FINDER_CLASS_NAME_ENTITY);
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
} | java | @Override
public void clearCache() {
entityCache.clearCache(CommerceCurrencyImpl.class);
finderCache.clearCache(FINDER_CLASS_NAME_ENTITY);
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
} | [
"@",
"Override",
"public",
"void",
"clearCache",
"(",
")",
"{",
"entityCache",
".",
"clearCache",
"(",
"CommerceCurrencyImpl",
".",
"class",
")",
";",
"finderCache",
".",
"clearCache",
"(",
"FINDER_CLASS_NAME_ENTITY",
")",
";",
"finderCache",
".",
"clearCache",
... | Clears the cache for all commerce currencies.
<p>
The {@link EntityCache} and {@link FinderCache} are both cleared by this method.
</p> | [
"Clears",
"the",
"cache",
"for",
"all",
"commerce",
"currencies",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-currency-service/src/main/java/com/liferay/commerce/currency/service/persistence/impl/CommerceCurrencyPersistenceImpl.java#L3996-L4003 |
54,121 | liferay/com-liferay-commerce | commerce-currency-service/src/main/java/com/liferay/commerce/currency/service/persistence/impl/CommerceCurrencyPersistenceImpl.java | CommerceCurrencyPersistenceImpl.clearCache | @Override
public void clearCache(CommerceCurrency commerceCurrency) {
entityCache.removeResult(CommerceCurrencyModelImpl.ENTITY_CACHE_ENABLED,
CommerceCurrencyImpl.class, commerceCurrency.getPrimaryKey());
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
finderCache.clearCache(FINDER_CLASS_NAM... | java | @Override
public void clearCache(CommerceCurrency commerceCurrency) {
entityCache.removeResult(CommerceCurrencyModelImpl.ENTITY_CACHE_ENABLED,
CommerceCurrencyImpl.class, commerceCurrency.getPrimaryKey());
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
finderCache.clearCache(FINDER_CLASS_NAM... | [
"@",
"Override",
"public",
"void",
"clearCache",
"(",
"CommerceCurrency",
"commerceCurrency",
")",
"{",
"entityCache",
".",
"removeResult",
"(",
"CommerceCurrencyModelImpl",
".",
"ENTITY_CACHE_ENABLED",
",",
"CommerceCurrencyImpl",
".",
"class",
",",
"commerceCurrency",
... | Clears the cache for the commerce currency.
<p>
The {@link EntityCache} and {@link FinderCache} are both cleared by this method.
</p> | [
"Clears",
"the",
"cache",
"for",
"the",
"commerce",
"currency",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-currency-service/src/main/java/com/liferay/commerce/currency/service/persistence/impl/CommerceCurrencyPersistenceImpl.java#L4012-L4022 |
54,122 | liferay/com-liferay-commerce | commerce-currency-service/src/main/java/com/liferay/commerce/currency/service/persistence/impl/CommerceCurrencyPersistenceImpl.java | CommerceCurrencyPersistenceImpl.findAll | @Override
public List<CommerceCurrency> findAll() {
return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
} | java | @Override
public List<CommerceCurrency> findAll() {
return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
} | [
"@",
"Override",
"public",
"List",
"<",
"CommerceCurrency",
">",
"findAll",
"(",
")",
"{",
"return",
"findAll",
"(",
"QueryUtil",
".",
"ALL_POS",
",",
"QueryUtil",
".",
"ALL_POS",
",",
"null",
")",
";",
"}"
] | Returns all the commerce currencies.
@return the commerce currencies | [
"Returns",
"all",
"the",
"commerce",
"currencies",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-currency-service/src/main/java/com/liferay/commerce/currency/service/persistence/impl/CommerceCurrencyPersistenceImpl.java#L4674-L4677 |
54,123 | liferay/com-liferay-commerce | commerce-price-list-service/src/main/java/com/liferay/commerce/price/list/service/impl/CommerceTierPriceEntryLocalServiceImpl.java | CommerceTierPriceEntryLocalServiceImpl.upsertCommerceTierPriceEntry | @Indexable(type = IndexableType.REINDEX)
@Override
public CommerceTierPriceEntry upsertCommerceTierPriceEntry(
long commerceTierPriceEntryId, long commercePriceEntryId,
String externalReferenceCode, BigDecimal price,
BigDecimal promoPrice, int minQuantity,
String priceEntryExternalReferenceCode,
Servic... | java | @Indexable(type = IndexableType.REINDEX)
@Override
public CommerceTierPriceEntry upsertCommerceTierPriceEntry(
long commerceTierPriceEntryId, long commercePriceEntryId,
String externalReferenceCode, BigDecimal price,
BigDecimal promoPrice, int minQuantity,
String priceEntryExternalReferenceCode,
Servic... | [
"@",
"Indexable",
"(",
"type",
"=",
"IndexableType",
".",
"REINDEX",
")",
"@",
"Override",
"public",
"CommerceTierPriceEntry",
"upsertCommerceTierPriceEntry",
"(",
"long",
"commerceTierPriceEntryId",
",",
"long",
"commercePriceEntryId",
",",
"String",
"externalReferenceCo... | This method is used to insert a new CommerceTierPriceEntry or update an
existing one
@param commerceTierPriceEntryId - <b>Only</b> used when updating an
entity; the matching one will be updated
@param commercePriceEntryId - <b>Only</b> used when adding a new entity
@param externalReferenceCode - The external identi... | [
"This",
"method",
"is",
"used",
"to",
"insert",
"a",
"new",
"CommerceTierPriceEntry",
"or",
"update",
"an",
"existing",
"one"
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-price-list-service/src/main/java/com/liferay/commerce/price/list/service/impl/CommerceTierPriceEntryLocalServiceImpl.java#L334-L413 |
54,124 | liferay/com-liferay-commerce | commerce-price-list-service/src/main/java/com/liferay/commerce/price/list/service/impl/CommercePriceEntryLocalServiceImpl.java | CommercePriceEntryLocalServiceImpl.upsertCommercePriceEntry | @Indexable(type = IndexableType.REINDEX)
@Override
public CommercePriceEntry upsertCommercePriceEntry(
long commercePriceEntryId, long cProductId, String cpInstanceUuid,
long commercePriceListId, String externalReferenceCode,
BigDecimal price, BigDecimal promoPrice,
String skuExternalReferenceCode, Servic... | java | @Indexable(type = IndexableType.REINDEX)
@Override
public CommercePriceEntry upsertCommercePriceEntry(
long commercePriceEntryId, long cProductId, String cpInstanceUuid,
long commercePriceListId, String externalReferenceCode,
BigDecimal price, BigDecimal promoPrice,
String skuExternalReferenceCode, Servic... | [
"@",
"Indexable",
"(",
"type",
"=",
"IndexableType",
".",
"REINDEX",
")",
"@",
"Override",
"public",
"CommercePriceEntry",
"upsertCommercePriceEntry",
"(",
"long",
"commercePriceEntryId",
",",
"long",
"cProductId",
",",
"String",
"cpInstanceUuid",
",",
"long",
"comm... | This method is used to insert a new CommercePriceEntry or update an
existing one
@param commercePriceEntryId - <b>Only</b> used when updating an entity
the matching one will be updated
@param cpInstanceId - <b>Only</b> used when adding a new entity
@param commercePriceListId - <b>Only</b> used when adding a new ent... | [
"This",
"method",
"is",
"used",
"to",
"insert",
"a",
"new",
"CommercePriceEntry",
"or",
"update",
"an",
"existing",
"one"
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-price-list-service/src/main/java/com/liferay/commerce/price/list/service/impl/CommercePriceEntryLocalServiceImpl.java#L557-L634 |
54,125 | liferay/com-liferay-commerce | commerce-notification-service/src/main/java/com/liferay/commerce/notification/service/base/CommerceNotificationQueueEntryLocalServiceBaseImpl.java | CommerceNotificationQueueEntryLocalServiceBaseImpl.addCommerceNotificationQueueEntry | @Indexable(type = IndexableType.REINDEX)
@Override
public CommerceNotificationQueueEntry addCommerceNotificationQueueEntry(
CommerceNotificationQueueEntry commerceNotificationQueueEntry) {
commerceNotificationQueueEntry.setNew(true);
return commerceNotificationQueueEntryPersistence.update(commerceNotificationQ... | java | @Indexable(type = IndexableType.REINDEX)
@Override
public CommerceNotificationQueueEntry addCommerceNotificationQueueEntry(
CommerceNotificationQueueEntry commerceNotificationQueueEntry) {
commerceNotificationQueueEntry.setNew(true);
return commerceNotificationQueueEntryPersistence.update(commerceNotificationQ... | [
"@",
"Indexable",
"(",
"type",
"=",
"IndexableType",
".",
"REINDEX",
")",
"@",
"Override",
"public",
"CommerceNotificationQueueEntry",
"addCommerceNotificationQueueEntry",
"(",
"CommerceNotificationQueueEntry",
"commerceNotificationQueueEntry",
")",
"{",
"commerceNotificationQu... | Adds the commerce notification queue entry to the database. Also notifies the appropriate model listeners.
@param commerceNotificationQueueEntry the commerce notification queue entry
@return the commerce notification queue entry that was added | [
"Adds",
"the",
"commerce",
"notification",
"queue",
"entry",
"to",
"the",
"database",
".",
"Also",
"notifies",
"the",
"appropriate",
"model",
"listeners",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-notification-service/src/main/java/com/liferay/commerce/notification/service/base/CommerceNotificationQueueEntryLocalServiceBaseImpl.java#L87-L94 |
54,126 | liferay/com-liferay-commerce | commerce-notification-service/src/main/java/com/liferay/commerce/notification/service/base/CommerceNotificationQueueEntryLocalServiceBaseImpl.java | CommerceNotificationQueueEntryLocalServiceBaseImpl.deleteCommerceNotificationQueueEntry | @Indexable(type = IndexableType.DELETE)
@Override
public CommerceNotificationQueueEntry deleteCommerceNotificationQueueEntry(
CommerceNotificationQueueEntry commerceNotificationQueueEntry) {
return commerceNotificationQueueEntryPersistence.remove(commerceNotificationQueueEntry);
} | java | @Indexable(type = IndexableType.DELETE)
@Override
public CommerceNotificationQueueEntry deleteCommerceNotificationQueueEntry(
CommerceNotificationQueueEntry commerceNotificationQueueEntry) {
return commerceNotificationQueueEntryPersistence.remove(commerceNotificationQueueEntry);
} | [
"@",
"Indexable",
"(",
"type",
"=",
"IndexableType",
".",
"DELETE",
")",
"@",
"Override",
"public",
"CommerceNotificationQueueEntry",
"deleteCommerceNotificationQueueEntry",
"(",
"CommerceNotificationQueueEntry",
"commerceNotificationQueueEntry",
")",
"{",
"return",
"commerce... | Deletes the commerce notification queue entry from the database. Also notifies the appropriate model listeners.
@param commerceNotificationQueueEntry the commerce notification queue entry
@return the commerce notification queue entry that was removed | [
"Deletes",
"the",
"commerce",
"notification",
"queue",
"entry",
"from",
"the",
"database",
".",
"Also",
"notifies",
"the",
"appropriate",
"model",
"listeners",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-notification-service/src/main/java/com/liferay/commerce/notification/service/base/CommerceNotificationQueueEntryLocalServiceBaseImpl.java#L129-L134 |
54,127 | liferay/com-liferay-commerce | commerce-product-api/src/main/java/com/liferay/commerce/product/model/CPDefinitionWrapper.java | CPDefinitionWrapper.getTrashEntry | @Override
public com.liferay.trash.kernel.model.TrashEntry getTrashEntry()
throws com.liferay.portal.kernel.exception.PortalException {
return _cpDefinition.getTrashEntry();
} | java | @Override
public com.liferay.trash.kernel.model.TrashEntry getTrashEntry()
throws com.liferay.portal.kernel.exception.PortalException {
return _cpDefinition.getTrashEntry();
} | [
"@",
"Override",
"public",
"com",
".",
"liferay",
".",
"trash",
".",
"kernel",
".",
"model",
".",
"TrashEntry",
"getTrashEntry",
"(",
")",
"throws",
"com",
".",
"liferay",
".",
"portal",
".",
"kernel",
".",
"exception",
".",
"PortalException",
"{",
"return... | Returns the trash entry created when this cp definition was moved to the Recycle Bin. The trash entry may belong to one of the ancestors of this cp definition.
@return the trash entry created when this cp definition was moved to the Recycle Bin | [
"Returns",
"the",
"trash",
"entry",
"created",
"when",
"this",
"cp",
"definition",
"was",
"moved",
"to",
"the",
"Recycle",
"Bin",
".",
"The",
"trash",
"entry",
"may",
"belong",
"to",
"one",
"of",
"the",
"ancestors",
"of",
"this",
"cp",
"definition",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-api/src/main/java/com/liferay/commerce/product/model/CPDefinitionWrapper.java#L988-L992 |
54,128 | liferay/com-liferay-commerce | commerce-product-api/src/main/java/com/liferay/commerce/product/model/CPDefinitionWrapper.java | CPDefinitionWrapper.getTrashHandler | @Deprecated
@Override
public com.liferay.portal.kernel.trash.TrashHandler getTrashHandler() {
return _cpDefinition.getTrashHandler();
} | java | @Deprecated
@Override
public com.liferay.portal.kernel.trash.TrashHandler getTrashHandler() {
return _cpDefinition.getTrashHandler();
} | [
"@",
"Deprecated",
"@",
"Override",
"public",
"com",
".",
"liferay",
".",
"portal",
".",
"kernel",
".",
"trash",
".",
"TrashHandler",
"getTrashHandler",
"(",
")",
"{",
"return",
"_cpDefinition",
".",
"getTrashHandler",
"(",
")",
";",
"}"
] | Returns the trash handler for this cp definition.
@return the trash handler for this cp definition
@deprecated As of 7.0.0, with no direct replacement | [
"Returns",
"the",
"trash",
"handler",
"for",
"this",
"cp",
"definition",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-api/src/main/java/com/liferay/commerce/product/model/CPDefinitionWrapper.java#L1010-L1014 |
54,129 | liferay/com-liferay-commerce | commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceSubscriptionEntryPersistenceImpl.java | CommerceSubscriptionEntryPersistenceImpl.cacheResult | @Override
public void cacheResult(CommerceSubscriptionEntry commerceSubscriptionEntry) {
entityCache.putResult(CommerceSubscriptionEntryModelImpl.ENTITY_CACHE_ENABLED,
CommerceSubscriptionEntryImpl.class,
commerceSubscriptionEntry.getPrimaryKey(), commerceSubscriptionEntry);
finderCache.putResult(FINDER_PAT... | java | @Override
public void cacheResult(CommerceSubscriptionEntry commerceSubscriptionEntry) {
entityCache.putResult(CommerceSubscriptionEntryModelImpl.ENTITY_CACHE_ENABLED,
CommerceSubscriptionEntryImpl.class,
commerceSubscriptionEntry.getPrimaryKey(), commerceSubscriptionEntry);
finderCache.putResult(FINDER_PAT... | [
"@",
"Override",
"public",
"void",
"cacheResult",
"(",
"CommerceSubscriptionEntry",
"commerceSubscriptionEntry",
")",
"{",
"entityCache",
".",
"putResult",
"(",
"CommerceSubscriptionEntryModelImpl",
".",
"ENTITY_CACHE_ENABLED",
",",
"CommerceSubscriptionEntryImpl",
".",
"clas... | Caches the commerce subscription entry in the entity cache if it is enabled.
@param commerceSubscriptionEntry the commerce subscription entry | [
"Caches",
"the",
"commerce",
"subscription",
"entry",
"in",
"the",
"entity",
"cache",
"if",
"it",
"is",
"enabled",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceSubscriptionEntryPersistenceImpl.java#L3412-L3432 |
54,130 | liferay/com-liferay-commerce | commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceSubscriptionEntryPersistenceImpl.java | CommerceSubscriptionEntryPersistenceImpl.cacheResult | @Override
public void cacheResult(
List<CommerceSubscriptionEntry> commerceSubscriptionEntries) {
for (CommerceSubscriptionEntry commerceSubscriptionEntry : commerceSubscriptionEntries) {
if (entityCache.getResult(
CommerceSubscriptionEntryModelImpl.ENTITY_CACHE_ENABLED,
CommerceSubscriptionEntryImp... | java | @Override
public void cacheResult(
List<CommerceSubscriptionEntry> commerceSubscriptionEntries) {
for (CommerceSubscriptionEntry commerceSubscriptionEntry : commerceSubscriptionEntries) {
if (entityCache.getResult(
CommerceSubscriptionEntryModelImpl.ENTITY_CACHE_ENABLED,
CommerceSubscriptionEntryImp... | [
"@",
"Override",
"public",
"void",
"cacheResult",
"(",
"List",
"<",
"CommerceSubscriptionEntry",
">",
"commerceSubscriptionEntries",
")",
"{",
"for",
"(",
"CommerceSubscriptionEntry",
"commerceSubscriptionEntry",
":",
"commerceSubscriptionEntries",
")",
"{",
"if",
"(",
... | Caches the commerce subscription entries in the entity cache if it is enabled.
@param commerceSubscriptionEntries the commerce subscription entries | [
"Caches",
"the",
"commerce",
"subscription",
"entries",
"in",
"the",
"entity",
"cache",
"if",
"it",
"is",
"enabled",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceSubscriptionEntryPersistenceImpl.java#L3439-L3453 |
54,131 | liferay/com-liferay-commerce | commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceSubscriptionEntryPersistenceImpl.java | CommerceSubscriptionEntryPersistenceImpl.clearCache | @Override
public void clearCache() {
entityCache.clearCache(CommerceSubscriptionEntryImpl.class);
finderCache.clearCache(FINDER_CLASS_NAME_ENTITY);
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
} | java | @Override
public void clearCache() {
entityCache.clearCache(CommerceSubscriptionEntryImpl.class);
finderCache.clearCache(FINDER_CLASS_NAME_ENTITY);
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
} | [
"@",
"Override",
"public",
"void",
"clearCache",
"(",
")",
"{",
"entityCache",
".",
"clearCache",
"(",
"CommerceSubscriptionEntryImpl",
".",
"class",
")",
";",
"finderCache",
".",
"clearCache",
"(",
"FINDER_CLASS_NAME_ENTITY",
")",
";",
"finderCache",
".",
"clearC... | Clears the cache for all commerce subscription entries.
<p>
The {@link EntityCache} and {@link FinderCache} are both cleared by this method.
</p> | [
"Clears",
"the",
"cache",
"for",
"all",
"commerce",
"subscription",
"entries",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceSubscriptionEntryPersistenceImpl.java#L3462-L3469 |
54,132 | liferay/com-liferay-commerce | commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceSubscriptionEntryPersistenceImpl.java | CommerceSubscriptionEntryPersistenceImpl.clearCache | @Override
public void clearCache(CommerceSubscriptionEntry commerceSubscriptionEntry) {
entityCache.removeResult(CommerceSubscriptionEntryModelImpl.ENTITY_CACHE_ENABLED,
CommerceSubscriptionEntryImpl.class,
commerceSubscriptionEntry.getPrimaryKey());
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINA... | java | @Override
public void clearCache(CommerceSubscriptionEntry commerceSubscriptionEntry) {
entityCache.removeResult(CommerceSubscriptionEntryModelImpl.ENTITY_CACHE_ENABLED,
CommerceSubscriptionEntryImpl.class,
commerceSubscriptionEntry.getPrimaryKey());
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINA... | [
"@",
"Override",
"public",
"void",
"clearCache",
"(",
"CommerceSubscriptionEntry",
"commerceSubscriptionEntry",
")",
"{",
"entityCache",
".",
"removeResult",
"(",
"CommerceSubscriptionEntryModelImpl",
".",
"ENTITY_CACHE_ENABLED",
",",
"CommerceSubscriptionEntryImpl",
".",
"cl... | Clears the cache for the commerce subscription entry.
<p>
The {@link EntityCache} and {@link FinderCache} are both cleared by this method.
</p> | [
"Clears",
"the",
"cache",
"for",
"the",
"commerce",
"subscription",
"entry",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceSubscriptionEntryPersistenceImpl.java#L3478-L3489 |
54,133 | liferay/com-liferay-commerce | commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceSubscriptionEntryPersistenceImpl.java | CommerceSubscriptionEntryPersistenceImpl.findAll | @Override
public List<CommerceSubscriptionEntry> findAll() {
return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
} | java | @Override
public List<CommerceSubscriptionEntry> findAll() {
return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
} | [
"@",
"Override",
"public",
"List",
"<",
"CommerceSubscriptionEntry",
">",
"findAll",
"(",
")",
"{",
"return",
"findAll",
"(",
"QueryUtil",
".",
"ALL_POS",
",",
"QueryUtil",
".",
"ALL_POS",
",",
"null",
")",
";",
"}"
] | Returns all the commerce subscription entries.
@return the commerce subscription entries | [
"Returns",
"all",
"the",
"commerce",
"subscription",
"entries",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceSubscriptionEntryPersistenceImpl.java#L4125-L4128 |
54,134 | liferay/com-liferay-commerce | commerce-product-service/src/main/java/com/liferay/commerce/product/service/impl/CPDefinitionLocalServiceImpl.java | CPDefinitionLocalServiceImpl.moveCPDefinitionToTrash | @Override
public CPDefinition moveCPDefinitionToTrash(
long userId, long cpDefinitionId)
throws PortalException {
CPDefinition cpDefinition = cpDefinitionPersistence.findByPrimaryKey(
cpDefinitionId);
return cpDefinitionLocalService.moveCPDefinitionToTrash(
userId, cpDefinition);
} | java | @Override
public CPDefinition moveCPDefinitionToTrash(
long userId, long cpDefinitionId)
throws PortalException {
CPDefinition cpDefinition = cpDefinitionPersistence.findByPrimaryKey(
cpDefinitionId);
return cpDefinitionLocalService.moveCPDefinitionToTrash(
userId, cpDefinition);
} | [
"@",
"Override",
"public",
"CPDefinition",
"moveCPDefinitionToTrash",
"(",
"long",
"userId",
",",
"long",
"cpDefinitionId",
")",
"throws",
"PortalException",
"{",
"CPDefinition",
"cpDefinition",
"=",
"cpDefinitionPersistence",
".",
"findByPrimaryKey",
"(",
"cpDefinitionId... | Moves the commerce product definition with the ID to the recycle bin.
@param userId the primary key of the user moving the commerce product
definition
@param cpDefinitionId the primary key of the commerce product definition
to be moved
@return the moved commerce product definition | [
"Moves",
"the",
"commerce",
"product",
"definition",
"with",
"the",
"ID",
"to",
"the",
"recycle",
"bin",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/impl/CPDefinitionLocalServiceImpl.java#L1439-L1449 |
54,135 | liferay/com-liferay-commerce | commerce-product-service/src/main/java/com/liferay/commerce/product/service/impl/CPDefinitionLocalServiceImpl.java | CPDefinitionLocalServiceImpl.restoreCPDefinitionFromTrash | @Indexable(type = IndexableType.REINDEX)
@Override
public CPDefinition restoreCPDefinitionFromTrash(
long userId, long cpDefinitionId)
throws PortalException {
CPDefinition cpDefinition = cpDefinitionPersistence.findByPrimaryKey(
cpDefinitionId);
if (!cpDefinition.isInTrash()) {
throw new RestoreEntr... | java | @Indexable(type = IndexableType.REINDEX)
@Override
public CPDefinition restoreCPDefinitionFromTrash(
long userId, long cpDefinitionId)
throws PortalException {
CPDefinition cpDefinition = cpDefinitionPersistence.findByPrimaryKey(
cpDefinitionId);
if (!cpDefinition.isInTrash()) {
throw new RestoreEntr... | [
"@",
"Indexable",
"(",
"type",
"=",
"IndexableType",
".",
"REINDEX",
")",
"@",
"Override",
"public",
"CPDefinition",
"restoreCPDefinitionFromTrash",
"(",
"long",
"userId",
",",
"long",
"cpDefinitionId",
")",
"throws",
"PortalException",
"{",
"CPDefinition",
"cpDefin... | Restores the commerce product definition with the ID from the recycle
bin.
@param userId the primary key of the user restoring the commerce product
definition
@param cpDefinitionId the primary key of the commerce product definition
to be restored
@return the restored commerce product definition from the recycle bin | [
"Restores",
"the",
"commerce",
"product",
"definition",
"with",
"the",
"ID",
"from",
"the",
"recycle",
"bin",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/impl/CPDefinitionLocalServiceImpl.java#L1461-L1483 |
54,136 | liferay/com-liferay-commerce | commerce-product-api/src/main/java/com/liferay/commerce/product/service/CPSpecificationOptionLocalServiceWrapper.java | CPSpecificationOptionLocalServiceWrapper.getCPSpecificationOption | @Override
public com.liferay.commerce.product.model.CPSpecificationOption getCPSpecificationOption(
long CPSpecificationOptionId)
throws com.liferay.portal.kernel.exception.PortalException {
return _cpSpecificationOptionLocalService.getCPSpecificationOption(CPSpecificationOptionId);
} | java | @Override
public com.liferay.commerce.product.model.CPSpecificationOption getCPSpecificationOption(
long CPSpecificationOptionId)
throws com.liferay.portal.kernel.exception.PortalException {
return _cpSpecificationOptionLocalService.getCPSpecificationOption(CPSpecificationOptionId);
} | [
"@",
"Override",
"public",
"com",
".",
"liferay",
".",
"commerce",
".",
"product",
".",
"model",
".",
"CPSpecificationOption",
"getCPSpecificationOption",
"(",
"long",
"CPSpecificationOptionId",
")",
"throws",
"com",
".",
"liferay",
".",
"portal",
".",
"kernel",
... | Returns the cp specification option with the primary key.
@param CPSpecificationOptionId the primary key of the cp specification option
@return the cp specification option
@throws PortalException if a cp specification option with the primary key could not be found | [
"Returns",
"the",
"cp",
"specification",
"option",
"with",
"the",
"primary",
"key",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-api/src/main/java/com/liferay/commerce/product/service/CPSpecificationOptionLocalServiceWrapper.java#L242-L247 |
54,137 | liferay/com-liferay-commerce | commerce-product-type-virtual-order-service/src/main/java/com/liferay/commerce/product/type/virtual/order/service/base/CommerceVirtualOrderItemServiceBaseImpl.java | CommerceVirtualOrderItemServiceBaseImpl.getCommerceVirtualOrderItemLocalService | public com.liferay.commerce.product.type.virtual.order.service.CommerceVirtualOrderItemLocalService getCommerceVirtualOrderItemLocalService() {
return commerceVirtualOrderItemLocalService;
} | java | public com.liferay.commerce.product.type.virtual.order.service.CommerceVirtualOrderItemLocalService getCommerceVirtualOrderItemLocalService() {
return commerceVirtualOrderItemLocalService;
} | [
"public",
"com",
".",
"liferay",
".",
"commerce",
".",
"product",
".",
"type",
".",
"virtual",
".",
"order",
".",
"service",
".",
"CommerceVirtualOrderItemLocalService",
"getCommerceVirtualOrderItemLocalService",
"(",
")",
"{",
"return",
"commerceVirtualOrderItemLocalSe... | Returns the commerce virtual order item local service.
@return the commerce virtual order item local service | [
"Returns",
"the",
"commerce",
"virtual",
"order",
"item",
"local",
"service",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-type-virtual-order-service/src/main/java/com/liferay/commerce/product/type/virtual/order/service/base/CommerceVirtualOrderItemServiceBaseImpl.java#L63-L65 |
54,138 | liferay/com-liferay-commerce | commerce-product-type-virtual-order-service/src/main/java/com/liferay/commerce/product/type/virtual/order/service/base/CommerceVirtualOrderItemServiceBaseImpl.java | CommerceVirtualOrderItemServiceBaseImpl.setDLAppService | public void setDLAppService(
com.liferay.document.library.kernel.service.DLAppService dlAppService) {
this.dlAppService = dlAppService;
} | java | public void setDLAppService(
com.liferay.document.library.kernel.service.DLAppService dlAppService) {
this.dlAppService = dlAppService;
} | [
"public",
"void",
"setDLAppService",
"(",
"com",
".",
"liferay",
".",
"document",
".",
"library",
".",
"kernel",
".",
"service",
".",
"DLAppService",
"dlAppService",
")",
"{",
"this",
".",
"dlAppService",
"=",
"dlAppService",
";",
"}"
] | Sets the dl app remote service.
@param dlAppService the dl app remote service | [
"Sets",
"the",
"dl",
"app",
"remote",
"service",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-type-virtual-order-service/src/main/java/com/liferay/commerce/product/type/virtual/order/service/base/CommerceVirtualOrderItemServiceBaseImpl.java#L318-L321 |
54,139 | liferay/com-liferay-commerce | commerce-price-list-service/src/main/java/com/liferay/commerce/price/list/service/persistence/impl/CommercePriceListPersistenceImpl.java | CommercePriceListPersistenceImpl.cacheResult | @Override
public void cacheResult(CommercePriceList commercePriceList) {
entityCache.putResult(CommercePriceListModelImpl.ENTITY_CACHE_ENABLED,
CommercePriceListImpl.class, commercePriceList.getPrimaryKey(),
commercePriceList);
finderCache.putResult(FINDER_PATH_FETCH_BY_UUID_G,
new Object[] {
commerc... | java | @Override
public void cacheResult(CommercePriceList commercePriceList) {
entityCache.putResult(CommercePriceListModelImpl.ENTITY_CACHE_ENABLED,
CommercePriceListImpl.class, commercePriceList.getPrimaryKey(),
commercePriceList);
finderCache.putResult(FINDER_PATH_FETCH_BY_UUID_G,
new Object[] {
commerc... | [
"@",
"Override",
"public",
"void",
"cacheResult",
"(",
"CommercePriceList",
"commercePriceList",
")",
"{",
"entityCache",
".",
"putResult",
"(",
"CommercePriceListModelImpl",
".",
"ENTITY_CACHE_ENABLED",
",",
"CommercePriceListImpl",
".",
"class",
",",
"commercePriceList"... | Caches the commerce price list in the entity cache if it is enabled.
@param commercePriceList the commerce price list | [
"Caches",
"the",
"commerce",
"price",
"list",
"in",
"the",
"entity",
"cache",
"if",
"it",
"is",
"enabled",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-price-list-service/src/main/java/com/liferay/commerce/price/list/service/persistence/impl/CommercePriceListPersistenceImpl.java#L5190-L5212 |
54,140 | liferay/com-liferay-commerce | commerce-price-list-service/src/main/java/com/liferay/commerce/price/list/service/persistence/impl/CommercePriceListPersistenceImpl.java | CommercePriceListPersistenceImpl.cacheResult | @Override
public void cacheResult(List<CommercePriceList> commercePriceLists) {
for (CommercePriceList commercePriceList : commercePriceLists) {
if (entityCache.getResult(
CommercePriceListModelImpl.ENTITY_CACHE_ENABLED,
CommercePriceListImpl.class,
commercePriceList.getPrimaryKey()) == null) {
... | java | @Override
public void cacheResult(List<CommercePriceList> commercePriceLists) {
for (CommercePriceList commercePriceList : commercePriceLists) {
if (entityCache.getResult(
CommercePriceListModelImpl.ENTITY_CACHE_ENABLED,
CommercePriceListImpl.class,
commercePriceList.getPrimaryKey()) == null) {
... | [
"@",
"Override",
"public",
"void",
"cacheResult",
"(",
"List",
"<",
"CommercePriceList",
">",
"commercePriceLists",
")",
"{",
"for",
"(",
"CommercePriceList",
"commercePriceList",
":",
"commercePriceLists",
")",
"{",
"if",
"(",
"entityCache",
".",
"getResult",
"("... | Caches the commerce price lists in the entity cache if it is enabled.
@param commercePriceLists the commerce price lists | [
"Caches",
"the",
"commerce",
"price",
"lists",
"in",
"the",
"entity",
"cache",
"if",
"it",
"is",
"enabled",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-price-list-service/src/main/java/com/liferay/commerce/price/list/service/persistence/impl/CommercePriceListPersistenceImpl.java#L5219-L5232 |
54,141 | liferay/com-liferay-commerce | commerce-price-list-service/src/main/java/com/liferay/commerce/price/list/service/persistence/impl/CommercePriceListPersistenceImpl.java | CommercePriceListPersistenceImpl.clearCache | @Override
public void clearCache() {
entityCache.clearCache(CommercePriceListImpl.class);
finderCache.clearCache(FINDER_CLASS_NAME_ENTITY);
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
} | java | @Override
public void clearCache() {
entityCache.clearCache(CommercePriceListImpl.class);
finderCache.clearCache(FINDER_CLASS_NAME_ENTITY);
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
} | [
"@",
"Override",
"public",
"void",
"clearCache",
"(",
")",
"{",
"entityCache",
".",
"clearCache",
"(",
"CommercePriceListImpl",
".",
"class",
")",
";",
"finderCache",
".",
"clearCache",
"(",
"FINDER_CLASS_NAME_ENTITY",
")",
";",
"finderCache",
".",
"clearCache",
... | Clears the cache for all commerce price lists.
<p>
The {@link EntityCache} and {@link FinderCache} are both cleared by this method.
</p> | [
"Clears",
"the",
"cache",
"for",
"all",
"commerce",
"price",
"lists",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-price-list-service/src/main/java/com/liferay/commerce/price/list/service/persistence/impl/CommercePriceListPersistenceImpl.java#L5241-L5248 |
54,142 | liferay/com-liferay-commerce | commerce-price-list-service/src/main/java/com/liferay/commerce/price/list/service/persistence/impl/CommercePriceListPersistenceImpl.java | CommercePriceListPersistenceImpl.clearCache | @Override
public void clearCache(CommercePriceList commercePriceList) {
entityCache.removeResult(CommercePriceListModelImpl.ENTITY_CACHE_ENABLED,
CommercePriceListImpl.class, commercePriceList.getPrimaryKey());
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
finderCache.clearCache(FINDER_CLAS... | java | @Override
public void clearCache(CommercePriceList commercePriceList) {
entityCache.removeResult(CommercePriceListModelImpl.ENTITY_CACHE_ENABLED,
CommercePriceListImpl.class, commercePriceList.getPrimaryKey());
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
finderCache.clearCache(FINDER_CLAS... | [
"@",
"Override",
"public",
"void",
"clearCache",
"(",
"CommercePriceList",
"commercePriceList",
")",
"{",
"entityCache",
".",
"removeResult",
"(",
"CommercePriceListModelImpl",
".",
"ENTITY_CACHE_ENABLED",
",",
"CommercePriceListImpl",
".",
"class",
",",
"commercePriceLis... | Clears the cache for the commerce price list.
<p>
The {@link EntityCache} and {@link FinderCache} are both cleared by this method.
</p> | [
"Clears",
"the",
"cache",
"for",
"the",
"commerce",
"price",
"list",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-price-list-service/src/main/java/com/liferay/commerce/price/list/service/persistence/impl/CommercePriceListPersistenceImpl.java#L5257-L5267 |
54,143 | liferay/com-liferay-commerce | commerce-price-list-service/src/main/java/com/liferay/commerce/price/list/service/persistence/impl/CommercePriceListPersistenceImpl.java | CommercePriceListPersistenceImpl.remove | @Override
public CommercePriceList remove(Serializable primaryKey)
throws NoSuchPriceListException {
Session session = null;
try {
session = openSession();
CommercePriceList commercePriceList = (CommercePriceList)session.get(CommercePriceListImpl.class,
primaryKey);
if (commercePriceList == null... | java | @Override
public CommercePriceList remove(Serializable primaryKey)
throws NoSuchPriceListException {
Session session = null;
try {
session = openSession();
CommercePriceList commercePriceList = (CommercePriceList)session.get(CommercePriceListImpl.class,
primaryKey);
if (commercePriceList == null... | [
"@",
"Override",
"public",
"CommercePriceList",
"remove",
"(",
"Serializable",
"primaryKey",
")",
"throws",
"NoSuchPriceListException",
"{",
"Session",
"session",
"=",
"null",
";",
"try",
"{",
"session",
"=",
"openSession",
"(",
")",
";",
"CommercePriceList",
"com... | Removes the commerce price list with the primary key from the database. Also notifies the appropriate model listeners.
@param primaryKey the primary key of the commerce price list
@return the commerce price list that was removed
@throws NoSuchPriceListException if a commerce price list with the primary key could not b... | [
"Removes",
"the",
"commerce",
"price",
"list",
"with",
"the",
"primary",
"key",
"from",
"the",
"database",
".",
"Also",
"notifies",
"the",
"appropriate",
"model",
"listeners",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-price-list-service/src/main/java/com/liferay/commerce/price/list/service/persistence/impl/CommercePriceListPersistenceImpl.java#L5426-L5457 |
54,144 | liferay/com-liferay-commerce | commerce-price-list-service/src/main/java/com/liferay/commerce/price/list/service/persistence/impl/CommercePriceListPersistenceImpl.java | CommercePriceListPersistenceImpl.findAll | @Override
public List<CommercePriceList> findAll() {
return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
} | java | @Override
public List<CommercePriceList> findAll() {
return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
} | [
"@",
"Override",
"public",
"List",
"<",
"CommercePriceList",
">",
"findAll",
"(",
")",
"{",
"return",
"findAll",
"(",
"QueryUtil",
".",
"ALL_POS",
",",
"QueryUtil",
".",
"ALL_POS",
",",
"null",
")",
";",
"}"
] | Returns all the commerce price lists.
@return the commerce price lists | [
"Returns",
"all",
"the",
"commerce",
"price",
"lists",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-price-list-service/src/main/java/com/liferay/commerce/price/list/service/persistence/impl/CommercePriceListPersistenceImpl.java#L5942-L5945 |
54,145 | liferay/com-liferay-commerce | commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CProductLocalServiceBaseImpl.java | CProductLocalServiceBaseImpl.deleteCProduct | @Indexable(type = IndexableType.DELETE)
@Override
public CProduct deleteCProduct(long CProductId) throws PortalException {
return cProductPersistence.remove(CProductId);
} | java | @Indexable(type = IndexableType.DELETE)
@Override
public CProduct deleteCProduct(long CProductId) throws PortalException {
return cProductPersistence.remove(CProductId);
} | [
"@",
"Indexable",
"(",
"type",
"=",
"IndexableType",
".",
"DELETE",
")",
"@",
"Override",
"public",
"CProduct",
"deleteCProduct",
"(",
"long",
"CProductId",
")",
"throws",
"PortalException",
"{",
"return",
"cProductPersistence",
".",
"remove",
"(",
"CProductId",
... | Deletes the c product with the primary key from the database. Also notifies the appropriate model listeners.
@param CProductId the primary key of the c product
@return the c product that was removed
@throws PortalException if a c product with the primary key could not be found | [
"Deletes",
"the",
"c",
"product",
"with",
"the",
"primary",
"key",
"from",
"the",
"database",
".",
"Also",
"notifies",
"the",
"appropriate",
"model",
"listeners",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CProductLocalServiceBaseImpl.java#L138-L142 |
54,146 | liferay/com-liferay-commerce | commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CProductLocalServiceBaseImpl.java | CProductLocalServiceBaseImpl.deleteCProduct | @Indexable(type = IndexableType.DELETE)
@Override
public CProduct deleteCProduct(CProduct cProduct) {
return cProductPersistence.remove(cProduct);
} | java | @Indexable(type = IndexableType.DELETE)
@Override
public CProduct deleteCProduct(CProduct cProduct) {
return cProductPersistence.remove(cProduct);
} | [
"@",
"Indexable",
"(",
"type",
"=",
"IndexableType",
".",
"DELETE",
")",
"@",
"Override",
"public",
"CProduct",
"deleteCProduct",
"(",
"CProduct",
"cProduct",
")",
"{",
"return",
"cProductPersistence",
".",
"remove",
"(",
"cProduct",
")",
";",
"}"
] | Deletes the c product from the database. Also notifies the appropriate model listeners.
@param cProduct the c product
@return the c product that was removed | [
"Deletes",
"the",
"c",
"product",
"from",
"the",
"database",
".",
"Also",
"notifies",
"the",
"appropriate",
"model",
"listeners",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CProductLocalServiceBaseImpl.java#L150-L154 |
54,147 | liferay/com-liferay-commerce | commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CProductLocalServiceBaseImpl.java | CProductLocalServiceBaseImpl.getCProductsByUuidAndCompanyId | @Override
public List<CProduct> getCProductsByUuidAndCompanyId(String uuid,
long companyId, int start, int end,
OrderByComparator<CProduct> orderByComparator) {
return cProductPersistence.findByUuid_C(uuid, companyId, start, end,
orderByComparator);
} | java | @Override
public List<CProduct> getCProductsByUuidAndCompanyId(String uuid,
long companyId, int start, int end,
OrderByComparator<CProduct> orderByComparator) {
return cProductPersistence.findByUuid_C(uuid, companyId, start, end,
orderByComparator);
} | [
"@",
"Override",
"public",
"List",
"<",
"CProduct",
">",
"getCProductsByUuidAndCompanyId",
"(",
"String",
"uuid",
",",
"long",
"companyId",
",",
"int",
"start",
",",
"int",
"end",
",",
"OrderByComparator",
"<",
"CProduct",
">",
"orderByComparator",
")",
"{",
"... | Returns a range of c products matching the UUID and company.
@param uuid the UUID of the c products
@param companyId the primary key of the company
@param start the lower bound of the range of c products
@param end the upper bound of the range of c products (not inclusive)
@param orderByComparator the comparator to or... | [
"Returns",
"a",
"range",
"of",
"c",
"products",
"matching",
"the",
"UUID",
"and",
"company",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CProductLocalServiceBaseImpl.java#L391-L397 |
54,148 | liferay/com-liferay-commerce | commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceShippingMethodPersistenceImpl.java | CommerceShippingMethodPersistenceImpl.cacheResult | @Override
public void cacheResult(CommerceShippingMethod commerceShippingMethod) {
entityCache.putResult(CommerceShippingMethodModelImpl.ENTITY_CACHE_ENABLED,
CommerceShippingMethodImpl.class,
commerceShippingMethod.getPrimaryKey(), commerceShippingMethod);
finderCache.putResult(FINDER_PATH_FETCH_BY_G_E,
... | java | @Override
public void cacheResult(CommerceShippingMethod commerceShippingMethod) {
entityCache.putResult(CommerceShippingMethodModelImpl.ENTITY_CACHE_ENABLED,
CommerceShippingMethodImpl.class,
commerceShippingMethod.getPrimaryKey(), commerceShippingMethod);
finderCache.putResult(FINDER_PATH_FETCH_BY_G_E,
... | [
"@",
"Override",
"public",
"void",
"cacheResult",
"(",
"CommerceShippingMethod",
"commerceShippingMethod",
")",
"{",
"entityCache",
".",
"putResult",
"(",
"CommerceShippingMethodModelImpl",
".",
"ENTITY_CACHE_ENABLED",
",",
"CommerceShippingMethodImpl",
".",
"class",
",",
... | Caches the commerce shipping method in the entity cache if it is enabled.
@param commerceShippingMethod the commerce shipping method | [
"Caches",
"the",
"commerce",
"shipping",
"method",
"in",
"the",
"entity",
"cache",
"if",
"it",
"is",
"enabled",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceShippingMethodPersistenceImpl.java#L1433-L1446 |
54,149 | liferay/com-liferay-commerce | commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceShippingMethodPersistenceImpl.java | CommerceShippingMethodPersistenceImpl.cacheResult | @Override
public void cacheResult(
List<CommerceShippingMethod> commerceShippingMethods) {
for (CommerceShippingMethod commerceShippingMethod : commerceShippingMethods) {
if (entityCache.getResult(
CommerceShippingMethodModelImpl.ENTITY_CACHE_ENABLED,
CommerceShippingMethodImpl.class,
commerce... | java | @Override
public void cacheResult(
List<CommerceShippingMethod> commerceShippingMethods) {
for (CommerceShippingMethod commerceShippingMethod : commerceShippingMethods) {
if (entityCache.getResult(
CommerceShippingMethodModelImpl.ENTITY_CACHE_ENABLED,
CommerceShippingMethodImpl.class,
commerce... | [
"@",
"Override",
"public",
"void",
"cacheResult",
"(",
"List",
"<",
"CommerceShippingMethod",
">",
"commerceShippingMethods",
")",
"{",
"for",
"(",
"CommerceShippingMethod",
"commerceShippingMethod",
":",
"commerceShippingMethods",
")",
"{",
"if",
"(",
"entityCache",
... | Caches the commerce shipping methods in the entity cache if it is enabled.
@param commerceShippingMethods the commerce shipping methods | [
"Caches",
"the",
"commerce",
"shipping",
"methods",
"in",
"the",
"entity",
"cache",
"if",
"it",
"is",
"enabled",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceShippingMethodPersistenceImpl.java#L1453-L1467 |
54,150 | liferay/com-liferay-commerce | commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceShippingMethodPersistenceImpl.java | CommerceShippingMethodPersistenceImpl.clearCache | @Override
public void clearCache() {
entityCache.clearCache(CommerceShippingMethodImpl.class);
finderCache.clearCache(FINDER_CLASS_NAME_ENTITY);
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
} | java | @Override
public void clearCache() {
entityCache.clearCache(CommerceShippingMethodImpl.class);
finderCache.clearCache(FINDER_CLASS_NAME_ENTITY);
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
} | [
"@",
"Override",
"public",
"void",
"clearCache",
"(",
")",
"{",
"entityCache",
".",
"clearCache",
"(",
"CommerceShippingMethodImpl",
".",
"class",
")",
";",
"finderCache",
".",
"clearCache",
"(",
"FINDER_CLASS_NAME_ENTITY",
")",
";",
"finderCache",
".",
"clearCach... | Clears the cache for all commerce shipping methods.
<p>
The {@link EntityCache} and {@link FinderCache} are both cleared by this method.
</p> | [
"Clears",
"the",
"cache",
"for",
"all",
"commerce",
"shipping",
"methods",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceShippingMethodPersistenceImpl.java#L1476-L1483 |
54,151 | liferay/com-liferay-commerce | commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceShippingMethodPersistenceImpl.java | CommerceShippingMethodPersistenceImpl.clearCache | @Override
public void clearCache(CommerceShippingMethod commerceShippingMethod) {
entityCache.removeResult(CommerceShippingMethodModelImpl.ENTITY_CACHE_ENABLED,
CommerceShippingMethodImpl.class,
commerceShippingMethod.getPrimaryKey());
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
finder... | java | @Override
public void clearCache(CommerceShippingMethod commerceShippingMethod) {
entityCache.removeResult(CommerceShippingMethodModelImpl.ENTITY_CACHE_ENABLED,
CommerceShippingMethodImpl.class,
commerceShippingMethod.getPrimaryKey());
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
finder... | [
"@",
"Override",
"public",
"void",
"clearCache",
"(",
"CommerceShippingMethod",
"commerceShippingMethod",
")",
"{",
"entityCache",
".",
"removeResult",
"(",
"CommerceShippingMethodModelImpl",
".",
"ENTITY_CACHE_ENABLED",
",",
"CommerceShippingMethodImpl",
".",
"class",
",",... | Clears the cache for the commerce shipping method.
<p>
The {@link EntityCache} and {@link FinderCache} are both cleared by this method.
</p> | [
"Clears",
"the",
"cache",
"for",
"the",
"commerce",
"shipping",
"method",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceShippingMethodPersistenceImpl.java#L1492-L1503 |
54,152 | liferay/com-liferay-commerce | commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceShippingMethodPersistenceImpl.java | CommerceShippingMethodPersistenceImpl.findAll | @Override
public List<CommerceShippingMethod> findAll() {
return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
} | java | @Override
public List<CommerceShippingMethod> findAll() {
return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
} | [
"@",
"Override",
"public",
"List",
"<",
"CommerceShippingMethod",
">",
"findAll",
"(",
")",
"{",
"return",
"findAll",
"(",
"QueryUtil",
".",
"ALL_POS",
",",
"QueryUtil",
".",
"ALL_POS",
",",
"null",
")",
";",
"}"
] | Returns all the commerce shipping methods.
@return the commerce shipping methods | [
"Returns",
"all",
"the",
"commerce",
"shipping",
"methods",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceShippingMethodPersistenceImpl.java#L2007-L2010 |
54,153 | liferay/com-liferay-commerce | commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceOrderNotePersistenceImpl.java | CommerceOrderNotePersistenceImpl.cacheResult | @Override
public void cacheResult(CommerceOrderNote commerceOrderNote) {
entityCache.putResult(CommerceOrderNoteModelImpl.ENTITY_CACHE_ENABLED,
CommerceOrderNoteImpl.class, commerceOrderNote.getPrimaryKey(),
commerceOrderNote);
finderCache.putResult(FINDER_PATH_FETCH_BY_C_ERC,
new Object[] {
commerce... | java | @Override
public void cacheResult(CommerceOrderNote commerceOrderNote) {
entityCache.putResult(CommerceOrderNoteModelImpl.ENTITY_CACHE_ENABLED,
CommerceOrderNoteImpl.class, commerceOrderNote.getPrimaryKey(),
commerceOrderNote);
finderCache.putResult(FINDER_PATH_FETCH_BY_C_ERC,
new Object[] {
commerce... | [
"@",
"Override",
"public",
"void",
"cacheResult",
"(",
"CommerceOrderNote",
"commerceOrderNote",
")",
"{",
"entityCache",
".",
"putResult",
"(",
"CommerceOrderNoteModelImpl",
".",
"ENTITY_CACHE_ENABLED",
",",
"CommerceOrderNoteImpl",
".",
"class",
",",
"commerceOrderNote"... | Caches the commerce order note in the entity cache if it is enabled.
@param commerceOrderNote the commerce order note | [
"Caches",
"the",
"commerce",
"order",
"note",
"in",
"the",
"entity",
"cache",
"if",
"it",
"is",
"enabled",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceOrderNotePersistenceImpl.java#L1441-L1454 |
54,154 | liferay/com-liferay-commerce | commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceOrderNotePersistenceImpl.java | CommerceOrderNotePersistenceImpl.cacheResult | @Override
public void cacheResult(List<CommerceOrderNote> commerceOrderNotes) {
for (CommerceOrderNote commerceOrderNote : commerceOrderNotes) {
if (entityCache.getResult(
CommerceOrderNoteModelImpl.ENTITY_CACHE_ENABLED,
CommerceOrderNoteImpl.class,
commerceOrderNote.getPrimaryKey()) == null) {
... | java | @Override
public void cacheResult(List<CommerceOrderNote> commerceOrderNotes) {
for (CommerceOrderNote commerceOrderNote : commerceOrderNotes) {
if (entityCache.getResult(
CommerceOrderNoteModelImpl.ENTITY_CACHE_ENABLED,
CommerceOrderNoteImpl.class,
commerceOrderNote.getPrimaryKey()) == null) {
... | [
"@",
"Override",
"public",
"void",
"cacheResult",
"(",
"List",
"<",
"CommerceOrderNote",
">",
"commerceOrderNotes",
")",
"{",
"for",
"(",
"CommerceOrderNote",
"commerceOrderNote",
":",
"commerceOrderNotes",
")",
"{",
"if",
"(",
"entityCache",
".",
"getResult",
"("... | Caches the commerce order notes in the entity cache if it is enabled.
@param commerceOrderNotes the commerce order notes | [
"Caches",
"the",
"commerce",
"order",
"notes",
"in",
"the",
"entity",
"cache",
"if",
"it",
"is",
"enabled",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceOrderNotePersistenceImpl.java#L1461-L1474 |
54,155 | liferay/com-liferay-commerce | commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceOrderNotePersistenceImpl.java | CommerceOrderNotePersistenceImpl.clearCache | @Override
public void clearCache() {
entityCache.clearCache(CommerceOrderNoteImpl.class);
finderCache.clearCache(FINDER_CLASS_NAME_ENTITY);
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
} | java | @Override
public void clearCache() {
entityCache.clearCache(CommerceOrderNoteImpl.class);
finderCache.clearCache(FINDER_CLASS_NAME_ENTITY);
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
} | [
"@",
"Override",
"public",
"void",
"clearCache",
"(",
")",
"{",
"entityCache",
".",
"clearCache",
"(",
"CommerceOrderNoteImpl",
".",
"class",
")",
";",
"finderCache",
".",
"clearCache",
"(",
"FINDER_CLASS_NAME_ENTITY",
")",
";",
"finderCache",
".",
"clearCache",
... | Clears the cache for all commerce order notes.
<p>
The {@link EntityCache} and {@link FinderCache} are both cleared by this method.
</p> | [
"Clears",
"the",
"cache",
"for",
"all",
"commerce",
"order",
"notes",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceOrderNotePersistenceImpl.java#L1483-L1490 |
54,156 | liferay/com-liferay-commerce | commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceOrderNotePersistenceImpl.java | CommerceOrderNotePersistenceImpl.clearCache | @Override
public void clearCache(CommerceOrderNote commerceOrderNote) {
entityCache.removeResult(CommerceOrderNoteModelImpl.ENTITY_CACHE_ENABLED,
CommerceOrderNoteImpl.class, commerceOrderNote.getPrimaryKey());
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
finderCache.clearCache(FINDER_CLAS... | java | @Override
public void clearCache(CommerceOrderNote commerceOrderNote) {
entityCache.removeResult(CommerceOrderNoteModelImpl.ENTITY_CACHE_ENABLED,
CommerceOrderNoteImpl.class, commerceOrderNote.getPrimaryKey());
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
finderCache.clearCache(FINDER_CLAS... | [
"@",
"Override",
"public",
"void",
"clearCache",
"(",
"CommerceOrderNote",
"commerceOrderNote",
")",
"{",
"entityCache",
".",
"removeResult",
"(",
"CommerceOrderNoteModelImpl",
".",
"ENTITY_CACHE_ENABLED",
",",
"CommerceOrderNoteImpl",
".",
"class",
",",
"commerceOrderNot... | Clears the cache for the commerce order note.
<p>
The {@link EntityCache} and {@link FinderCache} are both cleared by this method.
</p> | [
"Clears",
"the",
"cache",
"for",
"the",
"commerce",
"order",
"note",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceOrderNotePersistenceImpl.java#L1499-L1509 |
54,157 | liferay/com-liferay-commerce | commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceOrderNotePersistenceImpl.java | CommerceOrderNotePersistenceImpl.findAll | @Override
public List<CommerceOrderNote> findAll() {
return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
} | java | @Override
public List<CommerceOrderNote> findAll() {
return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
} | [
"@",
"Override",
"public",
"List",
"<",
"CommerceOrderNote",
">",
"findAll",
"(",
")",
"{",
"return",
"findAll",
"(",
"QueryUtil",
".",
"ALL_POS",
",",
"QueryUtil",
".",
"ALL_POS",
",",
"null",
")",
";",
"}"
] | Returns all the commerce order notes.
@return the commerce order notes | [
"Returns",
"all",
"the",
"commerce",
"order",
"notes",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceOrderNotePersistenceImpl.java#L2011-L2014 |
54,158 | liferay/com-liferay-commerce | commerce-user-segment-service/src/main/java/com/liferay/commerce/user/segment/service/base/CommerceUserSegmentEntryServiceBaseImpl.java | CommerceUserSegmentEntryServiceBaseImpl.setCommerceUserSegmentCriterionService | public void setCommerceUserSegmentCriterionService(
com.liferay.commerce.user.segment.service.CommerceUserSegmentCriterionService commerceUserSegmentCriterionService) {
this.commerceUserSegmentCriterionService = commerceUserSegmentCriterionService;
} | java | public void setCommerceUserSegmentCriterionService(
com.liferay.commerce.user.segment.service.CommerceUserSegmentCriterionService commerceUserSegmentCriterionService) {
this.commerceUserSegmentCriterionService = commerceUserSegmentCriterionService;
} | [
"public",
"void",
"setCommerceUserSegmentCriterionService",
"(",
"com",
".",
"liferay",
".",
"commerce",
".",
"user",
".",
"segment",
".",
"service",
".",
"CommerceUserSegmentCriterionService",
"commerceUserSegmentCriterionService",
")",
"{",
"this",
".",
"commerceUserSeg... | Sets the commerce user segment criterion remote service.
@param commerceUserSegmentCriterionService the commerce user segment criterion remote service | [
"Sets",
"the",
"commerce",
"user",
"segment",
"criterion",
"remote",
"service",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-user-segment-service/src/main/java/com/liferay/commerce/user/segment/service/base/CommerceUserSegmentEntryServiceBaseImpl.java#L95-L98 |
54,159 | liferay/com-liferay-commerce | commerce-user-segment-service/src/main/java/com/liferay/commerce/user/segment/service/base/CommerceUserSegmentEntryServiceBaseImpl.java | CommerceUserSegmentEntryServiceBaseImpl.setGroupLocalService | public void setGroupLocalService(
com.liferay.portal.kernel.service.GroupLocalService groupLocalService) {
this.groupLocalService = groupLocalService;
} | java | public void setGroupLocalService(
com.liferay.portal.kernel.service.GroupLocalService groupLocalService) {
this.groupLocalService = groupLocalService;
} | [
"public",
"void",
"setGroupLocalService",
"(",
"com",
".",
"liferay",
".",
"portal",
".",
"kernel",
".",
"service",
".",
"GroupLocalService",
"groupLocalService",
")",
"{",
"this",
".",
"groupLocalService",
"=",
"groupLocalService",
";",
"}"
] | Sets the group local service.
@param groupLocalService the group local service | [
"Sets",
"the",
"group",
"local",
"service",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-user-segment-service/src/main/java/com/liferay/commerce/user/segment/service/base/CommerceUserSegmentEntryServiceBaseImpl.java#L266-L269 |
54,160 | liferay/com-liferay-commerce | commerce-user-segment-service/src/main/java/com/liferay/commerce/user/segment/service/base/CommerceUserSegmentEntryServiceBaseImpl.java | CommerceUserSegmentEntryServiceBaseImpl.setGroupService | public void setGroupService(
com.liferay.portal.kernel.service.GroupService groupService) {
this.groupService = groupService;
} | java | public void setGroupService(
com.liferay.portal.kernel.service.GroupService groupService) {
this.groupService = groupService;
} | [
"public",
"void",
"setGroupService",
"(",
"com",
".",
"liferay",
".",
"portal",
".",
"kernel",
".",
"service",
".",
"GroupService",
"groupService",
")",
"{",
"this",
".",
"groupService",
"=",
"groupService",
";",
"}"
] | Sets the group remote service.
@param groupService the group remote service | [
"Sets",
"the",
"group",
"remote",
"service",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-user-segment-service/src/main/java/com/liferay/commerce/user/segment/service/base/CommerceUserSegmentEntryServiceBaseImpl.java#L285-L288 |
54,161 | liferay/com-liferay-commerce | commerce-user-segment-service/src/main/java/com/liferay/commerce/user/segment/service/base/CommerceUserSegmentEntryServiceBaseImpl.java | CommerceUserSegmentEntryServiceBaseImpl.setRoleLocalService | public void setRoleLocalService(
com.liferay.portal.kernel.service.RoleLocalService roleLocalService) {
this.roleLocalService = roleLocalService;
} | java | public void setRoleLocalService(
com.liferay.portal.kernel.service.RoleLocalService roleLocalService) {
this.roleLocalService = roleLocalService;
} | [
"public",
"void",
"setRoleLocalService",
"(",
"com",
".",
"liferay",
".",
"portal",
".",
"kernel",
".",
"service",
".",
"RoleLocalService",
"roleLocalService",
")",
"{",
"this",
".",
"roleLocalService",
"=",
"roleLocalService",
";",
"}"
] | Sets the role local service.
@param roleLocalService the role local service | [
"Sets",
"the",
"role",
"local",
"service",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-user-segment-service/src/main/java/com/liferay/commerce/user/segment/service/base/CommerceUserSegmentEntryServiceBaseImpl.java#L341-L344 |
54,162 | liferay/com-liferay-commerce | commerce-user-segment-service/src/main/java/com/liferay/commerce/user/segment/service/base/CommerceUserSegmentEntryServiceBaseImpl.java | CommerceUserSegmentEntryServiceBaseImpl.setRoleService | public void setRoleService(
com.liferay.portal.kernel.service.RoleService roleService) {
this.roleService = roleService;
} | java | public void setRoleService(
com.liferay.portal.kernel.service.RoleService roleService) {
this.roleService = roleService;
} | [
"public",
"void",
"setRoleService",
"(",
"com",
".",
"liferay",
".",
"portal",
".",
"kernel",
".",
"service",
".",
"RoleService",
"roleService",
")",
"{",
"this",
".",
"roleService",
"=",
"roleService",
";",
"}"
] | Sets the role remote service.
@param roleService the role remote service | [
"Sets",
"the",
"role",
"remote",
"service",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-user-segment-service/src/main/java/com/liferay/commerce/user/segment/service/base/CommerceUserSegmentEntryServiceBaseImpl.java#L360-L363 |
54,163 | liferay/com-liferay-commerce | commerce-product-api/src/main/java/com/liferay/commerce/product/service/CPRuleAssetCategoryRelLocalServiceWrapper.java | CPRuleAssetCategoryRelLocalServiceWrapper.getCPRuleAssetCategoryRel | @Override
public com.liferay.commerce.product.model.CPRuleAssetCategoryRel getCPRuleAssetCategoryRel(
long CPRuleAssetCategoryRelId)
throws com.liferay.portal.kernel.exception.PortalException {
return _cpRuleAssetCategoryRelLocalService.getCPRuleAssetCategoryRel(CPRuleAssetCategoryRelId);
} | java | @Override
public com.liferay.commerce.product.model.CPRuleAssetCategoryRel getCPRuleAssetCategoryRel(
long CPRuleAssetCategoryRelId)
throws com.liferay.portal.kernel.exception.PortalException {
return _cpRuleAssetCategoryRelLocalService.getCPRuleAssetCategoryRel(CPRuleAssetCategoryRelId);
} | [
"@",
"Override",
"public",
"com",
".",
"liferay",
".",
"commerce",
".",
"product",
".",
"model",
".",
"CPRuleAssetCategoryRel",
"getCPRuleAssetCategoryRel",
"(",
"long",
"CPRuleAssetCategoryRelId",
")",
"throws",
"com",
".",
"liferay",
".",
"portal",
".",
"kernel"... | Returns the cp rule asset category rel with the primary key.
@param CPRuleAssetCategoryRelId the primary key of the cp rule asset category rel
@return the cp rule asset category rel
@throws PortalException if a cp rule asset category rel with the primary key could not be found | [
"Returns",
"the",
"cp",
"rule",
"asset",
"category",
"rel",
"with",
"the",
"primary",
"key",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-api/src/main/java/com/liferay/commerce/product/service/CPRuleAssetCategoryRelLocalServiceWrapper.java#L228-L233 |
54,164 | liferay/com-liferay-commerce | commerce-shipping-engine-fixed-service/src/main/java/com/liferay/commerce/shipping/engine/fixed/service/base/CommerceShippingFixedOptionLocalServiceBaseImpl.java | CommerceShippingFixedOptionLocalServiceBaseImpl.addCommerceShippingFixedOption | @Indexable(type = IndexableType.REINDEX)
@Override
public CommerceShippingFixedOption addCommerceShippingFixedOption(
CommerceShippingFixedOption commerceShippingFixedOption) {
commerceShippingFixedOption.setNew(true);
return commerceShippingFixedOptionPersistence.update(commerceShippingFixedOption);
} | java | @Indexable(type = IndexableType.REINDEX)
@Override
public CommerceShippingFixedOption addCommerceShippingFixedOption(
CommerceShippingFixedOption commerceShippingFixedOption) {
commerceShippingFixedOption.setNew(true);
return commerceShippingFixedOptionPersistence.update(commerceShippingFixedOption);
} | [
"@",
"Indexable",
"(",
"type",
"=",
"IndexableType",
".",
"REINDEX",
")",
"@",
"Override",
"public",
"CommerceShippingFixedOption",
"addCommerceShippingFixedOption",
"(",
"CommerceShippingFixedOption",
"commerceShippingFixedOption",
")",
"{",
"commerceShippingFixedOption",
".... | Adds the commerce shipping fixed option to the database. Also notifies the appropriate model listeners.
@param commerceShippingFixedOption the commerce shipping fixed option
@return the commerce shipping fixed option that was added | [
"Adds",
"the",
"commerce",
"shipping",
"fixed",
"option",
"to",
"the",
"database",
".",
"Also",
"notifies",
"the",
"appropriate",
"model",
"listeners",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-shipping-engine-fixed-service/src/main/java/com/liferay/commerce/shipping/engine/fixed/service/base/CommerceShippingFixedOptionLocalServiceBaseImpl.java#L85-L92 |
54,165 | liferay/com-liferay-commerce | commerce-shipping-engine-fixed-service/src/main/java/com/liferay/commerce/shipping/engine/fixed/service/base/CommerceShippingFixedOptionLocalServiceBaseImpl.java | CommerceShippingFixedOptionLocalServiceBaseImpl.updateCommerceShippingFixedOption | @Indexable(type = IndexableType.REINDEX)
@Override
public CommerceShippingFixedOption updateCommerceShippingFixedOption(
CommerceShippingFixedOption commerceShippingFixedOption) {
return commerceShippingFixedOptionPersistence.update(commerceShippingFixedOption);
} | java | @Indexable(type = IndexableType.REINDEX)
@Override
public CommerceShippingFixedOption updateCommerceShippingFixedOption(
CommerceShippingFixedOption commerceShippingFixedOption) {
return commerceShippingFixedOptionPersistence.update(commerceShippingFixedOption);
} | [
"@",
"Indexable",
"(",
"type",
"=",
"IndexableType",
".",
"REINDEX",
")",
"@",
"Override",
"public",
"CommerceShippingFixedOption",
"updateCommerceShippingFixedOption",
"(",
"CommerceShippingFixedOption",
"commerceShippingFixedOption",
")",
"{",
"return",
"commerceShippingFix... | Updates the commerce shipping fixed option in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
@param commerceShippingFixedOption the commerce shipping fixed option
@return the commerce shipping fixed option that was updated | [
"Updates",
"the",
"commerce",
"shipping",
"fixed",
"option",
"in",
"the",
"database",
"or",
"adds",
"it",
"if",
"it",
"does",
"not",
"yet",
"exist",
".",
"Also",
"notifies",
"the",
"appropriate",
"model",
"listeners",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-shipping-engine-fixed-service/src/main/java/com/liferay/commerce/shipping/engine/fixed/service/base/CommerceShippingFixedOptionLocalServiceBaseImpl.java#L322-L327 |
54,166 | liferay/com-liferay-commerce | commerce-service/src/main/java/com/liferay/commerce/service/base/CommerceAvailabilityEstimateLocalServiceBaseImpl.java | CommerceAvailabilityEstimateLocalServiceBaseImpl.getCommerceAvailabilityEstimatesByUuidAndCompanyId | @Override
public List<CommerceAvailabilityEstimate> getCommerceAvailabilityEstimatesByUuidAndCompanyId(
String uuid, long companyId, int start, int end,
OrderByComparator<CommerceAvailabilityEstimate> orderByComparator) {
return commerceAvailabilityEstimatePersistence.findByUuid_C(uuid,
companyId, start, end,... | java | @Override
public List<CommerceAvailabilityEstimate> getCommerceAvailabilityEstimatesByUuidAndCompanyId(
String uuid, long companyId, int start, int end,
OrderByComparator<CommerceAvailabilityEstimate> orderByComparator) {
return commerceAvailabilityEstimatePersistence.findByUuid_C(uuid,
companyId, start, end,... | [
"@",
"Override",
"public",
"List",
"<",
"CommerceAvailabilityEstimate",
">",
"getCommerceAvailabilityEstimatesByUuidAndCompanyId",
"(",
"String",
"uuid",
",",
"long",
"companyId",
",",
"int",
"start",
",",
"int",
"end",
",",
"OrderByComparator",
"<",
"CommerceAvailabili... | Returns a range of commerce availability estimates matching the UUID and company.
@param uuid the UUID of the commerce availability estimates
@param companyId the primary key of the company
@param start the lower bound of the range of commerce availability estimates
@param end the upper bound of the range of commerce ... | [
"Returns",
"a",
"range",
"of",
"commerce",
"availability",
"estimates",
"matching",
"the",
"UUID",
"and",
"company",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-service/src/main/java/com/liferay/commerce/service/base/CommerceAvailabilityEstimateLocalServiceBaseImpl.java#L412-L418 |
54,167 | liferay/com-liferay-commerce | commerce-tax-engine-fixed-service/src/main/java/com/liferay/commerce/tax/engine/fixed/service/persistence/impl/CommerceTaxFixedRatePersistenceImpl.java | CommerceTaxFixedRatePersistenceImpl.cacheResult | @Override
public void cacheResult(CommerceTaxFixedRate commerceTaxFixedRate) {
entityCache.putResult(CommerceTaxFixedRateModelImpl.ENTITY_CACHE_ENABLED,
CommerceTaxFixedRateImpl.class,
commerceTaxFixedRate.getPrimaryKey(), commerceTaxFixedRate);
finderCache.putResult(FINDER_PATH_FETCH_BY_C_C,
new Object[... | java | @Override
public void cacheResult(CommerceTaxFixedRate commerceTaxFixedRate) {
entityCache.putResult(CommerceTaxFixedRateModelImpl.ENTITY_CACHE_ENABLED,
CommerceTaxFixedRateImpl.class,
commerceTaxFixedRate.getPrimaryKey(), commerceTaxFixedRate);
finderCache.putResult(FINDER_PATH_FETCH_BY_C_C,
new Object[... | [
"@",
"Override",
"public",
"void",
"cacheResult",
"(",
"CommerceTaxFixedRate",
"commerceTaxFixedRate",
")",
"{",
"entityCache",
".",
"putResult",
"(",
"CommerceTaxFixedRateModelImpl",
".",
"ENTITY_CACHE_ENABLED",
",",
"CommerceTaxFixedRateImpl",
".",
"class",
",",
"commer... | Caches the commerce tax fixed rate in the entity cache if it is enabled.
@param commerceTaxFixedRate the commerce tax fixed rate | [
"Caches",
"the",
"commerce",
"tax",
"fixed",
"rate",
"in",
"the",
"entity",
"cache",
"if",
"it",
"is",
"enabled",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-tax-engine-fixed-service/src/main/java/com/liferay/commerce/tax/engine/fixed/service/persistence/impl/CommerceTaxFixedRatePersistenceImpl.java#L1379-L1392 |
54,168 | liferay/com-liferay-commerce | commerce-tax-engine-fixed-service/src/main/java/com/liferay/commerce/tax/engine/fixed/service/persistence/impl/CommerceTaxFixedRatePersistenceImpl.java | CommerceTaxFixedRatePersistenceImpl.cacheResult | @Override
public void cacheResult(List<CommerceTaxFixedRate> commerceTaxFixedRates) {
for (CommerceTaxFixedRate commerceTaxFixedRate : commerceTaxFixedRates) {
if (entityCache.getResult(
CommerceTaxFixedRateModelImpl.ENTITY_CACHE_ENABLED,
CommerceTaxFixedRateImpl.class,
commerceTaxFixedRate.getP... | java | @Override
public void cacheResult(List<CommerceTaxFixedRate> commerceTaxFixedRates) {
for (CommerceTaxFixedRate commerceTaxFixedRate : commerceTaxFixedRates) {
if (entityCache.getResult(
CommerceTaxFixedRateModelImpl.ENTITY_CACHE_ENABLED,
CommerceTaxFixedRateImpl.class,
commerceTaxFixedRate.getP... | [
"@",
"Override",
"public",
"void",
"cacheResult",
"(",
"List",
"<",
"CommerceTaxFixedRate",
">",
"commerceTaxFixedRates",
")",
"{",
"for",
"(",
"CommerceTaxFixedRate",
"commerceTaxFixedRate",
":",
"commerceTaxFixedRates",
")",
"{",
"if",
"(",
"entityCache",
".",
"ge... | Caches the commerce tax fixed rates in the entity cache if it is enabled.
@param commerceTaxFixedRates the commerce tax fixed rates | [
"Caches",
"the",
"commerce",
"tax",
"fixed",
"rates",
"in",
"the",
"entity",
"cache",
"if",
"it",
"is",
"enabled",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-tax-engine-fixed-service/src/main/java/com/liferay/commerce/tax/engine/fixed/service/persistence/impl/CommerceTaxFixedRatePersistenceImpl.java#L1399-L1412 |
54,169 | liferay/com-liferay-commerce | commerce-tax-engine-fixed-service/src/main/java/com/liferay/commerce/tax/engine/fixed/service/persistence/impl/CommerceTaxFixedRatePersistenceImpl.java | CommerceTaxFixedRatePersistenceImpl.clearCache | @Override
public void clearCache() {
entityCache.clearCache(CommerceTaxFixedRateImpl.class);
finderCache.clearCache(FINDER_CLASS_NAME_ENTITY);
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
} | java | @Override
public void clearCache() {
entityCache.clearCache(CommerceTaxFixedRateImpl.class);
finderCache.clearCache(FINDER_CLASS_NAME_ENTITY);
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
} | [
"@",
"Override",
"public",
"void",
"clearCache",
"(",
")",
"{",
"entityCache",
".",
"clearCache",
"(",
"CommerceTaxFixedRateImpl",
".",
"class",
")",
";",
"finderCache",
".",
"clearCache",
"(",
"FINDER_CLASS_NAME_ENTITY",
")",
";",
"finderCache",
".",
"clearCache"... | Clears the cache for all commerce tax fixed rates.
<p>
The {@link EntityCache} and {@link FinderCache} are both cleared by this method.
</p> | [
"Clears",
"the",
"cache",
"for",
"all",
"commerce",
"tax",
"fixed",
"rates",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-tax-engine-fixed-service/src/main/java/com/liferay/commerce/tax/engine/fixed/service/persistence/impl/CommerceTaxFixedRatePersistenceImpl.java#L1421-L1428 |
54,170 | liferay/com-liferay-commerce | commerce-tax-engine-fixed-service/src/main/java/com/liferay/commerce/tax/engine/fixed/service/persistence/impl/CommerceTaxFixedRatePersistenceImpl.java | CommerceTaxFixedRatePersistenceImpl.clearCache | @Override
public void clearCache(CommerceTaxFixedRate commerceTaxFixedRate) {
entityCache.removeResult(CommerceTaxFixedRateModelImpl.ENTITY_CACHE_ENABLED,
CommerceTaxFixedRateImpl.class, commerceTaxFixedRate.getPrimaryKey());
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
finderCache.clearCa... | java | @Override
public void clearCache(CommerceTaxFixedRate commerceTaxFixedRate) {
entityCache.removeResult(CommerceTaxFixedRateModelImpl.ENTITY_CACHE_ENABLED,
CommerceTaxFixedRateImpl.class, commerceTaxFixedRate.getPrimaryKey());
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
finderCache.clearCa... | [
"@",
"Override",
"public",
"void",
"clearCache",
"(",
"CommerceTaxFixedRate",
"commerceTaxFixedRate",
")",
"{",
"entityCache",
".",
"removeResult",
"(",
"CommerceTaxFixedRateModelImpl",
".",
"ENTITY_CACHE_ENABLED",
",",
"CommerceTaxFixedRateImpl",
".",
"class",
",",
"comm... | Clears the cache for the commerce tax fixed rate.
<p>
The {@link EntityCache} and {@link FinderCache} are both cleared by this method.
</p> | [
"Clears",
"the",
"cache",
"for",
"the",
"commerce",
"tax",
"fixed",
"rate",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-tax-engine-fixed-service/src/main/java/com/liferay/commerce/tax/engine/fixed/service/persistence/impl/CommerceTaxFixedRatePersistenceImpl.java#L1437-L1447 |
54,171 | liferay/com-liferay-commerce | commerce-tax-engine-fixed-service/src/main/java/com/liferay/commerce/tax/engine/fixed/service/persistence/impl/CommerceTaxFixedRatePersistenceImpl.java | CommerceTaxFixedRatePersistenceImpl.findAll | @Override
public List<CommerceTaxFixedRate> findAll() {
return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
} | java | @Override
public List<CommerceTaxFixedRate> findAll() {
return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
} | [
"@",
"Override",
"public",
"List",
"<",
"CommerceTaxFixedRate",
">",
"findAll",
"(",
")",
"{",
"return",
"findAll",
"(",
"QueryUtil",
".",
"ALL_POS",
",",
"QueryUtil",
".",
"ALL_POS",
",",
"null",
")",
";",
"}"
] | Returns all the commerce tax fixed rates.
@return the commerce tax fixed rates | [
"Returns",
"all",
"the",
"commerce",
"tax",
"fixed",
"rates",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-tax-engine-fixed-service/src/main/java/com/liferay/commerce/tax/engine/fixed/service/persistence/impl/CommerceTaxFixedRatePersistenceImpl.java#L1953-L1956 |
54,172 | liferay/com-liferay-commerce | commerce-tax-engine-fixed-service/src/main/java/com/liferay/commerce/tax/engine/fixed/service/base/CommerceTaxFixedRateAddressRelLocalServiceBaseImpl.java | CommerceTaxFixedRateAddressRelLocalServiceBaseImpl.updateCommerceTaxFixedRateAddressRel | @Indexable(type = IndexableType.REINDEX)
@Override
public CommerceTaxFixedRateAddressRel updateCommerceTaxFixedRateAddressRel(
CommerceTaxFixedRateAddressRel commerceTaxFixedRateAddressRel) {
return commerceTaxFixedRateAddressRelPersistence.update(commerceTaxFixedRateAddressRel);
} | java | @Indexable(type = IndexableType.REINDEX)
@Override
public CommerceTaxFixedRateAddressRel updateCommerceTaxFixedRateAddressRel(
CommerceTaxFixedRateAddressRel commerceTaxFixedRateAddressRel) {
return commerceTaxFixedRateAddressRelPersistence.update(commerceTaxFixedRateAddressRel);
} | [
"@",
"Indexable",
"(",
"type",
"=",
"IndexableType",
".",
"REINDEX",
")",
"@",
"Override",
"public",
"CommerceTaxFixedRateAddressRel",
"updateCommerceTaxFixedRateAddressRel",
"(",
"CommerceTaxFixedRateAddressRel",
"commerceTaxFixedRateAddressRel",
")",
"{",
"return",
"commerc... | Updates the commerce tax fixed rate address rel in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
@param commerceTaxFixedRateAddressRel the commerce tax fixed rate address rel
@return the commerce tax fixed rate address rel that was updated | [
"Updates",
"the",
"commerce",
"tax",
"fixed",
"rate",
"address",
"rel",
"in",
"the",
"database",
"or",
"adds",
"it",
"if",
"it",
"does",
"not",
"yet",
"exist",
".",
"Also",
"notifies",
"the",
"appropriate",
"model",
"listeners",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-tax-engine-fixed-service/src/main/java/com/liferay/commerce/tax/engine/fixed/service/base/CommerceTaxFixedRateAddressRelLocalServiceBaseImpl.java#L323-L328 |
54,173 | liferay/com-liferay-commerce | commerce-tax-engine-fixed-service/src/main/java/com/liferay/commerce/tax/engine/fixed/service/base/CommerceTaxFixedRateAddressRelLocalServiceBaseImpl.java | CommerceTaxFixedRateAddressRelLocalServiceBaseImpl.getCommerceTaxFixedRateLocalService | public com.liferay.commerce.tax.engine.fixed.service.CommerceTaxFixedRateLocalService getCommerceTaxFixedRateLocalService() {
return commerceTaxFixedRateLocalService;
} | java | public com.liferay.commerce.tax.engine.fixed.service.CommerceTaxFixedRateLocalService getCommerceTaxFixedRateLocalService() {
return commerceTaxFixedRateLocalService;
} | [
"public",
"com",
".",
"liferay",
".",
"commerce",
".",
"tax",
".",
"engine",
".",
"fixed",
".",
"service",
".",
"CommerceTaxFixedRateLocalService",
"getCommerceTaxFixedRateLocalService",
"(",
")",
"{",
"return",
"commerceTaxFixedRateLocalService",
";",
"}"
] | Returns the commerce tax fixed rate local service.
@return the commerce tax fixed rate local service | [
"Returns",
"the",
"commerce",
"tax",
"fixed",
"rate",
"local",
"service",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-tax-engine-fixed-service/src/main/java/com/liferay/commerce/tax/engine/fixed/service/base/CommerceTaxFixedRateAddressRelLocalServiceBaseImpl.java#L335-L337 |
54,174 | liferay/com-liferay-commerce | commerce-tax-engine-fixed-service/src/main/java/com/liferay/commerce/tax/engine/fixed/service/base/CommerceTaxFixedRateAddressRelLocalServiceBaseImpl.java | CommerceTaxFixedRateAddressRelLocalServiceBaseImpl.setCommerceTaxFixedRateLocalService | public void setCommerceTaxFixedRateLocalService(
com.liferay.commerce.tax.engine.fixed.service.CommerceTaxFixedRateLocalService commerceTaxFixedRateLocalService) {
this.commerceTaxFixedRateLocalService = commerceTaxFixedRateLocalService;
} | java | public void setCommerceTaxFixedRateLocalService(
com.liferay.commerce.tax.engine.fixed.service.CommerceTaxFixedRateLocalService commerceTaxFixedRateLocalService) {
this.commerceTaxFixedRateLocalService = commerceTaxFixedRateLocalService;
} | [
"public",
"void",
"setCommerceTaxFixedRateLocalService",
"(",
"com",
".",
"liferay",
".",
"commerce",
".",
"tax",
".",
"engine",
".",
"fixed",
".",
"service",
".",
"CommerceTaxFixedRateLocalService",
"commerceTaxFixedRateLocalService",
")",
"{",
"this",
".",
"commerce... | Sets the commerce tax fixed rate local service.
@param commerceTaxFixedRateLocalService the commerce tax fixed rate local service | [
"Sets",
"the",
"commerce",
"tax",
"fixed",
"rate",
"local",
"service",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-tax-engine-fixed-service/src/main/java/com/liferay/commerce/tax/engine/fixed/service/base/CommerceTaxFixedRateAddressRelLocalServiceBaseImpl.java#L344-L347 |
54,175 | liferay/com-liferay-commerce | commerce-account-api/src/main/java/com/liferay/commerce/account/service/persistence/CommerceAccountOrganizationRelUtil.java | CommerceAccountOrganizationRelUtil.findAll | public static List<CommerceAccountOrganizationRel> findAll(int start,
int end,
OrderByComparator<CommerceAccountOrganizationRel> orderByComparator) {
return getPersistence().findAll(start, end, orderByComparator);
} | java | public static List<CommerceAccountOrganizationRel> findAll(int start,
int end,
OrderByComparator<CommerceAccountOrganizationRel> orderByComparator) {
return getPersistence().findAll(start, end, orderByComparator);
} | [
"public",
"static",
"List",
"<",
"CommerceAccountOrganizationRel",
">",
"findAll",
"(",
"int",
"start",
",",
"int",
"end",
",",
"OrderByComparator",
"<",
"CommerceAccountOrganizationRel",
">",
"orderByComparator",
")",
"{",
"return",
"getPersistence",
"(",
")",
".",... | Returns an ordered range of all the commerce account organization rels.
<p>
Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the s... | [
"Returns",
"an",
"ordered",
"range",
"of",
"all",
"the",
"commerce",
"account",
"organization",
"rels",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-account-api/src/main/java/com/liferay/commerce/account/service/persistence/CommerceAccountOrganizationRelUtil.java#L582-L586 |
54,176 | liferay/com-liferay-commerce | commerce-product-type-virtual-service/src/main/java/com/liferay/commerce/product/type/virtual/service/base/CPDefinitionVirtualSettingLocalServiceBaseImpl.java | CPDefinitionVirtualSettingLocalServiceBaseImpl.updateCPDefinitionVirtualSetting | @Indexable(type = IndexableType.REINDEX)
@Override
public CPDefinitionVirtualSetting updateCPDefinitionVirtualSetting(
CPDefinitionVirtualSetting cpDefinitionVirtualSetting) {
return cpDefinitionVirtualSettingPersistence.update(cpDefinitionVirtualSetting);
} | java | @Indexable(type = IndexableType.REINDEX)
@Override
public CPDefinitionVirtualSetting updateCPDefinitionVirtualSetting(
CPDefinitionVirtualSetting cpDefinitionVirtualSetting) {
return cpDefinitionVirtualSettingPersistence.update(cpDefinitionVirtualSetting);
} | [
"@",
"Indexable",
"(",
"type",
"=",
"IndexableType",
".",
"REINDEX",
")",
"@",
"Override",
"public",
"CPDefinitionVirtualSetting",
"updateCPDefinitionVirtualSetting",
"(",
"CPDefinitionVirtualSetting",
"cpDefinitionVirtualSetting",
")",
"{",
"return",
"cpDefinitionVirtualSett... | Updates the cp definition virtual setting in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
@param cpDefinitionVirtualSetting the cp definition virtual setting
@return the cp definition virtual setting that was updated | [
"Updates",
"the",
"cp",
"definition",
"virtual",
"setting",
"in",
"the",
"database",
"or",
"adds",
"it",
"if",
"it",
"does",
"not",
"yet",
"exist",
".",
"Also",
"notifies",
"the",
"appropriate",
"model",
"listeners",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-type-virtual-service/src/main/java/com/liferay/commerce/product/type/virtual/service/base/CPDefinitionVirtualSettingLocalServiceBaseImpl.java#L462-L467 |
54,177 | liferay/com-liferay-commerce | commerce-tax-service/src/main/java/com/liferay/commerce/tax/service/base/CommerceTaxMethodServiceBaseImpl.java | CommerceTaxMethodServiceBaseImpl.setCommerceTaxMethodLocalService | public void setCommerceTaxMethodLocalService(
com.liferay.commerce.tax.service.CommerceTaxMethodLocalService commerceTaxMethodLocalService) {
this.commerceTaxMethodLocalService = commerceTaxMethodLocalService;
} | java | public void setCommerceTaxMethodLocalService(
com.liferay.commerce.tax.service.CommerceTaxMethodLocalService commerceTaxMethodLocalService) {
this.commerceTaxMethodLocalService = commerceTaxMethodLocalService;
} | [
"public",
"void",
"setCommerceTaxMethodLocalService",
"(",
"com",
".",
"liferay",
".",
"commerce",
".",
"tax",
".",
"service",
".",
"CommerceTaxMethodLocalService",
"commerceTaxMethodLocalService",
")",
"{",
"this",
".",
"commerceTaxMethodLocalService",
"=",
"commerceTaxM... | Sets the commerce tax method local service.
@param commerceTaxMethodLocalService the commerce tax method local service | [
"Sets",
"the",
"commerce",
"tax",
"method",
"local",
"service",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-tax-service/src/main/java/com/liferay/commerce/tax/service/base/CommerceTaxMethodServiceBaseImpl.java#L70-L73 |
54,178 | liferay/com-liferay-commerce | commerce-api/src/main/java/com/liferay/commerce/service/CommerceCountryLocalServiceUtil.java | CommerceCountryLocalServiceUtil.getCommerceCountry | public static com.liferay.commerce.model.CommerceCountry getCommerceCountry(
long commerceCountryId)
throws com.liferay.portal.kernel.exception.PortalException {
return getService().getCommerceCountry(commerceCountryId);
} | java | public static com.liferay.commerce.model.CommerceCountry getCommerceCountry(
long commerceCountryId)
throws com.liferay.portal.kernel.exception.PortalException {
return getService().getCommerceCountry(commerceCountryId);
} | [
"public",
"static",
"com",
".",
"liferay",
".",
"commerce",
".",
"model",
".",
"CommerceCountry",
"getCommerceCountry",
"(",
"long",
"commerceCountryId",
")",
"throws",
"com",
".",
"liferay",
".",
"portal",
".",
"kernel",
".",
"exception",
".",
"PortalException"... | Returns the commerce country with the primary key.
@param commerceCountryId the primary key of the commerce country
@return the commerce country
@throws PortalException if a commerce country with the primary key could not be found | [
"Returns",
"the",
"commerce",
"country",
"with",
"the",
"primary",
"key",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-api/src/main/java/com/liferay/commerce/service/CommerceCountryLocalServiceUtil.java#L324-L328 |
54,179 | liferay/com-liferay-commerce | commerce-notification-api/src/main/java/com/liferay/commerce/notification/service/CommerceNotificationTemplateUserSegmentRelLocalServiceWrapper.java | CommerceNotificationTemplateUserSegmentRelLocalServiceWrapper.getCommerceNotificationTemplateUserSegmentRel | @Override
public com.liferay.commerce.notification.model.CommerceNotificationTemplateUserSegmentRel getCommerceNotificationTemplateUserSegmentRel(
long commerceNotificationTemplateUserSegmentRelId)
throws com.liferay.portal.kernel.exception.PortalException {
return _commerceNotificationTemplateUserSegmentRelLoca... | java | @Override
public com.liferay.commerce.notification.model.CommerceNotificationTemplateUserSegmentRel getCommerceNotificationTemplateUserSegmentRel(
long commerceNotificationTemplateUserSegmentRelId)
throws com.liferay.portal.kernel.exception.PortalException {
return _commerceNotificationTemplateUserSegmentRelLoca... | [
"@",
"Override",
"public",
"com",
".",
"liferay",
".",
"commerce",
".",
"notification",
".",
"model",
".",
"CommerceNotificationTemplateUserSegmentRel",
"getCommerceNotificationTemplateUserSegmentRel",
"(",
"long",
"commerceNotificationTemplateUserSegmentRelId",
")",
"throws",
... | Returns the commerce notification template user segment rel with the primary key.
@param commerceNotificationTemplateUserSegmentRelId the primary key of the commerce notification template user segment rel
@return the commerce notification template user segment rel
@throws PortalException if a commerce notification tem... | [
"Returns",
"the",
"commerce",
"notification",
"template",
"user",
"segment",
"rel",
"with",
"the",
"primary",
"key",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-notification-api/src/main/java/com/liferay/commerce/notification/service/CommerceNotificationTemplateUserSegmentRelLocalServiceWrapper.java#L229-L234 |
54,180 | liferay/com-liferay-commerce | commerce-currency-service/src/main/java/com/liferay/commerce/currency/service/base/CommerceCurrencyServiceBaseImpl.java | CommerceCurrencyServiceBaseImpl.setCommerceCurrencyLocalService | public void setCommerceCurrencyLocalService(
com.liferay.commerce.currency.service.CommerceCurrencyLocalService commerceCurrencyLocalService) {
this.commerceCurrencyLocalService = commerceCurrencyLocalService;
} | java | public void setCommerceCurrencyLocalService(
com.liferay.commerce.currency.service.CommerceCurrencyLocalService commerceCurrencyLocalService) {
this.commerceCurrencyLocalService = commerceCurrencyLocalService;
} | [
"public",
"void",
"setCommerceCurrencyLocalService",
"(",
"com",
".",
"liferay",
".",
"commerce",
".",
"currency",
".",
"service",
".",
"CommerceCurrencyLocalService",
"commerceCurrencyLocalService",
")",
"{",
"this",
".",
"commerceCurrencyLocalService",
"=",
"commerceCur... | Sets the commerce currency local service.
@param commerceCurrencyLocalService the commerce currency local service | [
"Sets",
"the",
"commerce",
"currency",
"local",
"service",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-currency-service/src/main/java/com/liferay/commerce/currency/service/base/CommerceCurrencyServiceBaseImpl.java#L71-L74 |
54,181 | liferay/com-liferay-commerce | commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPRuleAssetCategoryRelLocalServiceBaseImpl.java | CPRuleAssetCategoryRelLocalServiceBaseImpl.deleteCPRuleAssetCategoryRel | @Indexable(type = IndexableType.DELETE)
@Override
public CPRuleAssetCategoryRel deleteCPRuleAssetCategoryRel(
long CPRuleAssetCategoryRelId) throws PortalException {
return cpRuleAssetCategoryRelPersistence.remove(CPRuleAssetCategoryRelId);
} | java | @Indexable(type = IndexableType.DELETE)
@Override
public CPRuleAssetCategoryRel deleteCPRuleAssetCategoryRel(
long CPRuleAssetCategoryRelId) throws PortalException {
return cpRuleAssetCategoryRelPersistence.remove(CPRuleAssetCategoryRelId);
} | [
"@",
"Indexable",
"(",
"type",
"=",
"IndexableType",
".",
"DELETE",
")",
"@",
"Override",
"public",
"CPRuleAssetCategoryRel",
"deleteCPRuleAssetCategoryRel",
"(",
"long",
"CPRuleAssetCategoryRelId",
")",
"throws",
"PortalException",
"{",
"return",
"cpRuleAssetCategoryRelP... | Deletes the cp rule asset category rel with the primary key from the database. Also notifies the appropriate model listeners.
@param CPRuleAssetCategoryRelId the primary key of the cp rule asset category rel
@return the cp rule asset category rel that was removed
@throws PortalException if a cp rule asset category rel... | [
"Deletes",
"the",
"cp",
"rule",
"asset",
"category",
"rel",
"with",
"the",
"primary",
"key",
"from",
"the",
"database",
".",
"Also",
"notifies",
"the",
"appropriate",
"model",
"listeners",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPRuleAssetCategoryRelLocalServiceBaseImpl.java#L134-L139 |
54,182 | liferay/com-liferay-commerce | commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPRuleAssetCategoryRelLocalServiceBaseImpl.java | CPRuleAssetCategoryRelLocalServiceBaseImpl.deleteCPRuleAssetCategoryRel | @Indexable(type = IndexableType.DELETE)
@Override
public CPRuleAssetCategoryRel deleteCPRuleAssetCategoryRel(
CPRuleAssetCategoryRel cpRuleAssetCategoryRel) {
return cpRuleAssetCategoryRelPersistence.remove(cpRuleAssetCategoryRel);
} | java | @Indexable(type = IndexableType.DELETE)
@Override
public CPRuleAssetCategoryRel deleteCPRuleAssetCategoryRel(
CPRuleAssetCategoryRel cpRuleAssetCategoryRel) {
return cpRuleAssetCategoryRelPersistence.remove(cpRuleAssetCategoryRel);
} | [
"@",
"Indexable",
"(",
"type",
"=",
"IndexableType",
".",
"DELETE",
")",
"@",
"Override",
"public",
"CPRuleAssetCategoryRel",
"deleteCPRuleAssetCategoryRel",
"(",
"CPRuleAssetCategoryRel",
"cpRuleAssetCategoryRel",
")",
"{",
"return",
"cpRuleAssetCategoryRelPersistence",
".... | Deletes the cp rule asset category rel from the database. Also notifies the appropriate model listeners.
@param cpRuleAssetCategoryRel the cp rule asset category rel
@return the cp rule asset category rel that was removed | [
"Deletes",
"the",
"cp",
"rule",
"asset",
"category",
"rel",
"from",
"the",
"database",
".",
"Also",
"notifies",
"the",
"appropriate",
"model",
"listeners",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPRuleAssetCategoryRelLocalServiceBaseImpl.java#L147-L152 |
54,183 | liferay/com-liferay-commerce | commerce-price-list-service/src/main/java/com/liferay/commerce/price/list/service/base/CommercePriceEntryLocalServiceBaseImpl.java | CommercePriceEntryLocalServiceBaseImpl.deleteCommercePriceEntry | @Indexable(type = IndexableType.DELETE)
@Override
public CommercePriceEntry deleteCommercePriceEntry(
long commercePriceEntryId) throws PortalException {
return commercePriceEntryPersistence.remove(commercePriceEntryId);
} | java | @Indexable(type = IndexableType.DELETE)
@Override
public CommercePriceEntry deleteCommercePriceEntry(
long commercePriceEntryId) throws PortalException {
return commercePriceEntryPersistence.remove(commercePriceEntryId);
} | [
"@",
"Indexable",
"(",
"type",
"=",
"IndexableType",
".",
"DELETE",
")",
"@",
"Override",
"public",
"CommercePriceEntry",
"deleteCommercePriceEntry",
"(",
"long",
"commercePriceEntryId",
")",
"throws",
"PortalException",
"{",
"return",
"commercePriceEntryPersistence",
"... | Deletes the commerce price entry with the primary key from the database. Also notifies the appropriate model listeners.
@param commercePriceEntryId the primary key of the commerce price entry
@return the commerce price entry that was removed
@throws PortalException if a commerce price entry with the primary key could ... | [
"Deletes",
"the",
"commerce",
"price",
"entry",
"with",
"the",
"primary",
"key",
"from",
"the",
"database",
".",
"Also",
"notifies",
"the",
"appropriate",
"model",
"listeners",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-price-list-service/src/main/java/com/liferay/commerce/price/list/service/base/CommercePriceEntryLocalServiceBaseImpl.java#L126-L131 |
54,184 | liferay/com-liferay-commerce | commerce-user-segment-api/src/main/java/com/liferay/commerce/user/segment/model/CommerceUserSegmentEntryWrapper.java | CommerceUserSegmentEntryWrapper.getName | @Override
public String getName(String languageId, boolean useDefault) {
return _commerceUserSegmentEntry.getName(languageId, useDefault);
} | java | @Override
public String getName(String languageId, boolean useDefault) {
return _commerceUserSegmentEntry.getName(languageId, useDefault);
} | [
"@",
"Override",
"public",
"String",
"getName",
"(",
"String",
"languageId",
",",
"boolean",
"useDefault",
")",
"{",
"return",
"_commerceUserSegmentEntry",
".",
"getName",
"(",
"languageId",
",",
"useDefault",
")",
";",
"}"
] | Returns the localized name of this commerce user segment entry in the language, optionally using the default language if no localization exists for the requested language.
@param languageId the ID of the language
@param useDefault whether to use the default language if no localization exists for the requested language... | [
"Returns",
"the",
"localized",
"name",
"of",
"this",
"commerce",
"user",
"segment",
"entry",
"in",
"the",
"language",
"optionally",
"using",
"the",
"default",
"language",
"if",
"no",
"localization",
"exists",
"for",
"the",
"requested",
"language",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-user-segment-api/src/main/java/com/liferay/commerce/user/segment/model/CommerceUserSegmentEntryWrapper.java#L306-L309 |
54,185 | liferay/com-liferay-commerce | commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceOrderPersistenceImpl.java | CommerceOrderPersistenceImpl.cacheResult | @Override
public void cacheResult(CommerceOrder commerceOrder) {
entityCache.putResult(CommerceOrderModelImpl.ENTITY_CACHE_ENABLED,
CommerceOrderImpl.class, commerceOrder.getPrimaryKey(),
commerceOrder);
finderCache.putResult(FINDER_PATH_FETCH_BY_UUID_G,
new Object[] { commerceOrder.getUuid(), commerceOr... | java | @Override
public void cacheResult(CommerceOrder commerceOrder) {
entityCache.putResult(CommerceOrderModelImpl.ENTITY_CACHE_ENABLED,
CommerceOrderImpl.class, commerceOrder.getPrimaryKey(),
commerceOrder);
finderCache.putResult(FINDER_PATH_FETCH_BY_UUID_G,
new Object[] { commerceOrder.getUuid(), commerceOr... | [
"@",
"Override",
"public",
"void",
"cacheResult",
"(",
"CommerceOrder",
"commerceOrder",
")",
"{",
"entityCache",
".",
"putResult",
"(",
"CommerceOrderModelImpl",
".",
"ENTITY_CACHE_ENABLED",
",",
"CommerceOrderImpl",
".",
"class",
",",
"commerceOrder",
".",
"getPrima... | Caches the commerce order in the entity cache if it is enabled.
@param commerceOrder the commerce order | [
"Caches",
"the",
"commerce",
"order",
"in",
"the",
"entity",
"cache",
"if",
"it",
"is",
"enabled",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceOrderPersistenceImpl.java#L6163-L6180 |
54,186 | liferay/com-liferay-commerce | commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceOrderPersistenceImpl.java | CommerceOrderPersistenceImpl.cacheResult | @Override
public void cacheResult(List<CommerceOrder> commerceOrders) {
for (CommerceOrder commerceOrder : commerceOrders) {
if (entityCache.getResult(
CommerceOrderModelImpl.ENTITY_CACHE_ENABLED,
CommerceOrderImpl.class, commerceOrder.getPrimaryKey()) == null) {
cacheResult(commerceOrder);
}
... | java | @Override
public void cacheResult(List<CommerceOrder> commerceOrders) {
for (CommerceOrder commerceOrder : commerceOrders) {
if (entityCache.getResult(
CommerceOrderModelImpl.ENTITY_CACHE_ENABLED,
CommerceOrderImpl.class, commerceOrder.getPrimaryKey()) == null) {
cacheResult(commerceOrder);
}
... | [
"@",
"Override",
"public",
"void",
"cacheResult",
"(",
"List",
"<",
"CommerceOrder",
">",
"commerceOrders",
")",
"{",
"for",
"(",
"CommerceOrder",
"commerceOrder",
":",
"commerceOrders",
")",
"{",
"if",
"(",
"entityCache",
".",
"getResult",
"(",
"CommerceOrderMo... | Caches the commerce orders in the entity cache if it is enabled.
@param commerceOrders the commerce orders | [
"Caches",
"the",
"commerce",
"orders",
"in",
"the",
"entity",
"cache",
"if",
"it",
"is",
"enabled",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceOrderPersistenceImpl.java#L6187-L6199 |
54,187 | liferay/com-liferay-commerce | commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceOrderPersistenceImpl.java | CommerceOrderPersistenceImpl.clearCache | @Override
public void clearCache() {
entityCache.clearCache(CommerceOrderImpl.class);
finderCache.clearCache(FINDER_CLASS_NAME_ENTITY);
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
} | java | @Override
public void clearCache() {
entityCache.clearCache(CommerceOrderImpl.class);
finderCache.clearCache(FINDER_CLASS_NAME_ENTITY);
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
} | [
"@",
"Override",
"public",
"void",
"clearCache",
"(",
")",
"{",
"entityCache",
".",
"clearCache",
"(",
"CommerceOrderImpl",
".",
"class",
")",
";",
"finderCache",
".",
"clearCache",
"(",
"FINDER_CLASS_NAME_ENTITY",
")",
";",
"finderCache",
".",
"clearCache",
"("... | Clears the cache for all commerce orders.
<p>
The {@link EntityCache} and {@link FinderCache} are both cleared by this method.
</p> | [
"Clears",
"the",
"cache",
"for",
"all",
"commerce",
"orders",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceOrderPersistenceImpl.java#L6208-L6215 |
54,188 | liferay/com-liferay-commerce | commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceOrderPersistenceImpl.java | CommerceOrderPersistenceImpl.clearCache | @Override
public void clearCache(CommerceOrder commerceOrder) {
entityCache.removeResult(CommerceOrderModelImpl.ENTITY_CACHE_ENABLED,
CommerceOrderImpl.class, commerceOrder.getPrimaryKey());
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_... | java | @Override
public void clearCache(CommerceOrder commerceOrder) {
entityCache.removeResult(CommerceOrderModelImpl.ENTITY_CACHE_ENABLED,
CommerceOrderImpl.class, commerceOrder.getPrimaryKey());
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_... | [
"@",
"Override",
"public",
"void",
"clearCache",
"(",
"CommerceOrder",
"commerceOrder",
")",
"{",
"entityCache",
".",
"removeResult",
"(",
"CommerceOrderModelImpl",
".",
"ENTITY_CACHE_ENABLED",
",",
"CommerceOrderImpl",
".",
"class",
",",
"commerceOrder",
".",
"getPri... | Clears the cache for the commerce order.
<p>
The {@link EntityCache} and {@link FinderCache} are both cleared by this method.
</p> | [
"Clears",
"the",
"cache",
"for",
"the",
"commerce",
"order",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceOrderPersistenceImpl.java#L6224-L6233 |
54,189 | liferay/com-liferay-commerce | commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceOrderPersistenceImpl.java | CommerceOrderPersistenceImpl.findAll | @Override
public List<CommerceOrder> findAll() {
return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
} | java | @Override
public List<CommerceOrder> findAll() {
return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
} | [
"@",
"Override",
"public",
"List",
"<",
"CommerceOrder",
">",
"findAll",
"(",
")",
"{",
"return",
"findAll",
"(",
"QueryUtil",
".",
"ALL_POS",
",",
"QueryUtil",
".",
"ALL_POS",
",",
"null",
")",
";",
"}"
] | Returns all the commerce orders.
@return the commerce orders | [
"Returns",
"all",
"the",
"commerce",
"orders",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceOrderPersistenceImpl.java#L6962-L6965 |
54,190 | liferay/com-liferay-commerce | commerce-wish-list-service/src/main/java/com/liferay/commerce/wish/list/service/persistence/impl/CommerceWishListItemPersistenceImpl.java | CommerceWishListItemPersistenceImpl.cacheResult | @Override
public void cacheResult(CommerceWishListItem commerceWishListItem) {
entityCache.putResult(CommerceWishListItemModelImpl.ENTITY_CACHE_ENABLED,
CommerceWishListItemImpl.class,
commerceWishListItem.getPrimaryKey(), commerceWishListItem);
finderCache.putResult(FINDER_PATH_FETCH_BY_CW_CPI_CP,
new O... | java | @Override
public void cacheResult(CommerceWishListItem commerceWishListItem) {
entityCache.putResult(CommerceWishListItemModelImpl.ENTITY_CACHE_ENABLED,
CommerceWishListItemImpl.class,
commerceWishListItem.getPrimaryKey(), commerceWishListItem);
finderCache.putResult(FINDER_PATH_FETCH_BY_CW_CPI_CP,
new O... | [
"@",
"Override",
"public",
"void",
"cacheResult",
"(",
"CommerceWishListItem",
"commerceWishListItem",
")",
"{",
"entityCache",
".",
"putResult",
"(",
"CommerceWishListItemModelImpl",
".",
"ENTITY_CACHE_ENABLED",
",",
"CommerceWishListItemImpl",
".",
"class",
",",
"commer... | Caches the commerce wish list item in the entity cache if it is enabled.
@param commerceWishListItem the commerce wish list item | [
"Caches",
"the",
"commerce",
"wish",
"list",
"item",
"in",
"the",
"entity",
"cache",
"if",
"it",
"is",
"enabled",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-wish-list-service/src/main/java/com/liferay/commerce/wish/list/service/persistence/impl/CommerceWishListItemPersistenceImpl.java#L3171-L3185 |
54,191 | liferay/com-liferay-commerce | commerce-wish-list-service/src/main/java/com/liferay/commerce/wish/list/service/persistence/impl/CommerceWishListItemPersistenceImpl.java | CommerceWishListItemPersistenceImpl.cacheResult | @Override
public void cacheResult(List<CommerceWishListItem> commerceWishListItems) {
for (CommerceWishListItem commerceWishListItem : commerceWishListItems) {
if (entityCache.getResult(
CommerceWishListItemModelImpl.ENTITY_CACHE_ENABLED,
CommerceWishListItemImpl.class,
commerceWishListItem.getP... | java | @Override
public void cacheResult(List<CommerceWishListItem> commerceWishListItems) {
for (CommerceWishListItem commerceWishListItem : commerceWishListItems) {
if (entityCache.getResult(
CommerceWishListItemModelImpl.ENTITY_CACHE_ENABLED,
CommerceWishListItemImpl.class,
commerceWishListItem.getP... | [
"@",
"Override",
"public",
"void",
"cacheResult",
"(",
"List",
"<",
"CommerceWishListItem",
">",
"commerceWishListItems",
")",
"{",
"for",
"(",
"CommerceWishListItem",
"commerceWishListItem",
":",
"commerceWishListItems",
")",
"{",
"if",
"(",
"entityCache",
".",
"ge... | Caches the commerce wish list items in the entity cache if it is enabled.
@param commerceWishListItems the commerce wish list items | [
"Caches",
"the",
"commerce",
"wish",
"list",
"items",
"in",
"the",
"entity",
"cache",
"if",
"it",
"is",
"enabled",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-wish-list-service/src/main/java/com/liferay/commerce/wish/list/service/persistence/impl/CommerceWishListItemPersistenceImpl.java#L3192-L3205 |
54,192 | liferay/com-liferay-commerce | commerce-wish-list-service/src/main/java/com/liferay/commerce/wish/list/service/persistence/impl/CommerceWishListItemPersistenceImpl.java | CommerceWishListItemPersistenceImpl.clearCache | @Override
public void clearCache() {
entityCache.clearCache(CommerceWishListItemImpl.class);
finderCache.clearCache(FINDER_CLASS_NAME_ENTITY);
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
} | java | @Override
public void clearCache() {
entityCache.clearCache(CommerceWishListItemImpl.class);
finderCache.clearCache(FINDER_CLASS_NAME_ENTITY);
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
} | [
"@",
"Override",
"public",
"void",
"clearCache",
"(",
")",
"{",
"entityCache",
".",
"clearCache",
"(",
"CommerceWishListItemImpl",
".",
"class",
")",
";",
"finderCache",
".",
"clearCache",
"(",
"FINDER_CLASS_NAME_ENTITY",
")",
";",
"finderCache",
".",
"clearCache"... | Clears the cache for all commerce wish list items.
<p>
The {@link EntityCache} and {@link FinderCache} are both cleared by this method.
</p> | [
"Clears",
"the",
"cache",
"for",
"all",
"commerce",
"wish",
"list",
"items",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-wish-list-service/src/main/java/com/liferay/commerce/wish/list/service/persistence/impl/CommerceWishListItemPersistenceImpl.java#L3214-L3221 |
54,193 | liferay/com-liferay-commerce | commerce-wish-list-service/src/main/java/com/liferay/commerce/wish/list/service/persistence/impl/CommerceWishListItemPersistenceImpl.java | CommerceWishListItemPersistenceImpl.clearCache | @Override
public void clearCache(CommerceWishListItem commerceWishListItem) {
entityCache.removeResult(CommerceWishListItemModelImpl.ENTITY_CACHE_ENABLED,
CommerceWishListItemImpl.class, commerceWishListItem.getPrimaryKey());
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
finderCache.clearCa... | java | @Override
public void clearCache(CommerceWishListItem commerceWishListItem) {
entityCache.removeResult(CommerceWishListItemModelImpl.ENTITY_CACHE_ENABLED,
CommerceWishListItemImpl.class, commerceWishListItem.getPrimaryKey());
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
finderCache.clearCa... | [
"@",
"Override",
"public",
"void",
"clearCache",
"(",
"CommerceWishListItem",
"commerceWishListItem",
")",
"{",
"entityCache",
".",
"removeResult",
"(",
"CommerceWishListItemModelImpl",
".",
"ENTITY_CACHE_ENABLED",
",",
"CommerceWishListItemImpl",
".",
"class",
",",
"comm... | Clears the cache for the commerce wish list item.
<p>
The {@link EntityCache} and {@link FinderCache} are both cleared by this method.
</p> | [
"Clears",
"the",
"cache",
"for",
"the",
"commerce",
"wish",
"list",
"item",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-wish-list-service/src/main/java/com/liferay/commerce/wish/list/service/persistence/impl/CommerceWishListItemPersistenceImpl.java#L3230-L3240 |
54,194 | liferay/com-liferay-commerce | commerce-wish-list-service/src/main/java/com/liferay/commerce/wish/list/service/persistence/impl/CommerceWishListItemPersistenceImpl.java | CommerceWishListItemPersistenceImpl.findAll | @Override
public List<CommerceWishListItem> findAll() {
return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
} | java | @Override
public List<CommerceWishListItem> findAll() {
return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
} | [
"@",
"Override",
"public",
"List",
"<",
"CommerceWishListItem",
">",
"findAll",
"(",
")",
"{",
"return",
"findAll",
"(",
"QueryUtil",
".",
"ALL_POS",
",",
"QueryUtil",
".",
"ALL_POS",
",",
"null",
")",
";",
"}"
] | Returns all the commerce wish list items.
@return the commerce wish list items | [
"Returns",
"all",
"the",
"commerce",
"wish",
"list",
"items",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-wish-list-service/src/main/java/com/liferay/commerce/wish/list/service/persistence/impl/CommerceWishListItemPersistenceImpl.java#L3834-L3837 |
54,195 | liferay/com-liferay-commerce | commerce-wish-list-service/src/main/java/com/liferay/commerce/wish/list/service/persistence/impl/CommerceWishListPersistenceImpl.java | CommerceWishListPersistenceImpl.cacheResult | @Override
public void cacheResult(CommerceWishList commerceWishList) {
entityCache.putResult(CommerceWishListModelImpl.ENTITY_CACHE_ENABLED,
CommerceWishListImpl.class, commerceWishList.getPrimaryKey(),
commerceWishList);
finderCache.putResult(FINDER_PATH_FETCH_BY_UUID_G,
new Object[] {
commerceWishL... | java | @Override
public void cacheResult(CommerceWishList commerceWishList) {
entityCache.putResult(CommerceWishListModelImpl.ENTITY_CACHE_ENABLED,
CommerceWishListImpl.class, commerceWishList.getPrimaryKey(),
commerceWishList);
finderCache.putResult(FINDER_PATH_FETCH_BY_UUID_G,
new Object[] {
commerceWishL... | [
"@",
"Override",
"public",
"void",
"cacheResult",
"(",
"CommerceWishList",
"commerceWishList",
")",
"{",
"entityCache",
".",
"putResult",
"(",
"CommerceWishListModelImpl",
".",
"ENTITY_CACHE_ENABLED",
",",
"CommerceWishListImpl",
".",
"class",
",",
"commerceWishList",
"... | Caches the commerce wish list in the entity cache if it is enabled.
@param commerceWishList the commerce wish list | [
"Caches",
"the",
"commerce",
"wish",
"list",
"in",
"the",
"entity",
"cache",
"if",
"it",
"is",
"enabled",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-wish-list-service/src/main/java/com/liferay/commerce/wish/list/service/persistence/impl/CommerceWishListPersistenceImpl.java#L4233-L4245 |
54,196 | liferay/com-liferay-commerce | commerce-wish-list-service/src/main/java/com/liferay/commerce/wish/list/service/persistence/impl/CommerceWishListPersistenceImpl.java | CommerceWishListPersistenceImpl.cacheResult | @Override
public void cacheResult(List<CommerceWishList> commerceWishLists) {
for (CommerceWishList commerceWishList : commerceWishLists) {
if (entityCache.getResult(
CommerceWishListModelImpl.ENTITY_CACHE_ENABLED,
CommerceWishListImpl.class,
commerceWishList.getPrimaryKey()) == null) {
cach... | java | @Override
public void cacheResult(List<CommerceWishList> commerceWishLists) {
for (CommerceWishList commerceWishList : commerceWishLists) {
if (entityCache.getResult(
CommerceWishListModelImpl.ENTITY_CACHE_ENABLED,
CommerceWishListImpl.class,
commerceWishList.getPrimaryKey()) == null) {
cach... | [
"@",
"Override",
"public",
"void",
"cacheResult",
"(",
"List",
"<",
"CommerceWishList",
">",
"commerceWishLists",
")",
"{",
"for",
"(",
"CommerceWishList",
"commerceWishList",
":",
"commerceWishLists",
")",
"{",
"if",
"(",
"entityCache",
".",
"getResult",
"(",
"... | Caches the commerce wish lists in the entity cache if it is enabled.
@param commerceWishLists the commerce wish lists | [
"Caches",
"the",
"commerce",
"wish",
"lists",
"in",
"the",
"entity",
"cache",
"if",
"it",
"is",
"enabled",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-wish-list-service/src/main/java/com/liferay/commerce/wish/list/service/persistence/impl/CommerceWishListPersistenceImpl.java#L4252-L4265 |
54,197 | liferay/com-liferay-commerce | commerce-wish-list-service/src/main/java/com/liferay/commerce/wish/list/service/persistence/impl/CommerceWishListPersistenceImpl.java | CommerceWishListPersistenceImpl.clearCache | @Override
public void clearCache() {
entityCache.clearCache(CommerceWishListImpl.class);
finderCache.clearCache(FINDER_CLASS_NAME_ENTITY);
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
} | java | @Override
public void clearCache() {
entityCache.clearCache(CommerceWishListImpl.class);
finderCache.clearCache(FINDER_CLASS_NAME_ENTITY);
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
} | [
"@",
"Override",
"public",
"void",
"clearCache",
"(",
")",
"{",
"entityCache",
".",
"clearCache",
"(",
"CommerceWishListImpl",
".",
"class",
")",
";",
"finderCache",
".",
"clearCache",
"(",
"FINDER_CLASS_NAME_ENTITY",
")",
";",
"finderCache",
".",
"clearCache",
... | Clears the cache for all commerce wish lists.
<p>
The {@link EntityCache} and {@link FinderCache} are both cleared by this method.
</p> | [
"Clears",
"the",
"cache",
"for",
"all",
"commerce",
"wish",
"lists",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-wish-list-service/src/main/java/com/liferay/commerce/wish/list/service/persistence/impl/CommerceWishListPersistenceImpl.java#L4274-L4281 |
54,198 | liferay/com-liferay-commerce | commerce-wish-list-service/src/main/java/com/liferay/commerce/wish/list/service/persistence/impl/CommerceWishListPersistenceImpl.java | CommerceWishListPersistenceImpl.clearCache | @Override
public void clearCache(CommerceWishList commerceWishList) {
entityCache.removeResult(CommerceWishListModelImpl.ENTITY_CACHE_ENABLED,
CommerceWishListImpl.class, commerceWishList.getPrimaryKey());
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
finderCache.clearCache(FINDER_CLASS_NAM... | java | @Override
public void clearCache(CommerceWishList commerceWishList) {
entityCache.removeResult(CommerceWishListModelImpl.ENTITY_CACHE_ENABLED,
CommerceWishListImpl.class, commerceWishList.getPrimaryKey());
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
finderCache.clearCache(FINDER_CLASS_NAM... | [
"@",
"Override",
"public",
"void",
"clearCache",
"(",
"CommerceWishList",
"commerceWishList",
")",
"{",
"entityCache",
".",
"removeResult",
"(",
"CommerceWishListModelImpl",
".",
"ENTITY_CACHE_ENABLED",
",",
"CommerceWishListImpl",
".",
"class",
",",
"commerceWishList",
... | Clears the cache for the commerce wish list.
<p>
The {@link EntityCache} and {@link FinderCache} are both cleared by this method.
</p> | [
"Clears",
"the",
"cache",
"for",
"the",
"commerce",
"wish",
"list",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-wish-list-service/src/main/java/com/liferay/commerce/wish/list/service/persistence/impl/CommerceWishListPersistenceImpl.java#L4290-L4300 |
54,199 | liferay/com-liferay-commerce | commerce-wish-list-service/src/main/java/com/liferay/commerce/wish/list/service/persistence/impl/CommerceWishListPersistenceImpl.java | CommerceWishListPersistenceImpl.remove | @Override
public CommerceWishList remove(Serializable primaryKey)
throws NoSuchWishListException {
Session session = null;
try {
session = openSession();
CommerceWishList commerceWishList = (CommerceWishList)session.get(CommerceWishListImpl.class,
primaryKey);
if (commerceWishList == null) {
... | java | @Override
public CommerceWishList remove(Serializable primaryKey)
throws NoSuchWishListException {
Session session = null;
try {
session = openSession();
CommerceWishList commerceWishList = (CommerceWishList)session.get(CommerceWishListImpl.class,
primaryKey);
if (commerceWishList == null) {
... | [
"@",
"Override",
"public",
"CommerceWishList",
"remove",
"(",
"Serializable",
"primaryKey",
")",
"throws",
"NoSuchWishListException",
"{",
"Session",
"session",
"=",
"null",
";",
"try",
"{",
"session",
"=",
"openSession",
"(",
")",
";",
"CommerceWishList",
"commer... | Removes the commerce wish list with the primary key from the database. Also notifies the appropriate model listeners.
@param primaryKey the primary key of the commerce wish list
@return the commerce wish list that was removed
@throws NoSuchWishListException if a commerce wish list with the primary key could not be fou... | [
"Removes",
"the",
"commerce",
"wish",
"list",
"with",
"the",
"primary",
"key",
"from",
"the",
"database",
".",
"Also",
"notifies",
"the",
"appropriate",
"model",
"listeners",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-wish-list-service/src/main/java/com/liferay/commerce/wish/list/service/persistence/impl/CommerceWishListPersistenceImpl.java#L4396-L4427 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.