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,200 | liferay/com-liferay-commerce | commerce-wish-list-service/src/main/java/com/liferay/commerce/wish/list/service/persistence/impl/CommerceWishListPersistenceImpl.java | CommerceWishListPersistenceImpl.findAll | @Override
public List<CommerceWishList> findAll() {
return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
} | java | @Override
public List<CommerceWishList> findAll() {
return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
} | [
"@",
"Override",
"public",
"List",
"<",
"CommerceWishList",
">",
"findAll",
"(",
")",
"{",
"return",
"findAll",
"(",
"QueryUtil",
".",
"ALL_POS",
",",
"QueryUtil",
".",
"ALL_POS",
",",
"null",
")",
";",
"}"
] | Returns all the commerce wish lists.
@return the commerce wish lists | [
"Returns",
"all",
"the",
"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#L4914-L4917 |
54,201 | liferay/com-liferay-commerce | commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceOrderItemPersistenceImpl.java | CommerceOrderItemPersistenceImpl.cacheResult | @Override
public void cacheResult(CommerceOrderItem commerceOrderItem) {
entityCache.putResult(CommerceOrderItemModelImpl.ENTITY_CACHE_ENABLED,
CommerceOrderItemImpl.class, commerceOrderItem.getPrimaryKey(),
commerceOrderItem);
finderCache.putResult(FINDER_PATH_FETCH_BY_C_ERC,
new Object[] {
commerce... | java | @Override
public void cacheResult(CommerceOrderItem commerceOrderItem) {
entityCache.putResult(CommerceOrderItemModelImpl.ENTITY_CACHE_ENABLED,
CommerceOrderItemImpl.class, commerceOrderItem.getPrimaryKey(),
commerceOrderItem);
finderCache.putResult(FINDER_PATH_FETCH_BY_C_ERC,
new Object[] {
commerce... | [
"@",
"Override",
"public",
"void",
"cacheResult",
"(",
"CommerceOrderItem",
"commerceOrderItem",
")",
"{",
"entityCache",
".",
"putResult",
"(",
"CommerceOrderItemModelImpl",
".",
"ENTITY_CACHE_ENABLED",
",",
"CommerceOrderItemImpl",
".",
"class",
",",
"commerceOrderItem"... | Caches the commerce order item in the entity cache if it is enabled.
@param commerceOrderItem the commerce order item | [
"Caches",
"the",
"commerce",
"order",
"item",
"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/CommerceOrderItemPersistenceImpl.java#L3021-L3034 |
54,202 | liferay/com-liferay-commerce | commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceOrderItemPersistenceImpl.java | CommerceOrderItemPersistenceImpl.cacheResult | @Override
public void cacheResult(List<CommerceOrderItem> commerceOrderItems) {
for (CommerceOrderItem commerceOrderItem : commerceOrderItems) {
if (entityCache.getResult(
CommerceOrderItemModelImpl.ENTITY_CACHE_ENABLED,
CommerceOrderItemImpl.class,
commerceOrderItem.getPrimaryKey()) == null) {
... | java | @Override
public void cacheResult(List<CommerceOrderItem> commerceOrderItems) {
for (CommerceOrderItem commerceOrderItem : commerceOrderItems) {
if (entityCache.getResult(
CommerceOrderItemModelImpl.ENTITY_CACHE_ENABLED,
CommerceOrderItemImpl.class,
commerceOrderItem.getPrimaryKey()) == null) {
... | [
"@",
"Override",
"public",
"void",
"cacheResult",
"(",
"List",
"<",
"CommerceOrderItem",
">",
"commerceOrderItems",
")",
"{",
"for",
"(",
"CommerceOrderItem",
"commerceOrderItem",
":",
"commerceOrderItems",
")",
"{",
"if",
"(",
"entityCache",
".",
"getResult",
"("... | Caches the commerce order items in the entity cache if it is enabled.
@param commerceOrderItems the commerce order items | [
"Caches",
"the",
"commerce",
"order",
"items",
"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/CommerceOrderItemPersistenceImpl.java#L3041-L3054 |
54,203 | liferay/com-liferay-commerce | commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceOrderItemPersistenceImpl.java | CommerceOrderItemPersistenceImpl.clearCache | @Override
public void clearCache() {
entityCache.clearCache(CommerceOrderItemImpl.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(CommerceOrderItemImpl.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",
"(",
"CommerceOrderItemImpl",
".",
"class",
")",
";",
"finderCache",
".",
"clearCache",
"(",
"FINDER_CLASS_NAME_ENTITY",
")",
";",
"finderCache",
".",
"clearCache",
... | Clears the cache for all commerce order items.
<p>
The {@link EntityCache} and {@link FinderCache} are both cleared by this method.
</p> | [
"Clears",
"the",
"cache",
"for",
"all",
"commerce",
"order",
"items",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceOrderItemPersistenceImpl.java#L3063-L3070 |
54,204 | liferay/com-liferay-commerce | commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceOrderItemPersistenceImpl.java | CommerceOrderItemPersistenceImpl.clearCache | @Override
public void clearCache(CommerceOrderItem commerceOrderItem) {
entityCache.removeResult(CommerceOrderItemModelImpl.ENTITY_CACHE_ENABLED,
CommerceOrderItemImpl.class, commerceOrderItem.getPrimaryKey());
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
finderCache.clearCache(FINDER_CLAS... | java | @Override
public void clearCache(CommerceOrderItem commerceOrderItem) {
entityCache.removeResult(CommerceOrderItemModelImpl.ENTITY_CACHE_ENABLED,
CommerceOrderItemImpl.class, commerceOrderItem.getPrimaryKey());
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
finderCache.clearCache(FINDER_CLAS... | [
"@",
"Override",
"public",
"void",
"clearCache",
"(",
"CommerceOrderItem",
"commerceOrderItem",
")",
"{",
"entityCache",
".",
"removeResult",
"(",
"CommerceOrderItemModelImpl",
".",
"ENTITY_CACHE_ENABLED",
",",
"CommerceOrderItemImpl",
".",
"class",
",",
"commerceOrderIte... | Clears the cache for the commerce order item.
<p>
The {@link EntityCache} and {@link FinderCache} are both cleared by this method.
</p> | [
"Clears",
"the",
"cache",
"for",
"the",
"commerce",
"order",
"item",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceOrderItemPersistenceImpl.java#L3079-L3089 |
54,205 | liferay/com-liferay-commerce | commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceOrderItemPersistenceImpl.java | CommerceOrderItemPersistenceImpl.findAll | @Override
public List<CommerceOrderItem> findAll() {
return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
} | java | @Override
public List<CommerceOrderItem> findAll() {
return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
} | [
"@",
"Override",
"public",
"List",
"<",
"CommerceOrderItem",
">",
"findAll",
"(",
")",
"{",
"return",
"findAll",
"(",
"QueryUtil",
".",
"ALL_POS",
",",
"QueryUtil",
".",
"ALL_POS",
",",
"null",
")",
";",
"}"
] | Returns all the commerce order items.
@return the commerce order items | [
"Returns",
"all",
"the",
"commerce",
"order",
"items",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceOrderItemPersistenceImpl.java#L3667-L3670 |
54,206 | liferay/com-liferay-commerce | commerce-product-type-grouped-service/src/main/java/com/liferay/commerce/product/type/grouped/service/persistence/impl/CPDefinitionGroupedEntryPersistenceImpl.java | CPDefinitionGroupedEntryPersistenceImpl.cacheResult | @Override
public void cacheResult(CPDefinitionGroupedEntry cpDefinitionGroupedEntry) {
entityCache.putResult(CPDefinitionGroupedEntryModelImpl.ENTITY_CACHE_ENABLED,
CPDefinitionGroupedEntryImpl.class,
cpDefinitionGroupedEntry.getPrimaryKey(), cpDefinitionGroupedEntry);
finderCache.putResult(FINDER_PATH_FETC... | java | @Override
public void cacheResult(CPDefinitionGroupedEntry cpDefinitionGroupedEntry) {
entityCache.putResult(CPDefinitionGroupedEntryModelImpl.ENTITY_CACHE_ENABLED,
CPDefinitionGroupedEntryImpl.class,
cpDefinitionGroupedEntry.getPrimaryKey(), cpDefinitionGroupedEntry);
finderCache.putResult(FINDER_PATH_FETC... | [
"@",
"Override",
"public",
"void",
"cacheResult",
"(",
"CPDefinitionGroupedEntry",
"cpDefinitionGroupedEntry",
")",
"{",
"entityCache",
".",
"putResult",
"(",
"CPDefinitionGroupedEntryModelImpl",
".",
"ENTITY_CACHE_ENABLED",
",",
"CPDefinitionGroupedEntryImpl",
".",
"class",
... | Caches the cp definition grouped entry in the entity cache if it is enabled.
@param cpDefinitionGroupedEntry the cp definition grouped entry | [
"Caches",
"the",
"cp",
"definition",
"grouped",
"entry",
"in",
"the",
"entity",
"cache",
"if",
"it",
"is",
"enabled",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-type-grouped-service/src/main/java/com/liferay/commerce/product/type/grouped/service/persistence/impl/CPDefinitionGroupedEntryPersistenceImpl.java#L2275-L2294 |
54,207 | liferay/com-liferay-commerce | commerce-product-type-grouped-service/src/main/java/com/liferay/commerce/product/type/grouped/service/persistence/impl/CPDefinitionGroupedEntryPersistenceImpl.java | CPDefinitionGroupedEntryPersistenceImpl.cacheResult | @Override
public void cacheResult(
List<CPDefinitionGroupedEntry> cpDefinitionGroupedEntries) {
for (CPDefinitionGroupedEntry cpDefinitionGroupedEntry : cpDefinitionGroupedEntries) {
if (entityCache.getResult(
CPDefinitionGroupedEntryModelImpl.ENTITY_CACHE_ENABLED,
CPDefinitionGroupedEntryImpl.class... | java | @Override
public void cacheResult(
List<CPDefinitionGroupedEntry> cpDefinitionGroupedEntries) {
for (CPDefinitionGroupedEntry cpDefinitionGroupedEntry : cpDefinitionGroupedEntries) {
if (entityCache.getResult(
CPDefinitionGroupedEntryModelImpl.ENTITY_CACHE_ENABLED,
CPDefinitionGroupedEntryImpl.class... | [
"@",
"Override",
"public",
"void",
"cacheResult",
"(",
"List",
"<",
"CPDefinitionGroupedEntry",
">",
"cpDefinitionGroupedEntries",
")",
"{",
"for",
"(",
"CPDefinitionGroupedEntry",
"cpDefinitionGroupedEntry",
":",
"cpDefinitionGroupedEntries",
")",
"{",
"if",
"(",
"enti... | Caches the cp definition grouped entries in the entity cache if it is enabled.
@param cpDefinitionGroupedEntries the cp definition grouped entries | [
"Caches",
"the",
"cp",
"definition",
"grouped",
"entries",
"in",
"the",
"entity",
"cache",
"if",
"it",
"is",
"enabled",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-type-grouped-service/src/main/java/com/liferay/commerce/product/type/grouped/service/persistence/impl/CPDefinitionGroupedEntryPersistenceImpl.java#L2301-L2315 |
54,208 | liferay/com-liferay-commerce | commerce-product-type-grouped-service/src/main/java/com/liferay/commerce/product/type/grouped/service/persistence/impl/CPDefinitionGroupedEntryPersistenceImpl.java | CPDefinitionGroupedEntryPersistenceImpl.clearCache | @Override
public void clearCache() {
entityCache.clearCache(CPDefinitionGroupedEntryImpl.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(CPDefinitionGroupedEntryImpl.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",
"(",
"CPDefinitionGroupedEntryImpl",
".",
"class",
")",
";",
"finderCache",
".",
"clearCache",
"(",
"FINDER_CLASS_NAME_ENTITY",
")",
";",
"finderCache",
".",
"clearCa... | Clears the cache for all cp definition grouped entries.
<p>
The {@link EntityCache} and {@link FinderCache} are both cleared by this method.
</p> | [
"Clears",
"the",
"cache",
"for",
"all",
"cp",
"definition",
"grouped",
"entries",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-type-grouped-service/src/main/java/com/liferay/commerce/product/type/grouped/service/persistence/impl/CPDefinitionGroupedEntryPersistenceImpl.java#L2324-L2331 |
54,209 | liferay/com-liferay-commerce | commerce-product-type-grouped-service/src/main/java/com/liferay/commerce/product/type/grouped/service/persistence/impl/CPDefinitionGroupedEntryPersistenceImpl.java | CPDefinitionGroupedEntryPersistenceImpl.clearCache | @Override
public void clearCache(CPDefinitionGroupedEntry cpDefinitionGroupedEntry) {
entityCache.removeResult(CPDefinitionGroupedEntryModelImpl.ENTITY_CACHE_ENABLED,
CPDefinitionGroupedEntryImpl.class,
cpDefinitionGroupedEntry.getPrimaryKey());
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION)... | java | @Override
public void clearCache(CPDefinitionGroupedEntry cpDefinitionGroupedEntry) {
entityCache.removeResult(CPDefinitionGroupedEntryModelImpl.ENTITY_CACHE_ENABLED,
CPDefinitionGroupedEntryImpl.class,
cpDefinitionGroupedEntry.getPrimaryKey());
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION)... | [
"@",
"Override",
"public",
"void",
"clearCache",
"(",
"CPDefinitionGroupedEntry",
"cpDefinitionGroupedEntry",
")",
"{",
"entityCache",
".",
"removeResult",
"(",
"CPDefinitionGroupedEntryModelImpl",
".",
"ENTITY_CACHE_ENABLED",
",",
"CPDefinitionGroupedEntryImpl",
".",
"class"... | Clears the cache for the cp definition grouped entry.
<p>
The {@link EntityCache} and {@link FinderCache} are both cleared by this method.
</p> | [
"Clears",
"the",
"cache",
"for",
"the",
"cp",
"definition",
"grouped",
"entry",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-type-grouped-service/src/main/java/com/liferay/commerce/product/type/grouped/service/persistence/impl/CPDefinitionGroupedEntryPersistenceImpl.java#L2340-L2351 |
54,210 | liferay/com-liferay-commerce | commerce-product-type-grouped-service/src/main/java/com/liferay/commerce/product/type/grouped/service/persistence/impl/CPDefinitionGroupedEntryPersistenceImpl.java | CPDefinitionGroupedEntryPersistenceImpl.findAll | @Override
public List<CPDefinitionGroupedEntry> findAll() {
return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
} | java | @Override
public List<CPDefinitionGroupedEntry> findAll() {
return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
} | [
"@",
"Override",
"public",
"List",
"<",
"CPDefinitionGroupedEntry",
">",
"findAll",
"(",
")",
"{",
"return",
"findAll",
"(",
"QueryUtil",
".",
"ALL_POS",
",",
"QueryUtil",
".",
"ALL_POS",
",",
"null",
")",
";",
"}"
] | Returns all the cp definition grouped entries.
@return the cp definition grouped entries | [
"Returns",
"all",
"the",
"cp",
"definition",
"grouped",
"entries",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-type-grouped-service/src/main/java/com/liferay/commerce/product/type/grouped/service/persistence/impl/CPDefinitionGroupedEntryPersistenceImpl.java#L2928-L2931 |
54,211 | liferay/com-liferay-commerce | commerce-product-api/src/main/java/com/liferay/commerce/product/model/CPOptionValueWrapper.java | CPOptionValueWrapper.getName | @Override
public String getName(String languageId, boolean useDefault) {
return _cpOptionValue.getName(languageId, useDefault);
} | java | @Override
public String getName(String languageId, boolean useDefault) {
return _cpOptionValue.getName(languageId, useDefault);
} | [
"@",
"Override",
"public",
"String",
"getName",
"(",
"String",
"languageId",
",",
"boolean",
"useDefault",
")",
"{",
"return",
"_cpOptionValue",
".",
"getName",
"(",
"languageId",
",",
"useDefault",
")",
";",
"}"
] | Returns the localized name of this cp option value 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
@return the... | [
"Returns",
"the",
"localized",
"name",
"of",
"this",
"cp",
"option",
"value",
"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-product-api/src/main/java/com/liferay/commerce/product/model/CPOptionValueWrapper.java#L341-L344 |
54,212 | liferay/com-liferay-commerce | commerce-discount-service/src/main/java/com/liferay/commerce/discount/service/base/CommerceDiscountUsageEntryLocalServiceBaseImpl.java | CommerceDiscountUsageEntryLocalServiceBaseImpl.deleteCommerceDiscountUsageEntry | @Indexable(type = IndexableType.DELETE)
@Override
public CommerceDiscountUsageEntry deleteCommerceDiscountUsageEntry(
long commerceDiscountUsageEntryId) throws PortalException {
return commerceDiscountUsageEntryPersistence.remove(commerceDiscountUsageEntryId);
} | java | @Indexable(type = IndexableType.DELETE)
@Override
public CommerceDiscountUsageEntry deleteCommerceDiscountUsageEntry(
long commerceDiscountUsageEntryId) throws PortalException {
return commerceDiscountUsageEntryPersistence.remove(commerceDiscountUsageEntryId);
} | [
"@",
"Indexable",
"(",
"type",
"=",
"IndexableType",
".",
"DELETE",
")",
"@",
"Override",
"public",
"CommerceDiscountUsageEntry",
"deleteCommerceDiscountUsageEntry",
"(",
"long",
"commerceDiscountUsageEntryId",
")",
"throws",
"PortalException",
"{",
"return",
"commerceDis... | Deletes the commerce discount usage entry with the primary key from the database. Also notifies the appropriate model listeners.
@param commerceDiscountUsageEntryId the primary key of the commerce discount usage entry
@return the commerce discount usage entry that was removed
@throws PortalException if a commerce disc... | [
"Deletes",
"the",
"commerce",
"discount",
"usage",
"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-discount-service/src/main/java/com/liferay/commerce/discount/service/base/CommerceDiscountUsageEntryLocalServiceBaseImpl.java#L116-L121 |
54,213 | liferay/com-liferay-commerce | commerce-discount-service/src/main/java/com/liferay/commerce/discount/service/base/CommerceDiscountUsageEntryLocalServiceBaseImpl.java | CommerceDiscountUsageEntryLocalServiceBaseImpl.deleteCommerceDiscountUsageEntry | @Indexable(type = IndexableType.DELETE)
@Override
public CommerceDiscountUsageEntry deleteCommerceDiscountUsageEntry(
CommerceDiscountUsageEntry commerceDiscountUsageEntry) {
return commerceDiscountUsageEntryPersistence.remove(commerceDiscountUsageEntry);
} | java | @Indexable(type = IndexableType.DELETE)
@Override
public CommerceDiscountUsageEntry deleteCommerceDiscountUsageEntry(
CommerceDiscountUsageEntry commerceDiscountUsageEntry) {
return commerceDiscountUsageEntryPersistence.remove(commerceDiscountUsageEntry);
} | [
"@",
"Indexable",
"(",
"type",
"=",
"IndexableType",
".",
"DELETE",
")",
"@",
"Override",
"public",
"CommerceDiscountUsageEntry",
"deleteCommerceDiscountUsageEntry",
"(",
"CommerceDiscountUsageEntry",
"commerceDiscountUsageEntry",
")",
"{",
"return",
"commerceDiscountUsageEnt... | Deletes the commerce discount usage entry from the database. Also notifies the appropriate model listeners.
@param commerceDiscountUsageEntry the commerce discount usage entry
@return the commerce discount usage entry that was removed | [
"Deletes",
"the",
"commerce",
"discount",
"usage",
"entry",
"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/CommerceDiscountUsageEntryLocalServiceBaseImpl.java#L129-L134 |
54,214 | liferay/com-liferay-commerce | commerce-discount-service/src/main/java/com/liferay/commerce/discount/service/base/CommerceDiscountUsageEntryLocalServiceBaseImpl.java | CommerceDiscountUsageEntryLocalServiceBaseImpl.updateCommerceDiscountUsageEntry | @Indexable(type = IndexableType.REINDEX)
@Override
public CommerceDiscountUsageEntry updateCommerceDiscountUsageEntry(
CommerceDiscountUsageEntry commerceDiscountUsageEntry) {
return commerceDiscountUsageEntryPersistence.update(commerceDiscountUsageEntry);
} | java | @Indexable(type = IndexableType.REINDEX)
@Override
public CommerceDiscountUsageEntry updateCommerceDiscountUsageEntry(
CommerceDiscountUsageEntry commerceDiscountUsageEntry) {
return commerceDiscountUsageEntryPersistence.update(commerceDiscountUsageEntry);
} | [
"@",
"Indexable",
"(",
"type",
"=",
"IndexableType",
".",
"REINDEX",
")",
"@",
"Override",
"public",
"CommerceDiscountUsageEntry",
"updateCommerceDiscountUsageEntry",
"(",
"CommerceDiscountUsageEntry",
"commerceDiscountUsageEntry",
")",
"{",
"return",
"commerceDiscountUsageEn... | Updates the commerce discount usage entry in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
@param commerceDiscountUsageEntry the commerce discount usage entry
@return the commerce discount usage entry that was updated | [
"Updates",
"the",
"commerce",
"discount",
"usage",
"entry",
"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-discount-service/src/main/java/com/liferay/commerce/discount/service/base/CommerceDiscountUsageEntryLocalServiceBaseImpl.java#L324-L329 |
54,215 | liferay/com-liferay-commerce | commerce-discount-service/src/main/java/com/liferay/commerce/discount/service/persistence/impl/CommerceDiscountRelPersistenceImpl.java | CommerceDiscountRelPersistenceImpl.cacheResult | @Override
public void cacheResult(CommerceDiscountRel commerceDiscountRel) {
entityCache.putResult(CommerceDiscountRelModelImpl.ENTITY_CACHE_ENABLED,
CommerceDiscountRelImpl.class, commerceDiscountRel.getPrimaryKey(),
commerceDiscountRel);
commerceDiscountRel.resetOriginalValues();
} | java | @Override
public void cacheResult(CommerceDiscountRel commerceDiscountRel) {
entityCache.putResult(CommerceDiscountRelModelImpl.ENTITY_CACHE_ENABLED,
CommerceDiscountRelImpl.class, commerceDiscountRel.getPrimaryKey(),
commerceDiscountRel);
commerceDiscountRel.resetOriginalValues();
} | [
"@",
"Override",
"public",
"void",
"cacheResult",
"(",
"CommerceDiscountRel",
"commerceDiscountRel",
")",
"{",
"entityCache",
".",
"putResult",
"(",
"CommerceDiscountRelModelImpl",
".",
"ENTITY_CACHE_ENABLED",
",",
"CommerceDiscountRelImpl",
".",
"class",
",",
"commerceDi... | Caches the commerce discount rel in the entity cache if it is enabled.
@param commerceDiscountRel the commerce discount rel | [
"Caches",
"the",
"commerce",
"discount",
"rel",
"in",
"the",
"entity",
"cache",
"if",
"it",
"is",
"enabled",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-discount-service/src/main/java/com/liferay/commerce/discount/service/persistence/impl/CommerceDiscountRelPersistenceImpl.java#L1734-L1741 |
54,216 | liferay/com-liferay-commerce | commerce-discount-service/src/main/java/com/liferay/commerce/discount/service/persistence/impl/CommerceDiscountRelPersistenceImpl.java | CommerceDiscountRelPersistenceImpl.cacheResult | @Override
public void cacheResult(List<CommerceDiscountRel> commerceDiscountRels) {
for (CommerceDiscountRel commerceDiscountRel : commerceDiscountRels) {
if (entityCache.getResult(
CommerceDiscountRelModelImpl.ENTITY_CACHE_ENABLED,
CommerceDiscountRelImpl.class,
commerceDiscountRel.getPrimaryKe... | java | @Override
public void cacheResult(List<CommerceDiscountRel> commerceDiscountRels) {
for (CommerceDiscountRel commerceDiscountRel : commerceDiscountRels) {
if (entityCache.getResult(
CommerceDiscountRelModelImpl.ENTITY_CACHE_ENABLED,
CommerceDiscountRelImpl.class,
commerceDiscountRel.getPrimaryKe... | [
"@",
"Override",
"public",
"void",
"cacheResult",
"(",
"List",
"<",
"CommerceDiscountRel",
">",
"commerceDiscountRels",
")",
"{",
"for",
"(",
"CommerceDiscountRel",
"commerceDiscountRel",
":",
"commerceDiscountRels",
")",
"{",
"if",
"(",
"entityCache",
".",
"getResu... | Caches the commerce discount rels in the entity cache if it is enabled.
@param commerceDiscountRels the commerce discount rels | [
"Caches",
"the",
"commerce",
"discount",
"rels",
"in",
"the",
"entity",
"cache",
"if",
"it",
"is",
"enabled",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-discount-service/src/main/java/com/liferay/commerce/discount/service/persistence/impl/CommerceDiscountRelPersistenceImpl.java#L1748-L1761 |
54,217 | liferay/com-liferay-commerce | commerce-discount-service/src/main/java/com/liferay/commerce/discount/service/persistence/impl/CommerceDiscountRelPersistenceImpl.java | CommerceDiscountRelPersistenceImpl.clearCache | @Override
public void clearCache() {
entityCache.clearCache(CommerceDiscountRelImpl.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(CommerceDiscountRelImpl.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",
"(",
"CommerceDiscountRelImpl",
".",
"class",
")",
";",
"finderCache",
".",
"clearCache",
"(",
"FINDER_CLASS_NAME_ENTITY",
")",
";",
"finderCache",
".",
"clearCache",... | Clears the cache for all commerce discount rels.
<p>
The {@link EntityCache} and {@link FinderCache} are both cleared by this method.
</p> | [
"Clears",
"the",
"cache",
"for",
"all",
"commerce",
"discount",
"rels",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-discount-service/src/main/java/com/liferay/commerce/discount/service/persistence/impl/CommerceDiscountRelPersistenceImpl.java#L1770-L1777 |
54,218 | liferay/com-liferay-commerce | commerce-discount-service/src/main/java/com/liferay/commerce/discount/service/persistence/impl/CommerceDiscountRelPersistenceImpl.java | CommerceDiscountRelPersistenceImpl.clearCache | @Override
public void clearCache(CommerceDiscountRel commerceDiscountRel) {
entityCache.removeResult(CommerceDiscountRelModelImpl.ENTITY_CACHE_ENABLED,
CommerceDiscountRelImpl.class, commerceDiscountRel.getPrimaryKey());
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
finderCache.clearCache(F... | java | @Override
public void clearCache(CommerceDiscountRel commerceDiscountRel) {
entityCache.removeResult(CommerceDiscountRelModelImpl.ENTITY_CACHE_ENABLED,
CommerceDiscountRelImpl.class, commerceDiscountRel.getPrimaryKey());
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
finderCache.clearCache(F... | [
"@",
"Override",
"public",
"void",
"clearCache",
"(",
"CommerceDiscountRel",
"commerceDiscountRel",
")",
"{",
"entityCache",
".",
"removeResult",
"(",
"CommerceDiscountRelModelImpl",
".",
"ENTITY_CACHE_ENABLED",
",",
"CommerceDiscountRelImpl",
".",
"class",
",",
"commerce... | Clears the cache for the commerce discount rel.
<p>
The {@link EntityCache} and {@link FinderCache} are both cleared by this method.
</p> | [
"Clears",
"the",
"cache",
"for",
"the",
"commerce",
"discount",
"rel",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-discount-service/src/main/java/com/liferay/commerce/discount/service/persistence/impl/CommerceDiscountRelPersistenceImpl.java#L1786-L1793 |
54,219 | liferay/com-liferay-commerce | commerce-discount-service/src/main/java/com/liferay/commerce/discount/service/persistence/impl/CommerceDiscountRelPersistenceImpl.java | CommerceDiscountRelPersistenceImpl.findAll | @Override
public List<CommerceDiscountRel> findAll() {
return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
} | java | @Override
public List<CommerceDiscountRel> findAll() {
return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
} | [
"@",
"Override",
"public",
"List",
"<",
"CommerceDiscountRel",
">",
"findAll",
"(",
")",
"{",
"return",
"findAll",
"(",
"QueryUtil",
".",
"ALL_POS",
",",
"QueryUtil",
".",
"ALL_POS",
",",
"null",
")",
";",
"}"
] | Returns all the commerce discount rels.
@return the commerce discount rels | [
"Returns",
"all",
"the",
"commerce",
"discount",
"rels",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-discount-service/src/main/java/com/liferay/commerce/discount/service/persistence/impl/CommerceDiscountRelPersistenceImpl.java#L2286-L2289 |
54,220 | liferay/com-liferay-commerce | commerce-service/src/main/java/com/liferay/commerce/service/base/CommerceOrderLocalServiceBaseImpl.java | CommerceOrderLocalServiceBaseImpl.deleteCommerceOrder | @Indexable(type = IndexableType.DELETE)
@Override
public CommerceOrder deleteCommerceOrder(long commerceOrderId)
throws PortalException {
return commerceOrderPersistence.remove(commerceOrderId);
} | java | @Indexable(type = IndexableType.DELETE)
@Override
public CommerceOrder deleteCommerceOrder(long commerceOrderId)
throws PortalException {
return commerceOrderPersistence.remove(commerceOrderId);
} | [
"@",
"Indexable",
"(",
"type",
"=",
"IndexableType",
".",
"DELETE",
")",
"@",
"Override",
"public",
"CommerceOrder",
"deleteCommerceOrder",
"(",
"long",
"commerceOrderId",
")",
"throws",
"PortalException",
"{",
"return",
"commerceOrderPersistence",
".",
"remove",
"(... | Deletes the commerce order with the primary key from the database. Also notifies the appropriate model listeners.
@param commerceOrderId the primary key of the commerce order
@return the commerce order that was removed
@throws PortalException if a commerce order with the primary key could not be found | [
"Deletes",
"the",
"commerce",
"order",
"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/CommerceOrderLocalServiceBaseImpl.java#L152-L157 |
54,221 | liferay/com-liferay-commerce | commerce-service/src/main/java/com/liferay/commerce/service/base/CommerceOrderLocalServiceBaseImpl.java | CommerceOrderLocalServiceBaseImpl.getCommerceOrdersByUuidAndCompanyId | @Override
public List<CommerceOrder> getCommerceOrdersByUuidAndCompanyId(
String uuid, long companyId, int start, int end,
OrderByComparator<CommerceOrder> orderByComparator) {
return commerceOrderPersistence.findByUuid_C(uuid, companyId, start,
end, orderByComparator);
} | java | @Override
public List<CommerceOrder> getCommerceOrdersByUuidAndCompanyId(
String uuid, long companyId, int start, int end,
OrderByComparator<CommerceOrder> orderByComparator) {
return commerceOrderPersistence.findByUuid_C(uuid, companyId, start,
end, orderByComparator);
} | [
"@",
"Override",
"public",
"List",
"<",
"CommerceOrder",
">",
"getCommerceOrdersByUuidAndCompanyId",
"(",
"String",
"uuid",
",",
"long",
"companyId",
",",
"int",
"start",
",",
"int",
"end",
",",
"OrderByComparator",
"<",
"CommerceOrder",
">",
"orderByComparator",
... | Returns a range of commerce orders matching the UUID and company.
@param uuid the UUID of the commerce orders
@param companyId the primary key of the company
@param start the lower bound of the range of commerce orders
@param end the upper bound of the range of commerce orders (not inclusive)
@param orderByComparator ... | [
"Returns",
"a",
"range",
"of",
"commerce",
"orders",
"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/CommerceOrderLocalServiceBaseImpl.java#L452-L458 |
54,222 | liferay/com-liferay-commerce | commerce-service/src/main/java/com/liferay/commerce/service/base/CommerceOrderLocalServiceBaseImpl.java | CommerceOrderLocalServiceBaseImpl.setWorkflowDefinitionLinkLocalService | public void setWorkflowDefinitionLinkLocalService(
com.liferay.portal.kernel.service.WorkflowDefinitionLinkLocalService workflowDefinitionLinkLocalService) {
this.workflowDefinitionLinkLocalService = workflowDefinitionLinkLocalService;
} | java | public void setWorkflowDefinitionLinkLocalService(
com.liferay.portal.kernel.service.WorkflowDefinitionLinkLocalService workflowDefinitionLinkLocalService) {
this.workflowDefinitionLinkLocalService = workflowDefinitionLinkLocalService;
} | [
"public",
"void",
"setWorkflowDefinitionLinkLocalService",
"(",
"com",
".",
"liferay",
".",
"portal",
".",
"kernel",
".",
"service",
".",
"WorkflowDefinitionLinkLocalService",
"workflowDefinitionLinkLocalService",
")",
"{",
"this",
".",
"workflowDefinitionLinkLocalService",
... | Sets the workflow definition link local service.
@param workflowDefinitionLinkLocalService the workflow definition link local service | [
"Sets",
"the",
"workflow",
"definition",
"link",
"local",
"service",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-service/src/main/java/com/liferay/commerce/service/base/CommerceOrderLocalServiceBaseImpl.java#L1435-L1438 |
54,223 | liferay/com-liferay-commerce | commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPRulePersistenceImpl.java | CPRulePersistenceImpl.cacheResult | @Override
public void cacheResult(CPRule cpRule) {
entityCache.putResult(CPRuleModelImpl.ENTITY_CACHE_ENABLED,
CPRuleImpl.class, cpRule.getPrimaryKey(), cpRule);
cpRule.resetOriginalValues();
} | java | @Override
public void cacheResult(CPRule cpRule) {
entityCache.putResult(CPRuleModelImpl.ENTITY_CACHE_ENABLED,
CPRuleImpl.class, cpRule.getPrimaryKey(), cpRule);
cpRule.resetOriginalValues();
} | [
"@",
"Override",
"public",
"void",
"cacheResult",
"(",
"CPRule",
"cpRule",
")",
"{",
"entityCache",
".",
"putResult",
"(",
"CPRuleModelImpl",
".",
"ENTITY_CACHE_ENABLED",
",",
"CPRuleImpl",
".",
"class",
",",
"cpRule",
".",
"getPrimaryKey",
"(",
")",
",",
"cpR... | Caches the cp rule in the entity cache if it is enabled.
@param cpRule the cp rule | [
"Caches",
"the",
"cp",
"rule",
"in",
"the",
"entity",
"cache",
"if",
"it",
"is",
"enabled",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPRulePersistenceImpl.java#L981-L987 |
54,224 | liferay/com-liferay-commerce | commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPRulePersistenceImpl.java | CPRulePersistenceImpl.cacheResult | @Override
public void cacheResult(List<CPRule> cpRules) {
for (CPRule cpRule : cpRules) {
if (entityCache.getResult(CPRuleModelImpl.ENTITY_CACHE_ENABLED,
CPRuleImpl.class, cpRule.getPrimaryKey()) == null) {
cacheResult(cpRule);
}
else {
cpRule.resetOriginalValues();
}
}
} | java | @Override
public void cacheResult(List<CPRule> cpRules) {
for (CPRule cpRule : cpRules) {
if (entityCache.getResult(CPRuleModelImpl.ENTITY_CACHE_ENABLED,
CPRuleImpl.class, cpRule.getPrimaryKey()) == null) {
cacheResult(cpRule);
}
else {
cpRule.resetOriginalValues();
}
}
} | [
"@",
"Override",
"public",
"void",
"cacheResult",
"(",
"List",
"<",
"CPRule",
">",
"cpRules",
")",
"{",
"for",
"(",
"CPRule",
"cpRule",
":",
"cpRules",
")",
"{",
"if",
"(",
"entityCache",
".",
"getResult",
"(",
"CPRuleModelImpl",
".",
"ENTITY_CACHE_ENABLED",... | Caches the cp rules in the entity cache if it is enabled.
@param cpRules the cp rules | [
"Caches",
"the",
"cp",
"rules",
"in",
"the",
"entity",
"cache",
"if",
"it",
"is",
"enabled",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPRulePersistenceImpl.java#L994-L1005 |
54,225 | liferay/com-liferay-commerce | commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPRulePersistenceImpl.java | CPRulePersistenceImpl.clearCache | @Override
public void clearCache() {
entityCache.clearCache(CPRuleImpl.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(CPRuleImpl.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",
"(",
"CPRuleImpl",
".",
"class",
")",
";",
"finderCache",
".",
"clearCache",
"(",
"FINDER_CLASS_NAME_ENTITY",
")",
";",
"finderCache",
".",
"clearCache",
"(",
"FI... | Clears the cache for all cp rules.
<p>
The {@link EntityCache} and {@link FinderCache} are both cleared by this method.
</p> | [
"Clears",
"the",
"cache",
"for",
"all",
"cp",
"rules",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPRulePersistenceImpl.java#L1014-L1021 |
54,226 | liferay/com-liferay-commerce | commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPRulePersistenceImpl.java | CPRulePersistenceImpl.clearCache | @Override
public void clearCache(CPRule cpRule) {
entityCache.removeResult(CPRuleModelImpl.ENTITY_CACHE_ENABLED,
CPRuleImpl.class, cpRule.getPrimaryKey());
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
} | java | @Override
public void clearCache(CPRule cpRule) {
entityCache.removeResult(CPRuleModelImpl.ENTITY_CACHE_ENABLED,
CPRuleImpl.class, cpRule.getPrimaryKey());
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
} | [
"@",
"Override",
"public",
"void",
"clearCache",
"(",
"CPRule",
"cpRule",
")",
"{",
"entityCache",
".",
"removeResult",
"(",
"CPRuleModelImpl",
".",
"ENTITY_CACHE_ENABLED",
",",
"CPRuleImpl",
".",
"class",
",",
"cpRule",
".",
"getPrimaryKey",
"(",
")",
")",
";... | Clears the cache for the cp rule.
<p>
The {@link EntityCache} and {@link FinderCache} are both cleared by this method.
</p> | [
"Clears",
"the",
"cache",
"for",
"the",
"cp",
"rule",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPRulePersistenceImpl.java#L1030-L1037 |
54,227 | liferay/com-liferay-commerce | commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPRulePersistenceImpl.java | CPRulePersistenceImpl.findAll | @Override
public List<CPRule> findAll() {
return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
} | java | @Override
public List<CPRule> findAll() {
return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
} | [
"@",
"Override",
"public",
"List",
"<",
"CPRule",
">",
"findAll",
"(",
")",
"{",
"return",
"findAll",
"(",
"QueryUtil",
".",
"ALL_POS",
",",
"QueryUtil",
".",
"ALL_POS",
",",
"null",
")",
";",
"}"
] | Returns all the cp rules.
@return the cp rules | [
"Returns",
"all",
"the",
"cp",
"rules",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPRulePersistenceImpl.java#L1451-L1454 |
54,228 | liferay/com-liferay-commerce | commerce-currency-service/src/main/java/com/liferay/commerce/currency/service/base/CommerceCurrencyLocalServiceBaseImpl.java | CommerceCurrencyLocalServiceBaseImpl.deleteCommerceCurrency | @Indexable(type = IndexableType.DELETE)
@Override
public CommerceCurrency deleteCommerceCurrency(long commerceCurrencyId)
throws PortalException {
return commerceCurrencyPersistence.remove(commerceCurrencyId);
} | java | @Indexable(type = IndexableType.DELETE)
@Override
public CommerceCurrency deleteCommerceCurrency(long commerceCurrencyId)
throws PortalException {
return commerceCurrencyPersistence.remove(commerceCurrencyId);
} | [
"@",
"Indexable",
"(",
"type",
"=",
"IndexableType",
".",
"DELETE",
")",
"@",
"Override",
"public",
"CommerceCurrency",
"deleteCommerceCurrency",
"(",
"long",
"commerceCurrencyId",
")",
"throws",
"PortalException",
"{",
"return",
"commerceCurrencyPersistence",
".",
"r... | Deletes the commerce currency with the primary key from the database. Also notifies the appropriate model listeners.
@param commerceCurrencyId the primary key of the commerce currency
@return the commerce currency that was removed
@throws PortalException if a commerce currency with the primary key could not be found | [
"Deletes",
"the",
"commerce",
"currency",
"with",
"the",
"primary",
"key",
"from",
"the",
"database",
".",
"Also",
"notifies",
"the",
"appropriate",
"model",
"listeners",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-currency-service/src/main/java/com/liferay/commerce/currency/service/base/CommerceCurrencyLocalServiceBaseImpl.java#L119-L124 |
54,229 | liferay/com-liferay-commerce | commerce-currency-service/src/main/java/com/liferay/commerce/currency/service/base/CommerceCurrencyLocalServiceBaseImpl.java | CommerceCurrencyLocalServiceBaseImpl.deleteCommerceCurrency | @Indexable(type = IndexableType.DELETE)
@Override
public CommerceCurrency deleteCommerceCurrency(
CommerceCurrency commerceCurrency) {
return commerceCurrencyPersistence.remove(commerceCurrency);
} | java | @Indexable(type = IndexableType.DELETE)
@Override
public CommerceCurrency deleteCommerceCurrency(
CommerceCurrency commerceCurrency) {
return commerceCurrencyPersistence.remove(commerceCurrency);
} | [
"@",
"Indexable",
"(",
"type",
"=",
"IndexableType",
".",
"DELETE",
")",
"@",
"Override",
"public",
"CommerceCurrency",
"deleteCommerceCurrency",
"(",
"CommerceCurrency",
"commerceCurrency",
")",
"{",
"return",
"commerceCurrencyPersistence",
".",
"remove",
"(",
"comme... | Deletes the commerce currency from the database. Also notifies the appropriate model listeners.
@param commerceCurrency the commerce currency
@return the commerce currency that was removed | [
"Deletes",
"the",
"commerce",
"currency",
"from",
"the",
"database",
".",
"Also",
"notifies",
"the",
"appropriate",
"model",
"listeners",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-currency-service/src/main/java/com/liferay/commerce/currency/service/base/CommerceCurrencyLocalServiceBaseImpl.java#L132-L137 |
54,230 | liferay/com-liferay-commerce | commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceRegionPersistenceImpl.java | CommerceRegionPersistenceImpl.cacheResult | @Override
public void cacheResult(CommerceRegion commerceRegion) {
entityCache.putResult(CommerceRegionModelImpl.ENTITY_CACHE_ENABLED,
CommerceRegionImpl.class, commerceRegion.getPrimaryKey(),
commerceRegion);
finderCache.putResult(FINDER_PATH_FETCH_BY_UUID_G,
new Object[] { commerceRegion.getUuid(), com... | java | @Override
public void cacheResult(CommerceRegion commerceRegion) {
entityCache.putResult(CommerceRegionModelImpl.ENTITY_CACHE_ENABLED,
CommerceRegionImpl.class, commerceRegion.getPrimaryKey(),
commerceRegion);
finderCache.putResult(FINDER_PATH_FETCH_BY_UUID_G,
new Object[] { commerceRegion.getUuid(), com... | [
"@",
"Override",
"public",
"void",
"cacheResult",
"(",
"CommerceRegion",
"commerceRegion",
")",
"{",
"entityCache",
".",
"putResult",
"(",
"CommerceRegionModelImpl",
".",
"ENTITY_CACHE_ENABLED",
",",
"CommerceRegionImpl",
".",
"class",
",",
"commerceRegion",
".",
"get... | Caches the commerce region in the entity cache if it is enabled.
@param commerceRegion the commerce region | [
"Caches",
"the",
"commerce",
"region",
"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/CommerceRegionPersistenceImpl.java#L2828-L2844 |
54,231 | liferay/com-liferay-commerce | commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceRegionPersistenceImpl.java | CommerceRegionPersistenceImpl.cacheResult | @Override
public void cacheResult(List<CommerceRegion> commerceRegions) {
for (CommerceRegion commerceRegion : commerceRegions) {
if (entityCache.getResult(
CommerceRegionModelImpl.ENTITY_CACHE_ENABLED,
CommerceRegionImpl.class, commerceRegion.getPrimaryKey()) == null) {
cacheResult(commerceRegion... | java | @Override
public void cacheResult(List<CommerceRegion> commerceRegions) {
for (CommerceRegion commerceRegion : commerceRegions) {
if (entityCache.getResult(
CommerceRegionModelImpl.ENTITY_CACHE_ENABLED,
CommerceRegionImpl.class, commerceRegion.getPrimaryKey()) == null) {
cacheResult(commerceRegion... | [
"@",
"Override",
"public",
"void",
"cacheResult",
"(",
"List",
"<",
"CommerceRegion",
">",
"commerceRegions",
")",
"{",
"for",
"(",
"CommerceRegion",
"commerceRegion",
":",
"commerceRegions",
")",
"{",
"if",
"(",
"entityCache",
".",
"getResult",
"(",
"CommerceRe... | Caches the commerce regions in the entity cache if it is enabled.
@param commerceRegions the commerce regions | [
"Caches",
"the",
"commerce",
"regions",
"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/CommerceRegionPersistenceImpl.java#L2851-L2863 |
54,232 | liferay/com-liferay-commerce | commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceRegionPersistenceImpl.java | CommerceRegionPersistenceImpl.clearCache | @Override
public void clearCache() {
entityCache.clearCache(CommerceRegionImpl.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(CommerceRegionImpl.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",
"(",
"CommerceRegionImpl",
".",
"class",
")",
";",
"finderCache",
".",
"clearCache",
"(",
"FINDER_CLASS_NAME_ENTITY",
")",
";",
"finderCache",
".",
"clearCache",
"(... | Clears the cache for all commerce regions.
<p>
The {@link EntityCache} and {@link FinderCache} are both cleared by this method.
</p> | [
"Clears",
"the",
"cache",
"for",
"all",
"commerce",
"regions",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceRegionPersistenceImpl.java#L2872-L2879 |
54,233 | liferay/com-liferay-commerce | commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceRegionPersistenceImpl.java | CommerceRegionPersistenceImpl.clearCache | @Override
public void clearCache(CommerceRegion commerceRegion) {
entityCache.removeResult(CommerceRegionModelImpl.ENTITY_CACHE_ENABLED,
CommerceRegionImpl.class, commerceRegion.getPrimaryKey());
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WIT... | java | @Override
public void clearCache(CommerceRegion commerceRegion) {
entityCache.removeResult(CommerceRegionModelImpl.ENTITY_CACHE_ENABLED,
CommerceRegionImpl.class, commerceRegion.getPrimaryKey());
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WIT... | [
"@",
"Override",
"public",
"void",
"clearCache",
"(",
"CommerceRegion",
"commerceRegion",
")",
"{",
"entityCache",
".",
"removeResult",
"(",
"CommerceRegionModelImpl",
".",
"ENTITY_CACHE_ENABLED",
",",
"CommerceRegionImpl",
".",
"class",
",",
"commerceRegion",
".",
"g... | Clears the cache for the commerce region.
<p>
The {@link EntityCache} and {@link FinderCache} are both cleared by this method.
</p> | [
"Clears",
"the",
"cache",
"for",
"the",
"commerce",
"region",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceRegionPersistenceImpl.java#L2888-L2897 |
54,234 | liferay/com-liferay-commerce | commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceRegionPersistenceImpl.java | CommerceRegionPersistenceImpl.findAll | @Override
public List<CommerceRegion> findAll() {
return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
} | java | @Override
public List<CommerceRegion> findAll() {
return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
} | [
"@",
"Override",
"public",
"List",
"<",
"CommerceRegion",
">",
"findAll",
"(",
")",
"{",
"return",
"findAll",
"(",
"QueryUtil",
".",
"ALL_POS",
",",
"QueryUtil",
".",
"ALL_POS",
",",
"null",
")",
";",
"}"
] | Returns all the commerce regions.
@return the commerce regions | [
"Returns",
"all",
"the",
"commerce",
"regions",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceRegionPersistenceImpl.java#L3490-L3493 |
54,235 | liferay/com-liferay-commerce | commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPDefinitionLocalServiceBaseImpl.java | CPDefinitionLocalServiceBaseImpl.deleteCPDefinition | @Indexable(type = IndexableType.DELETE)
@Override
public CPDefinition deleteCPDefinition(long CPDefinitionId)
throws PortalException {
return cpDefinitionPersistence.remove(CPDefinitionId);
} | java | @Indexable(type = IndexableType.DELETE)
@Override
public CPDefinition deleteCPDefinition(long CPDefinitionId)
throws PortalException {
return cpDefinitionPersistence.remove(CPDefinitionId);
} | [
"@",
"Indexable",
"(",
"type",
"=",
"IndexableType",
".",
"DELETE",
")",
"@",
"Override",
"public",
"CPDefinition",
"deleteCPDefinition",
"(",
"long",
"CPDefinitionId",
")",
"throws",
"PortalException",
"{",
"return",
"cpDefinitionPersistence",
".",
"remove",
"(",
... | Deletes the cp definition with the primary key from the database. Also notifies the appropriate model listeners.
@param CPDefinitionId the primary key of the cp definition
@return the cp definition that was removed
@throws PortalException if a cp definition with the primary key could not be found | [
"Deletes",
"the",
"cp",
"definition",
"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/CPDefinitionLocalServiceBaseImpl.java#L161-L166 |
54,236 | liferay/com-liferay-commerce | commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPDefinitionLocalServiceBaseImpl.java | CPDefinitionLocalServiceBaseImpl.deleteCPDefinition | @Indexable(type = IndexableType.DELETE)
@Override
public CPDefinition deleteCPDefinition(CPDefinition cpDefinition)
throws PortalException {
return cpDefinitionPersistence.remove(cpDefinition);
} | java | @Indexable(type = IndexableType.DELETE)
@Override
public CPDefinition deleteCPDefinition(CPDefinition cpDefinition)
throws PortalException {
return cpDefinitionPersistence.remove(cpDefinition);
} | [
"@",
"Indexable",
"(",
"type",
"=",
"IndexableType",
".",
"DELETE",
")",
"@",
"Override",
"public",
"CPDefinition",
"deleteCPDefinition",
"(",
"CPDefinition",
"cpDefinition",
")",
"throws",
"PortalException",
"{",
"return",
"cpDefinitionPersistence",
".",
"remove",
... | Deletes the cp definition from the database. Also notifies the appropriate model listeners.
@param cpDefinition the cp definition
@return the cp definition that was removed
@throws PortalException | [
"Deletes",
"the",
"cp",
"definition",
"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/CPDefinitionLocalServiceBaseImpl.java#L175-L180 |
54,237 | liferay/com-liferay-commerce | commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPDefinitionLocalServiceBaseImpl.java | CPDefinitionLocalServiceBaseImpl.getCPDefinitionsByUuidAndCompanyId | @Override
public List<CPDefinition> getCPDefinitionsByUuidAndCompanyId(String uuid,
long companyId, int start, int end,
OrderByComparator<CPDefinition> orderByComparator) {
return cpDefinitionPersistence.findByUuid_C(uuid, companyId, start,
end, orderByComparator);
} | java | @Override
public List<CPDefinition> getCPDefinitionsByUuidAndCompanyId(String uuid,
long companyId, int start, int end,
OrderByComparator<CPDefinition> orderByComparator) {
return cpDefinitionPersistence.findByUuid_C(uuid, companyId, start,
end, orderByComparator);
} | [
"@",
"Override",
"public",
"List",
"<",
"CPDefinition",
">",
"getCPDefinitionsByUuidAndCompanyId",
"(",
"String",
"uuid",
",",
"long",
"companyId",
",",
"int",
"start",
",",
"int",
"end",
",",
"OrderByComparator",
"<",
"CPDefinition",
">",
"orderByComparator",
")"... | Returns a range of cp definitions matching the UUID and company.
@param uuid the UUID of the cp definitions
@param companyId the primary key of the company
@param start the lower bound of the range of cp definitions
@param end the upper bound of the range of cp definitions (not inclusive)
@param orderByComparator the ... | [
"Returns",
"a",
"range",
"of",
"cp",
"definitions",
"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/CPDefinitionLocalServiceBaseImpl.java#L483-L489 |
54,238 | liferay/com-liferay-commerce | commerce-discount-api/src/main/java/com/liferay/commerce/discount/service/CommerceDiscountRelLocalServiceWrapper.java | CommerceDiscountRelLocalServiceWrapper.getCommerceDiscountRel | @Override
public com.liferay.commerce.discount.model.CommerceDiscountRel getCommerceDiscountRel(
long commerceDiscountRelId)
throws com.liferay.portal.kernel.exception.PortalException {
return _commerceDiscountRelLocalService.getCommerceDiscountRel(commerceDiscountRelId);
} | java | @Override
public com.liferay.commerce.discount.model.CommerceDiscountRel getCommerceDiscountRel(
long commerceDiscountRelId)
throws com.liferay.portal.kernel.exception.PortalException {
return _commerceDiscountRelLocalService.getCommerceDiscountRel(commerceDiscountRelId);
} | [
"@",
"Override",
"public",
"com",
".",
"liferay",
".",
"commerce",
".",
"discount",
".",
"model",
".",
"CommerceDiscountRel",
"getCommerceDiscountRel",
"(",
"long",
"commerceDiscountRelId",
")",
"throws",
"com",
".",
"liferay",
".",
"portal",
".",
"kernel",
".",... | Returns the commerce discount rel with the primary key.
@param commerceDiscountRelId the primary key of the commerce discount rel
@return the commerce discount rel
@throws PortalException if a commerce discount rel with the primary key could not be found | [
"Returns",
"the",
"commerce",
"discount",
"rel",
"with",
"the",
"primary",
"key",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-discount-api/src/main/java/com/liferay/commerce/discount/service/CommerceDiscountRelLocalServiceWrapper.java#L231-L236 |
54,239 | liferay/com-liferay-commerce | commerce-wish-list-api/src/main/java/com/liferay/commerce/wish/list/service/CommerceWishListLocalServiceWrapper.java | CommerceWishListLocalServiceWrapper.getCommerceWishList | @Override
public com.liferay.commerce.wish.list.model.CommerceWishList getCommerceWishList(
long commerceWishListId)
throws com.liferay.portal.kernel.exception.PortalException {
return _commerceWishListLocalService.getCommerceWishList(commerceWishListId);
} | java | @Override
public com.liferay.commerce.wish.list.model.CommerceWishList getCommerceWishList(
long commerceWishListId)
throws com.liferay.portal.kernel.exception.PortalException {
return _commerceWishListLocalService.getCommerceWishList(commerceWishListId);
} | [
"@",
"Override",
"public",
"com",
".",
"liferay",
".",
"commerce",
".",
"wish",
".",
"list",
".",
"model",
".",
"CommerceWishList",
"getCommerceWishList",
"(",
"long",
"commerceWishListId",
")",
"throws",
"com",
".",
"liferay",
".",
"portal",
".",
"kernel",
... | Returns the commerce wish list with the primary key.
@param commerceWishListId the primary key of the commerce wish list
@return the commerce wish list
@throws PortalException if a commerce wish list with the primary key could not be found | [
"Returns",
"the",
"commerce",
"wish",
"list",
"with",
"the",
"primary",
"key",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-wish-list-api/src/main/java/com/liferay/commerce/wish/list/service/CommerceWishListLocalServiceWrapper.java#L247-L252 |
54,240 | liferay/com-liferay-commerce | commerce-account-service/src/main/java/com/liferay/commerce/account/service/persistence/impl/CommerceAccountUserRelPersistenceImpl.java | CommerceAccountUserRelPersistenceImpl.cacheResult | @Override
public void cacheResult(CommerceAccountUserRel commerceAccountUserRel) {
entityCache.putResult(CommerceAccountUserRelModelImpl.ENTITY_CACHE_ENABLED,
CommerceAccountUserRelImpl.class,
commerceAccountUserRel.getPrimaryKey(), commerceAccountUserRel);
commerceAccountUserRel.resetOriginalValues();
} | java | @Override
public void cacheResult(CommerceAccountUserRel commerceAccountUserRel) {
entityCache.putResult(CommerceAccountUserRelModelImpl.ENTITY_CACHE_ENABLED,
CommerceAccountUserRelImpl.class,
commerceAccountUserRel.getPrimaryKey(), commerceAccountUserRel);
commerceAccountUserRel.resetOriginalValues();
} | [
"@",
"Override",
"public",
"void",
"cacheResult",
"(",
"CommerceAccountUserRel",
"commerceAccountUserRel",
")",
"{",
"entityCache",
".",
"putResult",
"(",
"CommerceAccountUserRelModelImpl",
".",
"ENTITY_CACHE_ENABLED",
",",
"CommerceAccountUserRelImpl",
".",
"class",
",",
... | Caches the commerce account user rel in the entity cache if it is enabled.
@param commerceAccountUserRel the commerce account user rel | [
"Caches",
"the",
"commerce",
"account",
"user",
"rel",
"in",
"the",
"entity",
"cache",
"if",
"it",
"is",
"enabled",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-account-service/src/main/java/com/liferay/commerce/account/service/persistence/impl/CommerceAccountUserRelPersistenceImpl.java#L1164-L1171 |
54,241 | liferay/com-liferay-commerce | commerce-account-service/src/main/java/com/liferay/commerce/account/service/persistence/impl/CommerceAccountUserRelPersistenceImpl.java | CommerceAccountUserRelPersistenceImpl.cacheResult | @Override
public void cacheResult(
List<CommerceAccountUserRel> commerceAccountUserRels) {
for (CommerceAccountUserRel commerceAccountUserRel : commerceAccountUserRels) {
if (entityCache.getResult(
CommerceAccountUserRelModelImpl.ENTITY_CACHE_ENABLED,
CommerceAccountUserRelImpl.class,
commerce... | java | @Override
public void cacheResult(
List<CommerceAccountUserRel> commerceAccountUserRels) {
for (CommerceAccountUserRel commerceAccountUserRel : commerceAccountUserRels) {
if (entityCache.getResult(
CommerceAccountUserRelModelImpl.ENTITY_CACHE_ENABLED,
CommerceAccountUserRelImpl.class,
commerce... | [
"@",
"Override",
"public",
"void",
"cacheResult",
"(",
"List",
"<",
"CommerceAccountUserRel",
">",
"commerceAccountUserRels",
")",
"{",
"for",
"(",
"CommerceAccountUserRel",
"commerceAccountUserRel",
":",
"commerceAccountUserRels",
")",
"{",
"if",
"(",
"entityCache",
... | Caches the commerce account user rels in the entity cache if it is enabled.
@param commerceAccountUserRels the commerce account user rels | [
"Caches",
"the",
"commerce",
"account",
"user",
"rels",
"in",
"the",
"entity",
"cache",
"if",
"it",
"is",
"enabled",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-account-service/src/main/java/com/liferay/commerce/account/service/persistence/impl/CommerceAccountUserRelPersistenceImpl.java#L1178-L1192 |
54,242 | liferay/com-liferay-commerce | commerce-account-service/src/main/java/com/liferay/commerce/account/service/persistence/impl/CommerceAccountUserRelPersistenceImpl.java | CommerceAccountUserRelPersistenceImpl.clearCache | @Override
public void clearCache() {
entityCache.clearCache(CommerceAccountUserRelImpl.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(CommerceAccountUserRelImpl.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",
"(",
"CommerceAccountUserRelImpl",
".",
"class",
")",
";",
"finderCache",
".",
"clearCache",
"(",
"FINDER_CLASS_NAME_ENTITY",
")",
";",
"finderCache",
".",
"clearCach... | Clears the cache for all commerce account user rels.
<p>
The {@link EntityCache} and {@link FinderCache} are both cleared by this method.
</p> | [
"Clears",
"the",
"cache",
"for",
"all",
"commerce",
"account",
"user",
"rels",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-account-service/src/main/java/com/liferay/commerce/account/service/persistence/impl/CommerceAccountUserRelPersistenceImpl.java#L1201-L1208 |
54,243 | liferay/com-liferay-commerce | commerce-account-service/src/main/java/com/liferay/commerce/account/service/persistence/impl/CommerceAccountUserRelPersistenceImpl.java | CommerceAccountUserRelPersistenceImpl.clearCache | @Override
public void clearCache(CommerceAccountUserRel commerceAccountUserRel) {
entityCache.removeResult(CommerceAccountUserRelModelImpl.ENTITY_CACHE_ENABLED,
CommerceAccountUserRelImpl.class,
commerceAccountUserRel.getPrimaryKey());
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
finder... | java | @Override
public void clearCache(CommerceAccountUserRel commerceAccountUserRel) {
entityCache.removeResult(CommerceAccountUserRelModelImpl.ENTITY_CACHE_ENABLED,
CommerceAccountUserRelImpl.class,
commerceAccountUserRel.getPrimaryKey());
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
finder... | [
"@",
"Override",
"public",
"void",
"clearCache",
"(",
"CommerceAccountUserRel",
"commerceAccountUserRel",
")",
"{",
"entityCache",
".",
"removeResult",
"(",
"CommerceAccountUserRelModelImpl",
".",
"ENTITY_CACHE_ENABLED",
",",
"CommerceAccountUserRelImpl",
".",
"class",
",",... | Clears the cache for the commerce account user rel.
<p>
The {@link EntityCache} and {@link FinderCache} are both cleared by this method.
</p> | [
"Clears",
"the",
"cache",
"for",
"the",
"commerce",
"account",
"user",
"rel",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-account-service/src/main/java/com/liferay/commerce/account/service/persistence/impl/CommerceAccountUserRelPersistenceImpl.java#L1217-L1225 |
54,244 | liferay/com-liferay-commerce | commerce-account-service/src/main/java/com/liferay/commerce/account/service/persistence/impl/CommerceAccountUserRelPersistenceImpl.java | CommerceAccountUserRelPersistenceImpl.findAll | @Override
public List<CommerceAccountUserRel> findAll() {
return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
} | java | @Override
public List<CommerceAccountUserRel> findAll() {
return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
} | [
"@",
"Override",
"public",
"List",
"<",
"CommerceAccountUserRel",
">",
"findAll",
"(",
")",
"{",
"return",
"findAll",
"(",
"QueryUtil",
".",
"ALL_POS",
",",
"QueryUtil",
".",
"ALL_POS",
",",
"null",
")",
";",
"}"
] | Returns all the commerce account user rels.
@return the commerce account user rels | [
"Returns",
"all",
"the",
"commerce",
"account",
"user",
"rels",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-account-service/src/main/java/com/liferay/commerce/account/service/persistence/impl/CommerceAccountUserRelPersistenceImpl.java#L1618-L1621 |
54,245 | liferay/com-liferay-commerce | commerce-api/src/main/java/com/liferay/commerce/model/CommerceCountryWrapper.java | CommerceCountryWrapper.getName | @Override
public String getName(String languageId, boolean useDefault) {
return _commerceCountry.getName(languageId, useDefault);
} | java | @Override
public String getName(String languageId, boolean useDefault) {
return _commerceCountry.getName(languageId, useDefault);
} | [
"@",
"Override",
"public",
"String",
"getName",
"(",
"String",
"languageId",
",",
"boolean",
"useDefault",
")",
"{",
"return",
"_commerceCountry",
".",
"getName",
"(",
"languageId",
",",
"useDefault",
")",
";",
"}"
] | Returns the localized name of this commerce country 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
@return th... | [
"Returns",
"the",
"localized",
"name",
"of",
"this",
"commerce",
"country",
"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-api/src/main/java/com/liferay/commerce/model/CommerceCountryWrapper.java#L358-L361 |
54,246 | liferay/com-liferay-commerce | commerce-api/src/main/java/com/liferay/commerce/model/CommerceCountryWrapper.java | CommerceCountryWrapper.setName | @Override
public void setName(String name, java.util.Locale locale) {
_commerceCountry.setName(name, locale);
} | java | @Override
public void setName(String name, java.util.Locale locale) {
_commerceCountry.setName(name, locale);
} | [
"@",
"Override",
"public",
"void",
"setName",
"(",
"String",
"name",
",",
"java",
".",
"util",
".",
"Locale",
"locale",
")",
"{",
"_commerceCountry",
".",
"setName",
"(",
"name",
",",
"locale",
")",
";",
"}"
] | Sets the localized name of this commerce country in the language.
@param name the localized name of this commerce country
@param locale the locale of the language | [
"Sets",
"the",
"localized",
"name",
"of",
"this",
"commerce",
"country",
"in",
"the",
"language",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-api/src/main/java/com/liferay/commerce/model/CommerceCountryWrapper.java#L693-L696 |
54,247 | liferay/com-liferay-commerce | commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPDefinitionPersistenceImpl.java | CPDefinitionPersistenceImpl.cacheResult | @Override
public void cacheResult(CPDefinition cpDefinition) {
entityCache.putResult(CPDefinitionModelImpl.ENTITY_CACHE_ENABLED,
CPDefinitionImpl.class, cpDefinition.getPrimaryKey(), cpDefinition);
finderCache.putResult(FINDER_PATH_FETCH_BY_UUID_G,
new Object[] { cpDefinition.getUuid(), cpDefinition.getGrou... | java | @Override
public void cacheResult(CPDefinition cpDefinition) {
entityCache.putResult(CPDefinitionModelImpl.ENTITY_CACHE_ENABLED,
CPDefinitionImpl.class, cpDefinition.getPrimaryKey(), cpDefinition);
finderCache.putResult(FINDER_PATH_FETCH_BY_UUID_G,
new Object[] { cpDefinition.getUuid(), cpDefinition.getGrou... | [
"@",
"Override",
"public",
"void",
"cacheResult",
"(",
"CPDefinition",
"cpDefinition",
")",
"{",
"entityCache",
".",
"putResult",
"(",
"CPDefinitionModelImpl",
".",
"ENTITY_CACHE_ENABLED",
",",
"CPDefinitionImpl",
".",
"class",
",",
"cpDefinition",
".",
"getPrimaryKey... | Caches the cp definition in the entity cache if it is enabled.
@param cpDefinition the cp definition | [
"Caches",
"the",
"cp",
"definition",
"in",
"the",
"entity",
"cache",
"if",
"it",
"is",
"enabled",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPDefinitionPersistenceImpl.java#L5466-L5482 |
54,248 | liferay/com-liferay-commerce | commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPDefinitionPersistenceImpl.java | CPDefinitionPersistenceImpl.cacheResult | @Override
public void cacheResult(List<CPDefinition> cpDefinitions) {
for (CPDefinition cpDefinition : cpDefinitions) {
if (entityCache.getResult(
CPDefinitionModelImpl.ENTITY_CACHE_ENABLED,
CPDefinitionImpl.class, cpDefinition.getPrimaryKey()) == null) {
cacheResult(cpDefinition);
}
else {
... | java | @Override
public void cacheResult(List<CPDefinition> cpDefinitions) {
for (CPDefinition cpDefinition : cpDefinitions) {
if (entityCache.getResult(
CPDefinitionModelImpl.ENTITY_CACHE_ENABLED,
CPDefinitionImpl.class, cpDefinition.getPrimaryKey()) == null) {
cacheResult(cpDefinition);
}
else {
... | [
"@",
"Override",
"public",
"void",
"cacheResult",
"(",
"List",
"<",
"CPDefinition",
">",
"cpDefinitions",
")",
"{",
"for",
"(",
"CPDefinition",
"cpDefinition",
":",
"cpDefinitions",
")",
"{",
"if",
"(",
"entityCache",
".",
"getResult",
"(",
"CPDefinitionModelImp... | Caches the cp definitions in the entity cache if it is enabled.
@param cpDefinitions the cp definitions | [
"Caches",
"the",
"cp",
"definitions",
"in",
"the",
"entity",
"cache",
"if",
"it",
"is",
"enabled",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPDefinitionPersistenceImpl.java#L5489-L5501 |
54,249 | liferay/com-liferay-commerce | commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPDefinitionPersistenceImpl.java | CPDefinitionPersistenceImpl.clearCache | @Override
public void clearCache() {
entityCache.clearCache(CPDefinitionImpl.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(CPDefinitionImpl.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",
"(",
"CPDefinitionImpl",
".",
"class",
")",
";",
"finderCache",
".",
"clearCache",
"(",
"FINDER_CLASS_NAME_ENTITY",
")",
";",
"finderCache",
".",
"clearCache",
"(",... | Clears the cache for all cp definitions.
<p>
The {@link EntityCache} and {@link FinderCache} are both cleared by this method.
</p> | [
"Clears",
"the",
"cache",
"for",
"all",
"cp",
"definitions",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPDefinitionPersistenceImpl.java#L5510-L5517 |
54,250 | liferay/com-liferay-commerce | commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPDefinitionPersistenceImpl.java | CPDefinitionPersistenceImpl.clearCache | @Override
public void clearCache(CPDefinition cpDefinition) {
entityCache.removeResult(CPDefinitionModelImpl.ENTITY_CACHE_ENABLED,
CPDefinitionImpl.class, cpDefinition.getPrimaryKey());
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGIN... | java | @Override
public void clearCache(CPDefinition cpDefinition) {
entityCache.removeResult(CPDefinitionModelImpl.ENTITY_CACHE_ENABLED,
CPDefinitionImpl.class, cpDefinition.getPrimaryKey());
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGIN... | [
"@",
"Override",
"public",
"void",
"clearCache",
"(",
"CPDefinition",
"cpDefinition",
")",
"{",
"entityCache",
".",
"removeResult",
"(",
"CPDefinitionModelImpl",
".",
"ENTITY_CACHE_ENABLED",
",",
"CPDefinitionImpl",
".",
"class",
",",
"cpDefinition",
".",
"getPrimaryK... | Clears the cache for the cp definition.
<p>
The {@link EntityCache} and {@link FinderCache} are both cleared by this method.
</p> | [
"Clears",
"the",
"cache",
"for",
"the",
"cp",
"definition",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPDefinitionPersistenceImpl.java#L5526-L5535 |
54,251 | liferay/com-liferay-commerce | commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPDefinitionPersistenceImpl.java | CPDefinitionPersistenceImpl.findAll | @Override
public List<CPDefinition> findAll() {
return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
} | java | @Override
public List<CPDefinition> findAll() {
return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
} | [
"@",
"Override",
"public",
"List",
"<",
"CPDefinition",
">",
"findAll",
"(",
")",
"{",
"return",
"findAll",
"(",
"QueryUtil",
".",
"ALL_POS",
",",
"QueryUtil",
".",
"ALL_POS",
",",
"null",
")",
";",
"}"
] | Returns all the cp definitions.
@return the cp definitions | [
"Returns",
"all",
"the",
"cp",
"definitions",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPDefinitionPersistenceImpl.java#L6199-L6202 |
54,252 | liferay/com-liferay-commerce | commerce-currency-api/src/main/java/com/liferay/commerce/currency/model/CommerceCurrencyWrapper.java | CommerceCurrencyWrapper.getFormatPattern | @Override
public String getFormatPattern(String languageId, boolean useDefault) {
return _commerceCurrency.getFormatPattern(languageId, useDefault);
} | java | @Override
public String getFormatPattern(String languageId, boolean useDefault) {
return _commerceCurrency.getFormatPattern(languageId, useDefault);
} | [
"@",
"Override",
"public",
"String",
"getFormatPattern",
"(",
"String",
"languageId",
",",
"boolean",
"useDefault",
")",
"{",
"return",
"_commerceCurrency",
".",
"getFormatPattern",
"(",
"languageId",
",",
"useDefault",
")",
";",
"}"
] | Returns the localized format pattern of this commerce currency 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",
"format",
"pattern",
"of",
"this",
"commerce",
"currency",
"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-currency-api/src/main/java/com/liferay/commerce/currency/model/CommerceCurrencyWrapper.java#L331-L334 |
54,253 | liferay/com-liferay-commerce | commerce-currency-api/src/main/java/com/liferay/commerce/currency/model/CommerceCurrencyWrapper.java | CommerceCurrencyWrapper.getName | @Override
public String getName(String languageId, boolean useDefault) {
return _commerceCurrency.getName(languageId, useDefault);
} | java | @Override
public String getName(String languageId, boolean useDefault) {
return _commerceCurrency.getName(languageId, useDefault);
} | [
"@",
"Override",
"public",
"String",
"getName",
"(",
"String",
"languageId",
",",
"boolean",
"useDefault",
")",
"{",
"return",
"_commerceCurrency",
".",
"getName",
"(",
"languageId",
",",
"useDefault",
")",
";",
"}"
] | Returns the localized name of this commerce currency 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
@return t... | [
"Returns",
"the",
"localized",
"name",
"of",
"this",
"commerce",
"currency",
"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-currency-api/src/main/java/com/liferay/commerce/currency/model/CommerceCurrencyWrapper.java#L457-L460 |
54,254 | liferay/com-liferay-commerce | commerce-currency-api/src/main/java/com/liferay/commerce/currency/model/CommerceCurrencyWrapper.java | CommerceCurrencyWrapper.setFormatPattern | @Override
public void setFormatPattern(String formatPattern, java.util.Locale locale,
java.util.Locale defaultLocale) {
_commerceCurrency.setFormatPattern(formatPattern, locale, defaultLocale);
} | java | @Override
public void setFormatPattern(String formatPattern, java.util.Locale locale,
java.util.Locale defaultLocale) {
_commerceCurrency.setFormatPattern(formatPattern, locale, defaultLocale);
} | [
"@",
"Override",
"public",
"void",
"setFormatPattern",
"(",
"String",
"formatPattern",
",",
"java",
".",
"util",
".",
"Locale",
"locale",
",",
"java",
".",
"util",
".",
"Locale",
"defaultLocale",
")",
"{",
"_commerceCurrency",
".",
"setFormatPattern",
"(",
"fo... | Sets the localized format pattern of this commerce currency in the language, and sets the default locale.
@param formatPattern the localized format pattern of this commerce currency
@param locale the locale of the language
@param defaultLocale the default locale | [
"Sets",
"the",
"localized",
"format",
"pattern",
"of",
"this",
"commerce",
"currency",
"in",
"the",
"language",
"and",
"sets",
"the",
"default",
"locale",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-currency-api/src/main/java/com/liferay/commerce/currency/model/CommerceCurrencyWrapper.java#L744-L748 |
54,255 | liferay/com-liferay-commerce | commerce-currency-api/src/main/java/com/liferay/commerce/currency/model/CommerceCurrencyWrapper.java | CommerceCurrencyWrapper.setFormatPatternMap | @Override
public void setFormatPatternMap(
Map<java.util.Locale, String> formatPatternMap) {
_commerceCurrency.setFormatPatternMap(formatPatternMap);
} | java | @Override
public void setFormatPatternMap(
Map<java.util.Locale, String> formatPatternMap) {
_commerceCurrency.setFormatPatternMap(formatPatternMap);
} | [
"@",
"Override",
"public",
"void",
"setFormatPatternMap",
"(",
"Map",
"<",
"java",
".",
"util",
".",
"Locale",
",",
"String",
">",
"formatPatternMap",
")",
"{",
"_commerceCurrency",
".",
"setFormatPatternMap",
"(",
"formatPatternMap",
")",
";",
"}"
] | Sets the localized format patterns of this commerce currency from the map of locales and localized format patterns.
@param formatPatternMap the locales and localized format patterns of this commerce currency | [
"Sets",
"the",
"localized",
"format",
"patterns",
"of",
"this",
"commerce",
"currency",
"from",
"the",
"map",
"of",
"locales",
"and",
"localized",
"format",
"patterns",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-currency-api/src/main/java/com/liferay/commerce/currency/model/CommerceCurrencyWrapper.java#L760-L764 |
54,256 | liferay/com-liferay-commerce | commerce-currency-api/src/main/java/com/liferay/commerce/currency/model/CommerceCurrencyWrapper.java | CommerceCurrencyWrapper.setFormatPatternMap | @Override
public void setFormatPatternMap(
Map<java.util.Locale, String> formatPatternMap,
java.util.Locale defaultLocale) {
_commerceCurrency.setFormatPatternMap(formatPatternMap, defaultLocale);
} | java | @Override
public void setFormatPatternMap(
Map<java.util.Locale, String> formatPatternMap,
java.util.Locale defaultLocale) {
_commerceCurrency.setFormatPatternMap(formatPatternMap, defaultLocale);
} | [
"@",
"Override",
"public",
"void",
"setFormatPatternMap",
"(",
"Map",
"<",
"java",
".",
"util",
".",
"Locale",
",",
"String",
">",
"formatPatternMap",
",",
"java",
".",
"util",
".",
"Locale",
"defaultLocale",
")",
"{",
"_commerceCurrency",
".",
"setFormatPatte... | Sets the localized format patterns of this commerce currency from the map of locales and localized format patterns, and sets the default locale.
@param formatPatternMap the locales and localized format patterns of this commerce currency
@param defaultLocale the default locale | [
"Sets",
"the",
"localized",
"format",
"patterns",
"of",
"this",
"commerce",
"currency",
"from",
"the",
"map",
"of",
"locales",
"and",
"localized",
"format",
"patterns",
"and",
"sets",
"the",
"default",
"locale",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-currency-api/src/main/java/com/liferay/commerce/currency/model/CommerceCurrencyWrapper.java#L772-L777 |
54,257 | liferay/com-liferay-commerce | commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPDisplayLayoutPersistenceImpl.java | CPDisplayLayoutPersistenceImpl.cacheResult | @Override
public void cacheResult(CPDisplayLayout cpDisplayLayout) {
entityCache.putResult(CPDisplayLayoutModelImpl.ENTITY_CACHE_ENABLED,
CPDisplayLayoutImpl.class, cpDisplayLayout.getPrimaryKey(),
cpDisplayLayout);
finderCache.putResult(FINDER_PATH_FETCH_BY_UUID_G,
new Object[] { cpDisplayLayout.getUuid... | java | @Override
public void cacheResult(CPDisplayLayout cpDisplayLayout) {
entityCache.putResult(CPDisplayLayoutModelImpl.ENTITY_CACHE_ENABLED,
CPDisplayLayoutImpl.class, cpDisplayLayout.getPrimaryKey(),
cpDisplayLayout);
finderCache.putResult(FINDER_PATH_FETCH_BY_UUID_G,
new Object[] { cpDisplayLayout.getUuid... | [
"@",
"Override",
"public",
"void",
"cacheResult",
"(",
"CPDisplayLayout",
"cpDisplayLayout",
")",
"{",
"entityCache",
".",
"putResult",
"(",
"CPDisplayLayoutModelImpl",
".",
"ENTITY_CACHE_ENABLED",
",",
"CPDisplayLayoutImpl",
".",
"class",
",",
"cpDisplayLayout",
".",
... | Caches the cp display layout in the entity cache if it is enabled.
@param cpDisplayLayout the cp display layout | [
"Caches",
"the",
"cp",
"display",
"layout",
"in",
"the",
"entity",
"cache",
"if",
"it",
"is",
"enabled",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPDisplayLayoutPersistenceImpl.java#L1727-L1743 |
54,258 | liferay/com-liferay-commerce | commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPDisplayLayoutPersistenceImpl.java | CPDisplayLayoutPersistenceImpl.cacheResult | @Override
public void cacheResult(List<CPDisplayLayout> cpDisplayLayouts) {
for (CPDisplayLayout cpDisplayLayout : cpDisplayLayouts) {
if (entityCache.getResult(
CPDisplayLayoutModelImpl.ENTITY_CACHE_ENABLED,
CPDisplayLayoutImpl.class,
cpDisplayLayout.getPrimaryKey()) == null) {
cacheResult(... | java | @Override
public void cacheResult(List<CPDisplayLayout> cpDisplayLayouts) {
for (CPDisplayLayout cpDisplayLayout : cpDisplayLayouts) {
if (entityCache.getResult(
CPDisplayLayoutModelImpl.ENTITY_CACHE_ENABLED,
CPDisplayLayoutImpl.class,
cpDisplayLayout.getPrimaryKey()) == null) {
cacheResult(... | [
"@",
"Override",
"public",
"void",
"cacheResult",
"(",
"List",
"<",
"CPDisplayLayout",
">",
"cpDisplayLayouts",
")",
"{",
"for",
"(",
"CPDisplayLayout",
"cpDisplayLayout",
":",
"cpDisplayLayouts",
")",
"{",
"if",
"(",
"entityCache",
".",
"getResult",
"(",
"CPDis... | Caches the cp display layouts in the entity cache if it is enabled.
@param cpDisplayLayouts the cp display layouts | [
"Caches",
"the",
"cp",
"display",
"layouts",
"in",
"the",
"entity",
"cache",
"if",
"it",
"is",
"enabled",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPDisplayLayoutPersistenceImpl.java#L1750-L1763 |
54,259 | liferay/com-liferay-commerce | commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPDisplayLayoutPersistenceImpl.java | CPDisplayLayoutPersistenceImpl.clearCache | @Override
public void clearCache() {
entityCache.clearCache(CPDisplayLayoutImpl.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(CPDisplayLayoutImpl.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",
"(",
"CPDisplayLayoutImpl",
".",
"class",
")",
";",
"finderCache",
".",
"clearCache",
"(",
"FINDER_CLASS_NAME_ENTITY",
")",
";",
"finderCache",
".",
"clearCache",
"... | Clears the cache for all cp display layouts.
<p>
The {@link EntityCache} and {@link FinderCache} are both cleared by this method.
</p> | [
"Clears",
"the",
"cache",
"for",
"all",
"cp",
"display",
"layouts",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPDisplayLayoutPersistenceImpl.java#L1772-L1779 |
54,260 | liferay/com-liferay-commerce | commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPDisplayLayoutPersistenceImpl.java | CPDisplayLayoutPersistenceImpl.clearCache | @Override
public void clearCache(CPDisplayLayout cpDisplayLayout) {
entityCache.removeResult(CPDisplayLayoutModelImpl.ENTITY_CACHE_ENABLED,
CPDisplayLayoutImpl.class, cpDisplayLayout.getPrimaryKey());
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
finderCache.clearCache(FINDER_CLASS_NAME_LIS... | java | @Override
public void clearCache(CPDisplayLayout cpDisplayLayout) {
entityCache.removeResult(CPDisplayLayoutModelImpl.ENTITY_CACHE_ENABLED,
CPDisplayLayoutImpl.class, cpDisplayLayout.getPrimaryKey());
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
finderCache.clearCache(FINDER_CLASS_NAME_LIS... | [
"@",
"Override",
"public",
"void",
"clearCache",
"(",
"CPDisplayLayout",
"cpDisplayLayout",
")",
"{",
"entityCache",
".",
"removeResult",
"(",
"CPDisplayLayoutModelImpl",
".",
"ENTITY_CACHE_ENABLED",
",",
"CPDisplayLayoutImpl",
".",
"class",
",",
"cpDisplayLayout",
".",... | Clears the cache for the cp display layout.
<p>
The {@link EntityCache} and {@link FinderCache} are both cleared by this method.
</p> | [
"Clears",
"the",
"cache",
"for",
"the",
"cp",
"display",
"layout",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPDisplayLayoutPersistenceImpl.java#L1788-L1797 |
54,261 | liferay/com-liferay-commerce | commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPDisplayLayoutPersistenceImpl.java | CPDisplayLayoutPersistenceImpl.findAll | @Override
public List<CPDisplayLayout> findAll() {
return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
} | java | @Override
public List<CPDisplayLayout> findAll() {
return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
} | [
"@",
"Override",
"public",
"List",
"<",
"CPDisplayLayout",
">",
"findAll",
"(",
")",
"{",
"return",
"findAll",
"(",
"QueryUtil",
".",
"ALL_POS",
",",
"QueryUtil",
".",
"ALL_POS",
",",
"null",
")",
";",
"}"
] | Returns all the cp display layouts.
@return the cp display layouts | [
"Returns",
"all",
"the",
"cp",
"display",
"layouts",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPDisplayLayoutPersistenceImpl.java#L2332-L2335 |
54,262 | liferay/com-liferay-commerce | commerce-api/src/main/java/com/liferay/commerce/service/CommerceOrderItemLocalServiceWrapper.java | CommerceOrderItemLocalServiceWrapper.getCommerceOrderItem | @Override
public com.liferay.commerce.model.CommerceOrderItem getCommerceOrderItem(
long commerceOrderItemId)
throws com.liferay.portal.kernel.exception.PortalException {
return _commerceOrderItemLocalService.getCommerceOrderItem(commerceOrderItemId);
} | java | @Override
public com.liferay.commerce.model.CommerceOrderItem getCommerceOrderItem(
long commerceOrderItemId)
throws com.liferay.portal.kernel.exception.PortalException {
return _commerceOrderItemLocalService.getCommerceOrderItem(commerceOrderItemId);
} | [
"@",
"Override",
"public",
"com",
".",
"liferay",
".",
"commerce",
".",
"model",
".",
"CommerceOrderItem",
"getCommerceOrderItem",
"(",
"long",
"commerceOrderItemId",
")",
"throws",
"com",
".",
"liferay",
".",
"portal",
".",
"kernel",
".",
"exception",
".",
"P... | Returns the commerce order item with the primary key.
@param commerceOrderItemId the primary key of the commerce order item
@return the commerce order item
@throws PortalException if a commerce order item with the primary key could not be found | [
"Returns",
"the",
"commerce",
"order",
"item",
"with",
"the",
"primary",
"key",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-api/src/main/java/com/liferay/commerce/service/CommerceOrderItemLocalServiceWrapper.java#L264-L269 |
54,263 | liferay/com-liferay-commerce | commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPRuleAssetCategoryRelPersistenceImpl.java | CPRuleAssetCategoryRelPersistenceImpl.cacheResult | @Override
public void cacheResult(CPRuleAssetCategoryRel cpRuleAssetCategoryRel) {
entityCache.putResult(CPRuleAssetCategoryRelModelImpl.ENTITY_CACHE_ENABLED,
CPRuleAssetCategoryRelImpl.class,
cpRuleAssetCategoryRel.getPrimaryKey(), cpRuleAssetCategoryRel);
cpRuleAssetCategoryRel.resetOriginalValues();
} | java | @Override
public void cacheResult(CPRuleAssetCategoryRel cpRuleAssetCategoryRel) {
entityCache.putResult(CPRuleAssetCategoryRelModelImpl.ENTITY_CACHE_ENABLED,
CPRuleAssetCategoryRelImpl.class,
cpRuleAssetCategoryRel.getPrimaryKey(), cpRuleAssetCategoryRel);
cpRuleAssetCategoryRel.resetOriginalValues();
} | [
"@",
"Override",
"public",
"void",
"cacheResult",
"(",
"CPRuleAssetCategoryRel",
"cpRuleAssetCategoryRel",
")",
"{",
"entityCache",
".",
"putResult",
"(",
"CPRuleAssetCategoryRelModelImpl",
".",
"ENTITY_CACHE_ENABLED",
",",
"CPRuleAssetCategoryRelImpl",
".",
"class",
",",
... | Caches the cp rule asset category rel in the entity cache if it is enabled.
@param cpRuleAssetCategoryRel the cp rule asset category rel | [
"Caches",
"the",
"cp",
"rule",
"asset",
"category",
"rel",
"in",
"the",
"entity",
"cache",
"if",
"it",
"is",
"enabled",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPRuleAssetCategoryRelPersistenceImpl.java#L1143-L1150 |
54,264 | liferay/com-liferay-commerce | commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPRuleAssetCategoryRelPersistenceImpl.java | CPRuleAssetCategoryRelPersistenceImpl.cacheResult | @Override
public void cacheResult(
List<CPRuleAssetCategoryRel> cpRuleAssetCategoryRels) {
for (CPRuleAssetCategoryRel cpRuleAssetCategoryRel : cpRuleAssetCategoryRels) {
if (entityCache.getResult(
CPRuleAssetCategoryRelModelImpl.ENTITY_CACHE_ENABLED,
CPRuleAssetCategoryRelImpl.class,
cpRuleAs... | java | @Override
public void cacheResult(
List<CPRuleAssetCategoryRel> cpRuleAssetCategoryRels) {
for (CPRuleAssetCategoryRel cpRuleAssetCategoryRel : cpRuleAssetCategoryRels) {
if (entityCache.getResult(
CPRuleAssetCategoryRelModelImpl.ENTITY_CACHE_ENABLED,
CPRuleAssetCategoryRelImpl.class,
cpRuleAs... | [
"@",
"Override",
"public",
"void",
"cacheResult",
"(",
"List",
"<",
"CPRuleAssetCategoryRel",
">",
"cpRuleAssetCategoryRels",
")",
"{",
"for",
"(",
"CPRuleAssetCategoryRel",
"cpRuleAssetCategoryRel",
":",
"cpRuleAssetCategoryRels",
")",
"{",
"if",
"(",
"entityCache",
... | Caches the cp rule asset category rels in the entity cache if it is enabled.
@param cpRuleAssetCategoryRels the cp rule asset category rels | [
"Caches",
"the",
"cp",
"rule",
"asset",
"category",
"rels",
"in",
"the",
"entity",
"cache",
"if",
"it",
"is",
"enabled",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPRuleAssetCategoryRelPersistenceImpl.java#L1157-L1171 |
54,265 | liferay/com-liferay-commerce | commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPRuleAssetCategoryRelPersistenceImpl.java | CPRuleAssetCategoryRelPersistenceImpl.clearCache | @Override
public void clearCache() {
entityCache.clearCache(CPRuleAssetCategoryRelImpl.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(CPRuleAssetCategoryRelImpl.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",
"(",
"CPRuleAssetCategoryRelImpl",
".",
"class",
")",
";",
"finderCache",
".",
"clearCache",
"(",
"FINDER_CLASS_NAME_ENTITY",
")",
";",
"finderCache",
".",
"clearCach... | Clears the cache for all cp rule asset category rels.
<p>
The {@link EntityCache} and {@link FinderCache} are both cleared by this method.
</p> | [
"Clears",
"the",
"cache",
"for",
"all",
"cp",
"rule",
"asset",
"category",
"rels",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPRuleAssetCategoryRelPersistenceImpl.java#L1180-L1187 |
54,266 | liferay/com-liferay-commerce | commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPRuleAssetCategoryRelPersistenceImpl.java | CPRuleAssetCategoryRelPersistenceImpl.clearCache | @Override
public void clearCache(CPRuleAssetCategoryRel cpRuleAssetCategoryRel) {
entityCache.removeResult(CPRuleAssetCategoryRelModelImpl.ENTITY_CACHE_ENABLED,
CPRuleAssetCategoryRelImpl.class,
cpRuleAssetCategoryRel.getPrimaryKey());
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
finder... | java | @Override
public void clearCache(CPRuleAssetCategoryRel cpRuleAssetCategoryRel) {
entityCache.removeResult(CPRuleAssetCategoryRelModelImpl.ENTITY_CACHE_ENABLED,
CPRuleAssetCategoryRelImpl.class,
cpRuleAssetCategoryRel.getPrimaryKey());
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
finder... | [
"@",
"Override",
"public",
"void",
"clearCache",
"(",
"CPRuleAssetCategoryRel",
"cpRuleAssetCategoryRel",
")",
"{",
"entityCache",
".",
"removeResult",
"(",
"CPRuleAssetCategoryRelModelImpl",
".",
"ENTITY_CACHE_ENABLED",
",",
"CPRuleAssetCategoryRelImpl",
".",
"class",
",",... | Clears the cache for the cp rule asset category rel.
<p>
The {@link EntityCache} and {@link FinderCache} are both cleared by this method.
</p> | [
"Clears",
"the",
"cache",
"for",
"the",
"cp",
"rule",
"asset",
"category",
"rel",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPRuleAssetCategoryRelPersistenceImpl.java#L1196-L1204 |
54,267 | liferay/com-liferay-commerce | commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPRuleAssetCategoryRelPersistenceImpl.java | CPRuleAssetCategoryRelPersistenceImpl.remove | @Override
public CPRuleAssetCategoryRel remove(Serializable primaryKey)
throws NoSuchCPRuleAssetCategoryRelException {
Session session = null;
try {
session = openSession();
CPRuleAssetCategoryRel cpRuleAssetCategoryRel = (CPRuleAssetCategoryRel)session.get(CPRuleAssetCategoryRelImpl.class,
primaryK... | java | @Override
public CPRuleAssetCategoryRel remove(Serializable primaryKey)
throws NoSuchCPRuleAssetCategoryRelException {
Session session = null;
try {
session = openSession();
CPRuleAssetCategoryRel cpRuleAssetCategoryRel = (CPRuleAssetCategoryRel)session.get(CPRuleAssetCategoryRelImpl.class,
primaryK... | [
"@",
"Override",
"public",
"CPRuleAssetCategoryRel",
"remove",
"(",
"Serializable",
"primaryKey",
")",
"throws",
"NoSuchCPRuleAssetCategoryRelException",
"{",
"Session",
"session",
"=",
"null",
";",
"try",
"{",
"session",
"=",
"openSession",
"(",
")",
";",
"CPRuleAs... | Removes the cp rule asset category rel with the primary key from the database. Also notifies the appropriate model listeners.
@param primaryKey the primary key of the cp rule asset category rel
@return the cp rule asset category rel that was removed
@throws NoSuchCPRuleAssetCategoryRelException if a cp rule asset cate... | [
"Removes",
"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/persistence/impl/CPRuleAssetCategoryRelPersistenceImpl.java#L1256-L1287 |
54,268 | liferay/com-liferay-commerce | commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPRuleAssetCategoryRelPersistenceImpl.java | CPRuleAssetCategoryRelPersistenceImpl.findAll | @Override
public List<CPRuleAssetCategoryRel> findAll() {
return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
} | java | @Override
public List<CPRuleAssetCategoryRel> findAll() {
return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
} | [
"@",
"Override",
"public",
"List",
"<",
"CPRuleAssetCategoryRel",
">",
"findAll",
"(",
")",
"{",
"return",
"findAll",
"(",
"QueryUtil",
".",
"ALL_POS",
",",
"QueryUtil",
".",
"ALL_POS",
",",
"null",
")",
";",
"}"
] | Returns all the cp rule asset category rels.
@return the cp rule asset category rels | [
"Returns",
"all",
"the",
"cp",
"rule",
"asset",
"category",
"rels",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPRuleAssetCategoryRelPersistenceImpl.java#L1666-L1669 |
54,269 | liferay/com-liferay-commerce | commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPSpecificationOptionPersistenceImpl.java | CPSpecificationOptionPersistenceImpl.cacheResult | @Override
public void cacheResult(CPSpecificationOption cpSpecificationOption) {
entityCache.putResult(CPSpecificationOptionModelImpl.ENTITY_CACHE_ENABLED,
CPSpecificationOptionImpl.class,
cpSpecificationOption.getPrimaryKey(), cpSpecificationOption);
finderCache.putResult(FINDER_PATH_FETCH_BY_UUID_G,
ne... | java | @Override
public void cacheResult(CPSpecificationOption cpSpecificationOption) {
entityCache.putResult(CPSpecificationOptionModelImpl.ENTITY_CACHE_ENABLED,
CPSpecificationOptionImpl.class,
cpSpecificationOption.getPrimaryKey(), cpSpecificationOption);
finderCache.putResult(FINDER_PATH_FETCH_BY_UUID_G,
ne... | [
"@",
"Override",
"public",
"void",
"cacheResult",
"(",
"CPSpecificationOption",
"cpSpecificationOption",
")",
"{",
"entityCache",
".",
"putResult",
"(",
"CPSpecificationOptionModelImpl",
".",
"ENTITY_CACHE_ENABLED",
",",
"CPSpecificationOptionImpl",
".",
"class",
",",
"cp... | Caches the cp specification option in the entity cache if it is enabled.
@param cpSpecificationOption the cp specification option | [
"Caches",
"the",
"cp",
"specification",
"option",
"in",
"the",
"entity",
"cache",
"if",
"it",
"is",
"enabled",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPSpecificationOptionPersistenceImpl.java#L2808-L2827 |
54,270 | liferay/com-liferay-commerce | commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPSpecificationOptionPersistenceImpl.java | CPSpecificationOptionPersistenceImpl.cacheResult | @Override
public void cacheResult(List<CPSpecificationOption> cpSpecificationOptions) {
for (CPSpecificationOption cpSpecificationOption : cpSpecificationOptions) {
if (entityCache.getResult(
CPSpecificationOptionModelImpl.ENTITY_CACHE_ENABLED,
CPSpecificationOptionImpl.class,
cpSpecificationOpt... | java | @Override
public void cacheResult(List<CPSpecificationOption> cpSpecificationOptions) {
for (CPSpecificationOption cpSpecificationOption : cpSpecificationOptions) {
if (entityCache.getResult(
CPSpecificationOptionModelImpl.ENTITY_CACHE_ENABLED,
CPSpecificationOptionImpl.class,
cpSpecificationOpt... | [
"@",
"Override",
"public",
"void",
"cacheResult",
"(",
"List",
"<",
"CPSpecificationOption",
">",
"cpSpecificationOptions",
")",
"{",
"for",
"(",
"CPSpecificationOption",
"cpSpecificationOption",
":",
"cpSpecificationOptions",
")",
"{",
"if",
"(",
"entityCache",
".",
... | Caches the cp specification options in the entity cache if it is enabled.
@param cpSpecificationOptions the cp specification options | [
"Caches",
"the",
"cp",
"specification",
"options",
"in",
"the",
"entity",
"cache",
"if",
"it",
"is",
"enabled",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPSpecificationOptionPersistenceImpl.java#L2834-L2847 |
54,271 | liferay/com-liferay-commerce | commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPSpecificationOptionPersistenceImpl.java | CPSpecificationOptionPersistenceImpl.clearCache | @Override
public void clearCache() {
entityCache.clearCache(CPSpecificationOptionImpl.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(CPSpecificationOptionImpl.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",
"(",
"CPSpecificationOptionImpl",
".",
"class",
")",
";",
"finderCache",
".",
"clearCache",
"(",
"FINDER_CLASS_NAME_ENTITY",
")",
";",
"finderCache",
".",
"clearCache... | Clears the cache for all cp specification options.
<p>
The {@link EntityCache} and {@link FinderCache} are both cleared by this method.
</p> | [
"Clears",
"the",
"cache",
"for",
"all",
"cp",
"specification",
"options",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPSpecificationOptionPersistenceImpl.java#L2856-L2863 |
54,272 | liferay/com-liferay-commerce | commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPSpecificationOptionPersistenceImpl.java | CPSpecificationOptionPersistenceImpl.clearCache | @Override
public void clearCache(CPSpecificationOption cpSpecificationOption) {
entityCache.removeResult(CPSpecificationOptionModelImpl.ENTITY_CACHE_ENABLED,
CPSpecificationOptionImpl.class,
cpSpecificationOption.getPrimaryKey());
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
finderCache... | java | @Override
public void clearCache(CPSpecificationOption cpSpecificationOption) {
entityCache.removeResult(CPSpecificationOptionModelImpl.ENTITY_CACHE_ENABLED,
CPSpecificationOptionImpl.class,
cpSpecificationOption.getPrimaryKey());
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
finderCache... | [
"@",
"Override",
"public",
"void",
"clearCache",
"(",
"CPSpecificationOption",
"cpSpecificationOption",
")",
"{",
"entityCache",
".",
"removeResult",
"(",
"CPSpecificationOptionModelImpl",
".",
"ENTITY_CACHE_ENABLED",
",",
"CPSpecificationOptionImpl",
".",
"class",
",",
"... | Clears the cache for the cp specification option.
<p>
The {@link EntityCache} and {@link FinderCache} are both cleared by this method.
</p> | [
"Clears",
"the",
"cache",
"for",
"the",
"cp",
"specification",
"option",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPSpecificationOptionPersistenceImpl.java#L2872-L2883 |
54,273 | liferay/com-liferay-commerce | commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPSpecificationOptionPersistenceImpl.java | CPSpecificationOptionPersistenceImpl.remove | @Override
public CPSpecificationOption remove(Serializable primaryKey)
throws NoSuchCPSpecificationOptionException {
Session session = null;
try {
session = openSession();
CPSpecificationOption cpSpecificationOption = (CPSpecificationOption)session.get(CPSpecificationOptionImpl.class,
primaryKey);
... | java | @Override
public CPSpecificationOption remove(Serializable primaryKey)
throws NoSuchCPSpecificationOptionException {
Session session = null;
try {
session = openSession();
CPSpecificationOption cpSpecificationOption = (CPSpecificationOption)session.get(CPSpecificationOptionImpl.class,
primaryKey);
... | [
"@",
"Override",
"public",
"CPSpecificationOption",
"remove",
"(",
"Serializable",
"primaryKey",
")",
"throws",
"NoSuchCPSpecificationOptionException",
"{",
"Session",
"session",
"=",
"null",
";",
"try",
"{",
"session",
"=",
"openSession",
"(",
")",
";",
"CPSpecific... | Removes the cp specification option with the primary key from the database. Also notifies the appropriate model listeners.
@param primaryKey the primary key of the cp specification option
@return the cp specification option that was removed
@throws NoSuchCPSpecificationOptionException if a cp specification option with... | [
"Removes",
"the",
"cp",
"specification",
"option",
"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/persistence/impl/CPSpecificationOptionPersistenceImpl.java#L3011-L3042 |
54,274 | liferay/com-liferay-commerce | commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPSpecificationOptionPersistenceImpl.java | CPSpecificationOptionPersistenceImpl.findAll | @Override
public List<CPSpecificationOption> findAll() {
return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
} | java | @Override
public List<CPSpecificationOption> findAll() {
return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
} | [
"@",
"Override",
"public",
"List",
"<",
"CPSpecificationOption",
">",
"findAll",
"(",
")",
"{",
"return",
"findAll",
"(",
"QueryUtil",
".",
"ALL_POS",
",",
"QueryUtil",
".",
"ALL_POS",
",",
"null",
")",
";",
"}"
] | Returns all the cp specification options.
@return the cp specification options | [
"Returns",
"all",
"the",
"cp",
"specification",
"options",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPSpecificationOptionPersistenceImpl.java#L3479-L3482 |
54,275 | liferay/com-liferay-commerce | commerce-price-list-service/src/main/java/com/liferay/commerce/price/list/service/persistence/impl/CommercePriceEntryPersistenceImpl.java | CommercePriceEntryPersistenceImpl.cacheResult | @Override
public void cacheResult(CommercePriceEntry commercePriceEntry) {
entityCache.putResult(CommercePriceEntryModelImpl.ENTITY_CACHE_ENABLED,
CommercePriceEntryImpl.class, commercePriceEntry.getPrimaryKey(),
commercePriceEntry);
finderCache.putResult(FINDER_PATH_FETCH_BY_UUID_G,
new Object[] {
c... | java | @Override
public void cacheResult(CommercePriceEntry commercePriceEntry) {
entityCache.putResult(CommercePriceEntryModelImpl.ENTITY_CACHE_ENABLED,
CommercePriceEntryImpl.class, commercePriceEntry.getPrimaryKey(),
commercePriceEntry);
finderCache.putResult(FINDER_PATH_FETCH_BY_UUID_G,
new Object[] {
c... | [
"@",
"Override",
"public",
"void",
"cacheResult",
"(",
"CommercePriceEntry",
"commercePriceEntry",
")",
"{",
"entityCache",
".",
"putResult",
"(",
"CommercePriceEntryModelImpl",
".",
"ENTITY_CACHE_ENABLED",
",",
"CommercePriceEntryImpl",
".",
"class",
",",
"commercePriceE... | Caches the commerce price entry in the entity cache if it is enabled.
@param commercePriceEntry the commerce price entry | [
"Caches",
"the",
"commerce",
"price",
"entry",
"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/CommercePriceEntryPersistenceImpl.java#L4147-L4171 |
54,276 | liferay/com-liferay-commerce | commerce-price-list-service/src/main/java/com/liferay/commerce/price/list/service/persistence/impl/CommercePriceEntryPersistenceImpl.java | CommercePriceEntryPersistenceImpl.cacheResult | @Override
public void cacheResult(List<CommercePriceEntry> commercePriceEntries) {
for (CommercePriceEntry commercePriceEntry : commercePriceEntries) {
if (entityCache.getResult(
CommercePriceEntryModelImpl.ENTITY_CACHE_ENABLED,
CommercePriceEntryImpl.class,
commercePriceEntry.getPrimaryKey()) =... | java | @Override
public void cacheResult(List<CommercePriceEntry> commercePriceEntries) {
for (CommercePriceEntry commercePriceEntry : commercePriceEntries) {
if (entityCache.getResult(
CommercePriceEntryModelImpl.ENTITY_CACHE_ENABLED,
CommercePriceEntryImpl.class,
commercePriceEntry.getPrimaryKey()) =... | [
"@",
"Override",
"public",
"void",
"cacheResult",
"(",
"List",
"<",
"CommercePriceEntry",
">",
"commercePriceEntries",
")",
"{",
"for",
"(",
"CommercePriceEntry",
"commercePriceEntry",
":",
"commercePriceEntries",
")",
"{",
"if",
"(",
"entityCache",
".",
"getResult"... | Caches the commerce price entries in the entity cache if it is enabled.
@param commercePriceEntries the commerce price entries | [
"Caches",
"the",
"commerce",
"price",
"entries",
"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/CommercePriceEntryPersistenceImpl.java#L4178-L4191 |
54,277 | liferay/com-liferay-commerce | commerce-price-list-service/src/main/java/com/liferay/commerce/price/list/service/persistence/impl/CommercePriceEntryPersistenceImpl.java | CommercePriceEntryPersistenceImpl.clearCache | @Override
public void clearCache() {
entityCache.clearCache(CommercePriceEntryImpl.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(CommercePriceEntryImpl.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",
"(",
"CommercePriceEntryImpl",
".",
"class",
")",
";",
"finderCache",
".",
"clearCache",
"(",
"FINDER_CLASS_NAME_ENTITY",
")",
";",
"finderCache",
".",
"clearCache",
... | Clears the cache for all commerce price entries.
<p>
The {@link EntityCache} and {@link FinderCache} are both cleared by this method.
</p> | [
"Clears",
"the",
"cache",
"for",
"all",
"commerce",
"price",
"entries",
"."
] | 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/CommercePriceEntryPersistenceImpl.java#L4200-L4207 |
54,278 | liferay/com-liferay-commerce | commerce-price-list-service/src/main/java/com/liferay/commerce/price/list/service/persistence/impl/CommercePriceEntryPersistenceImpl.java | CommercePriceEntryPersistenceImpl.clearCache | @Override
public void clearCache(CommercePriceEntry commercePriceEntry) {
entityCache.removeResult(CommercePriceEntryModelImpl.ENTITY_CACHE_ENABLED,
CommercePriceEntryImpl.class, commercePriceEntry.getPrimaryKey());
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
finderCache.clearCache(FINDER... | java | @Override
public void clearCache(CommercePriceEntry commercePriceEntry) {
entityCache.removeResult(CommercePriceEntryModelImpl.ENTITY_CACHE_ENABLED,
CommercePriceEntryImpl.class, commercePriceEntry.getPrimaryKey());
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
finderCache.clearCache(FINDER... | [
"@",
"Override",
"public",
"void",
"clearCache",
"(",
"CommercePriceEntry",
"commercePriceEntry",
")",
"{",
"entityCache",
".",
"removeResult",
"(",
"CommercePriceEntryModelImpl",
".",
"ENTITY_CACHE_ENABLED",
",",
"CommercePriceEntryImpl",
".",
"class",
",",
"commercePric... | Clears the cache for the commerce price entry.
<p>
The {@link EntityCache} and {@link FinderCache} are both cleared by this method.
</p> | [
"Clears",
"the",
"cache",
"for",
"the",
"commerce",
"price",
"entry",
"."
] | 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/CommercePriceEntryPersistenceImpl.java#L4216-L4226 |
54,279 | liferay/com-liferay-commerce | commerce-price-list-service/src/main/java/com/liferay/commerce/price/list/service/persistence/impl/CommercePriceEntryPersistenceImpl.java | CommercePriceEntryPersistenceImpl.remove | @Override
public CommercePriceEntry remove(Serializable primaryKey)
throws NoSuchPriceEntryException {
Session session = null;
try {
session = openSession();
CommercePriceEntry commercePriceEntry = (CommercePriceEntry)session.get(CommercePriceEntryImpl.class,
primaryKey);
if (commercePriceEntry ... | java | @Override
public CommercePriceEntry remove(Serializable primaryKey)
throws NoSuchPriceEntryException {
Session session = null;
try {
session = openSession();
CommercePriceEntry commercePriceEntry = (CommercePriceEntry)session.get(CommercePriceEntryImpl.class,
primaryKey);
if (commercePriceEntry ... | [
"@",
"Override",
"public",
"CommercePriceEntry",
"remove",
"(",
"Serializable",
"primaryKey",
")",
"throws",
"NoSuchPriceEntryException",
"{",
"Session",
"session",
"=",
"null",
";",
"try",
"{",
"session",
"=",
"openSession",
"(",
")",
";",
"CommercePriceEntry",
"... | Removes the commerce price entry with the primary key from the database. Also notifies the appropriate model listeners.
@param primaryKey the primary key of the commerce price entry
@return the commerce price entry that was removed
@throws NoSuchPriceEntryException if a commerce price entry with the primary key could ... | [
"Removes",
"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/persistence/impl/CommercePriceEntryPersistenceImpl.java#L4384-L4415 |
54,280 | liferay/com-liferay-commerce | commerce-price-list-service/src/main/java/com/liferay/commerce/price/list/service/persistence/impl/CommercePriceEntryPersistenceImpl.java | CommercePriceEntryPersistenceImpl.findAll | @Override
public List<CommercePriceEntry> findAll() {
return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
} | java | @Override
public List<CommercePriceEntry> findAll() {
return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
} | [
"@",
"Override",
"public",
"List",
"<",
"CommercePriceEntry",
">",
"findAll",
"(",
")",
"{",
"return",
"findAll",
"(",
"QueryUtil",
".",
"ALL_POS",
",",
"QueryUtil",
".",
"ALL_POS",
",",
"null",
")",
";",
"}"
] | Returns all the commerce price entries.
@return the commerce price entries | [
"Returns",
"all",
"the",
"commerce",
"price",
"entries",
"."
] | 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/CommercePriceEntryPersistenceImpl.java#L4899-L4902 |
54,281 | liferay/com-liferay-commerce | commerce-account-api/src/main/java/com/liferay/commerce/account/model/CommerceAccountUserRelWrapper.java | CommerceAccountUserRelWrapper.getPrimaryKey | @Override
public com.liferay.commerce.account.service.persistence.CommerceAccountUserRelPK getPrimaryKey() {
return _commerceAccountUserRel.getPrimaryKey();
} | java | @Override
public com.liferay.commerce.account.service.persistence.CommerceAccountUserRelPK getPrimaryKey() {
return _commerceAccountUserRel.getPrimaryKey();
} | [
"@",
"Override",
"public",
"com",
".",
"liferay",
".",
"commerce",
".",
"account",
".",
"service",
".",
"persistence",
".",
"CommerceAccountUserRelPK",
"getPrimaryKey",
"(",
")",
"{",
"return",
"_commerceAccountUserRel",
".",
"getPrimaryKey",
"(",
")",
";",
"}"
... | Returns the primary key of this commerce account user rel.
@return the primary key of this commerce account user rel | [
"Returns",
"the",
"primary",
"key",
"of",
"this",
"commerce",
"account",
"user",
"rel",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-account-api/src/main/java/com/liferay/commerce/account/model/CommerceAccountUserRelWrapper.java#L199-L202 |
54,282 | liferay/com-liferay-commerce | commerce-account-api/src/main/java/com/liferay/commerce/account/model/CommerceAccountUserRelWrapper.java | CommerceAccountUserRelWrapper.setPrimaryKey | @Override
public void setPrimaryKey(
com.liferay.commerce.account.service.persistence.CommerceAccountUserRelPK primaryKey) {
_commerceAccountUserRel.setPrimaryKey(primaryKey);
} | java | @Override
public void setPrimaryKey(
com.liferay.commerce.account.service.persistence.CommerceAccountUserRelPK primaryKey) {
_commerceAccountUserRel.setPrimaryKey(primaryKey);
} | [
"@",
"Override",
"public",
"void",
"setPrimaryKey",
"(",
"com",
".",
"liferay",
".",
"commerce",
".",
"account",
".",
"service",
".",
"persistence",
".",
"CommerceAccountUserRelPK",
"primaryKey",
")",
"{",
"_commerceAccountUserRel",
".",
"setPrimaryKey",
"(",
"pri... | Sets the primary key of this commerce account user rel.
@param primaryKey the primary key of this commerce account user rel | [
"Sets",
"the",
"primary",
"key",
"of",
"this",
"commerce",
"account",
"user",
"rel",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-account-api/src/main/java/com/liferay/commerce/account/model/CommerceAccountUserRelWrapper.java#L367-L371 |
54,283 | liferay/com-liferay-commerce | commerce-account-service/src/main/java/com/liferay/commerce/account/service/base/CommerceAccountLocalServiceBaseImpl.java | CommerceAccountLocalServiceBaseImpl.fetchCommerceAccountByReferenceCode | @Override
public CommerceAccount fetchCommerceAccountByReferenceCode(long companyId,
String externalReferenceCode) {
return commerceAccountPersistence.fetchByC_ERC(companyId, null);
} | java | @Override
public CommerceAccount fetchCommerceAccountByReferenceCode(long companyId,
String externalReferenceCode) {
return commerceAccountPersistence.fetchByC_ERC(companyId, null);
} | [
"@",
"Override",
"public",
"CommerceAccount",
"fetchCommerceAccountByReferenceCode",
"(",
"long",
"companyId",
",",
"String",
"externalReferenceCode",
")",
"{",
"return",
"commerceAccountPersistence",
".",
"fetchByC_ERC",
"(",
"companyId",
",",
"null",
")",
";",
"}"
] | Returns the commerce account with the matching external reference code and company.
@param companyId the primary key of the company
@param externalReferenceCode the commerce account's external reference code
@return the matching commerce account, or <code>null</code> if a matching commerce account could not be found | [
"Returns",
"the",
"commerce",
"account",
"with",
"the",
"matching",
"external",
"reference",
"code",
"and",
"company",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-account-service/src/main/java/com/liferay/commerce/account/service/base/CommerceAccountLocalServiceBaseImpl.java#L233-L237 |
54,284 | liferay/com-liferay-commerce | commerce-account-service/src/main/java/com/liferay/commerce/account/service/base/CommerceAccountLocalServiceBaseImpl.java | CommerceAccountLocalServiceBaseImpl.updateCommerceAccount | @Indexable(type = IndexableType.REINDEX)
@Override
public CommerceAccount updateCommerceAccount(
CommerceAccount commerceAccount) {
return commerceAccountPersistence.update(commerceAccount);
} | java | @Indexable(type = IndexableType.REINDEX)
@Override
public CommerceAccount updateCommerceAccount(
CommerceAccount commerceAccount) {
return commerceAccountPersistence.update(commerceAccount);
} | [
"@",
"Indexable",
"(",
"type",
"=",
"IndexableType",
".",
"REINDEX",
")",
"@",
"Override",
"public",
"CommerceAccount",
"updateCommerceAccount",
"(",
"CommerceAccount",
"commerceAccount",
")",
"{",
"return",
"commerceAccountPersistence",
".",
"update",
"(",
"commerceA... | Updates the commerce account in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
@param commerceAccount the commerce account
@return the commerce account that was updated | [
"Updates",
"the",
"commerce",
"account",
"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-account-service/src/main/java/com/liferay/commerce/account/service/base/CommerceAccountLocalServiceBaseImpl.java#L335-L340 |
54,285 | liferay/com-liferay-commerce | commerce-account-service/src/main/java/com/liferay/commerce/account/service/base/CommerceAccountLocalServiceBaseImpl.java | CommerceAccountLocalServiceBaseImpl.setCommerceAccountOrganizationRelLocalService | public void setCommerceAccountOrganizationRelLocalService(
com.liferay.commerce.account.service.CommerceAccountOrganizationRelLocalService commerceAccountOrganizationRelLocalService) {
this.commerceAccountOrganizationRelLocalService = commerceAccountOrganizationRelLocalService;
} | java | public void setCommerceAccountOrganizationRelLocalService(
com.liferay.commerce.account.service.CommerceAccountOrganizationRelLocalService commerceAccountOrganizationRelLocalService) {
this.commerceAccountOrganizationRelLocalService = commerceAccountOrganizationRelLocalService;
} | [
"public",
"void",
"setCommerceAccountOrganizationRelLocalService",
"(",
"com",
".",
"liferay",
".",
"commerce",
".",
"account",
".",
"service",
".",
"CommerceAccountOrganizationRelLocalService",
"commerceAccountOrganizationRelLocalService",
")",
"{",
"this",
".",
"commerceAcc... | Sets the commerce account organization rel local service.
@param commerceAccountOrganizationRelLocalService the commerce account organization rel local service | [
"Sets",
"the",
"commerce",
"account",
"organization",
"rel",
"local",
"service",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-account-service/src/main/java/com/liferay/commerce/account/service/base/CommerceAccountLocalServiceBaseImpl.java#L413-L416 |
54,286 | liferay/com-liferay-commerce | commerce-account-service/src/main/java/com/liferay/commerce/account/service/base/CommerceAccountLocalServiceBaseImpl.java | CommerceAccountLocalServiceBaseImpl.setCommerceAccountUserRelLocalService | public void setCommerceAccountUserRelLocalService(
com.liferay.commerce.account.service.CommerceAccountUserRelLocalService commerceAccountUserRelLocalService) {
this.commerceAccountUserRelLocalService = commerceAccountUserRelLocalService;
} | java | public void setCommerceAccountUserRelLocalService(
com.liferay.commerce.account.service.CommerceAccountUserRelLocalService commerceAccountUserRelLocalService) {
this.commerceAccountUserRelLocalService = commerceAccountUserRelLocalService;
} | [
"public",
"void",
"setCommerceAccountUserRelLocalService",
"(",
"com",
".",
"liferay",
".",
"commerce",
".",
"account",
".",
"service",
".",
"CommerceAccountUserRelLocalService",
"commerceAccountUserRelLocalService",
")",
"{",
"this",
".",
"commerceAccountUserRelLocalService"... | Sets the commerce account user rel local service.
@param commerceAccountUserRelLocalService the commerce account user rel local service | [
"Sets",
"the",
"commerce",
"account",
"user",
"rel",
"local",
"service",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-account-service/src/main/java/com/liferay/commerce/account/service/base/CommerceAccountLocalServiceBaseImpl.java#L451-L454 |
54,287 | liferay/com-liferay-commerce | commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPOptionCategoryPersistenceImpl.java | CPOptionCategoryPersistenceImpl.cacheResult | @Override
public void cacheResult(CPOptionCategory cpOptionCategory) {
entityCache.putResult(CPOptionCategoryModelImpl.ENTITY_CACHE_ENABLED,
CPOptionCategoryImpl.class, cpOptionCategory.getPrimaryKey(),
cpOptionCategory);
finderCache.putResult(FINDER_PATH_FETCH_BY_UUID_G,
new Object[] {
cpOptionCateg... | java | @Override
public void cacheResult(CPOptionCategory cpOptionCategory) {
entityCache.putResult(CPOptionCategoryModelImpl.ENTITY_CACHE_ENABLED,
CPOptionCategoryImpl.class, cpOptionCategory.getPrimaryKey(),
cpOptionCategory);
finderCache.putResult(FINDER_PATH_FETCH_BY_UUID_G,
new Object[] {
cpOptionCateg... | [
"@",
"Override",
"public",
"void",
"cacheResult",
"(",
"CPOptionCategory",
"cpOptionCategory",
")",
"{",
"entityCache",
".",
"putResult",
"(",
"CPOptionCategoryModelImpl",
".",
"ENTITY_CACHE_ENABLED",
",",
"CPOptionCategoryImpl",
".",
"class",
",",
"cpOptionCategory",
"... | Caches the cp option category in the entity cache if it is enabled.
@param cpOptionCategory the cp option category | [
"Caches",
"the",
"cp",
"option",
"category",
"in",
"the",
"entity",
"cache",
"if",
"it",
"is",
"enabled",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPOptionCategoryPersistenceImpl.java#L2782-L2799 |
54,288 | liferay/com-liferay-commerce | commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPOptionCategoryPersistenceImpl.java | CPOptionCategoryPersistenceImpl.cacheResult | @Override
public void cacheResult(List<CPOptionCategory> cpOptionCategories) {
for (CPOptionCategory cpOptionCategory : cpOptionCategories) {
if (entityCache.getResult(
CPOptionCategoryModelImpl.ENTITY_CACHE_ENABLED,
CPOptionCategoryImpl.class,
cpOptionCategory.getPrimaryKey()) == null) {
ca... | java | @Override
public void cacheResult(List<CPOptionCategory> cpOptionCategories) {
for (CPOptionCategory cpOptionCategory : cpOptionCategories) {
if (entityCache.getResult(
CPOptionCategoryModelImpl.ENTITY_CACHE_ENABLED,
CPOptionCategoryImpl.class,
cpOptionCategory.getPrimaryKey()) == null) {
ca... | [
"@",
"Override",
"public",
"void",
"cacheResult",
"(",
"List",
"<",
"CPOptionCategory",
">",
"cpOptionCategories",
")",
"{",
"for",
"(",
"CPOptionCategory",
"cpOptionCategory",
":",
"cpOptionCategories",
")",
"{",
"if",
"(",
"entityCache",
".",
"getResult",
"(",
... | Caches the cp option categories in the entity cache if it is enabled.
@param cpOptionCategories the cp option categories | [
"Caches",
"the",
"cp",
"option",
"categories",
"in",
"the",
"entity",
"cache",
"if",
"it",
"is",
"enabled",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPOptionCategoryPersistenceImpl.java#L2806-L2819 |
54,289 | liferay/com-liferay-commerce | commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPOptionCategoryPersistenceImpl.java | CPOptionCategoryPersistenceImpl.clearCache | @Override
public void clearCache() {
entityCache.clearCache(CPOptionCategoryImpl.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(CPOptionCategoryImpl.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",
"(",
"CPOptionCategoryImpl",
".",
"class",
")",
";",
"finderCache",
".",
"clearCache",
"(",
"FINDER_CLASS_NAME_ENTITY",
")",
";",
"finderCache",
".",
"clearCache",
... | Clears the cache for all cp option categories.
<p>
The {@link EntityCache} and {@link FinderCache} are both cleared by this method.
</p> | [
"Clears",
"the",
"cache",
"for",
"all",
"cp",
"option",
"categories",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPOptionCategoryPersistenceImpl.java#L2828-L2835 |
54,290 | liferay/com-liferay-commerce | commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPOptionCategoryPersistenceImpl.java | CPOptionCategoryPersistenceImpl.clearCache | @Override
public void clearCache(CPOptionCategory cpOptionCategory) {
entityCache.removeResult(CPOptionCategoryModelImpl.ENTITY_CACHE_ENABLED,
CPOptionCategoryImpl.class, cpOptionCategory.getPrimaryKey());
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
finderCache.clearCache(FINDER_CLASS_NAM... | java | @Override
public void clearCache(CPOptionCategory cpOptionCategory) {
entityCache.removeResult(CPOptionCategoryModelImpl.ENTITY_CACHE_ENABLED,
CPOptionCategoryImpl.class, cpOptionCategory.getPrimaryKey());
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
finderCache.clearCache(FINDER_CLASS_NAM... | [
"@",
"Override",
"public",
"void",
"clearCache",
"(",
"CPOptionCategory",
"cpOptionCategory",
")",
"{",
"entityCache",
".",
"removeResult",
"(",
"CPOptionCategoryModelImpl",
".",
"ENTITY_CACHE_ENABLED",
",",
"CPOptionCategoryImpl",
".",
"class",
",",
"cpOptionCategory",
... | Clears the cache for the cp option category.
<p>
The {@link EntityCache} and {@link FinderCache} are both cleared by this method.
</p> | [
"Clears",
"the",
"cache",
"for",
"the",
"cp",
"option",
"category",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPOptionCategoryPersistenceImpl.java#L2844-L2854 |
54,291 | liferay/com-liferay-commerce | commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPOptionCategoryPersistenceImpl.java | CPOptionCategoryPersistenceImpl.findAll | @Override
public List<CPOptionCategory> findAll() {
return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
} | java | @Override
public List<CPOptionCategory> findAll() {
return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
} | [
"@",
"Override",
"public",
"List",
"<",
"CPOptionCategory",
">",
"findAll",
"(",
")",
"{",
"return",
"findAll",
"(",
"QueryUtil",
".",
"ALL_POS",
",",
"QueryUtil",
".",
"ALL_POS",
",",
"null",
")",
";",
"}"
] | Returns all the cp option categories.
@return the cp option categories | [
"Returns",
"all",
"the",
"cp",
"option",
"categories",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPOptionCategoryPersistenceImpl.java#L3436-L3439 |
54,292 | liferay/com-liferay-commerce | commerce-product-type-virtual-api/src/main/java/com/liferay/commerce/product/type/virtual/model/CPDefinitionVirtualSettingWrapper.java | CPDefinitionVirtualSettingWrapper.getTermsOfUseContent | @Override
public String getTermsOfUseContent(java.util.Locale locale) {
return _cpDefinitionVirtualSetting.getTermsOfUseContent(locale);
} | java | @Override
public String getTermsOfUseContent(java.util.Locale locale) {
return _cpDefinitionVirtualSetting.getTermsOfUseContent(locale);
} | [
"@",
"Override",
"public",
"String",
"getTermsOfUseContent",
"(",
"java",
".",
"util",
".",
"Locale",
"locale",
")",
"{",
"return",
"_cpDefinitionVirtualSetting",
".",
"getTermsOfUseContent",
"(",
"locale",
")",
";",
"}"
] | Returns the localized terms of use content of this cp definition virtual setting in the language. Uses the default language if no localization exists for the requested language.
@param locale the locale of the language
@return the localized terms of use content of this cp definition virtual setting | [
"Returns",
"the",
"localized",
"terms",
"of",
"use",
"content",
"of",
"this",
"cp",
"definition",
"virtual",
"setting",
"in",
"the",
"language",
".",
"Uses",
"the",
"default",
"language",
"if",
"no",
"localization",
"exists",
"for",
"the",
"requested",
"langua... | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-type-virtual-api/src/main/java/com/liferay/commerce/product/type/virtual/model/CPDefinitionVirtualSettingWrapper.java#L466-L469 |
54,293 | liferay/com-liferay-commerce | commerce-product-type-virtual-api/src/main/java/com/liferay/commerce/product/type/virtual/model/CPDefinitionVirtualSettingWrapper.java | CPDefinitionVirtualSettingWrapper.getTermsOfUseContent | @Override
public String getTermsOfUseContent(String languageId, boolean useDefault) {
return _cpDefinitionVirtualSetting.getTermsOfUseContent(languageId,
useDefault);
} | java | @Override
public String getTermsOfUseContent(String languageId, boolean useDefault) {
return _cpDefinitionVirtualSetting.getTermsOfUseContent(languageId,
useDefault);
} | [
"@",
"Override",
"public",
"String",
"getTermsOfUseContent",
"(",
"String",
"languageId",
",",
"boolean",
"useDefault",
")",
"{",
"return",
"_cpDefinitionVirtualSetting",
".",
"getTermsOfUseContent",
"(",
"languageId",
",",
"useDefault",
")",
";",
"}"
] | Returns the localized terms of use content of this cp definition virtual setting 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 ... | [
"Returns",
"the",
"localized",
"terms",
"of",
"use",
"content",
"of",
"this",
"cp",
"definition",
"virtual",
"setting",
"in",
"the",
"language",
"optionally",
"using",
"the",
"default",
"language",
"if",
"no",
"localization",
"exists",
"for",
"the",
"requested",... | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-type-virtual-api/src/main/java/com/liferay/commerce/product/type/virtual/model/CPDefinitionVirtualSettingWrapper.java#L503-L507 |
54,294 | liferay/com-liferay-commerce | commerce-product-type-virtual-api/src/main/java/com/liferay/commerce/product/type/virtual/model/CPDefinitionVirtualSettingWrapper.java | CPDefinitionVirtualSettingWrapper.setTermsOfUseContent | @Override
public void setTermsOfUseContent(String termsOfUseContent,
java.util.Locale locale, java.util.Locale defaultLocale) {
_cpDefinitionVirtualSetting.setTermsOfUseContent(termsOfUseContent,
locale, defaultLocale);
} | java | @Override
public void setTermsOfUseContent(String termsOfUseContent,
java.util.Locale locale, java.util.Locale defaultLocale) {
_cpDefinitionVirtualSetting.setTermsOfUseContent(termsOfUseContent,
locale, defaultLocale);
} | [
"@",
"Override",
"public",
"void",
"setTermsOfUseContent",
"(",
"String",
"termsOfUseContent",
",",
"java",
".",
"util",
".",
"Locale",
"locale",
",",
"java",
".",
"util",
".",
"Locale",
"defaultLocale",
")",
"{",
"_cpDefinitionVirtualSetting",
".",
"setTermsOfUse... | Sets the localized terms of use content of this cp definition virtual setting in the language, and sets the default locale.
@param termsOfUseContent the localized terms of use content of this cp definition virtual setting
@param locale the locale of the language
@param defaultLocale the default locale | [
"Sets",
"the",
"localized",
"terms",
"of",
"use",
"content",
"of",
"this",
"cp",
"definition",
"virtual",
"setting",
"in",
"the",
"language",
"and",
"sets",
"the",
"default",
"locale",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-type-virtual-api/src/main/java/com/liferay/commerce/product/type/virtual/model/CPDefinitionVirtualSettingWrapper.java#L925-L930 |
54,295 | liferay/com-liferay-commerce | commerce-product-type-virtual-api/src/main/java/com/liferay/commerce/product/type/virtual/model/CPDefinitionVirtualSettingWrapper.java | CPDefinitionVirtualSettingWrapper.setTermsOfUseContentMap | @Override
public void setTermsOfUseContentMap(
Map<java.util.Locale, String> termsOfUseContentMap) {
_cpDefinitionVirtualSetting.setTermsOfUseContentMap(termsOfUseContentMap);
} | java | @Override
public void setTermsOfUseContentMap(
Map<java.util.Locale, String> termsOfUseContentMap) {
_cpDefinitionVirtualSetting.setTermsOfUseContentMap(termsOfUseContentMap);
} | [
"@",
"Override",
"public",
"void",
"setTermsOfUseContentMap",
"(",
"Map",
"<",
"java",
".",
"util",
".",
"Locale",
",",
"String",
">",
"termsOfUseContentMap",
")",
"{",
"_cpDefinitionVirtualSetting",
".",
"setTermsOfUseContentMap",
"(",
"termsOfUseContentMap",
")",
... | Sets the localized terms of use contents of this cp definition virtual setting from the map of locales and localized terms of use contents.
@param termsOfUseContentMap the locales and localized terms of use contents of this cp definition virtual setting | [
"Sets",
"the",
"localized",
"terms",
"of",
"use",
"contents",
"of",
"this",
"cp",
"definition",
"virtual",
"setting",
"from",
"the",
"map",
"of",
"locales",
"and",
"localized",
"terms",
"of",
"use",
"contents",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-type-virtual-api/src/main/java/com/liferay/commerce/product/type/virtual/model/CPDefinitionVirtualSettingWrapper.java#L942-L946 |
54,296 | liferay/com-liferay-commerce | commerce-product-type-virtual-api/src/main/java/com/liferay/commerce/product/type/virtual/model/CPDefinitionVirtualSettingWrapper.java | CPDefinitionVirtualSettingWrapper.setTermsOfUseContentMap | @Override
public void setTermsOfUseContentMap(
Map<java.util.Locale, String> termsOfUseContentMap,
java.util.Locale defaultLocale) {
_cpDefinitionVirtualSetting.setTermsOfUseContentMap(termsOfUseContentMap,
defaultLocale);
} | java | @Override
public void setTermsOfUseContentMap(
Map<java.util.Locale, String> termsOfUseContentMap,
java.util.Locale defaultLocale) {
_cpDefinitionVirtualSetting.setTermsOfUseContentMap(termsOfUseContentMap,
defaultLocale);
} | [
"@",
"Override",
"public",
"void",
"setTermsOfUseContentMap",
"(",
"Map",
"<",
"java",
".",
"util",
".",
"Locale",
",",
"String",
">",
"termsOfUseContentMap",
",",
"java",
".",
"util",
".",
"Locale",
"defaultLocale",
")",
"{",
"_cpDefinitionVirtualSetting",
".",... | Sets the localized terms of use contents of this cp definition virtual setting from the map of locales and localized terms of use contents, and sets the default locale.
@param termsOfUseContentMap the locales and localized terms of use contents of this cp definition virtual setting
@param defaultLocale the default loc... | [
"Sets",
"the",
"localized",
"terms",
"of",
"use",
"contents",
"of",
"this",
"cp",
"definition",
"virtual",
"setting",
"from",
"the",
"map",
"of",
"locales",
"and",
"localized",
"terms",
"of",
"use",
"contents",
"and",
"sets",
"the",
"default",
"locale",
"."
... | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-type-virtual-api/src/main/java/com/liferay/commerce/product/type/virtual/model/CPDefinitionVirtualSettingWrapper.java#L954-L960 |
54,297 | liferay/com-liferay-commerce | commerce-product-api/src/main/java/com/liferay/commerce/product/model/CPMeasurementUnitWrapper.java | CPMeasurementUnitWrapper.getName | @Override
public String getName(String languageId, boolean useDefault) {
return _cpMeasurementUnit.getName(languageId, useDefault);
} | java | @Override
public String getName(String languageId, boolean useDefault) {
return _cpMeasurementUnit.getName(languageId, useDefault);
} | [
"@",
"Override",
"public",
"String",
"getName",
"(",
"String",
"languageId",
",",
"boolean",
"useDefault",
")",
"{",
"return",
"_cpMeasurementUnit",
".",
"getName",
"(",
"languageId",
",",
"useDefault",
")",
";",
"}"
] | Returns the localized name of this cp measurement unit 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
@return... | [
"Returns",
"the",
"localized",
"name",
"of",
"this",
"cp",
"measurement",
"unit",
"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-product-api/src/main/java/com/liferay/commerce/product/model/CPMeasurementUnitWrapper.java#L321-L324 |
54,298 | liferay/com-liferay-commerce | commerce-discount-service/src/main/java/com/liferay/commerce/discount/service/base/CommerceDiscountLocalServiceBaseImpl.java | CommerceDiscountLocalServiceBaseImpl.addCommerceDiscount | @Indexable(type = IndexableType.REINDEX)
@Override
public CommerceDiscount addCommerceDiscount(
CommerceDiscount commerceDiscount) {
commerceDiscount.setNew(true);
return commerceDiscountPersistence.update(commerceDiscount);
} | java | @Indexable(type = IndexableType.REINDEX)
@Override
public CommerceDiscount addCommerceDiscount(
CommerceDiscount commerceDiscount) {
commerceDiscount.setNew(true);
return commerceDiscountPersistence.update(commerceDiscount);
} | [
"@",
"Indexable",
"(",
"type",
"=",
"IndexableType",
".",
"REINDEX",
")",
"@",
"Override",
"public",
"CommerceDiscount",
"addCommerceDiscount",
"(",
"CommerceDiscount",
"commerceDiscount",
")",
"{",
"commerceDiscount",
".",
"setNew",
"(",
"true",
")",
";",
"return... | Adds the commerce discount to the database. Also notifies the appropriate model listeners.
@param commerceDiscount the commerce discount
@return the commerce discount that was added | [
"Adds",
"the",
"commerce",
"discount",
"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/CommerceDiscountLocalServiceBaseImpl.java#L106-L113 |
54,299 | liferay/com-liferay-commerce | commerce-discount-service/src/main/java/com/liferay/commerce/discount/service/base/CommerceDiscountLocalServiceBaseImpl.java | CommerceDiscountLocalServiceBaseImpl.deleteCommerceDiscount | @Indexable(type = IndexableType.DELETE)
@Override
public CommerceDiscount deleteCommerceDiscount(long commerceDiscountId)
throws PortalException {
return commerceDiscountPersistence.remove(commerceDiscountId);
} | java | @Indexable(type = IndexableType.DELETE)
@Override
public CommerceDiscount deleteCommerceDiscount(long commerceDiscountId)
throws PortalException {
return commerceDiscountPersistence.remove(commerceDiscountId);
} | [
"@",
"Indexable",
"(",
"type",
"=",
"IndexableType",
".",
"DELETE",
")",
"@",
"Override",
"public",
"CommerceDiscount",
"deleteCommerceDiscount",
"(",
"long",
"commerceDiscountId",
")",
"throws",
"PortalException",
"{",
"return",
"commerceDiscountPersistence",
".",
"r... | Deletes the commerce discount with the primary key from the database. Also notifies the appropriate model listeners.
@param commerceDiscountId the primary key of the commerce discount
@return the commerce discount that was removed
@throws PortalException if a commerce discount with the primary key could not be found | [
"Deletes",
"the",
"commerce",
"discount",
"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/CommerceDiscountLocalServiceBaseImpl.java#L134-L139 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.