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,500 | liferay/com-liferay-commerce | commerce-notification-service/src/main/java/com/liferay/commerce/notification/service/persistence/impl/CommerceNotificationQueueEntryPersistenceImpl.java | CommerceNotificationQueueEntryPersistenceImpl.findAll | @Override
public List<CommerceNotificationQueueEntry> findAll() {
return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
} | java | @Override
public List<CommerceNotificationQueueEntry> findAll() {
return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
} | [
"@",
"Override",
"public",
"List",
"<",
"CommerceNotificationQueueEntry",
">",
"findAll",
"(",
")",
"{",
"return",
"findAll",
"(",
"QueryUtil",
".",
"ALL_POS",
",",
"QueryUtil",
".",
"ALL_POS",
",",
"null",
")",
";",
"}"
] | Returns all the commerce notification queue entries.
@return the commerce notification queue entries | [
"Returns",
"all",
"the",
"commerce",
"notification",
"queue",
"entries",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-notification-service/src/main/java/com/liferay/commerce/notification/service/persistence/impl/CommerceNotificationQueueEntryPersistenceImpl.java#L2795-L2798 |
54,501 | liferay/com-liferay-commerce | commerce-price-list-api/src/main/java/com/liferay/commerce/price/list/service/CommercePriceListUserSegmentEntryRelLocalServiceWrapper.java | CommercePriceListUserSegmentEntryRelLocalServiceWrapper.getCommercePriceListUserSegmentEntryRel | @Override
public com.liferay.commerce.price.list.model.CommercePriceListUserSegmentEntryRel getCommercePriceListUserSegmentEntryRel(
long commercePriceListUserSegmentEntryRelId)
throws com.liferay.portal.kernel.exception.PortalException {
return _commercePriceListUserSegmentEntryRelLocalService.getCommercePriceL... | java | @Override
public com.liferay.commerce.price.list.model.CommercePriceListUserSegmentEntryRel getCommercePriceListUserSegmentEntryRel(
long commercePriceListUserSegmentEntryRelId)
throws com.liferay.portal.kernel.exception.PortalException {
return _commercePriceListUserSegmentEntryRelLocalService.getCommercePriceL... | [
"@",
"Override",
"public",
"com",
".",
"liferay",
".",
"commerce",
".",
"price",
".",
"list",
".",
"model",
".",
"CommercePriceListUserSegmentEntryRel",
"getCommercePriceListUserSegmentEntryRel",
"(",
"long",
"commercePriceListUserSegmentEntryRelId",
")",
"throws",
"com",... | Returns the commerce price list user segment entry rel with the primary key.
@param commercePriceListUserSegmentEntryRelId the primary key of the commerce price list user segment entry rel
@return the commerce price list user segment entry rel
@throws PortalException if a commerce price list user segment entry rel wit... | [
"Returns",
"the",
"commerce",
"price",
"list",
"user",
"segment",
"entry",
"rel",
"with",
"the",
"primary",
"key",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-price-list-api/src/main/java/com/liferay/commerce/price/list/service/CommercePriceListUserSegmentEntryRelLocalServiceWrapper.java#L239-L244 |
54,502 | liferay/com-liferay-commerce | commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPDefinitionLocalizationPersistenceImpl.java | CPDefinitionLocalizationPersistenceImpl.cacheResult | @Override
public void cacheResult(CPDefinitionLocalization cpDefinitionLocalization) {
entityCache.putResult(CPDefinitionLocalizationModelImpl.ENTITY_CACHE_ENABLED,
CPDefinitionLocalizationImpl.class,
cpDefinitionLocalization.getPrimaryKey(), cpDefinitionLocalization);
finderCache.putResult(FINDER_PATH_FETC... | java | @Override
public void cacheResult(CPDefinitionLocalization cpDefinitionLocalization) {
entityCache.putResult(CPDefinitionLocalizationModelImpl.ENTITY_CACHE_ENABLED,
CPDefinitionLocalizationImpl.class,
cpDefinitionLocalization.getPrimaryKey(), cpDefinitionLocalization);
finderCache.putResult(FINDER_PATH_FETC... | [
"@",
"Override",
"public",
"void",
"cacheResult",
"(",
"CPDefinitionLocalization",
"cpDefinitionLocalization",
")",
"{",
"entityCache",
".",
"putResult",
"(",
"CPDefinitionLocalizationModelImpl",
".",
"ENTITY_CACHE_ENABLED",
",",
"CPDefinitionLocalizationImpl",
".",
"class",
... | Caches the cp definition localization in the entity cache if it is enabled.
@param cpDefinitionLocalization the cp definition localization | [
"Caches",
"the",
"cp",
"definition",
"localization",
"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/CPDefinitionLocalizationPersistenceImpl.java#L889-L902 |
54,503 | liferay/com-liferay-commerce | commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPDefinitionLocalizationPersistenceImpl.java | CPDefinitionLocalizationPersistenceImpl.cacheResult | @Override
public void cacheResult(
List<CPDefinitionLocalization> cpDefinitionLocalizations) {
for (CPDefinitionLocalization cpDefinitionLocalization : cpDefinitionLocalizations) {
if (entityCache.getResult(
CPDefinitionLocalizationModelImpl.ENTITY_CACHE_ENABLED,
CPDefinitionLocalizationImpl.class,
... | java | @Override
public void cacheResult(
List<CPDefinitionLocalization> cpDefinitionLocalizations) {
for (CPDefinitionLocalization cpDefinitionLocalization : cpDefinitionLocalizations) {
if (entityCache.getResult(
CPDefinitionLocalizationModelImpl.ENTITY_CACHE_ENABLED,
CPDefinitionLocalizationImpl.class,
... | [
"@",
"Override",
"public",
"void",
"cacheResult",
"(",
"List",
"<",
"CPDefinitionLocalization",
">",
"cpDefinitionLocalizations",
")",
"{",
"for",
"(",
"CPDefinitionLocalization",
"cpDefinitionLocalization",
":",
"cpDefinitionLocalizations",
")",
"{",
"if",
"(",
"entity... | Caches the cp definition localizations in the entity cache if it is enabled.
@param cpDefinitionLocalizations the cp definition localizations | [
"Caches",
"the",
"cp",
"definition",
"localizations",
"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/CPDefinitionLocalizationPersistenceImpl.java#L909-L923 |
54,504 | liferay/com-liferay-commerce | commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPDefinitionLocalizationPersistenceImpl.java | CPDefinitionLocalizationPersistenceImpl.clearCache | @Override
public void clearCache() {
entityCache.clearCache(CPDefinitionLocalizationImpl.class);
finderCache.clearCache(FINDER_CLASS_NAME_ENTITY);
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
} | java | @Override
public void clearCache() {
entityCache.clearCache(CPDefinitionLocalizationImpl.class);
finderCache.clearCache(FINDER_CLASS_NAME_ENTITY);
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
} | [
"@",
"Override",
"public",
"void",
"clearCache",
"(",
")",
"{",
"entityCache",
".",
"clearCache",
"(",
"CPDefinitionLocalizationImpl",
".",
"class",
")",
";",
"finderCache",
".",
"clearCache",
"(",
"FINDER_CLASS_NAME_ENTITY",
")",
";",
"finderCache",
".",
"clearCa... | Clears the cache for all cp definition localizations.
<p>
The {@link EntityCache} and {@link FinderCache} are both cleared by this method.
</p> | [
"Clears",
"the",
"cache",
"for",
"all",
"cp",
"definition",
"localizations",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPDefinitionLocalizationPersistenceImpl.java#L932-L939 |
54,505 | liferay/com-liferay-commerce | commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPDefinitionLocalizationPersistenceImpl.java | CPDefinitionLocalizationPersistenceImpl.clearCache | @Override
public void clearCache(CPDefinitionLocalization cpDefinitionLocalization) {
entityCache.removeResult(CPDefinitionLocalizationModelImpl.ENTITY_CACHE_ENABLED,
CPDefinitionLocalizationImpl.class,
cpDefinitionLocalization.getPrimaryKey());
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION)... | java | @Override
public void clearCache(CPDefinitionLocalization cpDefinitionLocalization) {
entityCache.removeResult(CPDefinitionLocalizationModelImpl.ENTITY_CACHE_ENABLED,
CPDefinitionLocalizationImpl.class,
cpDefinitionLocalization.getPrimaryKey());
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION)... | [
"@",
"Override",
"public",
"void",
"clearCache",
"(",
"CPDefinitionLocalization",
"cpDefinitionLocalization",
")",
"{",
"entityCache",
".",
"removeResult",
"(",
"CPDefinitionLocalizationModelImpl",
".",
"ENTITY_CACHE_ENABLED",
",",
"CPDefinitionLocalizationImpl",
".",
"class"... | Clears the cache for the cp definition localization.
<p>
The {@link EntityCache} and {@link FinderCache} are both cleared by this method.
</p> | [
"Clears",
"the",
"cache",
"for",
"the",
"cp",
"definition",
"localization",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPDefinitionLocalizationPersistenceImpl.java#L948-L959 |
54,506 | liferay/com-liferay-commerce | commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPDefinitionLocalizationPersistenceImpl.java | CPDefinitionLocalizationPersistenceImpl.create | @Override
public CPDefinitionLocalization create(long cpDefinitionLocalizationId) {
CPDefinitionLocalization cpDefinitionLocalization = new CPDefinitionLocalizationImpl();
cpDefinitionLocalization.setNew(true);
cpDefinitionLocalization.setPrimaryKey(cpDefinitionLocalizationId);
cpDefinitionLocalization.setCo... | java | @Override
public CPDefinitionLocalization create(long cpDefinitionLocalizationId) {
CPDefinitionLocalization cpDefinitionLocalization = new CPDefinitionLocalizationImpl();
cpDefinitionLocalization.setNew(true);
cpDefinitionLocalization.setPrimaryKey(cpDefinitionLocalizationId);
cpDefinitionLocalization.setCo... | [
"@",
"Override",
"public",
"CPDefinitionLocalization",
"create",
"(",
"long",
"cpDefinitionLocalizationId",
")",
"{",
"CPDefinitionLocalization",
"cpDefinitionLocalization",
"=",
"new",
"CPDefinitionLocalizationImpl",
"(",
")",
";",
"cpDefinitionLocalization",
".",
"setNew",
... | Creates a new cp definition localization with the primary key. Does not add the cp definition localization to the database.
@param cpDefinitionLocalizationId the primary key for the new cp definition localization
@return the new cp definition localization | [
"Creates",
"a",
"new",
"cp",
"definition",
"localization",
"with",
"the",
"primary",
"key",
".",
"Does",
"not",
"add",
"the",
"cp",
"definition",
"localization",
"to",
"the",
"database",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPDefinitionLocalizationPersistenceImpl.java#L1025-L1035 |
54,507 | liferay/com-liferay-commerce | commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPDefinitionLocalizationPersistenceImpl.java | CPDefinitionLocalizationPersistenceImpl.findAll | @Override
public List<CPDefinitionLocalization> findAll() {
return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
} | java | @Override
public List<CPDefinitionLocalization> findAll() {
return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
} | [
"@",
"Override",
"public",
"List",
"<",
"CPDefinitionLocalization",
">",
"findAll",
"(",
")",
"{",
"return",
"findAll",
"(",
"QueryUtil",
".",
"ALL_POS",
",",
"QueryUtil",
".",
"ALL_POS",
",",
"null",
")",
";",
"}"
] | Returns all the cp definition localizations.
@return the cp definition localizations | [
"Returns",
"all",
"the",
"cp",
"definition",
"localizations",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPDefinitionLocalizationPersistenceImpl.java#L1420-L1423 |
54,508 | liferay/com-liferay-commerce | commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPDefinitionLocalizationPersistenceImpl.java | CPDefinitionLocalizationPersistenceImpl.findAll | @Override
public List<CPDefinitionLocalization> findAll(int start, int end) {
return findAll(start, end, null);
} | java | @Override
public List<CPDefinitionLocalization> findAll(int start, int end) {
return findAll(start, end, null);
} | [
"@",
"Override",
"public",
"List",
"<",
"CPDefinitionLocalization",
">",
"findAll",
"(",
"int",
"start",
",",
"int",
"end",
")",
"{",
"return",
"findAll",
"(",
"start",
",",
"end",
",",
"null",
")",
";",
"}"
] | Returns a range of all the cp definition localizations.
<p>
Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both... | [
"Returns",
"a",
"range",
"of",
"all",
"the",
"cp",
"definition",
"localizations",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPDefinitionLocalizationPersistenceImpl.java#L1436-L1439 |
54,509 | liferay/com-liferay-commerce | commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPDefinitionLocalizationPersistenceImpl.java | CPDefinitionLocalizationPersistenceImpl.countAll | @Override
public int countAll() {
Long count = (Long)finderCache.getResult(FINDER_PATH_COUNT_ALL,
FINDER_ARGS_EMPTY, this);
if (count == null) {
Session session = null;
try {
session = openSession();
Query q = session.createQuery(_SQL_COUNT_CPDEFINITIONLOCALIZATION);
count = (Long)q.uniqu... | java | @Override
public int countAll() {
Long count = (Long)finderCache.getResult(FINDER_PATH_COUNT_ALL,
FINDER_ARGS_EMPTY, this);
if (count == null) {
Session session = null;
try {
session = openSession();
Query q = session.createQuery(_SQL_COUNT_CPDEFINITIONLOCALIZATION);
count = (Long)q.uniqu... | [
"@",
"Override",
"public",
"int",
"countAll",
"(",
")",
"{",
"Long",
"count",
"=",
"(",
"Long",
")",
"finderCache",
".",
"getResult",
"(",
"FINDER_PATH_COUNT_ALL",
",",
"FINDER_ARGS_EMPTY",
",",
"this",
")",
";",
"if",
"(",
"count",
"==",
"null",
")",
"{... | Returns the number of cp definition localizations.
@return the number of cp definition localizations | [
"Returns",
"the",
"number",
"of",
"cp",
"definition",
"localizations",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPDefinitionLocalizationPersistenceImpl.java#L1574-L1604 |
54,510 | liferay/com-liferay-commerce | commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceShipmentItemPersistenceImpl.java | CommerceShipmentItemPersistenceImpl.cacheResult | @Override
public void cacheResult(CommerceShipmentItem commerceShipmentItem) {
entityCache.putResult(CommerceShipmentItemModelImpl.ENTITY_CACHE_ENABLED,
CommerceShipmentItemImpl.class,
commerceShipmentItem.getPrimaryKey(), commerceShipmentItem);
commerceShipmentItem.resetOriginalValues();
} | java | @Override
public void cacheResult(CommerceShipmentItem commerceShipmentItem) {
entityCache.putResult(CommerceShipmentItemModelImpl.ENTITY_CACHE_ENABLED,
CommerceShipmentItemImpl.class,
commerceShipmentItem.getPrimaryKey(), commerceShipmentItem);
commerceShipmentItem.resetOriginalValues();
} | [
"@",
"Override",
"public",
"void",
"cacheResult",
"(",
"CommerceShipmentItem",
"commerceShipmentItem",
")",
"{",
"entityCache",
".",
"putResult",
"(",
"CommerceShipmentItemModelImpl",
".",
"ENTITY_CACHE_ENABLED",
",",
"CommerceShipmentItemImpl",
".",
"class",
",",
"commer... | Caches the commerce shipment item in the entity cache if it is enabled.
@param commerceShipmentItem the commerce shipment item | [
"Caches",
"the",
"commerce",
"shipment",
"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/CommerceShipmentItemPersistenceImpl.java#L1139-L1146 |
54,511 | liferay/com-liferay-commerce | commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceShipmentItemPersistenceImpl.java | CommerceShipmentItemPersistenceImpl.cacheResult | @Override
public void cacheResult(List<CommerceShipmentItem> commerceShipmentItems) {
for (CommerceShipmentItem commerceShipmentItem : commerceShipmentItems) {
if (entityCache.getResult(
CommerceShipmentItemModelImpl.ENTITY_CACHE_ENABLED,
CommerceShipmentItemImpl.class,
commerceShipmentItem.getP... | java | @Override
public void cacheResult(List<CommerceShipmentItem> commerceShipmentItems) {
for (CommerceShipmentItem commerceShipmentItem : commerceShipmentItems) {
if (entityCache.getResult(
CommerceShipmentItemModelImpl.ENTITY_CACHE_ENABLED,
CommerceShipmentItemImpl.class,
commerceShipmentItem.getP... | [
"@",
"Override",
"public",
"void",
"cacheResult",
"(",
"List",
"<",
"CommerceShipmentItem",
">",
"commerceShipmentItems",
")",
"{",
"for",
"(",
"CommerceShipmentItem",
"commerceShipmentItem",
":",
"commerceShipmentItems",
")",
"{",
"if",
"(",
"entityCache",
".",
"ge... | Caches the commerce shipment items in the entity cache if it is enabled.
@param commerceShipmentItems the commerce shipment items | [
"Caches",
"the",
"commerce",
"shipment",
"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/CommerceShipmentItemPersistenceImpl.java#L1153-L1166 |
54,512 | liferay/com-liferay-commerce | commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceShipmentItemPersistenceImpl.java | CommerceShipmentItemPersistenceImpl.clearCache | @Override
public void clearCache() {
entityCache.clearCache(CommerceShipmentItemImpl.class);
finderCache.clearCache(FINDER_CLASS_NAME_ENTITY);
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
} | java | @Override
public void clearCache() {
entityCache.clearCache(CommerceShipmentItemImpl.class);
finderCache.clearCache(FINDER_CLASS_NAME_ENTITY);
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
} | [
"@",
"Override",
"public",
"void",
"clearCache",
"(",
")",
"{",
"entityCache",
".",
"clearCache",
"(",
"CommerceShipmentItemImpl",
".",
"class",
")",
";",
"finderCache",
".",
"clearCache",
"(",
"FINDER_CLASS_NAME_ENTITY",
")",
";",
"finderCache",
".",
"clearCache"... | Clears the cache for all commerce shipment items.
<p>
The {@link EntityCache} and {@link FinderCache} are both cleared by this method.
</p> | [
"Clears",
"the",
"cache",
"for",
"all",
"commerce",
"shipment",
"items",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceShipmentItemPersistenceImpl.java#L1175-L1182 |
54,513 | liferay/com-liferay-commerce | commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceShipmentItemPersistenceImpl.java | CommerceShipmentItemPersistenceImpl.clearCache | @Override
public void clearCache(CommerceShipmentItem commerceShipmentItem) {
entityCache.removeResult(CommerceShipmentItemModelImpl.ENTITY_CACHE_ENABLED,
CommerceShipmentItemImpl.class, commerceShipmentItem.getPrimaryKey());
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
finderCache.clearCa... | java | @Override
public void clearCache(CommerceShipmentItem commerceShipmentItem) {
entityCache.removeResult(CommerceShipmentItemModelImpl.ENTITY_CACHE_ENABLED,
CommerceShipmentItemImpl.class, commerceShipmentItem.getPrimaryKey());
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
finderCache.clearCa... | [
"@",
"Override",
"public",
"void",
"clearCache",
"(",
"CommerceShipmentItem",
"commerceShipmentItem",
")",
"{",
"entityCache",
".",
"removeResult",
"(",
"CommerceShipmentItemModelImpl",
".",
"ENTITY_CACHE_ENABLED",
",",
"CommerceShipmentItemImpl",
".",
"class",
",",
"comm... | Clears the cache for the commerce shipment item.
<p>
The {@link EntityCache} and {@link FinderCache} are both cleared by this method.
</p> | [
"Clears",
"the",
"cache",
"for",
"the",
"commerce",
"shipment",
"item",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceShipmentItemPersistenceImpl.java#L1191-L1198 |
54,514 | liferay/com-liferay-commerce | commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceShipmentItemPersistenceImpl.java | CommerceShipmentItemPersistenceImpl.findAll | @Override
public List<CommerceShipmentItem> findAll() {
return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
} | java | @Override
public List<CommerceShipmentItem> findAll() {
return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
} | [
"@",
"Override",
"public",
"List",
"<",
"CommerceShipmentItem",
">",
"findAll",
"(",
")",
"{",
"return",
"findAll",
"(",
"QueryUtil",
".",
"ALL_POS",
",",
"QueryUtil",
".",
"ALL_POS",
",",
"null",
")",
";",
"}"
] | Returns all the commerce shipment items.
@return the commerce shipment items | [
"Returns",
"all",
"the",
"commerce",
"shipment",
"items",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceShipmentItemPersistenceImpl.java#L1655-L1658 |
54,515 | liferay/com-liferay-commerce | commerce-service/src/main/java/com/liferay/commerce/service/base/CommerceCountryLocalServiceBaseImpl.java | CommerceCountryLocalServiceBaseImpl.deleteCommerceCountry | @Indexable(type = IndexableType.DELETE)
@Override
public CommerceCountry deleteCommerceCountry(long commerceCountryId)
throws PortalException {
return commerceCountryPersistence.remove(commerceCountryId);
} | java | @Indexable(type = IndexableType.DELETE)
@Override
public CommerceCountry deleteCommerceCountry(long commerceCountryId)
throws PortalException {
return commerceCountryPersistence.remove(commerceCountryId);
} | [
"@",
"Indexable",
"(",
"type",
"=",
"IndexableType",
".",
"DELETE",
")",
"@",
"Override",
"public",
"CommerceCountry",
"deleteCommerceCountry",
"(",
"long",
"commerceCountryId",
")",
"throws",
"PortalException",
"{",
"return",
"commerceCountryPersistence",
".",
"remov... | Deletes the commerce country with the primary key from the database. Also notifies the appropriate model listeners.
@param commerceCountryId the primary key of the commerce country
@return the commerce country that was removed
@throws PortalException if a commerce country with the primary key could not be found | [
"Deletes",
"the",
"commerce",
"country",
"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/CommerceCountryLocalServiceBaseImpl.java#L139-L144 |
54,516 | liferay/com-liferay-commerce | commerce-service/src/main/java/com/liferay/commerce/service/base/CommerceCountryLocalServiceBaseImpl.java | CommerceCountryLocalServiceBaseImpl.getCommerceCountriesByUuidAndCompanyId | @Override
public List<CommerceCountry> getCommerceCountriesByUuidAndCompanyId(
String uuid, long companyId, int start, int end,
OrderByComparator<CommerceCountry> orderByComparator) {
return commerceCountryPersistence.findByUuid_C(uuid, companyId, start,
end, orderByComparator);
} | java | @Override
public List<CommerceCountry> getCommerceCountriesByUuidAndCompanyId(
String uuid, long companyId, int start, int end,
OrderByComparator<CommerceCountry> orderByComparator) {
return commerceCountryPersistence.findByUuid_C(uuid, companyId, start,
end, orderByComparator);
} | [
"@",
"Override",
"public",
"List",
"<",
"CommerceCountry",
">",
"getCommerceCountriesByUuidAndCompanyId",
"(",
"String",
"uuid",
",",
"long",
"companyId",
",",
"int",
"start",
",",
"int",
"end",
",",
"OrderByComparator",
"<",
"CommerceCountry",
">",
"orderByComparat... | Returns a range of commerce countries matching the UUID and company.
@param uuid the UUID of the commerce countries
@param companyId the primary key of the company
@param start the lower bound of the range of commerce countries
@param end the upper bound of the range of commerce countries (not inclusive)
@param orderB... | [
"Returns",
"a",
"range",
"of",
"commerce",
"countries",
"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/CommerceCountryLocalServiceBaseImpl.java#L401-L407 |
54,517 | liferay/com-liferay-commerce | commerce-tax-api/src/main/java/com/liferay/commerce/tax/model/CommerceTaxMethodWrapper.java | CommerceTaxMethodWrapper.getDescription | @Override
public String getDescription(String languageId, boolean useDefault) {
return _commerceTaxMethod.getDescription(languageId, useDefault);
} | java | @Override
public String getDescription(String languageId, boolean useDefault) {
return _commerceTaxMethod.getDescription(languageId, useDefault);
} | [
"@",
"Override",
"public",
"String",
"getDescription",
"(",
"String",
"languageId",
",",
"boolean",
"useDefault",
")",
"{",
"return",
"_commerceTaxMethod",
".",
"getDescription",
"(",
"languageId",
",",
"useDefault",
")",
";",
"}"
] | Returns the localized description of this commerce tax method in the language, optionally using the default language if no localization exists for the requested language.
@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",
"description",
"of",
"this",
"commerce",
"tax",
"method",
"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-tax-api/src/main/java/com/liferay/commerce/tax/model/CommerceTaxMethodWrapper.java#L263-L266 |
54,518 | liferay/com-liferay-commerce | commerce-tax-api/src/main/java/com/liferay/commerce/tax/model/CommerceTaxMethodWrapper.java | CommerceTaxMethodWrapper.getName | @Override
public String getName(String languageId, boolean useDefault) {
return _commerceTaxMethod.getName(languageId, useDefault);
} | java | @Override
public String getName(String languageId, boolean useDefault) {
return _commerceTaxMethod.getName(languageId, useDefault);
} | [
"@",
"Override",
"public",
"String",
"getName",
"(",
"String",
"languageId",
",",
"boolean",
"useDefault",
")",
"{",
"return",
"_commerceTaxMethod",
".",
"getName",
"(",
"languageId",
",",
"useDefault",
")",
";",
"}"
] | Returns the localized name of this commerce tax method in the language, optionally using the default language if no localization exists for the requested language.
@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",
"commerce",
"tax",
"method",
"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-tax-api/src/main/java/com/liferay/commerce/tax/model/CommerceTaxMethodWrapper.java#L374-L377 |
54,519 | liferay/com-liferay-commerce | commerce-tax-api/src/main/java/com/liferay/commerce/tax/model/CommerceTaxMethodWrapper.java | CommerceTaxMethodWrapper.setNameMap | @Override
public void setNameMap(Map<java.util.Locale, String> nameMap) {
_commerceTaxMethod.setNameMap(nameMap);
} | java | @Override
public void setNameMap(Map<java.util.Locale, String> nameMap) {
_commerceTaxMethod.setNameMap(nameMap);
} | [
"@",
"Override",
"public",
"void",
"setNameMap",
"(",
"Map",
"<",
"java",
".",
"util",
".",
"Locale",
",",
"String",
">",
"nameMap",
")",
"{",
"_commerceTaxMethod",
".",
"setNameMap",
"(",
"nameMap",
")",
";",
"}"
] | Sets the localized names of this commerce tax method from the map of locales and localized names.
@param nameMap the locales and localized names of this commerce tax method | [
"Sets",
"the",
"localized",
"names",
"of",
"this",
"commerce",
"tax",
"method",
"from",
"the",
"map",
"of",
"locales",
"and",
"localized",
"names",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-tax-api/src/main/java/com/liferay/commerce/tax/model/CommerceTaxMethodWrapper.java#L709-L712 |
54,520 | liferay/com-liferay-commerce | commerce-tax-api/src/main/java/com/liferay/commerce/tax/model/CommerceTaxMethodWrapper.java | CommerceTaxMethodWrapper.setNameMap | @Override
public void setNameMap(Map<java.util.Locale, String> nameMap,
java.util.Locale defaultLocale) {
_commerceTaxMethod.setNameMap(nameMap, defaultLocale);
} | java | @Override
public void setNameMap(Map<java.util.Locale, String> nameMap,
java.util.Locale defaultLocale) {
_commerceTaxMethod.setNameMap(nameMap, defaultLocale);
} | [
"@",
"Override",
"public",
"void",
"setNameMap",
"(",
"Map",
"<",
"java",
".",
"util",
".",
"Locale",
",",
"String",
">",
"nameMap",
",",
"java",
".",
"util",
".",
"Locale",
"defaultLocale",
")",
"{",
"_commerceTaxMethod",
".",
"setNameMap",
"(",
"nameMap"... | Sets the localized names of this commerce tax method from the map of locales and localized names, and sets the default locale.
@param nameMap the locales and localized names of this commerce tax method
@param defaultLocale the default locale | [
"Sets",
"the",
"localized",
"names",
"of",
"this",
"commerce",
"tax",
"method",
"from",
"the",
"map",
"of",
"locales",
"and",
"localized",
"names",
"and",
"sets",
"the",
"default",
"locale",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-tax-api/src/main/java/com/liferay/commerce/tax/model/CommerceTaxMethodWrapper.java#L720-L724 |
54,521 | liferay/com-liferay-commerce | commerce-account-service/src/main/java/com/liferay/commerce/account/service/base/CommerceAccountOrganizationRelServiceBaseImpl.java | CommerceAccountOrganizationRelServiceBaseImpl.setCommerceAccountUserRelService | public void setCommerceAccountUserRelService(
com.liferay.commerce.account.service.CommerceAccountUserRelService commerceAccountUserRelService) {
this.commerceAccountUserRelService = commerceAccountUserRelService;
} | java | public void setCommerceAccountUserRelService(
com.liferay.commerce.account.service.CommerceAccountUserRelService commerceAccountUserRelService) {
this.commerceAccountUserRelService = commerceAccountUserRelService;
} | [
"public",
"void",
"setCommerceAccountUserRelService",
"(",
"com",
".",
"liferay",
".",
"commerce",
".",
"account",
".",
"service",
".",
"CommerceAccountUserRelService",
"commerceAccountUserRelService",
")",
"{",
"this",
".",
"commerceAccountUserRelService",
"=",
"commerce... | Sets the commerce account user rel remote service.
@param commerceAccountUserRelService the commerce account user rel remote service | [
"Sets",
"the",
"commerce",
"account",
"user",
"rel",
"remote",
"service",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-account-service/src/main/java/com/liferay/commerce/account/service/base/CommerceAccountOrganizationRelServiceBaseImpl.java#L226-L229 |
54,522 | liferay/com-liferay-commerce | commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPInstancePersistenceImpl.java | CPInstancePersistenceImpl.cacheResult | @Override
public void cacheResult(CPInstance cpInstance) {
entityCache.putResult(CPInstanceModelImpl.ENTITY_CACHE_ENABLED,
CPInstanceImpl.class, cpInstance.getPrimaryKey(), cpInstance);
finderCache.putResult(FINDER_PATH_FETCH_BY_UUID_G,
new Object[] { cpInstance.getUuid(), cpInstance.getGroupId() },
cpIn... | java | @Override
public void cacheResult(CPInstance cpInstance) {
entityCache.putResult(CPInstanceModelImpl.ENTITY_CACHE_ENABLED,
CPInstanceImpl.class, cpInstance.getPrimaryKey(), cpInstance);
finderCache.putResult(FINDER_PATH_FETCH_BY_UUID_G,
new Object[] { cpInstance.getUuid(), cpInstance.getGroupId() },
cpIn... | [
"@",
"Override",
"public",
"void",
"cacheResult",
"(",
"CPInstance",
"cpInstance",
")",
"{",
"entityCache",
".",
"putResult",
"(",
"CPInstanceModelImpl",
".",
"ENTITY_CACHE_ENABLED",
",",
"CPInstanceImpl",
".",
"class",
",",
"cpInstance",
".",
"getPrimaryKey",
"(",
... | Caches the cp instance in the entity cache if it is enabled.
@param cpInstance the cp instance | [
"Caches",
"the",
"cp",
"instance",
"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/CPInstancePersistenceImpl.java#L7094-L7118 |
54,523 | liferay/com-liferay-commerce | commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPInstancePersistenceImpl.java | CPInstancePersistenceImpl.cacheResult | @Override
public void cacheResult(List<CPInstance> cpInstances) {
for (CPInstance cpInstance : cpInstances) {
if (entityCache.getResult(
CPInstanceModelImpl.ENTITY_CACHE_ENABLED,
CPInstanceImpl.class, cpInstance.getPrimaryKey()) == null) {
cacheResult(cpInstance);
}
else {
cpInstance.res... | java | @Override
public void cacheResult(List<CPInstance> cpInstances) {
for (CPInstance cpInstance : cpInstances) {
if (entityCache.getResult(
CPInstanceModelImpl.ENTITY_CACHE_ENABLED,
CPInstanceImpl.class, cpInstance.getPrimaryKey()) == null) {
cacheResult(cpInstance);
}
else {
cpInstance.res... | [
"@",
"Override",
"public",
"void",
"cacheResult",
"(",
"List",
"<",
"CPInstance",
">",
"cpInstances",
")",
"{",
"for",
"(",
"CPInstance",
"cpInstance",
":",
"cpInstances",
")",
"{",
"if",
"(",
"entityCache",
".",
"getResult",
"(",
"CPInstanceModelImpl",
".",
... | Caches the cp instances in the entity cache if it is enabled.
@param cpInstances the cp instances | [
"Caches",
"the",
"cp",
"instances",
"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/CPInstancePersistenceImpl.java#L7125-L7137 |
54,524 | liferay/com-liferay-commerce | commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPInstancePersistenceImpl.java | CPInstancePersistenceImpl.clearCache | @Override
public void clearCache() {
entityCache.clearCache(CPInstanceImpl.class);
finderCache.clearCache(FINDER_CLASS_NAME_ENTITY);
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
} | java | @Override
public void clearCache() {
entityCache.clearCache(CPInstanceImpl.class);
finderCache.clearCache(FINDER_CLASS_NAME_ENTITY);
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
} | [
"@",
"Override",
"public",
"void",
"clearCache",
"(",
")",
"{",
"entityCache",
".",
"clearCache",
"(",
"CPInstanceImpl",
".",
"class",
")",
";",
"finderCache",
".",
"clearCache",
"(",
"FINDER_CLASS_NAME_ENTITY",
")",
";",
"finderCache",
".",
"clearCache",
"(",
... | Clears the cache for all cp instances.
<p>
The {@link EntityCache} and {@link FinderCache} are both cleared by this method.
</p> | [
"Clears",
"the",
"cache",
"for",
"all",
"cp",
"instances",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPInstancePersistenceImpl.java#L7146-L7153 |
54,525 | liferay/com-liferay-commerce | commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPInstancePersistenceImpl.java | CPInstancePersistenceImpl.clearCache | @Override
public void clearCache(CPInstance cpInstance) {
entityCache.removeResult(CPInstanceModelImpl.ENTITY_CACHE_ENABLED,
CPInstanceImpl.class, cpInstance.getPrimaryKey());
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
... | java | @Override
public void clearCache(CPInstance cpInstance) {
entityCache.removeResult(CPInstanceModelImpl.ENTITY_CACHE_ENABLED,
CPInstanceImpl.class, cpInstance.getPrimaryKey());
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
... | [
"@",
"Override",
"public",
"void",
"clearCache",
"(",
"CPInstance",
"cpInstance",
")",
"{",
"entityCache",
".",
"removeResult",
"(",
"CPInstanceModelImpl",
".",
"ENTITY_CACHE_ENABLED",
",",
"CPInstanceImpl",
".",
"class",
",",
"cpInstance",
".",
"getPrimaryKey",
"("... | Clears the cache for the cp instance.
<p>
The {@link EntityCache} and {@link FinderCache} are both cleared by this method.
</p> | [
"Clears",
"the",
"cache",
"for",
"the",
"cp",
"instance",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPInstancePersistenceImpl.java#L7162-L7171 |
54,526 | liferay/com-liferay-commerce | commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPInstancePersistenceImpl.java | CPInstancePersistenceImpl.findAll | @Override
public List<CPInstance> findAll() {
return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
} | java | @Override
public List<CPInstance> findAll() {
return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
} | [
"@",
"Override",
"public",
"List",
"<",
"CPInstance",
">",
"findAll",
"(",
")",
"{",
"return",
"findAll",
"(",
"QueryUtil",
".",
"ALL_POS",
",",
"QueryUtil",
".",
"ALL_POS",
",",
"null",
")",
";",
"}"
] | Returns all the cp instances.
@return the cp instances | [
"Returns",
"all",
"the",
"cp",
"instances",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPInstancePersistenceImpl.java#L7895-L7898 |
54,527 | liferay/com-liferay-commerce | commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPMeasurementUnitLocalServiceBaseImpl.java | CPMeasurementUnitLocalServiceBaseImpl.deleteCPMeasurementUnit | @Indexable(type = IndexableType.DELETE)
@Override
public CPMeasurementUnit deleteCPMeasurementUnit(long CPMeasurementUnitId)
throws PortalException {
return cpMeasurementUnitPersistence.remove(CPMeasurementUnitId);
} | java | @Indexable(type = IndexableType.DELETE)
@Override
public CPMeasurementUnit deleteCPMeasurementUnit(long CPMeasurementUnitId)
throws PortalException {
return cpMeasurementUnitPersistence.remove(CPMeasurementUnitId);
} | [
"@",
"Indexable",
"(",
"type",
"=",
"IndexableType",
".",
"DELETE",
")",
"@",
"Override",
"public",
"CPMeasurementUnit",
"deleteCPMeasurementUnit",
"(",
"long",
"CPMeasurementUnitId",
")",
"throws",
"PortalException",
"{",
"return",
"cpMeasurementUnitPersistence",
".",
... | Deletes the cp measurement unit with the primary key from the database. Also notifies the appropriate model listeners.
@param CPMeasurementUnitId the primary key of the cp measurement unit
@return the cp measurement unit that was removed
@throws PortalException if a cp measurement unit with the primary key could not b... | [
"Deletes",
"the",
"cp",
"measurement",
"unit",
"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/CPMeasurementUnitLocalServiceBaseImpl.java#L140-L145 |
54,528 | liferay/com-liferay-commerce | commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPMeasurementUnitLocalServiceBaseImpl.java | CPMeasurementUnitLocalServiceBaseImpl.deleteCPMeasurementUnit | @Indexable(type = IndexableType.DELETE)
@Override
public CPMeasurementUnit deleteCPMeasurementUnit(
CPMeasurementUnit cpMeasurementUnit) {
return cpMeasurementUnitPersistence.remove(cpMeasurementUnit);
} | java | @Indexable(type = IndexableType.DELETE)
@Override
public CPMeasurementUnit deleteCPMeasurementUnit(
CPMeasurementUnit cpMeasurementUnit) {
return cpMeasurementUnitPersistence.remove(cpMeasurementUnit);
} | [
"@",
"Indexable",
"(",
"type",
"=",
"IndexableType",
".",
"DELETE",
")",
"@",
"Override",
"public",
"CPMeasurementUnit",
"deleteCPMeasurementUnit",
"(",
"CPMeasurementUnit",
"cpMeasurementUnit",
")",
"{",
"return",
"cpMeasurementUnitPersistence",
".",
"remove",
"(",
"... | Deletes the cp measurement unit from the database. Also notifies the appropriate model listeners.
@param cpMeasurementUnit the cp measurement unit
@return the cp measurement unit that was removed | [
"Deletes",
"the",
"cp",
"measurement",
"unit",
"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/CPMeasurementUnitLocalServiceBaseImpl.java#L153-L158 |
54,529 | liferay/com-liferay-commerce | commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPMeasurementUnitLocalServiceBaseImpl.java | CPMeasurementUnitLocalServiceBaseImpl.getCPMeasurementUnitsByUuidAndCompanyId | @Override
public List<CPMeasurementUnit> getCPMeasurementUnitsByUuidAndCompanyId(
String uuid, long companyId, int start, int end,
OrderByComparator<CPMeasurementUnit> orderByComparator) {
return cpMeasurementUnitPersistence.findByUuid_C(uuid, companyId,
start, end, orderByComparator);
} | java | @Override
public List<CPMeasurementUnit> getCPMeasurementUnitsByUuidAndCompanyId(
String uuid, long companyId, int start, int end,
OrderByComparator<CPMeasurementUnit> orderByComparator) {
return cpMeasurementUnitPersistence.findByUuid_C(uuid, companyId,
start, end, orderByComparator);
} | [
"@",
"Override",
"public",
"List",
"<",
"CPMeasurementUnit",
">",
"getCPMeasurementUnitsByUuidAndCompanyId",
"(",
"String",
"uuid",
",",
"long",
"companyId",
",",
"int",
"start",
",",
"int",
"end",
",",
"OrderByComparator",
"<",
"CPMeasurementUnit",
">",
"orderByCom... | Returns a range of cp measurement units matching the UUID and company.
@param uuid the UUID of the cp measurement units
@param companyId the primary key of the company
@param start the lower bound of the range of cp measurement units
@param end the upper bound of the range of cp measurement units (not inclusive)
@para... | [
"Returns",
"a",
"range",
"of",
"cp",
"measurement",
"units",
"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/CPMeasurementUnitLocalServiceBaseImpl.java#L401-L407 |
54,530 | liferay/com-liferay-commerce | commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPMeasurementUnitLocalServiceBaseImpl.java | CPMeasurementUnitLocalServiceBaseImpl.updateCPMeasurementUnit | @Indexable(type = IndexableType.REINDEX)
@Override
public CPMeasurementUnit updateCPMeasurementUnit(
CPMeasurementUnit cpMeasurementUnit) {
return cpMeasurementUnitPersistence.update(cpMeasurementUnit);
} | java | @Indexable(type = IndexableType.REINDEX)
@Override
public CPMeasurementUnit updateCPMeasurementUnit(
CPMeasurementUnit cpMeasurementUnit) {
return cpMeasurementUnitPersistence.update(cpMeasurementUnit);
} | [
"@",
"Indexable",
"(",
"type",
"=",
"IndexableType",
".",
"REINDEX",
")",
"@",
"Override",
"public",
"CPMeasurementUnit",
"updateCPMeasurementUnit",
"(",
"CPMeasurementUnit",
"cpMeasurementUnit",
")",
"{",
"return",
"cpMeasurementUnitPersistence",
".",
"update",
"(",
... | Updates the cp measurement unit in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
@param cpMeasurementUnit the cp measurement unit
@return the cp measurement unit that was updated | [
"Updates",
"the",
"cp",
"measurement",
"unit",
"in",
"the",
"database",
"or",
"adds",
"it",
"if",
"it",
"does",
"not",
"yet",
"exist",
".",
"Also",
"notifies",
"the",
"appropriate",
"model",
"listeners",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPMeasurementUnitLocalServiceBaseImpl.java#L455-L460 |
54,531 | liferay/com-liferay-commerce | commerce-product-api/src/main/java/com/liferay/commerce/product/model/CPTaxCategoryWrapper.java | CPTaxCategoryWrapper.getDescription | @Override
public String getDescription(String languageId, boolean useDefault) {
return _cpTaxCategory.getDescription(languageId, useDefault);
} | java | @Override
public String getDescription(String languageId, boolean useDefault) {
return _cpTaxCategory.getDescription(languageId, useDefault);
} | [
"@",
"Override",
"public",
"String",
"getDescription",
"(",
"String",
"languageId",
",",
"boolean",
"useDefault",
")",
"{",
"return",
"_cpTaxCategory",
".",
"getDescription",
"(",
"languageId",
",",
"useDefault",
")",
";",
"}"
] | Returns the localized description of this cp tax category in the language, optionally using the default language if no localization exists for the requested language.
@param languageId the ID of the language
@param useDefault whether to use the default language if no localization exists for the requested language
@ret... | [
"Returns",
"the",
"localized",
"description",
"of",
"this",
"cp",
"tax",
"category",
"in",
"the",
"language",
"optionally",
"using",
"the",
"default",
"language",
"if",
"no",
"localization",
"exists",
"for",
"the",
"requested",
"language",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-api/src/main/java/com/liferay/commerce/product/model/CPTaxCategoryWrapper.java#L232-L235 |
54,532 | liferay/com-liferay-commerce | commerce-product-api/src/main/java/com/liferay/commerce/product/model/CPTaxCategoryWrapper.java | CPTaxCategoryWrapper.getName | @Override
public String getName(String languageId, boolean useDefault) {
return _cpTaxCategory.getName(languageId, useDefault);
} | java | @Override
public String getName(String languageId, boolean useDefault) {
return _cpTaxCategory.getName(languageId, useDefault);
} | [
"@",
"Override",
"public",
"String",
"getName",
"(",
"String",
"languageId",
",",
"boolean",
"useDefault",
")",
"{",
"return",
"_cpTaxCategory",
".",
"getName",
"(",
"languageId",
",",
"useDefault",
")",
";",
"}"
] | Returns the localized name of this cp tax category in the language, optionally using the default language if no localization exists for the requested language.
@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",
"tax",
"category",
"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/CPTaxCategoryWrapper.java#L333-L336 |
54,533 | liferay/com-liferay-commerce | commerce-tax-engine-fixed-service/src/main/java/com/liferay/commerce/tax/engine/fixed/service/persistence/impl/CommerceTaxFixedRateAddressRelPersistenceImpl.java | CommerceTaxFixedRateAddressRelPersistenceImpl.cacheResult | @Override
public void cacheResult(
CommerceTaxFixedRateAddressRel commerceTaxFixedRateAddressRel) {
entityCache.putResult(CommerceTaxFixedRateAddressRelModelImpl.ENTITY_CACHE_ENABLED,
CommerceTaxFixedRateAddressRelImpl.class,
commerceTaxFixedRateAddressRel.getPrimaryKey(),
commerceTaxFixedRateAddressRel);... | java | @Override
public void cacheResult(
CommerceTaxFixedRateAddressRel commerceTaxFixedRateAddressRel) {
entityCache.putResult(CommerceTaxFixedRateAddressRelModelImpl.ENTITY_CACHE_ENABLED,
CommerceTaxFixedRateAddressRelImpl.class,
commerceTaxFixedRateAddressRel.getPrimaryKey(),
commerceTaxFixedRateAddressRel);... | [
"@",
"Override",
"public",
"void",
"cacheResult",
"(",
"CommerceTaxFixedRateAddressRel",
"commerceTaxFixedRateAddressRel",
")",
"{",
"entityCache",
".",
"putResult",
"(",
"CommerceTaxFixedRateAddressRelModelImpl",
".",
"ENTITY_CACHE_ENABLED",
",",
"CommerceTaxFixedRateAddressRelI... | Caches the commerce tax fixed rate address rel in the entity cache if it is enabled.
@param commerceTaxFixedRateAddressRel the commerce tax fixed rate address rel | [
"Caches",
"the",
"commerce",
"tax",
"fixed",
"rate",
"address",
"rel",
"in",
"the",
"entity",
"cache",
"if",
"it",
"is",
"enabled",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-tax-engine-fixed-service/src/main/java/com/liferay/commerce/tax/engine/fixed/service/persistence/impl/CommerceTaxFixedRateAddressRelPersistenceImpl.java#L1183-L1192 |
54,534 | liferay/com-liferay-commerce | commerce-tax-engine-fixed-service/src/main/java/com/liferay/commerce/tax/engine/fixed/service/persistence/impl/CommerceTaxFixedRateAddressRelPersistenceImpl.java | CommerceTaxFixedRateAddressRelPersistenceImpl.cacheResult | @Override
public void cacheResult(
List<CommerceTaxFixedRateAddressRel> commerceTaxFixedRateAddressRels) {
for (CommerceTaxFixedRateAddressRel commerceTaxFixedRateAddressRel : commerceTaxFixedRateAddressRels) {
if (entityCache.getResult(
CommerceTaxFixedRateAddressRelModelImpl.ENTITY_CACHE_ENABLED,
... | java | @Override
public void cacheResult(
List<CommerceTaxFixedRateAddressRel> commerceTaxFixedRateAddressRels) {
for (CommerceTaxFixedRateAddressRel commerceTaxFixedRateAddressRel : commerceTaxFixedRateAddressRels) {
if (entityCache.getResult(
CommerceTaxFixedRateAddressRelModelImpl.ENTITY_CACHE_ENABLED,
... | [
"@",
"Override",
"public",
"void",
"cacheResult",
"(",
"List",
"<",
"CommerceTaxFixedRateAddressRel",
">",
"commerceTaxFixedRateAddressRels",
")",
"{",
"for",
"(",
"CommerceTaxFixedRateAddressRel",
"commerceTaxFixedRateAddressRel",
":",
"commerceTaxFixedRateAddressRels",
")",
... | Caches the commerce tax fixed rate address rels in the entity cache if it is enabled.
@param commerceTaxFixedRateAddressRels the commerce tax fixed rate address rels | [
"Caches",
"the",
"commerce",
"tax",
"fixed",
"rate",
"address",
"rels",
"in",
"the",
"entity",
"cache",
"if",
"it",
"is",
"enabled",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-tax-engine-fixed-service/src/main/java/com/liferay/commerce/tax/engine/fixed/service/persistence/impl/CommerceTaxFixedRateAddressRelPersistenceImpl.java#L1199-L1213 |
54,535 | liferay/com-liferay-commerce | commerce-tax-engine-fixed-service/src/main/java/com/liferay/commerce/tax/engine/fixed/service/persistence/impl/CommerceTaxFixedRateAddressRelPersistenceImpl.java | CommerceTaxFixedRateAddressRelPersistenceImpl.clearCache | @Override
public void clearCache() {
entityCache.clearCache(CommerceTaxFixedRateAddressRelImpl.class);
finderCache.clearCache(FINDER_CLASS_NAME_ENTITY);
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
} | java | @Override
public void clearCache() {
entityCache.clearCache(CommerceTaxFixedRateAddressRelImpl.class);
finderCache.clearCache(FINDER_CLASS_NAME_ENTITY);
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
} | [
"@",
"Override",
"public",
"void",
"clearCache",
"(",
")",
"{",
"entityCache",
".",
"clearCache",
"(",
"CommerceTaxFixedRateAddressRelImpl",
".",
"class",
")",
";",
"finderCache",
".",
"clearCache",
"(",
"FINDER_CLASS_NAME_ENTITY",
")",
";",
"finderCache",
".",
"c... | Clears the cache for all commerce tax fixed rate address rels.
<p>
The {@link EntityCache} and {@link FinderCache} are both cleared by this method.
</p> | [
"Clears",
"the",
"cache",
"for",
"all",
"commerce",
"tax",
"fixed",
"rate",
"address",
"rels",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-tax-engine-fixed-service/src/main/java/com/liferay/commerce/tax/engine/fixed/service/persistence/impl/CommerceTaxFixedRateAddressRelPersistenceImpl.java#L1222-L1229 |
54,536 | liferay/com-liferay-commerce | commerce-tax-engine-fixed-service/src/main/java/com/liferay/commerce/tax/engine/fixed/service/persistence/impl/CommerceTaxFixedRateAddressRelPersistenceImpl.java | CommerceTaxFixedRateAddressRelPersistenceImpl.findAll | @Override
public List<CommerceTaxFixedRateAddressRel> findAll() {
return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
} | java | @Override
public List<CommerceTaxFixedRateAddressRel> findAll() {
return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
} | [
"@",
"Override",
"public",
"List",
"<",
"CommerceTaxFixedRateAddressRel",
">",
"findAll",
"(",
")",
"{",
"return",
"findAll",
"(",
"QueryUtil",
".",
"ALL_POS",
",",
"QueryUtil",
".",
"ALL_POS",
",",
"null",
")",
";",
"}"
] | Returns all the commerce tax fixed rate address rels.
@return the commerce tax fixed rate address rels | [
"Returns",
"all",
"the",
"commerce",
"tax",
"fixed",
"rate",
"address",
"rels",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-tax-engine-fixed-service/src/main/java/com/liferay/commerce/tax/engine/fixed/service/persistence/impl/CommerceTaxFixedRateAddressRelPersistenceImpl.java#L1721-L1724 |
54,537 | liferay/com-liferay-commerce | commerce-account-service/src/main/java/com/liferay/commerce/account/service/persistence/impl/CommerceAccountOrganizationRelPersistenceImpl.java | CommerceAccountOrganizationRelPersistenceImpl.cacheResult | @Override
public void cacheResult(
CommerceAccountOrganizationRel commerceAccountOrganizationRel) {
entityCache.putResult(CommerceAccountOrganizationRelModelImpl.ENTITY_CACHE_ENABLED,
CommerceAccountOrganizationRelImpl.class,
commerceAccountOrganizationRel.getPrimaryKey(),
commerceAccountOrganizationRel);... | java | @Override
public void cacheResult(
CommerceAccountOrganizationRel commerceAccountOrganizationRel) {
entityCache.putResult(CommerceAccountOrganizationRelModelImpl.ENTITY_CACHE_ENABLED,
CommerceAccountOrganizationRelImpl.class,
commerceAccountOrganizationRel.getPrimaryKey(),
commerceAccountOrganizationRel);... | [
"@",
"Override",
"public",
"void",
"cacheResult",
"(",
"CommerceAccountOrganizationRel",
"commerceAccountOrganizationRel",
")",
"{",
"entityCache",
".",
"putResult",
"(",
"CommerceAccountOrganizationRelModelImpl",
".",
"ENTITY_CACHE_ENABLED",
",",
"CommerceAccountOrganizationRelI... | Caches the commerce account organization rel in the entity cache if it is enabled.
@param commerceAccountOrganizationRel the commerce account organization rel | [
"Caches",
"the",
"commerce",
"account",
"organization",
"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/CommerceAccountOrganizationRelPersistenceImpl.java#L1162-L1171 |
54,538 | liferay/com-liferay-commerce | commerce-account-service/src/main/java/com/liferay/commerce/account/service/persistence/impl/CommerceAccountOrganizationRelPersistenceImpl.java | CommerceAccountOrganizationRelPersistenceImpl.cacheResult | @Override
public void cacheResult(
List<CommerceAccountOrganizationRel> commerceAccountOrganizationRels) {
for (CommerceAccountOrganizationRel commerceAccountOrganizationRel : commerceAccountOrganizationRels) {
if (entityCache.getResult(
CommerceAccountOrganizationRelModelImpl.ENTITY_CACHE_ENABLED,
... | java | @Override
public void cacheResult(
List<CommerceAccountOrganizationRel> commerceAccountOrganizationRels) {
for (CommerceAccountOrganizationRel commerceAccountOrganizationRel : commerceAccountOrganizationRels) {
if (entityCache.getResult(
CommerceAccountOrganizationRelModelImpl.ENTITY_CACHE_ENABLED,
... | [
"@",
"Override",
"public",
"void",
"cacheResult",
"(",
"List",
"<",
"CommerceAccountOrganizationRel",
">",
"commerceAccountOrganizationRels",
")",
"{",
"for",
"(",
"CommerceAccountOrganizationRel",
"commerceAccountOrganizationRel",
":",
"commerceAccountOrganizationRels",
")",
... | Caches the commerce account organization rels in the entity cache if it is enabled.
@param commerceAccountOrganizationRels the commerce account organization rels | [
"Caches",
"the",
"commerce",
"account",
"organization",
"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/CommerceAccountOrganizationRelPersistenceImpl.java#L1178-L1192 |
54,539 | liferay/com-liferay-commerce | commerce-account-service/src/main/java/com/liferay/commerce/account/service/persistence/impl/CommerceAccountOrganizationRelPersistenceImpl.java | CommerceAccountOrganizationRelPersistenceImpl.clearCache | @Override
public void clearCache() {
entityCache.clearCache(CommerceAccountOrganizationRelImpl.class);
finderCache.clearCache(FINDER_CLASS_NAME_ENTITY);
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
} | java | @Override
public void clearCache() {
entityCache.clearCache(CommerceAccountOrganizationRelImpl.class);
finderCache.clearCache(FINDER_CLASS_NAME_ENTITY);
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
} | [
"@",
"Override",
"public",
"void",
"clearCache",
"(",
")",
"{",
"entityCache",
".",
"clearCache",
"(",
"CommerceAccountOrganizationRelImpl",
".",
"class",
")",
";",
"finderCache",
".",
"clearCache",
"(",
"FINDER_CLASS_NAME_ENTITY",
")",
";",
"finderCache",
".",
"c... | Clears the cache for all commerce account organization rels.
<p>
The {@link EntityCache} and {@link FinderCache} are both cleared by this method.
</p> | [
"Clears",
"the",
"cache",
"for",
"all",
"commerce",
"account",
"organization",
"rels",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-account-service/src/main/java/com/liferay/commerce/account/service/persistence/impl/CommerceAccountOrganizationRelPersistenceImpl.java#L1201-L1208 |
54,540 | liferay/com-liferay-commerce | commerce-account-service/src/main/java/com/liferay/commerce/account/service/persistence/impl/CommerceAccountOrganizationRelPersistenceImpl.java | CommerceAccountOrganizationRelPersistenceImpl.clearCache | @Override
public void clearCache(
CommerceAccountOrganizationRel commerceAccountOrganizationRel) {
entityCache.removeResult(CommerceAccountOrganizationRelModelImpl.ENTITY_CACHE_ENABLED,
CommerceAccountOrganizationRelImpl.class,
commerceAccountOrganizationRel.getPrimaryKey());
finderCache.clearCache(FINDER... | java | @Override
public void clearCache(
CommerceAccountOrganizationRel commerceAccountOrganizationRel) {
entityCache.removeResult(CommerceAccountOrganizationRelModelImpl.ENTITY_CACHE_ENABLED,
CommerceAccountOrganizationRelImpl.class,
commerceAccountOrganizationRel.getPrimaryKey());
finderCache.clearCache(FINDER... | [
"@",
"Override",
"public",
"void",
"clearCache",
"(",
"CommerceAccountOrganizationRel",
"commerceAccountOrganizationRel",
")",
"{",
"entityCache",
".",
"removeResult",
"(",
"CommerceAccountOrganizationRelModelImpl",
".",
"ENTITY_CACHE_ENABLED",
",",
"CommerceAccountOrganizationRe... | Clears the cache for the commerce account organization rel.
<p>
The {@link EntityCache} and {@link FinderCache} are both cleared by this method.
</p> | [
"Clears",
"the",
"cache",
"for",
"the",
"commerce",
"account",
"organization",
"rel",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-account-service/src/main/java/com/liferay/commerce/account/service/persistence/impl/CommerceAccountOrganizationRelPersistenceImpl.java#L1217-L1226 |
54,541 | liferay/com-liferay-commerce | commerce-account-service/src/main/java/com/liferay/commerce/account/service/persistence/impl/CommerceAccountOrganizationRelPersistenceImpl.java | CommerceAccountOrganizationRelPersistenceImpl.remove | @Override
public CommerceAccountOrganizationRel remove(Serializable primaryKey)
throws NoSuchAccountOrganizationRelException {
Session session = null;
try {
session = openSession();
CommerceAccountOrganizationRel commerceAccountOrganizationRel = (CommerceAccountOrganizationRel)session.get(CommerceAccount... | java | @Override
public CommerceAccountOrganizationRel remove(Serializable primaryKey)
throws NoSuchAccountOrganizationRelException {
Session session = null;
try {
session = openSession();
CommerceAccountOrganizationRel commerceAccountOrganizationRel = (CommerceAccountOrganizationRel)session.get(CommerceAccount... | [
"@",
"Override",
"public",
"CommerceAccountOrganizationRel",
"remove",
"(",
"Serializable",
"primaryKey",
")",
"throws",
"NoSuchAccountOrganizationRelException",
"{",
"Session",
"session",
"=",
"null",
";",
"try",
"{",
"session",
"=",
"openSession",
"(",
")",
";",
"... | Removes the commerce account organization rel with the primary key from the database. Also notifies the appropriate model listeners.
@param primaryKey the primary key of the commerce account organization rel
@return the commerce account organization rel that was removed
@throws NoSuchAccountOrganizationRelException if... | [
"Removes",
"the",
"commerce",
"account",
"organization",
"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-account-service/src/main/java/com/liferay/commerce/account/service/persistence/impl/CommerceAccountOrganizationRelPersistenceImpl.java#L1281-L1312 |
54,542 | liferay/com-liferay-commerce | commerce-account-service/src/main/java/com/liferay/commerce/account/service/persistence/impl/CommerceAccountOrganizationRelPersistenceImpl.java | CommerceAccountOrganizationRelPersistenceImpl.findAll | @Override
public List<CommerceAccountOrganizationRel> findAll() {
return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
} | java | @Override
public List<CommerceAccountOrganizationRel> findAll() {
return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
} | [
"@",
"Override",
"public",
"List",
"<",
"CommerceAccountOrganizationRel",
">",
"findAll",
"(",
")",
"{",
"return",
"findAll",
"(",
"QueryUtil",
".",
"ALL_POS",
",",
"QueryUtil",
".",
"ALL_POS",
",",
"null",
")",
";",
"}"
] | Returns all the commerce account organization rels.
@return the commerce account organization rels | [
"Returns",
"all",
"the",
"commerce",
"account",
"organization",
"rels",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-account-service/src/main/java/com/liferay/commerce/account/service/persistence/impl/CommerceAccountOrganizationRelPersistenceImpl.java#L1623-L1626 |
54,543 | liferay/com-liferay-commerce | commerce-product-api/src/main/java/com/liferay/commerce/product/model/CPDefinitionOptionValueRelWrapper.java | CPDefinitionOptionValueRelWrapper.getName | @Override
public String getName(String languageId, boolean useDefault) {
return _cpDefinitionOptionValueRel.getName(languageId, useDefault);
} | java | @Override
public String getName(String languageId, boolean useDefault) {
return _cpDefinitionOptionValueRel.getName(languageId, useDefault);
} | [
"@",
"Override",
"public",
"String",
"getName",
"(",
"String",
"languageId",
",",
"boolean",
"useDefault",
")",
"{",
"return",
"_cpDefinitionOptionValueRel",
".",
"getName",
"(",
"languageId",
",",
"useDefault",
")",
";",
"}"
] | Returns the localized name of this cp definition option value rel in the language, optionally using the default language if no localization exists for the requested language.
@param languageId the ID of the language
@param useDefault whether to use the default language if no localization exists for the requested langu... | [
"Returns",
"the",
"localized",
"name",
"of",
"this",
"cp",
"definition",
"option",
"value",
"rel",
"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/CPDefinitionOptionValueRelWrapper.java#L311-L314 |
54,544 | liferay/com-liferay-commerce | commerce-service/src/main/java/com/liferay/commerce/service/base/CommerceShippingMethodLocalServiceBaseImpl.java | CommerceShippingMethodLocalServiceBaseImpl.deleteCommerceShippingMethod | @Indexable(type = IndexableType.DELETE)
@Override
public CommerceShippingMethod deleteCommerceShippingMethod(
long commerceShippingMethodId) throws PortalException {
return commerceShippingMethodPersistence.remove(commerceShippingMethodId);
} | java | @Indexable(type = IndexableType.DELETE)
@Override
public CommerceShippingMethod deleteCommerceShippingMethod(
long commerceShippingMethodId) throws PortalException {
return commerceShippingMethodPersistence.remove(commerceShippingMethodId);
} | [
"@",
"Indexable",
"(",
"type",
"=",
"IndexableType",
".",
"DELETE",
")",
"@",
"Override",
"public",
"CommerceShippingMethod",
"deleteCommerceShippingMethod",
"(",
"long",
"commerceShippingMethodId",
")",
"throws",
"PortalException",
"{",
"return",
"commerceShippingMethodP... | Deletes the commerce shipping method with the primary key from the database. Also notifies the appropriate model listeners.
@param commerceShippingMethodId the primary key of the commerce shipping method
@return the commerce shipping method that was removed
@throws PortalException if a commerce shipping method with th... | [
"Deletes",
"the",
"commerce",
"shipping",
"method",
"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/CommerceShippingMethodLocalServiceBaseImpl.java#L135-L140 |
54,545 | liferay/com-liferay-commerce | commerce-discount-service/src/main/java/com/liferay/commerce/discount/service/base/CommerceDiscountRuleLocalServiceBaseImpl.java | CommerceDiscountRuleLocalServiceBaseImpl.deleteCommerceDiscountRule | @Indexable(type = IndexableType.DELETE)
@Override
public CommerceDiscountRule deleteCommerceDiscountRule(
long commerceDiscountRuleId) throws PortalException {
return commerceDiscountRulePersistence.remove(commerceDiscountRuleId);
} | java | @Indexable(type = IndexableType.DELETE)
@Override
public CommerceDiscountRule deleteCommerceDiscountRule(
long commerceDiscountRuleId) throws PortalException {
return commerceDiscountRulePersistence.remove(commerceDiscountRuleId);
} | [
"@",
"Indexable",
"(",
"type",
"=",
"IndexableType",
".",
"DELETE",
")",
"@",
"Override",
"public",
"CommerceDiscountRule",
"deleteCommerceDiscountRule",
"(",
"long",
"commerceDiscountRuleId",
")",
"throws",
"PortalException",
"{",
"return",
"commerceDiscountRulePersisten... | Deletes the commerce discount rule with the primary key from the database. Also notifies the appropriate model listeners.
@param commerceDiscountRuleId the primary key of the commerce discount rule
@return the commerce discount rule that was removed
@throws PortalException if a commerce discount rule with the primary ... | [
"Deletes",
"the",
"commerce",
"discount",
"rule",
"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/CommerceDiscountRuleLocalServiceBaseImpl.java#L116-L121 |
54,546 | liferay/com-liferay-commerce | commerce-payment-api/src/main/java/com/liferay/commerce/payment/model/CommercePaymentMethodGroupRelWrapper.java | CommercePaymentMethodGroupRelWrapper.getDescription | @Override
public String getDescription(java.util.Locale locale) {
return _commercePaymentMethodGroupRel.getDescription(locale);
} | java | @Override
public String getDescription(java.util.Locale locale) {
return _commercePaymentMethodGroupRel.getDescription(locale);
} | [
"@",
"Override",
"public",
"String",
"getDescription",
"(",
"java",
".",
"util",
".",
"Locale",
"locale",
")",
"{",
"return",
"_commercePaymentMethodGroupRel",
".",
"getDescription",
"(",
"locale",
")",
";",
"}"
] | Returns the localized description of this commerce payment method group rel in the language. Uses the default language if no localization exists for the requested language.
@param locale the locale of the language
@return the localized description of this commerce payment method group rel | [
"Returns",
"the",
"localized",
"description",
"of",
"this",
"commerce",
"payment",
"method",
"group",
"rel",
"in",
"the",
"language",
".",
"Uses",
"the",
"default",
"language",
"if",
"no",
"localization",
"exists",
"for",
"the",
"requested",
"language",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-payment-api/src/main/java/com/liferay/commerce/payment/model/CommercePaymentMethodGroupRelWrapper.java#L240-L243 |
54,547 | liferay/com-liferay-commerce | commerce-payment-api/src/main/java/com/liferay/commerce/payment/model/CommercePaymentMethodGroupRelWrapper.java | CommercePaymentMethodGroupRelWrapper.getDescription | @Override
public String getDescription(String languageId, boolean useDefault) {
return _commercePaymentMethodGroupRel.getDescription(languageId,
useDefault);
} | java | @Override
public String getDescription(String languageId, boolean useDefault) {
return _commercePaymentMethodGroupRel.getDescription(languageId,
useDefault);
} | [
"@",
"Override",
"public",
"String",
"getDescription",
"(",
"String",
"languageId",
",",
"boolean",
"useDefault",
")",
"{",
"return",
"_commercePaymentMethodGroupRel",
".",
"getDescription",
"(",
"languageId",
",",
"useDefault",
")",
";",
"}"
] | Returns the localized description of this commerce payment method group rel in the language, optionally using the default language if no localization exists for the requested language.
@param languageId the ID of the language
@param useDefault whether to use the default language if no localization exists for the reque... | [
"Returns",
"the",
"localized",
"description",
"of",
"this",
"commerce",
"payment",
"method",
"group",
"rel",
"in",
"the",
"language",
"optionally",
"using",
"the",
"default",
"language",
"if",
"no",
"localization",
"exists",
"for",
"the",
"requested",
"language",
... | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-payment-api/src/main/java/com/liferay/commerce/payment/model/CommercePaymentMethodGroupRelWrapper.java#L275-L279 |
54,548 | liferay/com-liferay-commerce | commerce-payment-api/src/main/java/com/liferay/commerce/payment/model/CommercePaymentMethodGroupRelWrapper.java | CommercePaymentMethodGroupRelWrapper.getName | @Override
public String getName(String languageId, boolean useDefault) {
return _commercePaymentMethodGroupRel.getName(languageId, useDefault);
} | java | @Override
public String getName(String languageId, boolean useDefault) {
return _commercePaymentMethodGroupRel.getName(languageId, useDefault);
} | [
"@",
"Override",
"public",
"String",
"getName",
"(",
"String",
"languageId",
",",
"boolean",
"useDefault",
")",
"{",
"return",
"_commercePaymentMethodGroupRel",
".",
"getName",
"(",
"languageId",
",",
"useDefault",
")",
";",
"}"
] | Returns the localized name of this commerce payment method group rel in the language, optionally using the default language if no localization exists for the requested language.
@param languageId the ID of the language
@param useDefault whether to use the default language if no localization exists for the requested la... | [
"Returns",
"the",
"localized",
"name",
"of",
"this",
"commerce",
"payment",
"method",
"group",
"rel",
"in",
"the",
"language",
"optionally",
"using",
"the",
"default",
"language",
"if",
"no",
"localization",
"exists",
"for",
"the",
"requested",
"language",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-payment-api/src/main/java/com/liferay/commerce/payment/model/CommercePaymentMethodGroupRelWrapper.java#L403-L406 |
54,549 | liferay/com-liferay-commerce | commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPAttachmentFileEntryServiceBaseImpl.java | CPAttachmentFileEntryServiceBaseImpl.setDLFileEntryService | public void setDLFileEntryService(
com.liferay.document.library.kernel.service.DLFileEntryService dlFileEntryService) {
this.dlFileEntryService = dlFileEntryService;
} | java | public void setDLFileEntryService(
com.liferay.document.library.kernel.service.DLFileEntryService dlFileEntryService) {
this.dlFileEntryService = dlFileEntryService;
} | [
"public",
"void",
"setDLFileEntryService",
"(",
"com",
".",
"liferay",
".",
"document",
".",
"library",
".",
"kernel",
".",
"service",
".",
"DLFileEntryService",
"dlFileEntryService",
")",
"{",
"this",
".",
"dlFileEntryService",
"=",
"dlFileEntryService",
";",
"}"... | Sets the document library file entry remote service.
@param dlFileEntryService the document library file entry remote service | [
"Sets",
"the",
"document",
"library",
"file",
"entry",
"remote",
"service",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPAttachmentFileEntryServiceBaseImpl.java#L1402-L1405 |
54,550 | liferay/com-liferay-commerce | commerce-api/src/main/java/com/liferay/commerce/service/CommerceAvailabilityEstimateLocalServiceWrapper.java | CommerceAvailabilityEstimateLocalServiceWrapper.getCommerceAvailabilityEstimate | @Override
public com.liferay.commerce.model.CommerceAvailabilityEstimate getCommerceAvailabilityEstimate(
long commerceAvailabilityEstimateId)
throws com.liferay.portal.kernel.exception.PortalException {
return _commerceAvailabilityEstimateLocalService.getCommerceAvailabilityEstimate(commerceAvailabilityEstimate... | java | @Override
public com.liferay.commerce.model.CommerceAvailabilityEstimate getCommerceAvailabilityEstimate(
long commerceAvailabilityEstimateId)
throws com.liferay.portal.kernel.exception.PortalException {
return _commerceAvailabilityEstimateLocalService.getCommerceAvailabilityEstimate(commerceAvailabilityEstimate... | [
"@",
"Override",
"public",
"com",
".",
"liferay",
".",
"commerce",
".",
"model",
".",
"CommerceAvailabilityEstimate",
"getCommerceAvailabilityEstimate",
"(",
"long",
"commerceAvailabilityEstimateId",
")",
"throws",
"com",
".",
"liferay",
".",
"portal",
".",
"kernel",
... | Returns the commerce availability estimate with the primary key.
@param commerceAvailabilityEstimateId the primary key of the commerce availability estimate
@return the commerce availability estimate
@throws PortalException if a commerce availability estimate with the primary key could not be found | [
"Returns",
"the",
"commerce",
"availability",
"estimate",
"with",
"the",
"primary",
"key",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-api/src/main/java/com/liferay/commerce/service/CommerceAvailabilityEstimateLocalServiceWrapper.java#L232-L237 |
54,551 | liferay/com-liferay-commerce | commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPDefinitionSpecificationOptionValueLocalServiceBaseImpl.java | CPDefinitionSpecificationOptionValueLocalServiceBaseImpl.deleteCPDefinitionSpecificationOptionValue | @Indexable(type = IndexableType.DELETE)
@Override
public CPDefinitionSpecificationOptionValue deleteCPDefinitionSpecificationOptionValue(
long CPDefinitionSpecificationOptionValueId) throws PortalException {
return cpDefinitionSpecificationOptionValuePersistence.remove(CPDefinitionSpecificationOptionValueId);
} | java | @Indexable(type = IndexableType.DELETE)
@Override
public CPDefinitionSpecificationOptionValue deleteCPDefinitionSpecificationOptionValue(
long CPDefinitionSpecificationOptionValueId) throws PortalException {
return cpDefinitionSpecificationOptionValuePersistence.remove(CPDefinitionSpecificationOptionValueId);
} | [
"@",
"Indexable",
"(",
"type",
"=",
"IndexableType",
".",
"DELETE",
")",
"@",
"Override",
"public",
"CPDefinitionSpecificationOptionValue",
"deleteCPDefinitionSpecificationOptionValue",
"(",
"long",
"CPDefinitionSpecificationOptionValueId",
")",
"throws",
"PortalException",
"... | Deletes the cp definition specification option value with the primary key from the database. Also notifies the appropriate model listeners.
@param CPDefinitionSpecificationOptionValueId the primary key of the cp definition specification option value
@return the cp definition specification option value that was removed... | [
"Deletes",
"the",
"cp",
"definition",
"specification",
"option",
"value",
"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/CPDefinitionSpecificationOptionValueLocalServiceBaseImpl.java#L144-L149 |
54,552 | liferay/com-liferay-commerce | commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPDefinitionSpecificationOptionValueLocalServiceBaseImpl.java | CPDefinitionSpecificationOptionValueLocalServiceBaseImpl.deleteCPDefinitionSpecificationOptionValue | @Indexable(type = IndexableType.DELETE)
@Override
public CPDefinitionSpecificationOptionValue deleteCPDefinitionSpecificationOptionValue(
CPDefinitionSpecificationOptionValue cpDefinitionSpecificationOptionValue) {
return cpDefinitionSpecificationOptionValuePersistence.remove(cpDefinitionSpecificationOptionValue)... | java | @Indexable(type = IndexableType.DELETE)
@Override
public CPDefinitionSpecificationOptionValue deleteCPDefinitionSpecificationOptionValue(
CPDefinitionSpecificationOptionValue cpDefinitionSpecificationOptionValue) {
return cpDefinitionSpecificationOptionValuePersistence.remove(cpDefinitionSpecificationOptionValue)... | [
"@",
"Indexable",
"(",
"type",
"=",
"IndexableType",
".",
"DELETE",
")",
"@",
"Override",
"public",
"CPDefinitionSpecificationOptionValue",
"deleteCPDefinitionSpecificationOptionValue",
"(",
"CPDefinitionSpecificationOptionValue",
"cpDefinitionSpecificationOptionValue",
")",
"{",... | Deletes the cp definition specification option value from the database. Also notifies the appropriate model listeners.
@param cpDefinitionSpecificationOptionValue the cp definition specification option value
@return the cp definition specification option value that was removed | [
"Deletes",
"the",
"cp",
"definition",
"specification",
"option",
"value",
"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/CPDefinitionSpecificationOptionValueLocalServiceBaseImpl.java#L157-L162 |
54,553 | liferay/com-liferay-commerce | commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPDefinitionSpecificationOptionValueLocalServiceBaseImpl.java | CPDefinitionSpecificationOptionValueLocalServiceBaseImpl.getCPDefinitionSpecificationOptionValuesByUuidAndCompanyId | @Override
public List<CPDefinitionSpecificationOptionValue> getCPDefinitionSpecificationOptionValuesByUuidAndCompanyId(
String uuid, long companyId, int start, int end,
OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) {
return cpDefinitionSpecificationOptionValuePersistence.findByUuid_C... | java | @Override
public List<CPDefinitionSpecificationOptionValue> getCPDefinitionSpecificationOptionValuesByUuidAndCompanyId(
String uuid, long companyId, int start, int end,
OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) {
return cpDefinitionSpecificationOptionValuePersistence.findByUuid_C... | [
"@",
"Override",
"public",
"List",
"<",
"CPDefinitionSpecificationOptionValue",
">",
"getCPDefinitionSpecificationOptionValuesByUuidAndCompanyId",
"(",
"String",
"uuid",
",",
"long",
"companyId",
",",
"int",
"start",
",",
"int",
"end",
",",
"OrderByComparator",
"<",
"CP... | Returns a range of cp definition specification option values matching the UUID and company.
@param uuid the UUID of the cp definition specification option values
@param companyId the primary key of the company
@param start the lower bound of the range of cp definition specification option values
@param end the upper b... | [
"Returns",
"a",
"range",
"of",
"cp",
"definition",
"specification",
"option",
"values",
"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/CPDefinitionSpecificationOptionValueLocalServiceBaseImpl.java#L412-L418 |
54,554 | liferay/com-liferay-commerce | commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPDefinitionSpecificationOptionValueLocalServiceBaseImpl.java | CPDefinitionSpecificationOptionValueLocalServiceBaseImpl.updateCPDefinitionSpecificationOptionValue | @Indexable(type = IndexableType.REINDEX)
@Override
public CPDefinitionSpecificationOptionValue updateCPDefinitionSpecificationOptionValue(
CPDefinitionSpecificationOptionValue cpDefinitionSpecificationOptionValue) {
return cpDefinitionSpecificationOptionValuePersistence.update(cpDefinitionSpecificationOptionValue... | java | @Indexable(type = IndexableType.REINDEX)
@Override
public CPDefinitionSpecificationOptionValue updateCPDefinitionSpecificationOptionValue(
CPDefinitionSpecificationOptionValue cpDefinitionSpecificationOptionValue) {
return cpDefinitionSpecificationOptionValuePersistence.update(cpDefinitionSpecificationOptionValue... | [
"@",
"Indexable",
"(",
"type",
"=",
"IndexableType",
".",
"REINDEX",
")",
"@",
"Override",
"public",
"CPDefinitionSpecificationOptionValue",
"updateCPDefinitionSpecificationOptionValue",
"(",
"CPDefinitionSpecificationOptionValue",
"cpDefinitionSpecificationOptionValue",
")",
"{"... | Updates the cp definition specification option value in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
@param cpDefinitionSpecificationOptionValue the cp definition specification option value
@return the cp definition specification option value that was updated | [
"Updates",
"the",
"cp",
"definition",
"specification",
"option",
"value",
"in",
"the",
"database",
"or",
"adds",
"it",
"if",
"it",
"does",
"not",
"yet",
"exist",
".",
"Also",
"notifies",
"the",
"appropriate",
"model",
"listeners",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPDefinitionSpecificationOptionValueLocalServiceBaseImpl.java#L469-L474 |
54,555 | liferay/com-liferay-commerce | commerce-tax-engine-fixed-api/src/main/java/com/liferay/commerce/tax/engine/fixed/service/CommerceTaxFixedRateLocalServiceWrapper.java | CommerceTaxFixedRateLocalServiceWrapper.getCommerceTaxFixedRate | @Override
public com.liferay.commerce.tax.engine.fixed.model.CommerceTaxFixedRate getCommerceTaxFixedRate(
long commerceTaxFixedRateId)
throws com.liferay.portal.kernel.exception.PortalException {
return _commerceTaxFixedRateLocalService.getCommerceTaxFixedRate(commerceTaxFixedRateId);
} | java | @Override
public com.liferay.commerce.tax.engine.fixed.model.CommerceTaxFixedRate getCommerceTaxFixedRate(
long commerceTaxFixedRateId)
throws com.liferay.portal.kernel.exception.PortalException {
return _commerceTaxFixedRateLocalService.getCommerceTaxFixedRate(commerceTaxFixedRateId);
} | [
"@",
"Override",
"public",
"com",
".",
"liferay",
".",
"commerce",
".",
"tax",
".",
"engine",
".",
"fixed",
".",
"model",
".",
"CommerceTaxFixedRate",
"getCommerceTaxFixedRate",
"(",
"long",
"commerceTaxFixedRateId",
")",
"throws",
"com",
".",
"liferay",
".",
... | Returns the commerce tax fixed rate with the primary key.
@param commerceTaxFixedRateId the primary key of the commerce tax fixed rate
@return the commerce tax fixed rate
@throws PortalException if a commerce tax fixed rate with the primary key could not be found | [
"Returns",
"the",
"commerce",
"tax",
"fixed",
"rate",
"with",
"the",
"primary",
"key",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-tax-engine-fixed-api/src/main/java/com/liferay/commerce/tax/engine/fixed/service/CommerceTaxFixedRateLocalServiceWrapper.java#L230-L235 |
54,556 | liferay/com-liferay-commerce | commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceWarehousePersistenceImpl.java | CommerceWarehousePersistenceImpl.cacheResult | @Override
public void cacheResult(CommerceWarehouse commerceWarehouse) {
entityCache.putResult(CommerceWarehouseModelImpl.ENTITY_CACHE_ENABLED,
CommerceWarehouseImpl.class, commerceWarehouse.getPrimaryKey(),
commerceWarehouse);
commerceWarehouse.resetOriginalValues();
} | java | @Override
public void cacheResult(CommerceWarehouse commerceWarehouse) {
entityCache.putResult(CommerceWarehouseModelImpl.ENTITY_CACHE_ENABLED,
CommerceWarehouseImpl.class, commerceWarehouse.getPrimaryKey(),
commerceWarehouse);
commerceWarehouse.resetOriginalValues();
} | [
"@",
"Override",
"public",
"void",
"cacheResult",
"(",
"CommerceWarehouse",
"commerceWarehouse",
")",
"{",
"entityCache",
".",
"putResult",
"(",
"CommerceWarehouseModelImpl",
".",
"ENTITY_CACHE_ENABLED",
",",
"CommerceWarehouseImpl",
".",
"class",
",",
"commerceWarehouse"... | Caches the commerce warehouse in the entity cache if it is enabled.
@param commerceWarehouse the commerce warehouse | [
"Caches",
"the",
"commerce",
"warehouse",
"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/CommerceWarehousePersistenceImpl.java#L4691-L4698 |
54,557 | liferay/com-liferay-commerce | commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceWarehousePersistenceImpl.java | CommerceWarehousePersistenceImpl.cacheResult | @Override
public void cacheResult(List<CommerceWarehouse> commerceWarehouses) {
for (CommerceWarehouse commerceWarehouse : commerceWarehouses) {
if (entityCache.getResult(
CommerceWarehouseModelImpl.ENTITY_CACHE_ENABLED,
CommerceWarehouseImpl.class,
commerceWarehouse.getPrimaryKey()) == null) {
... | java | @Override
public void cacheResult(List<CommerceWarehouse> commerceWarehouses) {
for (CommerceWarehouse commerceWarehouse : commerceWarehouses) {
if (entityCache.getResult(
CommerceWarehouseModelImpl.ENTITY_CACHE_ENABLED,
CommerceWarehouseImpl.class,
commerceWarehouse.getPrimaryKey()) == null) {
... | [
"@",
"Override",
"public",
"void",
"cacheResult",
"(",
"List",
"<",
"CommerceWarehouse",
">",
"commerceWarehouses",
")",
"{",
"for",
"(",
"CommerceWarehouse",
"commerceWarehouse",
":",
"commerceWarehouses",
")",
"{",
"if",
"(",
"entityCache",
".",
"getResult",
"("... | Caches the commerce warehouses in the entity cache if it is enabled.
@param commerceWarehouses the commerce warehouses | [
"Caches",
"the",
"commerce",
"warehouses",
"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/CommerceWarehousePersistenceImpl.java#L4705-L4718 |
54,558 | liferay/com-liferay-commerce | commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceWarehousePersistenceImpl.java | CommerceWarehousePersistenceImpl.clearCache | @Override
public void clearCache() {
entityCache.clearCache(CommerceWarehouseImpl.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(CommerceWarehouseImpl.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",
"(",
"CommerceWarehouseImpl",
".",
"class",
")",
";",
"finderCache",
".",
"clearCache",
"(",
"FINDER_CLASS_NAME_ENTITY",
")",
";",
"finderCache",
".",
"clearCache",
... | Clears the cache for all commerce warehouses.
<p>
The {@link EntityCache} and {@link FinderCache} are both cleared by this method.
</p> | [
"Clears",
"the",
"cache",
"for",
"all",
"commerce",
"warehouses",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceWarehousePersistenceImpl.java#L4727-L4734 |
54,559 | liferay/com-liferay-commerce | commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceWarehousePersistenceImpl.java | CommerceWarehousePersistenceImpl.clearCache | @Override
public void clearCache(CommerceWarehouse commerceWarehouse) {
entityCache.removeResult(CommerceWarehouseModelImpl.ENTITY_CACHE_ENABLED,
CommerceWarehouseImpl.class, commerceWarehouse.getPrimaryKey());
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
finderCache.clearCache(FINDER_CLAS... | java | @Override
public void clearCache(CommerceWarehouse commerceWarehouse) {
entityCache.removeResult(CommerceWarehouseModelImpl.ENTITY_CACHE_ENABLED,
CommerceWarehouseImpl.class, commerceWarehouse.getPrimaryKey());
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
finderCache.clearCache(FINDER_CLAS... | [
"@",
"Override",
"public",
"void",
"clearCache",
"(",
"CommerceWarehouse",
"commerceWarehouse",
")",
"{",
"entityCache",
".",
"removeResult",
"(",
"CommerceWarehouseModelImpl",
".",
"ENTITY_CACHE_ENABLED",
",",
"CommerceWarehouseImpl",
".",
"class",
",",
"commerceWarehous... | Clears the cache for the commerce warehouse.
<p>
The {@link EntityCache} and {@link FinderCache} are both cleared by this method.
</p> | [
"Clears",
"the",
"cache",
"for",
"the",
"commerce",
"warehouse",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceWarehousePersistenceImpl.java#L4743-L4750 |
54,560 | liferay/com-liferay-commerce | commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceWarehousePersistenceImpl.java | CommerceWarehousePersistenceImpl.findAll | @Override
public List<CommerceWarehouse> findAll() {
return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
} | java | @Override
public List<CommerceWarehouse> findAll() {
return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
} | [
"@",
"Override",
"public",
"List",
"<",
"CommerceWarehouse",
">",
"findAll",
"(",
")",
"{",
"return",
"findAll",
"(",
"QueryUtil",
".",
"ALL_POS",
",",
"QueryUtil",
".",
"ALL_POS",
",",
"null",
")",
";",
"}"
] | Returns all the commerce warehouses.
@return the commerce warehouses | [
"Returns",
"all",
"the",
"commerce",
"warehouses",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceWarehousePersistenceImpl.java#L5397-L5400 |
54,561 | liferay/com-liferay-commerce | commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPFriendlyURLEntryLocalServiceBaseImpl.java | CPFriendlyURLEntryLocalServiceBaseImpl.addCPFriendlyURLEntry | @Indexable(type = IndexableType.REINDEX)
@Override
public CPFriendlyURLEntry addCPFriendlyURLEntry(
CPFriendlyURLEntry cpFriendlyURLEntry) {
cpFriendlyURLEntry.setNew(true);
return cpFriendlyURLEntryPersistence.update(cpFriendlyURLEntry);
} | java | @Indexable(type = IndexableType.REINDEX)
@Override
public CPFriendlyURLEntry addCPFriendlyURLEntry(
CPFriendlyURLEntry cpFriendlyURLEntry) {
cpFriendlyURLEntry.setNew(true);
return cpFriendlyURLEntryPersistence.update(cpFriendlyURLEntry);
} | [
"@",
"Indexable",
"(",
"type",
"=",
"IndexableType",
".",
"REINDEX",
")",
"@",
"Override",
"public",
"CPFriendlyURLEntry",
"addCPFriendlyURLEntry",
"(",
"CPFriendlyURLEntry",
"cpFriendlyURLEntry",
")",
"{",
"cpFriendlyURLEntry",
".",
"setNew",
"(",
"true",
")",
";",... | Adds the cp friendly url entry to the database. Also notifies the appropriate model listeners.
@param cpFriendlyURLEntry the cp friendly url entry
@return the cp friendly url entry that was added | [
"Adds",
"the",
"cp",
"friendly",
"url",
"entry",
"to",
"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/CPFriendlyURLEntryLocalServiceBaseImpl.java#L114-L121 |
54,562 | liferay/com-liferay-commerce | commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPFriendlyURLEntryLocalServiceBaseImpl.java | CPFriendlyURLEntryLocalServiceBaseImpl.deleteCPFriendlyURLEntry | @Indexable(type = IndexableType.DELETE)
@Override
public CPFriendlyURLEntry deleteCPFriendlyURLEntry(
long CPFriendlyURLEntryId) throws PortalException {
return cpFriendlyURLEntryPersistence.remove(CPFriendlyURLEntryId);
} | java | @Indexable(type = IndexableType.DELETE)
@Override
public CPFriendlyURLEntry deleteCPFriendlyURLEntry(
long CPFriendlyURLEntryId) throws PortalException {
return cpFriendlyURLEntryPersistence.remove(CPFriendlyURLEntryId);
} | [
"@",
"Indexable",
"(",
"type",
"=",
"IndexableType",
".",
"DELETE",
")",
"@",
"Override",
"public",
"CPFriendlyURLEntry",
"deleteCPFriendlyURLEntry",
"(",
"long",
"CPFriendlyURLEntryId",
")",
"throws",
"PortalException",
"{",
"return",
"cpFriendlyURLEntryPersistence",
"... | Deletes the cp friendly url entry with the primary key from the database. Also notifies the appropriate model listeners.
@param CPFriendlyURLEntryId the primary key of the cp friendly url entry
@return the cp friendly url entry that was removed
@throws PortalException if a cp friendly url entry with the primary key co... | [
"Deletes",
"the",
"cp",
"friendly",
"url",
"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-product-service/src/main/java/com/liferay/commerce/product/service/base/CPFriendlyURLEntryLocalServiceBaseImpl.java#L143-L148 |
54,563 | liferay/com-liferay-commerce | commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPFriendlyURLEntryLocalServiceBaseImpl.java | CPFriendlyURLEntryLocalServiceBaseImpl.deleteCPFriendlyURLEntry | @Indexable(type = IndexableType.DELETE)
@Override
public CPFriendlyURLEntry deleteCPFriendlyURLEntry(
CPFriendlyURLEntry cpFriendlyURLEntry) {
return cpFriendlyURLEntryPersistence.remove(cpFriendlyURLEntry);
} | java | @Indexable(type = IndexableType.DELETE)
@Override
public CPFriendlyURLEntry deleteCPFriendlyURLEntry(
CPFriendlyURLEntry cpFriendlyURLEntry) {
return cpFriendlyURLEntryPersistence.remove(cpFriendlyURLEntry);
} | [
"@",
"Indexable",
"(",
"type",
"=",
"IndexableType",
".",
"DELETE",
")",
"@",
"Override",
"public",
"CPFriendlyURLEntry",
"deleteCPFriendlyURLEntry",
"(",
"CPFriendlyURLEntry",
"cpFriendlyURLEntry",
")",
"{",
"return",
"cpFriendlyURLEntryPersistence",
".",
"remove",
"("... | Deletes the cp friendly url entry from the database. Also notifies the appropriate model listeners.
@param cpFriendlyURLEntry the cp friendly url entry
@return the cp friendly url entry that was removed | [
"Deletes",
"the",
"cp",
"friendly",
"url",
"entry",
"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/CPFriendlyURLEntryLocalServiceBaseImpl.java#L156-L161 |
54,564 | liferay/com-liferay-commerce | commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPFriendlyURLEntryLocalServiceBaseImpl.java | CPFriendlyURLEntryLocalServiceBaseImpl.getCPFriendlyURLEntriesByUuidAndCompanyId | @Override
public List<CPFriendlyURLEntry> getCPFriendlyURLEntriesByUuidAndCompanyId(
String uuid, long companyId, int start, int end,
OrderByComparator<CPFriendlyURLEntry> orderByComparator) {
return cpFriendlyURLEntryPersistence.findByUuid_C(uuid, companyId,
start, end, orderByComparator);
} | java | @Override
public List<CPFriendlyURLEntry> getCPFriendlyURLEntriesByUuidAndCompanyId(
String uuid, long companyId, int start, int end,
OrderByComparator<CPFriendlyURLEntry> orderByComparator) {
return cpFriendlyURLEntryPersistence.findByUuid_C(uuid, companyId,
start, end, orderByComparator);
} | [
"@",
"Override",
"public",
"List",
"<",
"CPFriendlyURLEntry",
">",
"getCPFriendlyURLEntriesByUuidAndCompanyId",
"(",
"String",
"uuid",
",",
"long",
"companyId",
",",
"int",
"start",
",",
"int",
"end",
",",
"OrderByComparator",
"<",
"CPFriendlyURLEntry",
">",
"orderB... | Returns a range of cp friendly url entries matching the UUID and company.
@param uuid the UUID of the cp friendly url entries
@param companyId the primary key of the company
@param start the lower bound of the range of cp friendly url entries
@param end the upper bound of the range of cp friendly url entries (not incl... | [
"Returns",
"a",
"range",
"of",
"cp",
"friendly",
"url",
"entries",
"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/CPFriendlyURLEntryLocalServiceBaseImpl.java#L419-L425 |
54,565 | liferay/com-liferay-commerce | commerce-service/src/main/java/com/liferay/commerce/service/base/CommerceOrderItemLocalServiceBaseImpl.java | CommerceOrderItemLocalServiceBaseImpl.fetchCommerceOrderItemByReferenceCode | @Override
public CommerceOrderItem fetchCommerceOrderItemByReferenceCode(
long companyId, String externalReferenceCode) {
return commerceOrderItemPersistence.fetchByC_ERC(companyId, null);
} | java | @Override
public CommerceOrderItem fetchCommerceOrderItemByReferenceCode(
long companyId, String externalReferenceCode) {
return commerceOrderItemPersistence.fetchByC_ERC(companyId, null);
} | [
"@",
"Override",
"public",
"CommerceOrderItem",
"fetchCommerceOrderItemByReferenceCode",
"(",
"long",
"companyId",
",",
"String",
"externalReferenceCode",
")",
"{",
"return",
"commerceOrderItemPersistence",
".",
"fetchByC_ERC",
"(",
"companyId",
",",
"null",
")",
";",
"... | Returns the commerce order item with the matching external reference code and company.
@param companyId the primary key of the company
@param externalReferenceCode the commerce order item's external reference code
@return the matching commerce order item, or <code>null</code> if a matching commerce order item could no... | [
"Returns",
"the",
"commerce",
"order",
"item",
"with",
"the",
"matching",
"external",
"reference",
"code",
"and",
"company",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-service/src/main/java/com/liferay/commerce/service/base/CommerceOrderItemLocalServiceBaseImpl.java#L251-L255 |
54,566 | liferay/com-liferay-commerce | commerce-api/src/main/java/com/liferay/commerce/model/CommerceAvailabilityEstimateWrapper.java | CommerceAvailabilityEstimateWrapper.getTitle | @Override
public String getTitle(String languageId, boolean useDefault) {
return _commerceAvailabilityEstimate.getTitle(languageId, useDefault);
} | java | @Override
public String getTitle(String languageId, boolean useDefault) {
return _commerceAvailabilityEstimate.getTitle(languageId, useDefault);
} | [
"@",
"Override",
"public",
"String",
"getTitle",
"(",
"String",
"languageId",
",",
"boolean",
"useDefault",
")",
"{",
"return",
"_commerceAvailabilityEstimate",
".",
"getTitle",
"(",
"languageId",
",",
"useDefault",
")",
";",
"}"
] | Returns the localized title of this commerce availability estimate 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 lang... | [
"Returns",
"the",
"localized",
"title",
"of",
"this",
"commerce",
"availability",
"estimate",
"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/CommerceAvailabilityEstimateWrapper.java#L313-L316 |
54,567 | liferay/com-liferay-commerce | commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPSpecificationOptionLocalServiceBaseImpl.java | CPSpecificationOptionLocalServiceBaseImpl.addCPSpecificationOption | @Indexable(type = IndexableType.REINDEX)
@Override
public CPSpecificationOption addCPSpecificationOption(
CPSpecificationOption cpSpecificationOption) {
cpSpecificationOption.setNew(true);
return cpSpecificationOptionPersistence.update(cpSpecificationOption);
} | java | @Indexable(type = IndexableType.REINDEX)
@Override
public CPSpecificationOption addCPSpecificationOption(
CPSpecificationOption cpSpecificationOption) {
cpSpecificationOption.setNew(true);
return cpSpecificationOptionPersistence.update(cpSpecificationOption);
} | [
"@",
"Indexable",
"(",
"type",
"=",
"IndexableType",
".",
"REINDEX",
")",
"@",
"Override",
"public",
"CPSpecificationOption",
"addCPSpecificationOption",
"(",
"CPSpecificationOption",
"cpSpecificationOption",
")",
"{",
"cpSpecificationOption",
".",
"setNew",
"(",
"true"... | Adds the cp specification option to the database. Also notifies the appropriate model listeners.
@param cpSpecificationOption the cp specification option
@return the cp specification option that was added | [
"Adds",
"the",
"cp",
"specification",
"option",
"to",
"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/CPSpecificationOptionLocalServiceBaseImpl.java#L114-L121 |
54,568 | liferay/com-liferay-commerce | commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPSpecificationOptionLocalServiceBaseImpl.java | CPSpecificationOptionLocalServiceBaseImpl.deleteCPSpecificationOption | @Indexable(type = IndexableType.DELETE)
@Override
public CPSpecificationOption deleteCPSpecificationOption(
long CPSpecificationOptionId) throws PortalException {
return cpSpecificationOptionPersistence.remove(CPSpecificationOptionId);
} | java | @Indexable(type = IndexableType.DELETE)
@Override
public CPSpecificationOption deleteCPSpecificationOption(
long CPSpecificationOptionId) throws PortalException {
return cpSpecificationOptionPersistence.remove(CPSpecificationOptionId);
} | [
"@",
"Indexable",
"(",
"type",
"=",
"IndexableType",
".",
"DELETE",
")",
"@",
"Override",
"public",
"CPSpecificationOption",
"deleteCPSpecificationOption",
"(",
"long",
"CPSpecificationOptionId",
")",
"throws",
"PortalException",
"{",
"return",
"cpSpecificationOptionPersi... | Deletes the cp specification option with the primary key from the database. Also notifies the appropriate model listeners.
@param CPSpecificationOptionId the primary key of the cp specification option
@return the cp specification option that was removed
@throws PortalException if a cp specification option with the pri... | [
"Deletes",
"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/base/CPSpecificationOptionLocalServiceBaseImpl.java#L143-L148 |
54,569 | liferay/com-liferay-commerce | commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPSpecificationOptionLocalServiceBaseImpl.java | CPSpecificationOptionLocalServiceBaseImpl.getCPSpecificationOptionsByUuidAndCompanyId | @Override
public List<CPSpecificationOption> getCPSpecificationOptionsByUuidAndCompanyId(
String uuid, long companyId, int start, int end,
OrderByComparator<CPSpecificationOption> orderByComparator) {
return cpSpecificationOptionPersistence.findByUuid_C(uuid, companyId,
start, end, orderByComparator);
} | java | @Override
public List<CPSpecificationOption> getCPSpecificationOptionsByUuidAndCompanyId(
String uuid, long companyId, int start, int end,
OrderByComparator<CPSpecificationOption> orderByComparator) {
return cpSpecificationOptionPersistence.findByUuid_C(uuid, companyId,
start, end, orderByComparator);
} | [
"@",
"Override",
"public",
"List",
"<",
"CPSpecificationOption",
">",
"getCPSpecificationOptionsByUuidAndCompanyId",
"(",
"String",
"uuid",
",",
"long",
"companyId",
",",
"int",
"start",
",",
"int",
"end",
",",
"OrderByComparator",
"<",
"CPSpecificationOption",
">",
... | Returns a range of cp specification options matching the UUID and company.
@param uuid the UUID of the cp specification options
@param companyId the primary key of the company
@param start the lower bound of the range of cp specification options
@param end the upper bound of the range of cp specification options (not ... | [
"Returns",
"a",
"range",
"of",
"cp",
"specification",
"options",
"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/CPSpecificationOptionLocalServiceBaseImpl.java#L409-L415 |
54,570 | liferay/com-liferay-commerce | commerce-product-type-virtual-service/src/main/java/com/liferay/commerce/product/type/virtual/service/persistence/impl/CPDefinitionVirtualSettingPersistenceImpl.java | CPDefinitionVirtualSettingPersistenceImpl.cacheResult | @Override
public void cacheResult(
CPDefinitionVirtualSetting cpDefinitionVirtualSetting) {
entityCache.putResult(CPDefinitionVirtualSettingModelImpl.ENTITY_CACHE_ENABLED,
CPDefinitionVirtualSettingImpl.class,
cpDefinitionVirtualSetting.getPrimaryKey(),
cpDefinitionVirtualSetting);
finderCache.putResul... | java | @Override
public void cacheResult(
CPDefinitionVirtualSetting cpDefinitionVirtualSetting) {
entityCache.putResult(CPDefinitionVirtualSettingModelImpl.ENTITY_CACHE_ENABLED,
CPDefinitionVirtualSettingImpl.class,
cpDefinitionVirtualSetting.getPrimaryKey(),
cpDefinitionVirtualSetting);
finderCache.putResul... | [
"@",
"Override",
"public",
"void",
"cacheResult",
"(",
"CPDefinitionVirtualSetting",
"cpDefinitionVirtualSetting",
")",
"{",
"entityCache",
".",
"putResult",
"(",
"CPDefinitionVirtualSettingModelImpl",
".",
"ENTITY_CACHE_ENABLED",
",",
"CPDefinitionVirtualSettingImpl",
".",
"... | Caches the cp definition virtual setting in the entity cache if it is enabled.
@param cpDefinitionVirtualSetting the cp definition virtual setting | [
"Caches",
"the",
"cp",
"definition",
"virtual",
"setting",
"in",
"the",
"entity",
"cache",
"if",
"it",
"is",
"enabled",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-type-virtual-service/src/main/java/com/liferay/commerce/product/type/virtual/service/persistence/impl/CPDefinitionVirtualSettingPersistenceImpl.java#L1757-L1778 |
54,571 | liferay/com-liferay-commerce | commerce-product-type-virtual-service/src/main/java/com/liferay/commerce/product/type/virtual/service/persistence/impl/CPDefinitionVirtualSettingPersistenceImpl.java | CPDefinitionVirtualSettingPersistenceImpl.cacheResult | @Override
public void cacheResult(
List<CPDefinitionVirtualSetting> cpDefinitionVirtualSettings) {
for (CPDefinitionVirtualSetting cpDefinitionVirtualSetting : cpDefinitionVirtualSettings) {
if (entityCache.getResult(
CPDefinitionVirtualSettingModelImpl.ENTITY_CACHE_ENABLED,
CPDefinitionVirtualSetti... | java | @Override
public void cacheResult(
List<CPDefinitionVirtualSetting> cpDefinitionVirtualSettings) {
for (CPDefinitionVirtualSetting cpDefinitionVirtualSetting : cpDefinitionVirtualSettings) {
if (entityCache.getResult(
CPDefinitionVirtualSettingModelImpl.ENTITY_CACHE_ENABLED,
CPDefinitionVirtualSetti... | [
"@",
"Override",
"public",
"void",
"cacheResult",
"(",
"List",
"<",
"CPDefinitionVirtualSetting",
">",
"cpDefinitionVirtualSettings",
")",
"{",
"for",
"(",
"CPDefinitionVirtualSetting",
"cpDefinitionVirtualSetting",
":",
"cpDefinitionVirtualSettings",
")",
"{",
"if",
"(",... | Caches the cp definition virtual settings in the entity cache if it is enabled.
@param cpDefinitionVirtualSettings the cp definition virtual settings | [
"Caches",
"the",
"cp",
"definition",
"virtual",
"settings",
"in",
"the",
"entity",
"cache",
"if",
"it",
"is",
"enabled",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-type-virtual-service/src/main/java/com/liferay/commerce/product/type/virtual/service/persistence/impl/CPDefinitionVirtualSettingPersistenceImpl.java#L1785-L1799 |
54,572 | liferay/com-liferay-commerce | commerce-product-type-virtual-service/src/main/java/com/liferay/commerce/product/type/virtual/service/persistence/impl/CPDefinitionVirtualSettingPersistenceImpl.java | CPDefinitionVirtualSettingPersistenceImpl.clearCache | @Override
public void clearCache() {
entityCache.clearCache(CPDefinitionVirtualSettingImpl.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(CPDefinitionVirtualSettingImpl.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",
"(",
"CPDefinitionVirtualSettingImpl",
".",
"class",
")",
";",
"finderCache",
".",
"clearCache",
"(",
"FINDER_CLASS_NAME_ENTITY",
")",
";",
"finderCache",
".",
"clear... | Clears the cache for all cp definition virtual settings.
<p>
The {@link EntityCache} and {@link FinderCache} are both cleared by this method.
</p> | [
"Clears",
"the",
"cache",
"for",
"all",
"cp",
"definition",
"virtual",
"settings",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-type-virtual-service/src/main/java/com/liferay/commerce/product/type/virtual/service/persistence/impl/CPDefinitionVirtualSettingPersistenceImpl.java#L1808-L1815 |
54,573 | liferay/com-liferay-commerce | commerce-product-type-virtual-service/src/main/java/com/liferay/commerce/product/type/virtual/service/persistence/impl/CPDefinitionVirtualSettingPersistenceImpl.java | CPDefinitionVirtualSettingPersistenceImpl.clearCache | @Override
public void clearCache(
CPDefinitionVirtualSetting cpDefinitionVirtualSetting) {
entityCache.removeResult(CPDefinitionVirtualSettingModelImpl.ENTITY_CACHE_ENABLED,
CPDefinitionVirtualSettingImpl.class,
cpDefinitionVirtualSetting.getPrimaryKey());
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WIT... | java | @Override
public void clearCache(
CPDefinitionVirtualSetting cpDefinitionVirtualSetting) {
entityCache.removeResult(CPDefinitionVirtualSettingModelImpl.ENTITY_CACHE_ENABLED,
CPDefinitionVirtualSettingImpl.class,
cpDefinitionVirtualSetting.getPrimaryKey());
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WIT... | [
"@",
"Override",
"public",
"void",
"clearCache",
"(",
"CPDefinitionVirtualSetting",
"cpDefinitionVirtualSetting",
")",
"{",
"entityCache",
".",
"removeResult",
"(",
"CPDefinitionVirtualSettingModelImpl",
".",
"ENTITY_CACHE_ENABLED",
",",
"CPDefinitionVirtualSettingImpl",
".",
... | Clears the cache for the cp definition virtual setting.
<p>
The {@link EntityCache} and {@link FinderCache} are both cleared by this method.
</p> | [
"Clears",
"the",
"cache",
"for",
"the",
"cp",
"definition",
"virtual",
"setting",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-type-virtual-service/src/main/java/com/liferay/commerce/product/type/virtual/service/persistence/impl/CPDefinitionVirtualSettingPersistenceImpl.java#L1824-L1836 |
54,574 | liferay/com-liferay-commerce | commerce-product-type-virtual-service/src/main/java/com/liferay/commerce/product/type/virtual/service/persistence/impl/CPDefinitionVirtualSettingPersistenceImpl.java | CPDefinitionVirtualSettingPersistenceImpl.remove | @Override
public CPDefinitionVirtualSetting remove(Serializable primaryKey)
throws NoSuchCPDefinitionVirtualSettingException {
Session session = null;
try {
session = openSession();
CPDefinitionVirtualSetting cpDefinitionVirtualSetting = (CPDefinitionVirtualSetting)session.get(CPDefinitionVirtualSettingI... | java | @Override
public CPDefinitionVirtualSetting remove(Serializable primaryKey)
throws NoSuchCPDefinitionVirtualSettingException {
Session session = null;
try {
session = openSession();
CPDefinitionVirtualSetting cpDefinitionVirtualSetting = (CPDefinitionVirtualSetting)session.get(CPDefinitionVirtualSettingI... | [
"@",
"Override",
"public",
"CPDefinitionVirtualSetting",
"remove",
"(",
"Serializable",
"primaryKey",
")",
"throws",
"NoSuchCPDefinitionVirtualSettingException",
"{",
"Session",
"session",
"=",
"null",
";",
"try",
"{",
"session",
"=",
"openSession",
"(",
")",
";",
"... | Removes the cp definition virtual setting with the primary key from the database. Also notifies the appropriate model listeners.
@param primaryKey the primary key of the cp definition virtual setting
@return the cp definition virtual setting that was removed
@throws NoSuchCPDefinitionVirtualSettingException if a cp de... | [
"Removes",
"the",
"cp",
"definition",
"virtual",
"setting",
"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-type-virtual-service/src/main/java/com/liferay/commerce/product/type/virtual/service/persistence/impl/CPDefinitionVirtualSettingPersistenceImpl.java#L1965-L1996 |
54,575 | liferay/com-liferay-commerce | commerce-product-type-virtual-service/src/main/java/com/liferay/commerce/product/type/virtual/service/persistence/impl/CPDefinitionVirtualSettingPersistenceImpl.java | CPDefinitionVirtualSettingPersistenceImpl.findAll | @Override
public List<CPDefinitionVirtualSetting> findAll() {
return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
} | java | @Override
public List<CPDefinitionVirtualSetting> findAll() {
return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
} | [
"@",
"Override",
"public",
"List",
"<",
"CPDefinitionVirtualSetting",
">",
"findAll",
"(",
")",
"{",
"return",
"findAll",
"(",
"QueryUtil",
".",
"ALL_POS",
",",
"QueryUtil",
".",
"ALL_POS",
",",
"null",
")",
";",
"}"
] | Returns all the cp definition virtual settings.
@return the cp definition virtual settings | [
"Returns",
"all",
"the",
"cp",
"definition",
"virtual",
"settings",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-type-virtual-service/src/main/java/com/liferay/commerce/product/type/virtual/service/persistence/impl/CPDefinitionVirtualSettingPersistenceImpl.java#L2386-L2389 |
54,576 | liferay/com-liferay-commerce | commerce-notification-service/src/main/java/com/liferay/commerce/notification/service/persistence/impl/CommerceNotificationAttachmentPersistenceImpl.java | CommerceNotificationAttachmentPersistenceImpl.cacheResult | @Override
public void cacheResult(
CommerceNotificationAttachment commerceNotificationAttachment) {
entityCache.putResult(CommerceNotificationAttachmentModelImpl.ENTITY_CACHE_ENABLED,
CommerceNotificationAttachmentImpl.class,
commerceNotificationAttachment.getPrimaryKey(),
commerceNotificationAttachment);... | java | @Override
public void cacheResult(
CommerceNotificationAttachment commerceNotificationAttachment) {
entityCache.putResult(CommerceNotificationAttachmentModelImpl.ENTITY_CACHE_ENABLED,
CommerceNotificationAttachmentImpl.class,
commerceNotificationAttachment.getPrimaryKey(),
commerceNotificationAttachment);... | [
"@",
"Override",
"public",
"void",
"cacheResult",
"(",
"CommerceNotificationAttachment",
"commerceNotificationAttachment",
")",
"{",
"entityCache",
".",
"putResult",
"(",
"CommerceNotificationAttachmentModelImpl",
".",
"ENTITY_CACHE_ENABLED",
",",
"CommerceNotificationAttachmentI... | Caches the commerce notification attachment in the entity cache if it is enabled.
@param commerceNotificationAttachment the commerce notification attachment | [
"Caches",
"the",
"commerce",
"notification",
"attachment",
"in",
"the",
"entity",
"cache",
"if",
"it",
"is",
"enabled",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-notification-service/src/main/java/com/liferay/commerce/notification/service/persistence/impl/CommerceNotificationAttachmentPersistenceImpl.java#L2084-L2099 |
54,577 | liferay/com-liferay-commerce | commerce-notification-service/src/main/java/com/liferay/commerce/notification/service/persistence/impl/CommerceNotificationAttachmentPersistenceImpl.java | CommerceNotificationAttachmentPersistenceImpl.cacheResult | @Override
public void cacheResult(
List<CommerceNotificationAttachment> commerceNotificationAttachments) {
for (CommerceNotificationAttachment commerceNotificationAttachment : commerceNotificationAttachments) {
if (entityCache.getResult(
CommerceNotificationAttachmentModelImpl.ENTITY_CACHE_ENABLED,
... | java | @Override
public void cacheResult(
List<CommerceNotificationAttachment> commerceNotificationAttachments) {
for (CommerceNotificationAttachment commerceNotificationAttachment : commerceNotificationAttachments) {
if (entityCache.getResult(
CommerceNotificationAttachmentModelImpl.ENTITY_CACHE_ENABLED,
... | [
"@",
"Override",
"public",
"void",
"cacheResult",
"(",
"List",
"<",
"CommerceNotificationAttachment",
">",
"commerceNotificationAttachments",
")",
"{",
"for",
"(",
"CommerceNotificationAttachment",
"commerceNotificationAttachment",
":",
"commerceNotificationAttachments",
")",
... | Caches the commerce notification attachments in the entity cache if it is enabled.
@param commerceNotificationAttachments the commerce notification attachments | [
"Caches",
"the",
"commerce",
"notification",
"attachments",
"in",
"the",
"entity",
"cache",
"if",
"it",
"is",
"enabled",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-notification-service/src/main/java/com/liferay/commerce/notification/service/persistence/impl/CommerceNotificationAttachmentPersistenceImpl.java#L2106-L2120 |
54,578 | liferay/com-liferay-commerce | commerce-notification-service/src/main/java/com/liferay/commerce/notification/service/persistence/impl/CommerceNotificationAttachmentPersistenceImpl.java | CommerceNotificationAttachmentPersistenceImpl.clearCache | @Override
public void clearCache() {
entityCache.clearCache(CommerceNotificationAttachmentImpl.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(CommerceNotificationAttachmentImpl.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",
"(",
"CommerceNotificationAttachmentImpl",
".",
"class",
")",
";",
"finderCache",
".",
"clearCache",
"(",
"FINDER_CLASS_NAME_ENTITY",
")",
";",
"finderCache",
".",
"c... | Clears the cache for all commerce notification attachments.
<p>
The {@link EntityCache} and {@link FinderCache} are both cleared by this method.
</p> | [
"Clears",
"the",
"cache",
"for",
"all",
"commerce",
"notification",
"attachments",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-notification-service/src/main/java/com/liferay/commerce/notification/service/persistence/impl/CommerceNotificationAttachmentPersistenceImpl.java#L2129-L2136 |
54,579 | liferay/com-liferay-commerce | commerce-notification-service/src/main/java/com/liferay/commerce/notification/service/persistence/impl/CommerceNotificationAttachmentPersistenceImpl.java | CommerceNotificationAttachmentPersistenceImpl.clearCache | @Override
public void clearCache(
CommerceNotificationAttachment commerceNotificationAttachment) {
entityCache.removeResult(CommerceNotificationAttachmentModelImpl.ENTITY_CACHE_ENABLED,
CommerceNotificationAttachmentImpl.class,
commerceNotificationAttachment.getPrimaryKey());
finderCache.clearCache(FINDER... | java | @Override
public void clearCache(
CommerceNotificationAttachment commerceNotificationAttachment) {
entityCache.removeResult(CommerceNotificationAttachmentModelImpl.ENTITY_CACHE_ENABLED,
CommerceNotificationAttachmentImpl.class,
commerceNotificationAttachment.getPrimaryKey());
finderCache.clearCache(FINDER... | [
"@",
"Override",
"public",
"void",
"clearCache",
"(",
"CommerceNotificationAttachment",
"commerceNotificationAttachment",
")",
"{",
"entityCache",
".",
"removeResult",
"(",
"CommerceNotificationAttachmentModelImpl",
".",
"ENTITY_CACHE_ENABLED",
",",
"CommerceNotificationAttachmen... | Clears the cache for the commerce notification attachment.
<p>
The {@link EntityCache} and {@link FinderCache} are both cleared by this method.
</p> | [
"Clears",
"the",
"cache",
"for",
"the",
"commerce",
"notification",
"attachment",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-notification-service/src/main/java/com/liferay/commerce/notification/service/persistence/impl/CommerceNotificationAttachmentPersistenceImpl.java#L2145-L2157 |
54,580 | liferay/com-liferay-commerce | commerce-notification-service/src/main/java/com/liferay/commerce/notification/service/persistence/impl/CommerceNotificationAttachmentPersistenceImpl.java | CommerceNotificationAttachmentPersistenceImpl.findAll | @Override
public List<CommerceNotificationAttachment> findAll() {
return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
} | java | @Override
public List<CommerceNotificationAttachment> findAll() {
return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
} | [
"@",
"Override",
"public",
"List",
"<",
"CommerceNotificationAttachment",
">",
"findAll",
"(",
")",
"{",
"return",
"findAll",
"(",
"QueryUtil",
".",
"ALL_POS",
",",
"QueryUtil",
".",
"ALL_POS",
",",
"null",
")",
";",
"}"
] | Returns all the commerce notification attachments.
@return the commerce notification attachments | [
"Returns",
"all",
"the",
"commerce",
"notification",
"attachments",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-notification-service/src/main/java/com/liferay/commerce/notification/service/persistence/impl/CommerceNotificationAttachmentPersistenceImpl.java#L2713-L2716 |
54,581 | liferay/com-liferay-commerce | commerce-discount-service/src/main/java/com/liferay/commerce/discount/service/persistence/impl/CommerceDiscountUsageEntryPersistenceImpl.java | CommerceDiscountUsageEntryPersistenceImpl.cacheResult | @Override
public void cacheResult(
CommerceDiscountUsageEntry commerceDiscountUsageEntry) {
entityCache.putResult(CommerceDiscountUsageEntryModelImpl.ENTITY_CACHE_ENABLED,
CommerceDiscountUsageEntryImpl.class,
commerceDiscountUsageEntry.getPrimaryKey(),
commerceDiscountUsageEntry);
commerceDiscountUsag... | java | @Override
public void cacheResult(
CommerceDiscountUsageEntry commerceDiscountUsageEntry) {
entityCache.putResult(CommerceDiscountUsageEntryModelImpl.ENTITY_CACHE_ENABLED,
CommerceDiscountUsageEntryImpl.class,
commerceDiscountUsageEntry.getPrimaryKey(),
commerceDiscountUsageEntry);
commerceDiscountUsag... | [
"@",
"Override",
"public",
"void",
"cacheResult",
"(",
"CommerceDiscountUsageEntry",
"commerceDiscountUsageEntry",
")",
"{",
"entityCache",
".",
"putResult",
"(",
"CommerceDiscountUsageEntryModelImpl",
".",
"ENTITY_CACHE_ENABLED",
",",
"CommerceDiscountUsageEntryImpl",
".",
"... | Caches the commerce discount usage entry in the entity cache if it is enabled.
@param commerceDiscountUsageEntry the commerce discount usage entry | [
"Caches",
"the",
"commerce",
"discount",
"usage",
"entry",
"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/CommerceDiscountUsageEntryPersistenceImpl.java#L618-L627 |
54,582 | liferay/com-liferay-commerce | commerce-discount-service/src/main/java/com/liferay/commerce/discount/service/persistence/impl/CommerceDiscountUsageEntryPersistenceImpl.java | CommerceDiscountUsageEntryPersistenceImpl.cacheResult | @Override
public void cacheResult(
List<CommerceDiscountUsageEntry> commerceDiscountUsageEntries) {
for (CommerceDiscountUsageEntry commerceDiscountUsageEntry : commerceDiscountUsageEntries) {
if (entityCache.getResult(
CommerceDiscountUsageEntryModelImpl.ENTITY_CACHE_ENABLED,
CommerceDiscountUsageE... | java | @Override
public void cacheResult(
List<CommerceDiscountUsageEntry> commerceDiscountUsageEntries) {
for (CommerceDiscountUsageEntry commerceDiscountUsageEntry : commerceDiscountUsageEntries) {
if (entityCache.getResult(
CommerceDiscountUsageEntryModelImpl.ENTITY_CACHE_ENABLED,
CommerceDiscountUsageE... | [
"@",
"Override",
"public",
"void",
"cacheResult",
"(",
"List",
"<",
"CommerceDiscountUsageEntry",
">",
"commerceDiscountUsageEntries",
")",
"{",
"for",
"(",
"CommerceDiscountUsageEntry",
"commerceDiscountUsageEntry",
":",
"commerceDiscountUsageEntries",
")",
"{",
"if",
"(... | Caches the commerce discount usage entries in the entity cache if it is enabled.
@param commerceDiscountUsageEntries the commerce discount usage entries | [
"Caches",
"the",
"commerce",
"discount",
"usage",
"entries",
"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/CommerceDiscountUsageEntryPersistenceImpl.java#L634-L648 |
54,583 | liferay/com-liferay-commerce | commerce-discount-service/src/main/java/com/liferay/commerce/discount/service/persistence/impl/CommerceDiscountUsageEntryPersistenceImpl.java | CommerceDiscountUsageEntryPersistenceImpl.clearCache | @Override
public void clearCache() {
entityCache.clearCache(CommerceDiscountUsageEntryImpl.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(CommerceDiscountUsageEntryImpl.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",
"(",
"CommerceDiscountUsageEntryImpl",
".",
"class",
")",
";",
"finderCache",
".",
"clearCache",
"(",
"FINDER_CLASS_NAME_ENTITY",
")",
";",
"finderCache",
".",
"clear... | Clears the cache for all commerce discount usage entries.
<p>
The {@link EntityCache} and {@link FinderCache} are both cleared by this method.
</p> | [
"Clears",
"the",
"cache",
"for",
"all",
"commerce",
"discount",
"usage",
"entries",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-discount-service/src/main/java/com/liferay/commerce/discount/service/persistence/impl/CommerceDiscountUsageEntryPersistenceImpl.java#L657-L664 |
54,584 | liferay/com-liferay-commerce | commerce-discount-service/src/main/java/com/liferay/commerce/discount/service/persistence/impl/CommerceDiscountUsageEntryPersistenceImpl.java | CommerceDiscountUsageEntryPersistenceImpl.clearCache | @Override
public void clearCache(
CommerceDiscountUsageEntry commerceDiscountUsageEntry) {
entityCache.removeResult(CommerceDiscountUsageEntryModelImpl.ENTITY_CACHE_ENABLED,
CommerceDiscountUsageEntryImpl.class,
commerceDiscountUsageEntry.getPrimaryKey());
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WIT... | java | @Override
public void clearCache(
CommerceDiscountUsageEntry commerceDiscountUsageEntry) {
entityCache.removeResult(CommerceDiscountUsageEntryModelImpl.ENTITY_CACHE_ENABLED,
CommerceDiscountUsageEntryImpl.class,
commerceDiscountUsageEntry.getPrimaryKey());
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WIT... | [
"@",
"Override",
"public",
"void",
"clearCache",
"(",
"CommerceDiscountUsageEntry",
"commerceDiscountUsageEntry",
")",
"{",
"entityCache",
".",
"removeResult",
"(",
"CommerceDiscountUsageEntryModelImpl",
".",
"ENTITY_CACHE_ENABLED",
",",
"CommerceDiscountUsageEntryImpl",
".",
... | Clears the cache for the commerce discount usage entry.
<p>
The {@link EntityCache} and {@link FinderCache} are both cleared by this method.
</p> | [
"Clears",
"the",
"cache",
"for",
"the",
"commerce",
"discount",
"usage",
"entry",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-discount-service/src/main/java/com/liferay/commerce/discount/service/persistence/impl/CommerceDiscountUsageEntryPersistenceImpl.java#L673-L682 |
54,585 | liferay/com-liferay-commerce | commerce-discount-service/src/main/java/com/liferay/commerce/discount/service/persistence/impl/CommerceDiscountUsageEntryPersistenceImpl.java | CommerceDiscountUsageEntryPersistenceImpl.remove | @Override
public CommerceDiscountUsageEntry remove(Serializable primaryKey)
throws NoSuchDiscountUsageEntryException {
Session session = null;
try {
session = openSession();
CommerceDiscountUsageEntry commerceDiscountUsageEntry = (CommerceDiscountUsageEntry)session.get(CommerceDiscountUsageEntryImpl.clas... | java | @Override
public CommerceDiscountUsageEntry remove(Serializable primaryKey)
throws NoSuchDiscountUsageEntryException {
Session session = null;
try {
session = openSession();
CommerceDiscountUsageEntry commerceDiscountUsageEntry = (CommerceDiscountUsageEntry)session.get(CommerceDiscountUsageEntryImpl.clas... | [
"@",
"Override",
"public",
"CommerceDiscountUsageEntry",
"remove",
"(",
"Serializable",
"primaryKey",
")",
"throws",
"NoSuchDiscountUsageEntryException",
"{",
"Session",
"session",
"=",
"null",
";",
"try",
"{",
"session",
"=",
"openSession",
"(",
")",
";",
"Commerce... | Removes the commerce discount usage entry with the primary key from the database. Also notifies the appropriate model listeners.
@param primaryKey the primary key of the commerce discount usage entry
@return the commerce discount usage entry that was removed
@throws NoSuchDiscountUsageEntryException if a commerce disc... | [
"Removes",
"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/persistence/impl/CommerceDiscountUsageEntryPersistenceImpl.java#L735-L766 |
54,586 | liferay/com-liferay-commerce | commerce-discount-service/src/main/java/com/liferay/commerce/discount/service/persistence/impl/CommerceDiscountUsageEntryPersistenceImpl.java | CommerceDiscountUsageEntryPersistenceImpl.findAll | @Override
public List<CommerceDiscountUsageEntry> findAll() {
return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
} | java | @Override
public List<CommerceDiscountUsageEntry> findAll() {
return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
} | [
"@",
"Override",
"public",
"List",
"<",
"CommerceDiscountUsageEntry",
">",
"findAll",
"(",
")",
"{",
"return",
"findAll",
"(",
"QueryUtil",
".",
"ALL_POS",
",",
"QueryUtil",
".",
"ALL_POS",
",",
"null",
")",
";",
"}"
] | Returns all the commerce discount usage entries.
@return the commerce discount usage entries | [
"Returns",
"all",
"the",
"commerce",
"discount",
"usage",
"entries",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-discount-service/src/main/java/com/liferay/commerce/discount/service/persistence/impl/CommerceDiscountUsageEntryPersistenceImpl.java#L1117-L1120 |
54,587 | liferay/com-liferay-commerce | commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPDefinitionOptionRelPersistenceImpl.java | CPDefinitionOptionRelPersistenceImpl.cacheResult | @Override
public void cacheResult(CPDefinitionOptionRel cpDefinitionOptionRel) {
entityCache.putResult(CPDefinitionOptionRelModelImpl.ENTITY_CACHE_ENABLED,
CPDefinitionOptionRelImpl.class,
cpDefinitionOptionRel.getPrimaryKey(), cpDefinitionOptionRel);
finderCache.putResult(FINDER_PATH_FETCH_BY_UUID_G,
ne... | java | @Override
public void cacheResult(CPDefinitionOptionRel cpDefinitionOptionRel) {
entityCache.putResult(CPDefinitionOptionRelModelImpl.ENTITY_CACHE_ENABLED,
CPDefinitionOptionRelImpl.class,
cpDefinitionOptionRel.getPrimaryKey(), cpDefinitionOptionRel);
finderCache.putResult(FINDER_PATH_FETCH_BY_UUID_G,
ne... | [
"@",
"Override",
"public",
"void",
"cacheResult",
"(",
"CPDefinitionOptionRel",
"cpDefinitionOptionRel",
")",
"{",
"entityCache",
".",
"putResult",
"(",
"CPDefinitionOptionRelModelImpl",
".",
"ENTITY_CACHE_ENABLED",
",",
"CPDefinitionOptionRelImpl",
".",
"class",
",",
"cp... | Caches the cp definition option rel in the entity cache if it is enabled.
@param cpDefinitionOptionRel the cp definition option rel | [
"Caches",
"the",
"cp",
"definition",
"option",
"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/CPDefinitionOptionRelPersistenceImpl.java#L3847-L3866 |
54,588 | liferay/com-liferay-commerce | commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPDefinitionOptionRelPersistenceImpl.java | CPDefinitionOptionRelPersistenceImpl.cacheResult | @Override
public void cacheResult(List<CPDefinitionOptionRel> cpDefinitionOptionRels) {
for (CPDefinitionOptionRel cpDefinitionOptionRel : cpDefinitionOptionRels) {
if (entityCache.getResult(
CPDefinitionOptionRelModelImpl.ENTITY_CACHE_ENABLED,
CPDefinitionOptionRelImpl.class,
cpDefinitionOption... | java | @Override
public void cacheResult(List<CPDefinitionOptionRel> cpDefinitionOptionRels) {
for (CPDefinitionOptionRel cpDefinitionOptionRel : cpDefinitionOptionRels) {
if (entityCache.getResult(
CPDefinitionOptionRelModelImpl.ENTITY_CACHE_ENABLED,
CPDefinitionOptionRelImpl.class,
cpDefinitionOption... | [
"@",
"Override",
"public",
"void",
"cacheResult",
"(",
"List",
"<",
"CPDefinitionOptionRel",
">",
"cpDefinitionOptionRels",
")",
"{",
"for",
"(",
"CPDefinitionOptionRel",
"cpDefinitionOptionRel",
":",
"cpDefinitionOptionRels",
")",
"{",
"if",
"(",
"entityCache",
".",
... | Caches the cp definition option rels in the entity cache if it is enabled.
@param cpDefinitionOptionRels the cp definition option rels | [
"Caches",
"the",
"cp",
"definition",
"option",
"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/CPDefinitionOptionRelPersistenceImpl.java#L3873-L3886 |
54,589 | liferay/com-liferay-commerce | commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPDefinitionOptionRelPersistenceImpl.java | CPDefinitionOptionRelPersistenceImpl.clearCache | @Override
public void clearCache() {
entityCache.clearCache(CPDefinitionOptionRelImpl.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(CPDefinitionOptionRelImpl.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",
"(",
"CPDefinitionOptionRelImpl",
".",
"class",
")",
";",
"finderCache",
".",
"clearCache",
"(",
"FINDER_CLASS_NAME_ENTITY",
")",
";",
"finderCache",
".",
"clearCache... | Clears the cache for all cp definition option rels.
<p>
The {@link EntityCache} and {@link FinderCache} are both cleared by this method.
</p> | [
"Clears",
"the",
"cache",
"for",
"all",
"cp",
"definition",
"option",
"rels",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPDefinitionOptionRelPersistenceImpl.java#L3895-L3902 |
54,590 | liferay/com-liferay-commerce | commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPDefinitionOptionRelPersistenceImpl.java | CPDefinitionOptionRelPersistenceImpl.clearCache | @Override
public void clearCache(CPDefinitionOptionRel cpDefinitionOptionRel) {
entityCache.removeResult(CPDefinitionOptionRelModelImpl.ENTITY_CACHE_ENABLED,
CPDefinitionOptionRelImpl.class,
cpDefinitionOptionRel.getPrimaryKey());
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
finderCache... | java | @Override
public void clearCache(CPDefinitionOptionRel cpDefinitionOptionRel) {
entityCache.removeResult(CPDefinitionOptionRelModelImpl.ENTITY_CACHE_ENABLED,
CPDefinitionOptionRelImpl.class,
cpDefinitionOptionRel.getPrimaryKey());
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
finderCache... | [
"@",
"Override",
"public",
"void",
"clearCache",
"(",
"CPDefinitionOptionRel",
"cpDefinitionOptionRel",
")",
"{",
"entityCache",
".",
"removeResult",
"(",
"CPDefinitionOptionRelModelImpl",
".",
"ENTITY_CACHE_ENABLED",
",",
"CPDefinitionOptionRelImpl",
".",
"class",
",",
"... | Clears the cache for the cp definition option rel.
<p>
The {@link EntityCache} and {@link FinderCache} are both cleared by this method.
</p> | [
"Clears",
"the",
"cache",
"for",
"the",
"cp",
"definition",
"option",
"rel",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPDefinitionOptionRelPersistenceImpl.java#L3911-L3922 |
54,591 | liferay/com-liferay-commerce | commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPDefinitionOptionRelPersistenceImpl.java | CPDefinitionOptionRelPersistenceImpl.findAll | @Override
public List<CPDefinitionOptionRel> findAll() {
return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
} | java | @Override
public List<CPDefinitionOptionRel> findAll() {
return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
} | [
"@",
"Override",
"public",
"List",
"<",
"CPDefinitionOptionRel",
">",
"findAll",
"(",
")",
"{",
"return",
"findAll",
"(",
"QueryUtil",
".",
"ALL_POS",
",",
"QueryUtil",
".",
"ALL_POS",
",",
"null",
")",
";",
"}"
] | Returns all the cp definition option rels.
@return the cp definition option rels | [
"Returns",
"all",
"the",
"cp",
"definition",
"option",
"rels",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPDefinitionOptionRelPersistenceImpl.java#L4572-L4575 |
54,592 | liferay/com-liferay-commerce | commerce-wish-list-service/src/main/java/com/liferay/commerce/wish/list/service/base/CommerceWishListServiceBaseImpl.java | CommerceWishListServiceBaseImpl.setCommerceWishListItemService | public void setCommerceWishListItemService(
com.liferay.commerce.wish.list.service.CommerceWishListItemService commerceWishListItemService) {
this.commerceWishListItemService = commerceWishListItemService;
} | java | public void setCommerceWishListItemService(
com.liferay.commerce.wish.list.service.CommerceWishListItemService commerceWishListItemService) {
this.commerceWishListItemService = commerceWishListItemService;
} | [
"public",
"void",
"setCommerceWishListItemService",
"(",
"com",
".",
"liferay",
".",
"commerce",
".",
"wish",
".",
"list",
".",
"service",
".",
"CommerceWishListItemService",
"commerceWishListItemService",
")",
"{",
"this",
".",
"commerceWishListItemService",
"=",
"co... | Sets the commerce wish list item remote service.
@param commerceWishListItemService the commerce wish list item remote service | [
"Sets",
"the",
"commerce",
"wish",
"list",
"item",
"remote",
"service",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-wish-list-service/src/main/java/com/liferay/commerce/wish/list/service/base/CommerceWishListServiceBaseImpl.java#L147-L150 |
54,593 | liferay/com-liferay-commerce | commerce-price-list-service/src/main/java/com/liferay/commerce/price/list/service/base/CommerceTierPriceEntryLocalServiceBaseImpl.java | CommerceTierPriceEntryLocalServiceBaseImpl.fetchCommerceTierPriceEntryByReferenceCode | @Override
public CommerceTierPriceEntry fetchCommerceTierPriceEntryByReferenceCode(
long companyId, String externalReferenceCode) {
return commerceTierPriceEntryPersistence.fetchByC_ERC(companyId, null);
} | java | @Override
public CommerceTierPriceEntry fetchCommerceTierPriceEntryByReferenceCode(
long companyId, String externalReferenceCode) {
return commerceTierPriceEntryPersistence.fetchByC_ERC(companyId, null);
} | [
"@",
"Override",
"public",
"CommerceTierPriceEntry",
"fetchCommerceTierPriceEntryByReferenceCode",
"(",
"long",
"companyId",
",",
"String",
"externalReferenceCode",
")",
"{",
"return",
"commerceTierPriceEntryPersistence",
".",
"fetchByC_ERC",
"(",
"companyId",
",",
"null",
... | Returns the commerce tier price entry with the matching external reference code and company.
@param companyId the primary key of the company
@param externalReferenceCode the commerce tier price entry's external reference code
@return the matching commerce tier price entry, or <code>null</code> if a matching commerce t... | [
"Returns",
"the",
"commerce",
"tier",
"price",
"entry",
"with",
"the",
"matching",
"external",
"reference",
"code",
"and",
"company",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-price-list-service/src/main/java/com/liferay/commerce/price/list/service/base/CommerceTierPriceEntryLocalServiceBaseImpl.java#L257-L261 |
54,594 | liferay/com-liferay-commerce | commerce-price-list-service/src/main/java/com/liferay/commerce/price/list/service/base/CommerceTierPriceEntryLocalServiceBaseImpl.java | CommerceTierPriceEntryLocalServiceBaseImpl.getCommerceTierPriceEntriesByUuidAndCompanyId | @Override
public List<CommerceTierPriceEntry> getCommerceTierPriceEntriesByUuidAndCompanyId(
String uuid, long companyId, int start, int end,
OrderByComparator<CommerceTierPriceEntry> orderByComparator) {
return commerceTierPriceEntryPersistence.findByUuid_C(uuid, companyId,
start, end, orderByComparator);
} | java | @Override
public List<CommerceTierPriceEntry> getCommerceTierPriceEntriesByUuidAndCompanyId(
String uuid, long companyId, int start, int end,
OrderByComparator<CommerceTierPriceEntry> orderByComparator) {
return commerceTierPriceEntryPersistence.findByUuid_C(uuid, companyId,
start, end, orderByComparator);
} | [
"@",
"Override",
"public",
"List",
"<",
"CommerceTierPriceEntry",
">",
"getCommerceTierPriceEntriesByUuidAndCompanyId",
"(",
"String",
"uuid",
",",
"long",
"companyId",
",",
"int",
"start",
",",
"int",
"end",
",",
"OrderByComparator",
"<",
"CommerceTierPriceEntry",
">... | Returns a range of commerce tier price entries matching the UUID and company.
@param uuid the UUID of the commerce tier price entries
@param companyId the primary key of the company
@param start the lower bound of the range of commerce tier price entries
@param end the upper bound of the range of commerce tier price e... | [
"Returns",
"a",
"range",
"of",
"commerce",
"tier",
"price",
"entries",
"matching",
"the",
"UUID",
"and",
"company",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-price-list-service/src/main/java/com/liferay/commerce/price/list/service/base/CommerceTierPriceEntryLocalServiceBaseImpl.java#L407-L413 |
54,595 | liferay/com-liferay-commerce | commerce-discount-service/src/main/java/com/liferay/commerce/discount/service/persistence/impl/CommerceDiscountRulePersistenceImpl.java | CommerceDiscountRulePersistenceImpl.cacheResult | @Override
public void cacheResult(CommerceDiscountRule commerceDiscountRule) {
entityCache.putResult(CommerceDiscountRuleModelImpl.ENTITY_CACHE_ENABLED,
CommerceDiscountRuleImpl.class,
commerceDiscountRule.getPrimaryKey(), commerceDiscountRule);
commerceDiscountRule.resetOriginalValues();
} | java | @Override
public void cacheResult(CommerceDiscountRule commerceDiscountRule) {
entityCache.putResult(CommerceDiscountRuleModelImpl.ENTITY_CACHE_ENABLED,
CommerceDiscountRuleImpl.class,
commerceDiscountRule.getPrimaryKey(), commerceDiscountRule);
commerceDiscountRule.resetOriginalValues();
} | [
"@",
"Override",
"public",
"void",
"cacheResult",
"(",
"CommerceDiscountRule",
"commerceDiscountRule",
")",
"{",
"entityCache",
".",
"putResult",
"(",
"CommerceDiscountRuleModelImpl",
".",
"ENTITY_CACHE_ENABLED",
",",
"CommerceDiscountRuleImpl",
".",
"class",
",",
"commer... | Caches the commerce discount rule in the entity cache if it is enabled.
@param commerceDiscountRule the commerce discount rule | [
"Caches",
"the",
"commerce",
"discount",
"rule",
"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/CommerceDiscountRulePersistenceImpl.java#L650-L657 |
54,596 | liferay/com-liferay-commerce | commerce-discount-service/src/main/java/com/liferay/commerce/discount/service/persistence/impl/CommerceDiscountRulePersistenceImpl.java | CommerceDiscountRulePersistenceImpl.cacheResult | @Override
public void cacheResult(List<CommerceDiscountRule> commerceDiscountRules) {
for (CommerceDiscountRule commerceDiscountRule : commerceDiscountRules) {
if (entityCache.getResult(
CommerceDiscountRuleModelImpl.ENTITY_CACHE_ENABLED,
CommerceDiscountRuleImpl.class,
commerceDiscountRule.getP... | java | @Override
public void cacheResult(List<CommerceDiscountRule> commerceDiscountRules) {
for (CommerceDiscountRule commerceDiscountRule : commerceDiscountRules) {
if (entityCache.getResult(
CommerceDiscountRuleModelImpl.ENTITY_CACHE_ENABLED,
CommerceDiscountRuleImpl.class,
commerceDiscountRule.getP... | [
"@",
"Override",
"public",
"void",
"cacheResult",
"(",
"List",
"<",
"CommerceDiscountRule",
">",
"commerceDiscountRules",
")",
"{",
"for",
"(",
"CommerceDiscountRule",
"commerceDiscountRule",
":",
"commerceDiscountRules",
")",
"{",
"if",
"(",
"entityCache",
".",
"ge... | Caches the commerce discount rules in the entity cache if it is enabled.
@param commerceDiscountRules the commerce discount rules | [
"Caches",
"the",
"commerce",
"discount",
"rules",
"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/CommerceDiscountRulePersistenceImpl.java#L664-L677 |
54,597 | liferay/com-liferay-commerce | commerce-discount-service/src/main/java/com/liferay/commerce/discount/service/persistence/impl/CommerceDiscountRulePersistenceImpl.java | CommerceDiscountRulePersistenceImpl.clearCache | @Override
public void clearCache() {
entityCache.clearCache(CommerceDiscountRuleImpl.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(CommerceDiscountRuleImpl.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",
"(",
"CommerceDiscountRuleImpl",
".",
"class",
")",
";",
"finderCache",
".",
"clearCache",
"(",
"FINDER_CLASS_NAME_ENTITY",
")",
";",
"finderCache",
".",
"clearCache"... | Clears the cache for all commerce discount rules.
<p>
The {@link EntityCache} and {@link FinderCache} are both cleared by this method.
</p> | [
"Clears",
"the",
"cache",
"for",
"all",
"commerce",
"discount",
"rules",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-discount-service/src/main/java/com/liferay/commerce/discount/service/persistence/impl/CommerceDiscountRulePersistenceImpl.java#L686-L693 |
54,598 | liferay/com-liferay-commerce | commerce-discount-service/src/main/java/com/liferay/commerce/discount/service/persistence/impl/CommerceDiscountRulePersistenceImpl.java | CommerceDiscountRulePersistenceImpl.clearCache | @Override
public void clearCache(CommerceDiscountRule commerceDiscountRule) {
entityCache.removeResult(CommerceDiscountRuleModelImpl.ENTITY_CACHE_ENABLED,
CommerceDiscountRuleImpl.class, commerceDiscountRule.getPrimaryKey());
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
finderCache.clearCa... | java | @Override
public void clearCache(CommerceDiscountRule commerceDiscountRule) {
entityCache.removeResult(CommerceDiscountRuleModelImpl.ENTITY_CACHE_ENABLED,
CommerceDiscountRuleImpl.class, commerceDiscountRule.getPrimaryKey());
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
finderCache.clearCa... | [
"@",
"Override",
"public",
"void",
"clearCache",
"(",
"CommerceDiscountRule",
"commerceDiscountRule",
")",
"{",
"entityCache",
".",
"removeResult",
"(",
"CommerceDiscountRuleModelImpl",
".",
"ENTITY_CACHE_ENABLED",
",",
"CommerceDiscountRuleImpl",
".",
"class",
",",
"comm... | Clears the cache for the commerce discount rule.
<p>
The {@link EntityCache} and {@link FinderCache} are both cleared by this method.
</p> | [
"Clears",
"the",
"cache",
"for",
"the",
"commerce",
"discount",
"rule",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-discount-service/src/main/java/com/liferay/commerce/discount/service/persistence/impl/CommerceDiscountRulePersistenceImpl.java#L702-L709 |
54,599 | liferay/com-liferay-commerce | commerce-discount-service/src/main/java/com/liferay/commerce/discount/service/persistence/impl/CommerceDiscountRulePersistenceImpl.java | CommerceDiscountRulePersistenceImpl.remove | @Override
public CommerceDiscountRule remove(Serializable primaryKey)
throws NoSuchDiscountRuleException {
Session session = null;
try {
session = openSession();
CommerceDiscountRule commerceDiscountRule = (CommerceDiscountRule)session.get(CommerceDiscountRuleImpl.class,
primaryKey);
if (commerc... | java | @Override
public CommerceDiscountRule remove(Serializable primaryKey)
throws NoSuchDiscountRuleException {
Session session = null;
try {
session = openSession();
CommerceDiscountRule commerceDiscountRule = (CommerceDiscountRule)session.get(CommerceDiscountRuleImpl.class,
primaryKey);
if (commerc... | [
"@",
"Override",
"public",
"CommerceDiscountRule",
"remove",
"(",
"Serializable",
"primaryKey",
")",
"throws",
"NoSuchDiscountRuleException",
"{",
"Session",
"session",
"=",
"null",
";",
"try",
"{",
"session",
"=",
"openSession",
"(",
")",
";",
"CommerceDiscountRule... | Removes the commerce discount rule with the primary key from the database. Also notifies the appropriate model listeners.
@param primaryKey the primary key of the commerce discount rule
@return the commerce discount rule that was removed
@throws NoSuchDiscountRuleException if a commerce discount rule with the primary ... | [
"Removes",
"the",
"commerce",
"discount",
"rule",
"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/persistence/impl/CommerceDiscountRulePersistenceImpl.java#L761-L792 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.